Releases: arangodb/python-arango
Releases · arangodb/python-arango
8.1.7
What's Changed
- Collection Maintenance by @apetenchea in #367
- Mention async driver by @apetenchea in #368
- new:
raise_on_document_error
forinsert_many
&delete_many
by @aMahanna in #369 - Wait for sync upon graph creation by @apetenchea in #370
Full Changelog: 8.1.6...8.1.7
8.1.6
Mostly cleaning up and documentation updates.
What's Changed
- Updating python version badge by @apetenchea in #363
- Removing "cancelled" response by @apetenchea in #364
- Cleanup by @apetenchea in #365
- Updating docs by @apetenchea in #366
Full Changelog: 8.1.5...8.1.6
8.1.5
Notes
Some bug fixes and improvements, along with keeping up with 3.12.4.
What's Changed
- The method does not raise CursorStateError by @apetenchea in #357
- add support for sort in collection.find function by @denizalpaslan in #359
- Keeping up with DB updates by @apetenchea in #360
- attempt: 3.12 CI by @aMahanna in #362
- 3.12.4 updates by @apetenchea in #361
New Contributors
- @denizalpaslan made their first contribution in #359
Full Changelog: 8.1.4...8.1.5
8.1.4
8.1.3
What's Changed
- Fix docstring by @apetenchea in #350
- License Parameter Docstring by @apetenchea in #351
- new: add
_hosts
toBaseConnection
by @aMahanna in #353 - update
collection.find
to support nested fields by @aMahanna in #354
Full Changelog: 8.1.2...8.1.3
8.1.2
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) - A new
db.reset_log_levels()
method to reset all log levels to their startup values (ArangoDB 3.12.1, see docs)
Full Changelog: 8.0.0...8.1.0
8.0.0
Major Changes
Breaking
Collection.add_geo_index()
parameterordered
has been renamed togeo_json
. The nameordered
used to create lots of confusion.- The
api/traversal
endpoint is no longer available starting with ArangoDB 3.12. This renders thearango.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.
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 adata
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.collection.add_index({'type': 'persistent', 'fields': ['name'], 'unique': True})
New Features
Improved administration interface
- 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 theCollection
methods - Fixed
autoincrement
collection creation - Updated
ServerConnectionError
to contain an error code
New Contributors
Other Contributors
Full Changelog: 7.9.1...8.0.0