v7.0.0-preview.1
Pre-releaseThis 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.edgemethodThis method was previously an alias for
collection.document.The method
graphEdgeCollection.edgeis unaffected by this change. -
Removed
graphNameoption foredgeCollection.traversalGraph traversals can still be performed via
graph.traversal. -
Removed
ViewResponsetypeThe type
ViewDescriptionrepresents the same structure. -
Removed
ArangoSearchViewPropertiesResponsetypeThe type
ArangoSearchViewProperties & ViewDescriptioncan be used
to represent the same structure.
Changed
-
Removed
CollectionMetadatafields fromCollectionPropertiestypeMethods that previously returned
CollectionPropertiesnow return
CollectionMetadata & CollectionProperties.
Added
-
Added
authoption to configurationIt is now possible to pass authentication credentials using the
auth
option in addition to callingdb.useBasicAuthordb.useBearerAuth.
Fixed
- Changed async return type of
collection.indexfromIndex[]toIndex