Skip to content

Releases: arangodb/arangodb-java-driver

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

Version 6.20.0

29 Nov 12:20
96d6ec6
Compare
Choose a tag to compare
  • ArangoSearch cache (#472)
  • support for enterprise-hex-smart-vertex shardingStrategy
  • deprecated com.arangodb.Function

Version 6.19.0

04 Oct 08:32
0d10741
Compare
Choose a tag to compare
  • added support for search-alias views (ArangoDB 3.10 #461)
  • added support for nested search (ArangoDB 3.10, #460)
  • added support for classification, nearest_neighbors and minhash search analyzers (ArangoDB 3.10, #458)
  • added support for inverted indexes (ArangoDB 3.10, #457)
  • added support for cluster dirty reads (ArangoDB 3.10, #455)
  • added support for index stored values (ArangoDB 3.10)
  • added support for geo index legacy polygons (ArangoDB 3.10)
  • added support for getting query optimizer rules (ArangoDB 3.10)
  • added support for enhanced cursor stats (ArangoDB 3.10)
  • added support for computed values (ArangoDB 3.10)
  • added support for index cache (ArangoDB 3.10)
  • deprecated fulltext indexes (ArangoDB 3.10, #454)
  • fixed ConsolidationPolicy API
  • deprecated MMFiles collection attributes (#442)
  • deprecated for removal ArangoCursorInitializer and GraphDocumentReadOptions#isCatchException()
  • documented thead safe classes (#445)

Version 6.18.0

07 Jun 09:19
ed35965
Compare
Choose a tag to compare
  • deprecated usage of deprecated server API (#440)
  • introduced new field entity annotations: @Id, @Key, @Rev, @From, @To (#439)
  • deprecated VPack serialization in favor of Jackson API
  • added deduplicate option in PersistentIndex (#437)

Version 6.17.0

17 May 11:13
0bc7227
Compare
Choose a tag to compare
  • updated dependencies
  • fixed IndexOutOfBoundsException in RoundRobinHostHandler (#435)
  • warn on json request payload size too big (#434)
  • fixed various serialization bugs in native image (#425)

Version 6.16.1

23 Feb 12:33
e277816
Compare
Choose a tag to compare
  • fixed retry behavior of HTTP connections in case of timeout exceptions (#429)
  • fixed NPE when serializing ArangoSearch properties (#427)

Version 6.16.0

27 Jan 14:23
ec73631
Compare
Choose a tag to compare
  • deprecated hash and skiplist indexes (#424)
  • fixed active failover concurrency bug (#423)
  • added support for overload metrics (ArangoDB 3.9, #419)
  • added support for Segmentation and Collation ArangoSearch analyzers (ArangoDB 3.9, #418)
  • added support for ZKD indexes (ArangoDB 3.9, #417)
  • added all log topic (ArangoDB 3.9, #416)
  • added support for Hybrid SmartGraphs (ArangoDB 3.9, #415)
  • added support for database unicode names, added DbName class to represent database names in public API parameters to ease unicode names normalization (ArangoDB 3.9, #405)

Version 6.15.0

29 Dec 10:46
1585ee2
Compare
Choose a tag to compare
  • JWT authentication (#421)
  • fixed swallowing connection exceptions (#420)
  • fixed stopwords analyzer (#414)
  • set max retries for active failover redirects (#412)
  • fixed deserializing null value as String (#411)

Version 6.14.0

01 Oct 14:56
dd706c5
Compare
Choose a tag to compare
  • fixed issues with non-English locales (#407)
  • implemented support for GET /_admin/server/id
  • fixed acquireHostListInterval javadoc, interval in milliseconds
  • fixed NPE in CursorEntity.extra and CursorEntity.Extras.stats

Version 6.13.0

25 Aug 08:25
93f3aab
Compare
Choose a tag to compare
  • added support for fillBlockCache in AQL query options (ArangoDB v3.8.1)
  • fixed exceptions handling during shutdown (#400)
  • added native image configuration for HTTP communication
  • updated native image reflection configuration