v6.11.0
Changed
-
Renamed
db.transactiontodb.executeTransactionThe method for executing server-side transactions is now called
executeTransactionand theparamsargument now must be passed via the
optionsobject.For backwards-compatibility the new
db.transactionmethod will continue to
behave like before when passed anactionstring as the second argument.
Note that this behavior is deprecated and will be removed in arangojs 7.
Added
-
Added support for ArangoDB 3.5 streaming transactions
New streaming transactions can be created using
db.beginTransactionand
existing streaming transactions can be accessed by passing the transaction ID
todb.transaction.See the documentation of the
transaction.runmethod for examples of using
streaming transactions with arangojs. -
Added support for ArangoDB 3.5 Analyzers API
See the documentation of the
database.analyzermethod and theAnalyzer
instances for information on using this API. -
Added
collection.getResponsibleShardmethod -
Added support for new ArangoDB 3.5 collection properties
-
Added support for new ArangoDB 3.5 view properties
Fixed
-
Fixed a problem causing empty nested AQL expressions to be converted to bind variables
Nesting an empty AQL expression like the result of calling
aql.joinwith an empty
array would previously result in the AQL expression not being recognised and being
converted to an object bind variable instead.