Skip to content

v6.11.0

Choose a tag to compare

@pluma pluma released this 18 Oct 13:08
b085a35

Changed

  • Renamed db.transaction to db.executeTransaction

    The method for executing server-side transactions is now called
    executeTransaction and the params argument now must be passed via the
    options object.

    For backwards-compatibility the new db.transaction method will continue to
    behave like before when passed an action string 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.beginTransaction and
    existing streaming transactions can be accessed by passing the transaction ID
    to db.transaction.

    See the documentation of the transaction.run method for examples of using
    streaming transactions with arangojs.

  • Added support for ArangoDB 3.5 Analyzers API

    See the documentation of the database.analyzer method and the Analyzer
    instances for information on using this API.

  • Added collection.getResponsibleShard method

  • 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.join with an empty
    array would previously result in the AQL expression not being recognised and being
    converted to an object bind variable instead.