Releases: arangodb/arangojs
v6.5.0
Changed
-
Requests that fail because a server can not be reached are now automatically
retried if other servers are availableThis behavior can be controlled using the
maxRetriesoption. -
Renamed
EdgeCollection#edgetoEdgeCollection#documentEdgeCollection#edgeis now an alias for thedocumentmethod. -
Renamed
GraphEdgeCollection#edgetoGraphEdgeCollection#documentGraphEdgeCollection#edgeis now an alias for thedocumentmethod. -
Renamed
GraphVertexCollection#vertextoGraphVertexCollection#documentGraphVertexCollection#vertexis now an alias for thedocumentmethod.
Added
-
Added
maxRetriesoption to configuration to control retry behavior -
Added
collection.documentExistsmethod -
Added
gracefuloption tocollection.document
v6.4.0
v6.3.0
Added
-
Added
database.versionmethod -
Added
database.loginmethod -
Added
database.existsmethod -
Added
collection.existsmethod -
Added
graph.existsmethod -
Added
aql.literalfunction -
Exposed typings for collections and graphs (@samrg472 in #538)
Fixed
-
Fixed synchronous errors during request creation not being handled
Internal errors thrown while a request is created (e.g. malformed URIs) would
result in unhandled errors, which could result in termination of the process
or promises never being rejected. These errors are now handled normally and
will result in async rejections as expected.
v6.2.4
v6.2.3
Fixed
-
Fixed
collection.update(documentHandle, newValue, opts)missing return value -
Fixed
collection.removeByKeys(keys, options)missing return value -
Fixed
collection.replaceByExample(example, newValue, opts)missing return value -
Fixed
collection.updateByExample(example, newValue, opts)missing return value
v6.2.2
v6.2.1
Changed
-
Moved most documentation out of the README (#123)
This is a necessary step to integrate arangojs with the Drivers book in the official ArangoDB documentation.
-
Replaced internal use of async functions with callbacks
This removes some unnecessary layers of indirection, which should increase overall performance.
Fixed
- Increased test coverage (#34).
v6.2.0
Changed
-
Extended
db.transactionarguments (@f5io in #494)It's now possible to pass additional transaction options.
Fixed
-
Fixed a typo (@lodestone in #506)
-
Fixed
graphEdgeCollection.edgereturn value (@Hunter21007 in #501) -
Fixed graph API sending incorrect requests resulting in HTTP 400 errors (@casdevs in #513)
v6.1.0
Removed
-
Removed ES modules build
This should solve compatibility problems with
es6-error. The cjs
build now should also work with emulated ES module imports.
Changed
-
Use
cpy-clifor build processShould help with cross-platform compatibility.
Fixed
-
Fixed
db.uninstallService(mount, opts)opts default value -
Fixed
db.getServiceConfiguration(mount, minimal)minimal representation -
Fixed
db.getServiceDependencies(mount, minimal)minimal representation -
Fixed
db.updateServiceConfiguration(mount, cfg, minimal)non-minimal representation -
Fixed
db.replaceServiceConfiguration(mount, cfg, minimal)non-minimal representation -
Fixed
db.updateServiceDependencies(mount, cfg, minimal)non-minimal representation -
Fixed
db.replaceServiceDependencies(mount, cfg, minimal)non-minimal representation -
Fixed handling of non-json responses