Skip to content

Commit

Permalink
v4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rashtao committed Sep 18, 2023
1 parent b4f9a48 commit c85bc79
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 5 deletions.
22 changes: 19 additions & 3 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,29 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a

## [Unreleased]

## [4.0.0] - 2023-09-18

- upgraded dependency Spring Framework 6 and Spring Data 3 (#250)
- exceptions during `ArangoOperations.query()` are now translated
- improved exception translation, `OptimisticLockingFailureException` is now thrown in case of `_rev` conflict
- `CrudRepository.deleteById()` silently ignores an unknown id (#283)
- exceptions during `ArangoOperations.query()` are now translated (#281)
- improved exception translation `OptimisticLockingFailureException` is now thrown in case of `_rev` conflict (#282)
- raised required minimum Java version to JDK 17
- deprecated Fulltext Index support
- changed `deduplicate` default value to `true` in `@PersistentIndex` and `@PersistentIndexed` annotations
- removed deprecated `AbstractArangoConfiguration` in favor of `ArangoConfiguration`
- underlying Java driver (accessible via `com.arangodb.springframework.core.ArangoOperations#driver()`) uses
now `ArangoConverter` bean to serialize and deserialize user data (#284)
- renamed `ArangoOperations` methods operating on multiple documents with `All` suffix (e.g. `insert(Iterable)` has been
renamed to `insertAll(Iterable)` (#284)
- `ArangoOperations` methods for single document manipulation have now specific return
types (, `DocumentDeleteEntity<T>`, `DocumentUpdateEntity<T>`, `DocumentCreateEntity<T>`) (#284)
- `ArangoOperations` methods for multiple documents manipulation have now specific return types as for single documents,
wrapped by `MultiDocumentEntity<>` (#284)
- `ArangoOperations` methods for documents manipulation accepting options `returnNew(boolean)` or `returnOld(boolean)`
return now the deserialized entity in the response (accessible via `getNew()` or `getOld()`) (#284)
- changed the arguments order of some `ArangoOperations` methods for better API coherence (#284)
- changed the arguments type of some `ArangoOperations` methods to be covariant (#284)
- return updated entity from `ArangoOperations.repsert()` (#285)
- removed deprecated `AbstractArangoConfiguration` in favor of `ArangoConfiguration`
- removed support for Joda-Time

## [3.10.0] - 2023-05-17
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<groupId>com.arangodb</groupId>
<artifactId>arangodb-spring-data-integration-tests</artifactId>
<version>4.0.0-SNAPSHOT</version>
<version>4.0.0</version>

<name>arangodb-spring-data-integration-tests</name>
<description>ArangoDB Spring Data Integration Tests</description>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.arangodb</groupId>
<artifactId>arangodb-spring-data</artifactId>
<version>4.0.0-SNAPSHOT</version>
<version>4.0.0</version>
<inceptionYear>2017</inceptionYear>
<packaging>jar</packaging>

Expand Down

0 comments on commit c85bc79

Please sign in to comment.