Skip to content

Releases: arangodb/arangojs

v3.5.1

28 May 12:06
Compare
Choose a tag to compare

Changes:

  • added users option to db.createDatabase.

v3.5.0

21 Apr 13:06
Compare
Choose a tag to compare

Changes:

  • Route methods now only pass the response object to callbacks. The parsed response body for JSON responses can now be found on the response.body property and the unparsed response body can be found on the response.rawBody property. Errors passed to the callbacks have an additional error.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

21 Apr 12:57
Compare
Choose a tag to compare

Changes:

  • fixed a bug in collection.import (see #27).

v3.4.2

21 Apr 12:55
Compare
Choose a tag to compare

Changes:

  • Fixed a bug in edgeCollection.save (see #19).

v3.4.1

21 Apr 12:55
Compare
Choose a tag to compare

Changes:

  • Fixed a bug in edgeCollection.save (see #19).

v3.4.0

18 Mar 10:23
Compare
Choose a tag to compare

Changes:

  • callbacks passed to route methods now receive the response object as a third argument

v3.3.1

11 Mar 16:06
Compare
Choose a tag to compare

Changes:

  • Added back missing default value for type option in imports. Fixes #21.

v3.3.0

18 Feb 14:56
Compare
Choose a tag to compare

Changes:

  • Renamed "endpoints" to "routes" to avoid confusion with the HTTP API for managing endpoints.
  • Added support for manipulating indexes.
  • Added support for geo-spatial queries.
  • Added support for fulltext queries.

v3.2.0

18 Feb 12:42
Compare
Choose a tag to compare

Changes:

  • Replaced database.truncate(excludeSystem=false) with database.truncateAll.
  • Replaced database.collections(excludeSystem=false) with database.allCollections.
  • Removed the excludeSystem option from database.truncate and database.collections (default is now true).
  • Added support for AQL user functions API.
  • Added database.createEdgeCollection as convenience method for database.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.

v3.1.0

17 Feb 14:15
Compare
Choose a tag to compare

Changes:

  • Changed the bulk import API so the type option defaults to "auto" if not explicitly set.