5.2.0
This is a refinement release that brings several new features, improvements and dependency updates.
This update introduces a new reactive session org.neo4j.driver.reactivestreams.ReactiveSession
that is similar to the deprecated org.neo4j.driver.reactive.RxSession
and includes improvements introduced with org.neo4j.driver.reactive.ReactiveSession
.
Following these updates, the driver supports 2 reactive sessions:
org.neo4j.driver.reactive.ReactiveSession
- uses Java Flow APIorg.neo4j.driver.reactivestreams.ReactiveSession
- uses Reactive Streams API
In addition, this update brings new methods for session instantiation. See the sample usage below:
var synchronousSession = driver.session(Session.class);
var asynchronousSession = driver.session(AsyncSession.class);
var reactiveSession1 = driver.session(org.neo4j.driver.reactive.ReactiveSession.class);
var reactiveSession2 = driver.session(org.neo4j.driver.reactivestreams.ReactiveSession.class);
var reactiveSession3 = driver.session(org.neo4j.driver.reactive.RxSession.class);
The following methods have been deprecated:
asyncSession
reactiveSession
Driver's TypeSystem
is now accessible via TypeSystem.getDefault()
.
⭐ New Features
- Introduce new session instantiation methods #1326
- Introduce new Reactive Streams session #1325
- Add getInstance to TypeSystem #1323
👏 Improvements
- Update changelog location in README #1318
- Update examples #1322
- Add versioning information to readme #1327
🔧 Dependency Management
- Update dependencies #1328