Releases: arangodb/arangodb-java-driver
Releases · arangodb/arangodb-java-driver
Version 7.0.0-SNAPSHOT-1
Detailed changes documentation is available here.
Changed
- configuration properties from local files are not loaded automatically anymore
ArangoDB.execute()
accepts now target deserialization typeRequest<T>
andResponse<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
toHTTP/2
- changed default content-type format from
VPACK
toJSON
- changed internal serialization, now based on Jackson API
VPACK
support is now provided byJacksonSerde
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
andArangoEdgeCollection
- changed
ArangoCursor#getStats()
to return untyped map - replication factor is now represented by a new interface (
ReplicationFactor
) with
implementations:NumericReplicationFactor
andSatelliteReplicationFactor
- all data definition classes are now
final
(packagescom.arangodb.entity
andcom.arangodb.model
) BaseDocument
andBaseEdgeDocument
are nowfinal
BaseDocument#getProperties()
andBaseEdgeDocument#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 bothJSON
andVPACK
) - 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
andRawJson
) containing multiple documents - added
BaseDocument#removeAttribute(String)
andBaseEdgeDocument#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 ofArangoSerde
) - removed user data custom serializer implementation
ArangoJack
(in favor ofJacksonSerde
) - 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 APIsArangoDatabase.executeTraversal()
ArangoDB.getLogs()
minReplicationFactor
in collections and graphsoverwrite
flag inDocumentCreateOptions
- removed
ArangoCursorInitializer
Version 6.20.0
- ArangoSearch cache (#472)
- support for
enterprise-hex-smart-vertex
shardingStrategy - deprecated
com.arangodb.Function
Version 6.19.0
- 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
andminhash
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
andGraphDocumentReadOptions#isCatchException()
- documented thead safe classes (#445)
Version 6.18.0
Version 6.17.0
Version 6.16.1
Version 6.16.0
- 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
Version 6.14.0
- 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
andCursorEntity.Extras.stats
Version 6.13.0
- 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