Skip to content

Releases: neo4j/neo4j-ogm

v3.0.0

29 Sep 12:38
Compare
Choose a tag to compare

o Check if node is in MappingContext before firing events, fixes #305
o Don't consider Object fields with @startnode and @endnode as property, fixes #66
o Update Neo4j to version 3.1.6 in 3.1 profile
o Update Neo4j to version 3.2.3 in 3.2 profile
o Update Neo4j to version 3.3.0-alpha05 in 3.3 profile
o Update java driver version to 1.4.3
o Test against java driver 1.5-alpha1 in driver-1.5 profile
o Don't merge collection property default value with graph value
o Lookup by Long primary id returns correct instance when conflicts with other graph id (DATAGRAPH-1008)
o Generate correct statements for entities with label field
o Fix creation of relationship entities with identical properties
o Add @id to relationship entities
o Remove requirement to have graph id in entities
o Execute @PostLoad method after fully hydrating all entities, fixes #403
o Fix execution of @PostLoad method when entities are loaded via session.query()
o Fix duplicate nodes creation when using Session.save(Iterable)
o Expose new URIS configuration parameter for clustering
o Username and password are not picked from configuration file
o Use UNWIND pattern when updating relationships
o Paging with session.loadAll(User.class, filter, pagination) does not work correctly when filtering on relationship #384
o Assert indexes for labels with hyphens fails #392
o Remove dependency on common collections
o Keep order for loadAll by objects or ids, fixes #196
o Fix issue with empty (non null) collections, fixes #388
o Update documentation

v2.1.5

06 Sep 06:47
Compare
Choose a tag to compare

Expose connection.liveness.check.timeout driver property to fix connection problems with firewalls. See #358.
Map relationship entities without any properties
Return correct results when paging and filtering on relationship property

v2.1.4

15 Aug 12:37
Compare
Choose a tag to compare

o Allow use of CompositeConverter on fields in @RelationshipEntity classes
o Allow passing custom driver instance to BoltDriver for custom driver configuration
o Improve lookup of relationship fields of same type, fixes #361
o Improve performance for saving large number of new relationships in one save request
o Update Neo4j to version 3.0.11 in 3.0 profile
o Update Neo4j to version 3.1.6 in 3.1 profile
o Change graph id handling for new entities, fix #381
o Check if node is in MappingContext before firing events, fixes #305
o Fix mapping of @Relationship with default direction
o Don't merge collection property default value with graph value
o Fix issue with empty (non null) collections, #388

v3.0.0-RC1

10 Jul 13:54
Compare
Choose a tag to compare
v3.0.0-RC1 Pre-release
Pre-release

Add verifyConnection configuration property for bolt and http driver
Support Neo4j version 3.3.0-alpha3 in 3.3 profile
Add default conversions for LocalDateTime and OffsetDateTime
Implement query load strategies based on schema defined by entities
Update Neo4j to version 3.1.5 in 3.1 profile
Update Neo4j to version 3.2.2 in 3.2 profile
Change graph id handling for new entities, fix #381

v2.0.7

21 Jun 09:16
Compare
Choose a tag to compare

o Fixes issue where session.loadAll would sort by ids instead of by the sort order specified. Fixes #302.
o Expose connection.liveness.check.timeout driver property to fix connection problems with firewalls. See #358.

v3.0.0.M02

12 Jun 20:46
Compare
Choose a tag to compare
v3.0.0.M02 Pre-release
Pre-release

o Session.loadAll(Class type, Collection ids) doesn't treat ids as primaryKeys but as nodeIDs. #349
o Add native support for java.time.Instant and java.time.Instant. Fixes #348
o Do not throw NPE when entity field is not a managed type. #347
o Handle default platform encoding other than UTF-8. #244
o Upgrade Neoj4 Java Driver to 1.4.0
o Fix MappingException when querying object with List using Embedded. #359
o Expose connection liveness driver parameter. #358
o Support Neo4j 3.2.1
o Allow use of CompositeConverter on fields in @RelationshipEntity classes
o New feature: @properties - dynamically map node properties
o Relationships with same endNode load correctly. #361
o Provide way to inject dependencies to drivers directly through constructors
o New feature: OgmPluginInitializer for easy use of OGM in unmanaged extension
o Add new API to provide multiple bookmarks at transaction begin
o New feature: @id generation through strategy specified by @GenerationValue
o Removed DriverManager class

v2.1.3

26 May 13:39
Compare
Choose a tag to compare

This version is a bugfix release

Release notes

  • Session.loadAll(Class type, Collection ids) doesn't treat ids as primaryKeys but as nodeIDs. #349
  • Do not thow NPE when entity field is not a managed type. #347
  • Fix MappingException when querying object with List using Embedded. #359
  • Handle default platform encoding other than UTF-8. #244
  • Default Bolt Driver dependency is now 1.2.3
  • Session::load(type, id) should support types in its queries or provide a typed interface #365
  • Avoid session leaks in some rollback scenarios #364
  • Incoming relationship does not get deleted with clear session #357
  • Avoid too verbose logging on classpath scanning
  • Do not show password on ConnectionException. #337
  • Minor performance improvements. #327

3.0 Milestone 1

29 Mar 05:03
Compare
Choose a tag to compare
3.0 Milestone 1 Pre-release
Pre-release

o Primary index annotations are picked up on the whole class class hierarchy, not only on leaf class. Fixes #332.
o Support Neo4j 3.1.2
o Fixes issue where the X-Write header is wrong on read-only transactions first request. Fixes #323.
o Improve test infrastructure. Test servers are now reused when possible.
o Exclude slf4j-nop from transitive dependencies.
o Improve identity handling and allow custom id generation (introduce new annotations @id and @generated). #344.
o Performance improvements when loading large number of relationships. #327.
o Use fast-classpath-scanner to read mapping metadata. #327.
o Look for primary indexes on class hierarchy and not only on leaf class. Fixes #332.
o Removed username/password from logging. Fixes #330.
o Improve the way configuration works. #346.
o Filters are now immutable. #345.

v2.1.2

13 Mar 18:02
Compare
Choose a tag to compare

This version is a bugfix release

Release notes

  • Fixes issue where the X-Write header is wrong on read-only transactions first request. Fixes #323.
  • Primary index annotations are picked up on the whole class class hierarchy, not only on leaf class. Fixes #332.
  • Support Neo4j 3.1.2
  • Performance improvement when saving lots of nodes and relationships in the same transaction.
  • Ensure RelationshipEntities not referenced by NodeEntities can be loaded. Fixes #309.
  • Documentation improvements.

v2.1.1

13 Jan 11:13
Compare
Choose a tag to compare

This version is a patch release to support the 4.2.0.RELEASE of Spring Data Neo4j.

Change Log

  • Fixes issue where session.loadAll would sort by ids instead of by the sort order specified. Fixes #302.
  • Completely updated documentation.
  • Fix for @Index not working properly with @Property. Resolves #312.
  • ClassInfo.addIndexes() now uses MetaDataClassLoader.loadClass() to fix issue in Play 2.5. Resolves #314.
  • Made Index validation comparison ignore whitespace.
  • Bump Neo4j version to 3.0.8.
  • Ensure polymorphic relationship entity references can be correctly resolved at runtime. Fixes #298.
  • Fix issue where no neo4j dependencies causes embedded driver to silently fail.
  • Removed requirement for embedded driver to always download neo4j dependencies.
  • Session.loadAll() sorts by SortOrder specified instead of by Ids. Fixes #302.
  • Fix commit/rollback X-WRITE headers not being sent to correct node in HTTP Driver.