Skip to content

Commit d14d419

Browse files
committed
v7.0.0-RC.3
1 parent 3d26142 commit d14d419

File tree

17 files changed

+38
-85
lines changed

17 files changed

+38
-85
lines changed

ChangeLog.md

Lines changed: 3 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -6,75 +6,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
66

77
## [Unreleased]
88

9-
## [7.0.0-RC.2]
9+
## [7.0.0-RC.3] - 2023-03-17
1010

11-
### Changed
12-
13-
- configuration properties from local files are not loaded automatically anymore
14-
- `ArangoDB.execute()` accepts now target deserialization type
15-
- `Request<T>` and `Response<T>` support now generic body type
16-
- removed default host configuration (`127.0.0.1:8529`)
17-
- changed http client library to Vert.x WebClient
18-
- changed default communication protocol from `VST` to `HTTP/2`
19-
- changed default content-type format from `VPACK` to `JSON`
20-
- changed internal serialization, now based on Jackson API
21-
- `VPACK` support is now provided by `JacksonSerde` including the optional dependency
22-
`com.arangodb:jackson-dataformat-velocypack` (`VPACK` dataformat backend for Jackson)
23-
- data objects passed as arguments to API methods are treated as immutable and the related metadata fields are not
24-
updated in place anymore (updated metadata can be found in the returned object)
25-
- changed some API signatures which were using unnecessary generics from `ArangoCollection`, `ArangoVertexCollection` and `ArangoEdgeCollection`
26-
- changed `ArangoCursor#getStats()` to return untyped map
27-
- replication factor is now represented by a new interface (`ReplicationFactor`) with
28-
implementations: `NumericReplicationFactor` and `SatelliteReplicationFactor`
29-
- all data definition classes are now `final` (packages `com.arangodb.entity` and `com.arangodb.model`)
30-
- `BaseDocument` and `BaseEdgeDocument` are now `final`
31-
- `BaseDocument#getProperties()` and `BaseEdgeDocument#getProperties()` return now an unmodifiable map
32-
- removed `throws ArangoDBException` from API method signatures (unchecked exception)
33-
- removed passwords from debug level requests logs (#410)
34-
- JPMS: explicit automatic module name
35-
36-
### Added
37-
38-
- added `ArangoDB.Builder.loadProperties(ArangoConfigProperties)` to register custom configuration suppliers
39-
- added `ArangoConfigProperties.fromFile()` to load properties from local files
40-
- added support to `HTTP/2` communication protocol
41-
- added optional transitive dependency on `io.vertx:vertx-web-client` (can be excluded if using VST only)
42-
- added transitive dependency on Jackson Core, Databind and Annotations
43-
- added wrapper class for raw JSON content (`RawJson`)
44-
- added wrapper class for content already encoded as byte array (`RawBytes`)
45-
- added support for Jackson types (`JsonNode`, `ArrayNode`, `ObjectNode`, ...)
46-
- added support for Jackson annotations in data types
47-
- added new user data custom serializer API based on `ArangoSerde`
48-
- added new user data custom serializer implementation based on Jackson (`JacksonSerde`), supporting both `JSON` and `VPACK`)
49-
- added methods and parameters targets to meta binding annotations
50-
- added overloaded methods for CRUD operations allowing specifying the return type
51-
- added API to support CRUD operations from raw data (`RawBytes` and `RawJson`) containing multiple documents
52-
- added `BaseDocument#removeAttribute(String)` and `BaseEdgeDocument#removeAttribute(String)`
53-
- added request id to `ArangoDBException`
54-
- shaded version of the driver (`com.arangodb:arangodb-java-driver-shaded`)
55-
56-
### Fixed
57-
58-
- removed `--allow-incomplete-classpath` from native image configuration (#397)
59-
- ability to control whether `null` values are included in the serialization (#389)
60-
- added support to `DocumentCreateOptions#keepNull` (#374)
61-
- allow specifying the return type on insertDocuments (#373)
62-
- credentials logging (#410)
63-
64-
### Removed
65-
66-
- removed user data custom serializer API based on `ArangoSerialization` (in favor of `ArangoSerde`)
67-
- removed user data custom serializer implementation `ArangoJack` (in favor of `JacksonSerde`)
68-
- removed support for interpreting raw strings as JSON (in favor of `RawJson`)
69-
- removed support of data type `VPackSlice` (in favor of Jackson types: `JsonNode`, `ArrayNode`, `ObjectNode`, ...)
70-
- removed client APIs already deprecated in Java Driver version `6`
71-
- removed deprecated server APIs:
72-
- `MMFiles` related APIs
73-
- `ArangoDatabase.executeTraversal()`
74-
- `ArangoDB.getLogs()`
75-
- `minReplicationFactor` in collections and graphs
76-
- `overwrite` flag in `DocumentCreateOptions`
77-
- removed `ArangoCursorInitializer`
11+
Detailed changes documentation is available [here](./docs/v7_detailed_changes.md).
12+
Reference documentation [here](./docs/v7_java.md).
7813

7914
## [6.20.0] - 2022-11-29
8015

core/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>com.arangodb</groupId>
88
<artifactId>arangodb-java-driver-parent</artifactId>
9-
<version>7.0.0-RC.2</version>
9+
<version>7.0.0-RC.3</version>
1010
</parent>
1111

1212
<name>core</name>

docs/v7_detailed_changes.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<dependency>
88
<groupId>com.arangodb</groupId>
99
<artifactId>arangodb-java-driver</artifactId>
10-
<version>7.0.0-RC.2</version>
10+
<version>7.0.0-RC.3</version>
1111
</dependency>
1212
<dependencies>
1313
```
@@ -20,7 +20,7 @@ repositories {
2020
}
2121
2222
dependencies {
23-
implementation 'com.arangodb:arangodb-java-driver:7.0.0-RC.2'
23+
implementation 'com.arangodb:arangodb-java-driver:7.0.0-RC.3'
2424
}
2525
```
2626

@@ -336,6 +336,24 @@ implementations: `NumericReplicationFactor` and `SatelliteReplicationFactor`.
336336
Cursor statistics are now in `com.arangodb.entity.CursorStats`.
337337

338338

339+
## GraalVM Native Image
340+
341+
The driver supports GraalVM Native Image compilation.
342+
To compile with `--link-at-build-time` when `http-protocol` module is present in the classpath, additional substitutions
343+
are be required for its transitive dependencies (`Netty` and `Vert.x`). An example of this can be found
344+
[here](../driver/src/test/java/graal). Such substitutions are not required when compiling the shaded driver.
345+
346+
347+
### Quarkus and Micronaut examples
348+
349+
The driver can be used from Quarkus and Micronaut applications and does not
350+
require any additional configuration for GraalVM native image generation.
351+
Examples can be found here:
352+
353+
- [arango-quarkus-native-example](https://github.com/arangodb-helper/arango-quarkus-native-example)
354+
- [arango-micronaut-native-example](https://github.com/arangodb-helper/arango-micronaut-native-example)
355+
356+
339357
## Migration
340358

341359
To migrate your existing project to Java Driver version `7.0`, it is recommended updating to the latest version of

docs/v7_java.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ dependencies {
5252
The driver supports GraalVM Native Image compilation.
5353
To compile with `--link-at-build-time` when `http-protocol` module is present in the classpath, additional substitutions
5454
are be required for its transitive dependencies (`Netty` and `Vert.x`). An example of this can be found
55-
[here](../driver/src/test/java/graal). Such substituions are not required when compiling the shaded driver.
55+
[here](../driver/src/test/java/graal). Such substitutions are not required when compiling the shaded driver.
5656

5757

5858
### Quarkus and Micronaut examples

driver/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<artifactId>arangodb-java-driver-parent</artifactId>
99
<groupId>com.arangodb</groupId>
10-
<version>7.0.0-RC.2</version>
10+
<version>7.0.0-RC.3</version>
1111
</parent>
1212

1313
<name>arangodb-java-driver</name>

driver/src/test/java/com/arangodb/UserAgentTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
class UserAgentTest extends BaseJunit5 {
1111

12-
private static final String EXPECTED_VERSION = "7.0.0-RC.2";
12+
private static final String EXPECTED_VERSION = "7.0.0-RC.3";
1313

1414
@Test
1515
void packageVersion() {

http/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>com.arangodb</groupId>
88
<artifactId>arangodb-java-driver-parent</artifactId>
9-
<version>7.0.0-RC.2</version>
9+
<version>7.0.0-RC.3</version>
1010
</parent>
1111

1212
<name>http-protocol</name>

integration-tests/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>com.arangodb</groupId>
99
<artifactId>arangodb-java-driver-parent</artifactId>
10-
<version>7.0.0-RC.2</version>
10+
<version>7.0.0-RC.3</version>
1111
</parent>
1212

1313
<artifactId>integration-tests</artifactId>

jackson-serde-json/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>com.arangodb</groupId>
88
<artifactId>arangodb-java-driver-parent</artifactId>
9-
<version>7.0.0-RC.2</version>
9+
<version>7.0.0-RC.3</version>
1010
</parent>
1111

1212
<name>jackson-serde-json</name>

jackson-serde-vpack/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>com.arangodb</groupId>
99
<artifactId>arangodb-java-driver-parent</artifactId>
10-
<version>7.0.0-RC.2</version>
10+
<version>7.0.0-RC.3</version>
1111
</parent>
1212

1313
<name>jackson-serde-vpack</name>

jsonb-serde/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>com.arangodb</groupId>
88
<artifactId>arangodb-java-driver-parent</artifactId>
9-
<version>7.0.0-RC.2</version>
9+
<version>7.0.0-RC.3</version>
1010
</parent>
1111

1212
<name>jsonb-serde</name>

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<groupId>com.arangodb</groupId>
77
<artifactId>arangodb-java-driver-parent</artifactId>
8-
<version>7.0.0-RC.2</version>
8+
<version>7.0.0-RC.3</version>
99
<inceptionYear>2016</inceptionYear>
1010
<modules>
1111
<module>core</module>

resilience-tests/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>arangodb-java-driver-parent</artifactId>
77
<groupId>com.arangodb</groupId>
8-
<version>7.0.0-RC.2</version>
8+
<version>7.0.0-RC.3</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

shaded/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>com.arangodb</groupId>
99
<artifactId>arangodb-java-driver-parent</artifactId>
10-
<version>7.0.0-RC.2</version>
10+
<version>7.0.0-RC.3</version>
1111
</parent>
1212

1313
<name>arangodb-java-driver-shaded</name>

tutorial/gradle/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ repositories {
1010
}
1111

1212
dependencies {
13-
implementation 'com.arangodb:arangodb-java-driver:7.0.0-RC.2'
13+
implementation 'com.arangodb:arangodb-java-driver:7.0.0-RC.3'
1414
}

tutorial/maven/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<dependency>
2020
<groupId>com.arangodb</groupId>
2121
<artifactId>arangodb-java-driver</artifactId>
22-
<version>7.0.0-RC.2</version>
22+
<version>7.0.0-RC.3</version>
2323
</dependency>
2424
</dependencies>
2525

vst/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>com.arangodb</groupId>
88
<artifactId>arangodb-java-driver-parent</artifactId>
9-
<version>7.0.0-RC.2</version>
9+
<version>7.0.0-RC.3</version>
1010
</parent>
1111

1212
<name>vst-protocol</name>

0 commit comments

Comments
 (0)