Python-arango

Latest version: v8.1.2

Safety actively analyzes 681812 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 13

8.1.2

What's Changed
* update: `create_graph` & `properties` by aMahanna in https://github.com/arangodb/python-arango/pull/349


**Full Changelog**: https://github.com/arangodb/python-arango/compare/8.1.1...8.1.2

8.1.1

What's Changed
* Integrate latest 3.12.2 changes by apetenchea in https://github.com/arangodb/python-arango/pull/348


**Full Changelog**: https://github.com/arangodb/python-arango/compare/8.1.0...8.1.1

8.1.0

What's Changed
* The `collection.has()` method uses HTTP HEAD method instead of GET
* A new `skipFastLockRound` option was introduced for transactions (ArangoDB 3.12.1, see [docs](https://docs.arangodb.com/3.13/develop/http-api/transactions/stream-transactions/#begin-a-stream-transaction_body_skipFastLockRound))
* A new `db.reset_log_levels()` method to reset all log levels to their startup values (ArangoDB 3.12.1, see [docs](https://docs.arangodb.com/3.13/develop/http-api/monitoring/logs/#reset-the-server-log-levels))


**Full Changelog**: https://github.com/arangodb/python-arango/compare/8.0.0...8.1.0

8.0.0

Major Changes

Breaking
* `‎Collection.add_geo_index()` parameter `ordered` has been renamed to `geo_json`. The name `ordered` used to create lots of confusion.
* The `api/traversal` endpoint is no longer available starting with ArangoDB 3.12. This renders the `arango.graph.Graph.traverse()` unusable.

Non-Breaking
* Dropped support for ArangoDB 3.10.
* Pregel is deprecated since ArangoDB 3.12. The API can still be used with the driver, but it will eventually be removed when 3.11 support is over.
* Compression of requests and responses. By default compression is turned off, so this change has no effect unless the user specifies one of the newly introduced parameters.
The ArangoClient gets two optional parameters:
- request_compression - Represents the compression strategy, None by default. The reason for passing in an object instead of a string (such as deflate) is to allow the client to fine tune the compression algorithm.
- response_compression - The equivalent of an Accept-Encoding string. This has no effect unless the server is configured to use encoding.
python
client = ArangoClient(
hosts="http://127.0.0.1:8529",
request_compression=DeflateRequestCompression(),
response_compression="deflate",
)

* Full support on Options API [3.12]
* The `add_index()` becomes the new way of creating indexes. It takes a `data` parameter - the keys are pure ArangoDB REST API arguments, no snake_case conversion anymore. However, for the output, the legacy methods remain the same, while the new add_index method by default skips formatting. Legacy methods have been deprecated.
python
collection.add_index({'type': 'persistent', 'fields': ['name'], 'unique': True})


New Features

Improved [administration interface](https://docs.arangodb.com/stable/develop/http-api/administration/)
* Added `/_admin/log/structured` support
* Added `/_admin/compact` support
* Added `/_admin/echo` support
* Added `/_admin/server/mode` support
* Added `/_admin/execute` support
* Added `/_admin/support-info`
* Added `/_admin/cluster/maintenance/`

Updated `/metrics` endpoint to `v2`

New `fetch_transaction()` method
Introduced a new `StandardDatabase.fetch_transaction()` method that allows users to create a `TransactionDatabase` based on an existing Transaction, instead of starting a new transaction.

Minor changes
* Improved documentation pages
* External versioning support, adding `version_attribute` to some of the `Collection` methods
* Fixed `autoincrement` collection creation
* Updated `ServerConnectionError` to contain an error code

New Contributors
* Moortiii made their first contribution in https://github.com/arangodb/python-arango/pull/331
Other Contributors
* aMahanna
* apetenchea

**Full Changelog**: https://github.com/arangodb/python-arango/compare/7.9.1...8.0.0

7.9.1

What's Changed
* fix: `docs/requirements.txt` by aMahanna in https://github.com/ArangoDB-Community/python-arango/pull/315
* DE-701 | CodeCov Orb in CircleCI by aMahanna in https://github.com/ArangoDB-Community/python-arango/pull/301


**Full Changelog**: https://github.com/ArangoDB-Community/python-arango/compare/7.9.0...7.9.1

7.9.0

What's Changed
* Circleci project setup by apetenchea in https://github.com/ArangoDB-Community/python-arango/pull/291
* Update Readme Badges by aMahanna in https://github.com/ArangoDB-Community/python-arango/pull/298
* DE-699 | Update global server logs retrieval by aMahanna in https://github.com/ArangoDB-Community/python-arango/pull/299
* Optional: Update Readme Badges by aMahanna in https://github.com/ArangoDB-Community/python-arango/pull/300
* Migrate to `pyproject.toml` by aMahanna in https://github.com/ArangoDB-Community/python-arango/pull/302
* ES-1867 | `force_one_shard_attribute_value` param by aMahanna in https://github.com/ArangoDB-Community/python-arango/pull/314


**Full Changelog**: https://github.com/ArangoDB-Community/python-arango/compare/7.8.1...7.9.0

Page 1 of 13

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.