Skip to content

5.2.0

Compare
Choose a tag to compare
@injectives injectives released this 28 Oct 16:18
· 212 commits to 5.0 since this release
e0e5b6a

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 API
  • org.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