Releases: arangodb/arangojs
Releases · arangodb/arangojs
v3.5.1
v3.5.0
Changes:
Route
methods now only pass theresponse
object to callbacks. The parsed response body for JSON responses can now be found on theresponse.body
property and the unparsed response body can be found on theresponse.rawBody
property. Errors passed to the callbacks have an additionalerror.response
property that contains the response object if applicable.- Fixed a bug where auto-creating a collection, database or graph that already exists would result in an error (see #25).
- All async functions now also return a promise, if the global ES6
Promise
constructor is defined.
v3.4.3
v3.4.2
v3.4.1
v3.4.0
v3.3.1
v3.3.0
v3.2.0
Changes:
- Replaced
database.truncate(excludeSystem=false)
withdatabase.truncateAll
. - Replaced
database.collections(excludeSystem=false)
withdatabase.allCollections
. - Removed the
excludeSystem
option fromdatabase.truncate
anddatabase.collections
(default is nowtrue
). - Added support for AQL user functions API.
- Added
database.createEdgeCollection
as convenience method fordatabase.createCollection(type=3)
. - Added support for line-delimited JSON in
collection.import
. - All functions that accept document handles now also accept document/edge/vertex objects instead.
- Improved documentation.