Skip to content

v7.0.0-preview.1

Pre-release
Pre-release

Choose a tag to compare

@pluma pluma released this 13 May 13:14
9658b59

This is a preview release which is not intended for use in production and has been published under the npm next tag.

To install the latest preview release, run npm install arangojs@next or yarn add arangojs@next.

This is a major release and breaks backwards compatibility.

Known issues

The inline documentation is currently incomplete. This will be resolved before the final 7.0.0 release is published.

Removed

  • Removed collection.edge method

    This method was previously an alias for collection.document.

    The method graphEdgeCollection.edge is unaffected by this change.

  • Removed graphName option for edgeCollection.traversal

    Graph traversals can still be performed via graph.traversal.

  • Removed ViewResponse type

    The type ViewDescription represents the same structure.

  • Removed ArangoSearchViewPropertiesResponse type

    The type ArangoSearchViewProperties & ViewDescription can be used
    to represent the same structure.

Changed

  • Removed CollectionMetadata fields from CollectionProperties type

    Methods that previously returned CollectionProperties now return
    CollectionMetadata & CollectionProperties.

Added

  • Added auth option to configuration

    It is now possible to pass authentication credentials using the auth
    option in addition to calling db.useBasicAuth or db.useBearerAuth.

Fixed

  • Changed async return type of collection.index from Index[] to Index