Skip to content

Releases: arangodb/arangojs

v4.0.2

01 Dec 12:13
Compare
Choose a tag to compare

Changes:

  • Implemented GraphVertexCollection#_documentPath to prevent errors when accessing certain methods on GraphVertexCollection instances
  • Updated various build dependencies

v4.0.1

01 Dec 12:11
Compare
Choose a tag to compare

Changes:

  • Improved documentation

v4.0.0

01 Dec 12:07
Compare
Choose a tag to compare

This is a major release that contains a lot of breaking API changes.

Changes:

  • if a node-style callback is provided to an asynchronous function it will no longer also return a promise
  • db.collection, db.edgeCollection, db.graph, graph.vertexCollection and graph.edgeCollection no longer make calls to the HTTP API and return Collection/Graph instances synchronously
  • Database, Collection and Graph instances now have a get method to fetch metadata or check for existence
  • db.createCollection, db.createEdgeCollection and db.createGraph have been removed, instead you should call the create method of an existing Collection/Graph instance
  • db.createDatabase no longer returns a new Database instance (only the server response)
  • db.database has been removed, instead you should call useDatabase on an existing Database instance to change which database it represents
  • db.databases has been removed, instead you can use db.listDatabases and db.listUserDatabases to fetch metadata about the available databases
  • db.truncateAll has been removed, instead you should pass false to db.truncate to also truncate system collections
  • db.allCollections has been removed, instead you should pass false to db.collections to also return Collection instances for system collections
  • db.listCollections can be used to fetch metadata about the available collections without creating Collection instances
  • Collection methods for fetching metadata about the collection no longer alter the Collection instance
  • Collection methods for performing geo queries have been removed as they have been deprecated since ArangoDB 2.6
  • Collection methods for various missing simple queries have been added
  • Cursor instances can no longer be rewound, if you need iterate over the cursor multiple times you need to use cursor.all to convert the Cursor instance to an array

v3.9.1

05 Aug 18:03
Compare
Choose a tag to compare

Changes:

  • updated dependencies.

v3.9.0

05 Aug 13:02
Compare
Choose a tag to compare

Changes:

  • implemented lookup-by-keys as collection.byKeys (#32)
  • extended options for collection.createSkipList and options.createHashIndex (#55)
  • added options to database.query (#56)

v3.8.1

03 Jun 10:45
Compare
Choose a tag to compare

Changes:

  • added support for HTTPS (#39).

v3.8.0

28 May 12:13
Compare
Choose a tag to compare

Changes:

  • various performance tweaks resulting in another 2x performance improvement.

v3.7.1

28 May 12:12
Compare
Choose a tag to compare

Changes:

  • fixed a bug preventing ArangoDB from handling request bodies properly.

v3.7.0

28 May 12:10
Compare
Choose a tag to compare

Changes:

  • replaced request module with Node's built-in http.request API for a 3-4x performance improvement.

v3.6.0

28 May 12:08
Compare
Choose a tag to compare

Changes:

  • added db.edgeCollection method.
  • fixed a bug causing bluebird to log unhandled rejected promises.