Skip to content

Releases: arangodb/arangodb-java-driver

Version 6.24.0

16 May 22:09
0d1d159
Compare
Choose a tag to compare
  • cloneable AqlQueryOptions (#509)
  • geo s2 analyzer (#502)
  • serverId query parameter for /_admin/log/level (#499)
  • peakMemoryUsage and executionTime explain stats (#497)
  • Index cache refilling (#495)
  • ArangoSearch column cache (#493)

Version 7.0.0

20 Apr 12:23
e60e1d4
Compare
Choose a tag to compare

Detailed changes documentation is available here.

Added

  • added ArangoDB.Builder.loadProperties(ArangoConfigProperties) to register custom configuration suppliers
  • added ArangoConfigProperties.fromFile() to load properties from local files
  • added support to HTTP/2 communication protocol
  • added optional transitive dependency on io.vertx:vertx-web-client (can be excluded if using VST only)
  • added transitive dependency on Jackson Core, Databind and Annotations
  • added wrapper class for raw JSON content (RawJson)
  • added wrapper class for content already encoded as byte array (RawBytes)
  • added support for Jackson types (JsonNode, ArrayNode, ObjectNode, ...)
  • added support for Jackson annotations in data types
  • added new user data custom serializer API based on ArangoSerde
  • added new user data custom serializer implementation based on Jackson (JacksonSerde), supporting both JSON and VPACK
  • added methods and parameters targets to meta binding annotations
  • added overloaded methods for CRUD operations allowing specifying the return type
  • added API to support CRUD operations from raw data (RawBytes and RawJson) containing multiple documents
  • added BaseDocument#removeAttribute(String) and BaseEdgeDocument#removeAttribute(String)
  • added request id to ArangoDBException
  • shaded version of the driver (com.arangodb:arangodb-java-driver-shaded)
  • added ArangoEdgeCollection.drop() and ArangoVertexCollection.drop(VertexCollectionDropOptions)

Fixed

  • removed --allow-incomplete-classpath from native image configuration (#397)
  • ability to control whether null values are included in the serialization (#389)
  • added support to DocumentCreateOptions#keepNull (#374)
  • allow specifying the return type on insertDocuments (#373)
  • credentials logging (#410)
  • fixed ArangoCollection.rename() and ArangoView.rename() thread safety

Changed

  • configuration properties from local files are not loaded automatically anymore
  • ArangoDB.execute() accepts now target deserialization type
  • Request<T> and Response<T> support now generic body type
  • removed default host configuration (127.0.0.1:8529)
  • changed http client library to Vert.x WebClient
  • changed default communication protocol from VST to HTTP/2
  • changed default content-type format from VPACK to JSON
  • changed internal serialization, now based on Jackson API
  • VPACK support is now provided by JacksonSerde including the optional dependency
    com.arangodb:jackson-dataformat-velocypack (VPACK dataformat backend for Jackson)
  • data objects passed as arguments to API methods are treated as immutable and the related metadata fields are not
    updated in place anymore (updated metadata can be found in the returned object)
  • changed some API signatures which were using unnecessary generics from ArangoCollection, ArangoVertexCollection and ArangoEdgeCollection
  • changed ArangoCursor#getStats() return type
  • replication factor is now represented by a new interface (ReplicationFactor) with
    implementations: NumericReplicationFactor and SatelliteReplicationFactor
  • all data definition classes are now final (packages com.arangodb.entity and com.arangodb.model)
  • BaseDocument and BaseEdgeDocument are now final
  • BaseDocument#getProperties() and BaseEdgeDocument#getProperties() return now an unmodifiable map
  • BaseDocument and BaseEdgeDocument are not serializable anymore (using Java serialization)
  • removed throws ArangoDBException from API method signatures (unchecked exception)
  • removed passwords from debug level requests logs (#410)
  • JPMS: explicit automatic module name
  • updated ArangoGraph.replaceEdgeDefinition()
  • CRUD methods to insert and replace multiple documents have now covariant argument types
  • changed order of arguments in ArangoDatabase.query() overloads
  • ArangoCollection.rename() and ArangoView.rename() do not change the collection or view name of the API class instance

Removed

  • removed user data custom serializer API based on ArangoSerialization (in favor of ArangoSerde)
  • removed user data custom serializer implementation ArangoJack (in favor of JacksonSerde)
  • removed support for interpreting raw strings as JSON (in favor of RawJson)
  • removed support of data type VPackSlice (in favor of Jackson types: JsonNode, ArrayNode, ObjectNode, ...)
  • removed client APIs already deprecated in Java Driver version 6
  • removed deprecated server APIs:
    • MMFiles related APIs
    • ArangoDatabase.executeTraversal()
    • ArangoDB.getLogs()
    • minReplicationFactor in collections and graphs
    • overwrite flag in DocumentCreateOptions
    • hash and skipList indexes
  • removed ArangoCursorInitializer
  • removed Asynchronous API (com.arangodb.async)
  • removed ArangoDatabase.getDocument()
  • removed automatic type inference in CRUD methods operating on multiple documents
  • removed DbName in favor of plain strings

Version 6.23.0

20 Apr 09:45
d95109b
Compare
Choose a tag to compare
  • deprecated DbName in favor of plain strings

Versoin 7.0.0-RC.5

19 Apr 11:53
bb1f272
Compare
Choose a tag to compare
Versoin 7.0.0-RC.5 Pre-release
Pre-release

Detailed changes documentation is available here.
Reference documentation here.
Tutorial: here

Version 6.22.0

18 Apr 09:04
08f31ed
Compare
Choose a tag to compare
  • added support to forceOneShardAttributeValue query parameter (DE-541. #491)

Version 7.0.0-RC.4

21 Mar 14:07
b608c9f
Compare
Choose a tag to compare
Version 7.0.0-RC.4 Pre-release
Pre-release

Detailed changes documentation is available here.
Reference documentation here.
Tutorial: here

Version 7.0.0-RC.3

17 Mar 13:51
d0fa650
Compare
Choose a tag to compare
Version 7.0.0-RC.3 Pre-release
Pre-release

Detailed changes documentation is available here.
Reference documentation here.

Version 6.21.0

07 Mar 10:58
7b4597f
Compare
Choose a tag to compare
  • added x-arango-driver header (DE-479)

Version 7.0.0-ALPHA.1

13 Jan 11:48
fff8e63
Compare
Choose a tag to compare
Version 7.0.0-ALPHA.1 Pre-release
Pre-release

Detailed changes documentation is available here.

Changed

  • configuration properties from local files are not loaded automatically anymore
  • ArangoDB.execute() accepts now target deserialization type
  • Request<T> and Response<T> support now generic body type
  • removed default host configuration (127.0.0.1:8529)
  • changed http client library to Vert.x WebClient
  • changed default communication protocol from VST to HTTP/2
  • changed default content-type format from VPACK to JSON
  • changed internal serialization, now based on Jackson API
  • VPACK support is now provided by JacksonSerde including the optional dependency
    com.arangodb:jackson-dataformat-velocypack (VPACK dataformat backend for Jackson)
  • data objects passed as arguments to API methods are treated as immutable and the related metadata fields are not
    updated in place anymore (updated metadata can be found in the returned object)
  • changed some API signatures which were using unnecessary generics from ArangoCollection, ArangoVertexCollection and ArangoEdgeCollection
  • changed ArangoCursor#getStats() to return untyped map
  • replication factor is now represented by a new interface (ReplicationFactor) with
    implementations: NumericReplicationFactor and SatelliteReplicationFactor
  • all data definition classes are now final (packages com.arangodb.entity and com.arangodb.model)
  • BaseDocument and BaseEdgeDocument are now final
  • BaseDocument#getProperties() and BaseEdgeDocument#getProperties() return now an unmodifiable map
  • removed throws ArangoDBException from API method signatures (unchecked exception)
  • removed passwords from debug level requests logs (#410)
  • JPMS: explicit automatic module name

Added

  • added ArangoDB.Builder.loadProperties(ArangoConfigProperties) to register custom configuration suppliers
  • added ArangoConfigProperties.fromFile() to load properties from local files
  • added support to HTTP/2 communication protocol
  • added optional transitive dependency on io.vertx:vertx-web-client (can be excluded if using VST only)
  • added transitive dependency on Jackson Core, Databind and Annotations
  • added wrapper class for raw JSON content (RawJson)
  • added wrapper class for content already encoded as byte array (RawBytes)
  • added support for Jackson types (JsonNode, ArrayNode, ObjectNode, ...)
  • added support for Jackson annotations in data types
  • added new user data custom serializer API based on ArangoSerde
  • added new user data custom serializer implementation based on Jackson (JacksonSerde), supporting both JSON and VPACK)
  • added methods and parameters targets to meta binding annotations
  • added overloaded methods for CRUD operations allowing specifying the return type
  • added API to support CRUD operations from raw data (RawBytes and RawJson) containing multiple documents
  • added BaseDocument#removeAttribute(String) and BaseEdgeDocument#removeAttribute(String)
  • added request id to ArangoDBException
  • shaded version of the driver (com.arangodb:arangodb-java-driver-shaded)

Fixed

  • removed --allow-incomplete-classpath from native image configuration (#397)
  • ability to control whether null values are included in the serialization (#389)
  • added support to DocumentCreateOptions#keepNull (#374)
  • allow specifying the return type on insertDocuments (#373)
  • credentials logging (#410)

Removed

  • removed user data custom serializer API based on ArangoSerialization (in favor of ArangoSerde)
  • removed user data custom serializer implementation ArangoJack (in favor of JacksonSerde)
  • removed support for interpreting raw strings as JSON (in favor of RawJson)
  • removed support of data type VPackSlice (in favor of Jackson types: JsonNode, ArrayNode, ObjectNode, ...)
  • removed client APIs already deprecated in Java Driver version 6
  • removed deprecated server APIs:
    • MMFiles related APIs
    • ArangoDatabase.executeTraversal()
    • ArangoDB.getLogs()
    • minReplicationFactor in collections and graphs
    • overwrite flag in DocumentCreateOptions
  • removed ArangoCursorInitializer

Version 7.0.0-SNAPSHOT-1

22 Dec 22:40
6b29cb7
Compare
Choose a tag to compare
Pre-release

Detailed changes documentation is available here.

Changed

  • configuration properties from local files are not loaded automatically anymore
  • ArangoDB.execute() accepts now target deserialization type
  • Request<T> and Response<T> support now generic body type
  • removed default host configuration (127.0.0.1:8529)
  • changed http client library to Vert.x WebClient
  • changed default communication protocol from VST to HTTP/2
  • changed default content-type format from VPACK to JSON
  • changed internal serialization, now based on Jackson API
  • VPACK support is now provided by JacksonSerde including the optional dependency
    com.arangodb:jackson-dataformat-velocypack (VPACK dataformat backend for Jackson)
  • data objects passed as arguments to API methods are treated as immutable and the related metadata fields are not
    updated in place anymore (updated metadata can be found in the returned object)
  • changed some API signatures which were using unnecessary generics from ArangoCollection, ArangoVertexCollection and ArangoEdgeCollection
  • changed ArangoCursor#getStats() to return untyped map
  • replication factor is now represented by a new interface (ReplicationFactor) with
    implementations: NumericReplicationFactor and SatelliteReplicationFactor
  • all data definition classes are now final (packages com.arangodb.entity and com.arangodb.model)
  • BaseDocument and BaseEdgeDocument are now final
  • BaseDocument#getProperties() and BaseEdgeDocument#getProperties() return now an unmodifiable map
  • removed throws ArangoDBException from API method signatures (unchecked exception)
  • removed passwords from debug level requests logs (#410)
  • JPMS: explicit automatic module name

Added

  • added ArangoDB.Builder.loadProperties(ConfigPropertiesProvider) to register custom configuration providers
  • added FileConfigPropertiesProvider to load properties from local files
  • added support to HTTP/2 communication protocol
  • added optional transitive dependency on io.vertx:vertx-web-client (can be excluded if using VST only)
  • added transitive dependency on Jackson Core, Databind and Annotations
  • added wrapper class for raw JSON content (RawJson)
  • added wrapper class for content already encoded as byte array (RawBytes)
  • added support for Jackson types (JsonNode, ArrayNode, ObjectNode, ...)
  • added support for Jackson annotations in data types
  • added new user data custom serializer API based on ArangoSerde
  • added new user data custom serializer implementation based on Jackson (JacksonSerde), supporting both JSON and VPACK)
  • added methods and parameters targets to meta binding annotations
  • added overloaded methods for CRUD operations allowing specifying the return type
  • added API to support CRUD operations from raw data (RawBytes and RawJson) containing multiple documents
  • added BaseDocument#removeAttribute(String) and BaseEdgeDocument#removeAttribute(String)
  • added request id to ArangoDBException
  • shaded version of the driver (com.arangodb:arangodb-java-driver-shaded)

Fixed

  • removed --allow-incomplete-classpath from native image configuration (#397)
  • ability to control whether null values are included in the serialization (#389)
  • added support to DocumentCreateOptions#keepNull (#374)
  • allow specifying the return type on insertDocuments (#373)
  • credentials logging (#410)

Removed

  • removed user data custom serializer API based on ArangoSerialization (in favor of ArangoSerde)
  • removed user data custom serializer implementation ArangoJack (in favor of JacksonSerde)
  • removed support for interpreting raw strings as JSON (in favor of RawJson)
  • removed support of data type VPackSlice (in favor of Jackson types: JsonNode, ArrayNode, ObjectNode, ...)
  • removed client APIs already deprecated in Java Driver version 6
  • removed deprecated server APIs:
    • MMFiles related APIs
    • ArangoDatabase.executeTraversal()
    • ArangoDB.getLogs()
    • minReplicationFactor in collections and graphs
    • overwrite flag in DocumentCreateOptions
  • removed ArangoCursorInitializer