Releases: neo4j/neo4j-ogm
Releases · neo4j/neo4j-ogm
v3.2.0-alpha03
- Don't deploy
org.neo4j:neo4j-ogm-test
any longer. This module and the included utilities is not meant to be used outside Neo4j-OGM. SessionFactory.getDriver()
has been replaced withSessionFactory.unwrap(Class<T> clazz)
which provides a consistent way to get the underlying Neo4j-OGM driver or the native driver.
v3.1.6
- Improve documentation of type conversions. #501
- Provide "neo4j.conf.location" in OGM configuration, pointing to a custom configuration file (url or classpath resource) that allows to configure the embedded Neo4j instance. #408
- Deprecate "neo4j.ha.properties.file" as configuration property of OGM. It will be removed in 3.2. To use an embedded
- HA instance, provide a neo4j.conf file through OGM property "neo4j.conf.location" specifying the DBMS mode "HA" like this:
dbms.mode=HA
. - Fix update of labels depending on the session in which an entity was loaded. (#488)
- Allow configuration of embedded database through file specified in
ogm.properties
underneo4j.conf.location
. (#408) - Improve documentation of attribute conversions. (#501)
- Don't rely on system encoding.
- Constraint violations are now handled consistent across drivers. (#301)
- Deprecated
org.neo4j.ogm.session.Neo4jException
, will be removed in 3.2. (#319) - Deprecated
org.neo4j.ogm.exception.core.NotFoundException
, will be removed in 3.2. (#319) - Deprecated
org.neo4j.ogm.exception.core.ResultErrorsException
, will be removed in 3.2. (#319) - Fixed detection of field types in concrete subclasses of generic base classes. (#492)
- Changes to dynamic properties (map attributes) are now correctly tracked. (#518)
- Fixed possible class cast exceptions while sending domain events for iterables. (#473)
- Fixed deletion of relationships with the same type between the same nodes. (#576)
v3.2.0-alpha02
- Removed "neo4j.ha.properties.file" property from OGM configuration. Use "neo4j.conf.location" instead.
- Removed
org.neo4j.ogm.autoindex.AutoIndexManager#build
. Useorg.neo4j.ogm.autoindex.AutoIndexManager#run
instead. - Removed deprecated and unsupported method
org.neo4j.ogm.session.Neo4jSession#setDriver
. - Removed deprecated
@GraphId
. Please use aLong
field annotated with@Id @GeneratedValue
instead. - Removed deprecated
org.neo4j.ogm.session.Session.doInTransaction(GraphCallback<T>)
. SDN doesn't use that from 5.1.4 upwards anymore. - Allow configuration of packages to scan in
ogm.properties
throughbase-packages
. (#131) - Removed deprecated and unused ServiceNotFoundException for good this time. (#319)
- Removed deprecated
org.neo4j.ogm.session.Neo4jException
. (#319) - Removed deprecated
org.neo4j.ogm.exception.core.NotFoundException
. (#319) - Removed deprecated
org.neo4j.ogm.exception.core.ResultErrorsException
. (#319) - Introduced exception translator to unify exceptions of different transports into an OGM hierarchy. (#319)
- Improved hashing in IdentityMap and MappedRelationship. (#579)
- Deprecated OgmPluginInitializer.
- Improve documentation of type conversions. #501
- Provide "neo4j.conf.location" in OGM configuration, pointing to a custom configuration file (url or classpath resource) that allows to configure the embedded Neo4j instance. #408
- Deprecate "neo4j.ha.properties.file" as configuration property of OGM. It will be removed in 3.2. To use an embedded
- HA instance, provide a neo4j.conf file through OGM property "neo4j.conf.location" specifying the DBMS mode "HA" like this: dbms.mode=HA.
- Fix update of labels depending on the session in which an entity was loaded. (#488)
- Allow configuration of embedded database through file specified in
ogm.properties
underneo4j.conf.location
. (#408) - Improve documentation of attribute conversions. (#501)
- Don't rely on system encoding.
- Constraint violations are now handled consistent across drivers. (#301)
- Deprecated
org.neo4j.ogm.session.Neo4jException
, will be removed in 3.2. (#319) - Deprecated
org.neo4j.ogm.exception.core.NotFoundException
, will be removed in 3.2. (#319) - Deprecated
org.neo4j.ogm.exception.core.ResultErrorsException
, will be removed in 3.2. (#319) - Fixed detection of field types in concrete subclasses of generic base classes. (#492)
- Changes to dynamic properties (map attributes) are now correctly tracked. (#518)
- Fixed possible class cast exceptions while sending domain events for iterables. (#473)
- Fixed deletion of relationships with the same type between the same nodes. (#576)
v3.1.5
- Fix loading by parent class / interface for custom id. (#554)
- Fix computation of keys for primaryIdToNativeId mapping.
- Fix usage of fixed variable name.
- Remove methods that had been scheduled for removal in 3.1.4.
- Remove dependency on commons-io.
- Updated dependencies to an up to date version of Jackson.
v3.0.5
Includes a number of backports from the 3.1.x series, notably:
- Don't treat Void and void as scalar result types and thus allowing Neo4j-OGM session to handle queries mapped to these types even if the query itself does return nodes or properties. #479
- Fix determination of FieldInfo.
- Handle property fields that cannot be persisted as property fields
v3.0.5 will be used Spring Data Neo4j 5.0.11 (Kay SR 11) by default.
v3.1.4
- Don't treat Void and void as scalar result types and thus allowing Neo4j-OGM session to handle queries mapped to these types even if the query itself does return nodes or properties. #479
- Fix a bug during detection of interface-hierarchies that prohibited the use of generics as target attributes for start and end nodes of a relationship. #491
- Fix a bug during recognition of type variables in generic classes or interfaces used as target attributes for relationships. #528
- Improve logging of Cypher statements and their parameters: To have less clutter in the log, only log to DEBUG. If you rely on the old behavior, enable DEBUG log on the request type in question
(org.neo4j.ogm.drivers.bolt.request.BoltRequest, org.neo4j.ogm.drivers.embedded.request.EmbeddedRequest or org.neo4j.ogm.drivers.http.request.HttpRequest). #530 - Introduce an experimental configuration option to use native types in parameter conversion for both Bolt- and Embedded-Transports.
- Added an SPI to hook into the Cypher execution. This can be used to intercept and modify every statement going through the Neo4j-OGM session.
v3.1.3
- Improve determination of labels in class hierarchy scenarios. Labels are now computed according to docs, the names of abstract classes are now considered as labels as long as the class contributes to the index. If a hierarchy lead to a situation where multiple different labels can be applied, the topmost one is used. #437
- Don't run the auto index manager if auto index mode is NONE (prevents eagerly opening a session). #437
- Deprecate #getIndexes and #build in AutoIndexManager. #437
- Convert array correct in delete operations. #509
- Treat @PostLoad methods the same way as JSR-250 treats @PostConstruct. #516
- Recognize overwritten @PostLoad methods in a class hierarchy. #414, #516
- Deprecate default constructor and mutating put-method in ObjectAnnotations.
- Prevent possible accidental deletion of all nodes when no label can be determined.
v3.1.2
Re-introduce ServiceNotFoundException
due to compatibility issues with Spring Data Neo4j 5.0.x
v3.1.1
o Fix determination of FieldInfo.
o Use type converters for scalar queries. #71
o Remove deprecated and unused ServiceNotFoundException.
o Upgrade FastClasspathScanner to latest version. #474
o SortOrder API polishing. #483
o Make SortOrder reusable. #486
o (Deeper) Nested properties filter support.
o Provide a case-insensitive equals comparison.
o NodeEntity label, Relationship and RelationshipEntity type can be set without attribute name in annotation. #377
v3.0.4
- HttpDriver: Handle non-json response gracefully.
- Default Java driver dependency for Bolt is 1.5.
- Compatibility for 3.4 point types in DistanceComparison.
- NodeEntity label, Relationship and RelationshipEntity type can be set without attribute name in annotation. #377
- SortOrder is now re-usable. #486
- Report QueryStatistics correctly. #449