Releases: spring-projects/spring-data-jpa
Releases · spring-projects/spring-data-jpa
4.0.0-RC1
📗 Links
⭐ New Features
- Revise
PredicateSpecificationfor improved reuse #4035 - Add
TypeCollectorFiltersto filter$$_hibernatefields and methods #4014 - Allow customization of
@RevisionTimestampproperty name #4003 - Allow customization of
@RevisionTimestampproperty name #2850 - Improve query method validation exceptions for declared queries #2738
- Avoid re-wrapping query validation exceptions into
IllegalArgumentExceptionit they already are one #2736 - Refine AOT Repositories infrastructure #3267
🐞 Bug Fixes
JpqlQueryBuilderdoes not consider@Entityname #4036- Generated JPQL uses non-standard fully-qualified entity names #4032
- Evaluate entity name for
StringAotQueryfromEntityMetadata#4030 - StringAotQuery should evaluate entity name from EntityMetadata #4029
- Consistent handling of
Specification.unrestricted()inSpecification.not(..)#4024 - Inconsistency in
Specification.unrestricted()semantics #4023 deleteByreturning primitive number queries fail withClassCastException#4015- EQL Parser fails using nested aggregation function arguments #4013
- HQL Renderer renders CTE with
CYCLEwithout space betweenSETandidentifier#4012 - Fix unpaged revision query #4000
- Revision repository
findRevisionsthrows exception when usingPageable.unpaged()#3999
📔 Documentation
- Document placeholder and Ant-style pattern support for
@Enable…Repositories#3366
🔨 Dependency Upgrades
- Upgrade to Eclipselink 5.0.0-B11 #4045
- Upgrade to Hibernate 7.1.4.Final #4044
- Upgrade to Hibernate 7.1.1.Final #4016
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
3.5.5
📗 Links
⭐ New Features
- Improve query method validation exceptions for declared queries #2738
- Avoid re-wrapping query validation exceptions into
IllegalArgumentExceptionit they already are one #2736
🐞 Bug Fixes
- Consistent handling of
Specification.unrestricted()inSpecification.not(..)#4024 - Inconsistency in
Specification.unrestricted()semantics #4023 deleteByreturning primitive number queries fail withClassCastException#4015- EQL Parser fails using nested aggregation function arguments #4013
- HQL Renderer renders CTE with
CYCLEwithout space betweenSETandidentifier#4012 - Fix unpaged revision query #4000
- Revision repository
findRevisionsthrows exception when usingPageable.unpaged()#3999
📔 Documentation
- Document placeholder and Ant-style pattern support for
@Enable…Repositories#3366
🔨 Dependency Upgrades
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
3.4.11
📗 Links
⭐ New Features
- Improve query method validation exceptions for declared queries #2738
- Avoid re-wrapping query validation exceptions into
IllegalArgumentExceptionit they already are one #2736
🐞 Bug Fixes
- Consistent handling of
Specification.unrestricted()inSpecification.not(..)#4024 - Inconsistency in
Specification.unrestricted()semantics #4023 - EQL Parser fails using nested aggregation function arguments #4013
- HQL Renderer renders CTE with
CYCLEwithout space betweenSETandidentifier#4012 - Fix unpaged revision query #4000
- Revision repository
findRevisionsthrows exception when usingPageable.unpaged()#3999
📔 Documentation
- Document placeholder and Ant-style pattern support for
@Enable…Repositories#3366
🔨 Dependency Upgrades
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
4.0.0-M6
📗 Links
⭐ New Features
- Reintroduce Specification.where(Specification) #3998
- Add possbility to return Entity from
delete<...>ById(id: MyId)method #3995 - Reintroduce
Specification.where(Specification)#3992
🐞 Bug Fixes
- JPQL
/* ... */comments in@Queryfail to parse when migrating from Spring Boot 3.3.5 to Spring Boot 3.5.5 / Spring Data JPA (HQL parser mismatch on/) #3997 - Qualify identifier used in
SimpleJpaRepository.deleteAllByIdInBatch(…)JPQL #3993 - EclipseLink fails resolving unqualified identifier property using
INon batch delete by Id #3990 - Type Constraint Mismatch in
QueryByExampleExecutor.findBy()#3986 - Optimized
QueryUtils.applyAndBind(…)usingIN(entities)does not work with EclipseLink #3983 ExpressionBasedStringQuerydoes not expand#{#entityName}for native queries #3979
🔨 Dependency Upgrades
- Upgrade to Eclipselink 5.0.0-B10 #4006
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
3.5.4
📗 Links
⭐ New Features
- Add possbility to return Entity from
delete<...>ById(id: MyId)method #3995
🐞 Bug Fixes
- JPQL
/* ... */comments in@Queryfail to parse when migrating from Spring Boot 3.3.5 to Spring Boot 3.5.5 / Spring Data JPA (HQL parser mismatch on/) #3997 - Qualify identifier used in
SimpleJpaRepository.deleteAllByIdInBatch(…)JPQL #3993 - EclipseLink fails resolving unqualified identifier property using
INon batch delete by Id #3990 - Optimized
QueryUtils.applyAndBind(…)usingIN(entities)does not work with EclipseLink #3983 ExpressionBasedStringQuerydoes not expand#{#entityName}for native queries #3979
🔨 Dependency Upgrades
- Upgrade to Hibernate 6.6.28.Final #4005
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
3.4.10
📗 Links
🐞 Bug Fixes
- JPQL
/* ... */comments in@Queryfail to parse when migrating from Spring Boot 3.3.5 to Spring Boot 3.5.5 / Spring Data JPA (HQL parser mismatch on/) #3997 - Qualify identifier used in
SimpleJpaRepository.deleteAllByIdInBatch(…)JPQL #3993 - EclipseLink fails resolving unqualified identifier property using
INon batch delete by Id #3990 ExpressionBasedStringQuerydoes not expand#{#entityName}for native queries #3979
🔨 Dependency Upgrades
- Upgrade to Hibernate 6.6.28.Final #4005
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
4.0.0-M5
📗 Links
⭐ New Features
- Remove unnecessary join when filtering on relationship id #3922
- Skip
JOINfor predicates that compare the primary key of a@ManyToOnerelationship #3349
🐞 Bug Fixes
- Add missing
@Nullableannotations toJpaSpecificationExecutor.findBy(…)#3974
📔 Documentation
🔨 Dependency Upgrades
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
3.5.3
📗 Links
📔 Documentation
🔨 Dependency Upgrades
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
3.4.9
📗 Links
📔 Documentation
🔨 Dependency Upgrades
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
4.0.0-M4
📗 Links
⭐ New Features
- Backport
Specification.unrestricted()to3.5.x#3942 - Replace regex with startsWith / endsWith check for LIKE pattern detection #3932
- Deprecate
SharedEntityManagerbean registration in favor of JPA 3.2 qualifiedEntityManagerinjection #3926 - Enable AOT repository generation by default #3904
- Make identification variables and the
SELECTclause in JPQL optional #3903 - Make identification variables and the
SELECTclause in JPQL optional #3902 - Enable AOT repositories by default #3899
- Avoid early
EntityManagerinitialization duringPersistenceProviderlookup #3885 - Add support for JSON and XML Set-Returning-Functions #3883
- Add
delete(Predicate)toQuerydslJpaPredicateExecutor#3878 - Add
delete(Predicate)toQuerydslJpaPredicateExecutor#3877 - Use provider built-in result count to reuse query if possible #3456
- Prevent early
EntityManageraccess to avoid conflicts with Hibernate-native multi-tenancy #3425
🐞 Bug Fixes
- Returning Converted entity properties cause DTO projection rewrite #3929
PersistenceProvider.fromEntityManagerFactory(…)throwsNullPointerExceptionusing Hotswap Agent #3923QueryUtilsfails to detect aliases whenSELECTitems are comma-separated without spaces #3911JpaSpecificationExecutor.findBy(…)returns join product of nested relations #3908- Postgresql jsonb operator
?|erroneously detected as parameter bind marker #3907 - DTO query rewriting renders invalid queries #3895
📔 Documentation
- Fix typos in query-methods.adoc #3912
🔨 Dependency Upgrades
- Upgrade to Maven Wrapper 3.9.11 #3945
- Upgrade to Eclipselink 5.0.0-B09 #3939
- Upgrade to JSqlparser 5.3 #3938
- Upgrade to Hibernate 7.0.6.Final #3933
- Upgrade to Hibernate 7.0.3.Final #3925
- Upgrade to PGJDBC Driver 42.7.7 #3914
- Upgrade to Hibernate 7.0.0 #3896
❤️ Contributors
We'd like to thank all the contributors who worked on this release!