Skip to content

Releases: spring-projects/spring-data-jpa

4.0.0-M2

22 Apr 12:32
4ddd4b8
Compare
Choose a tag to compare
4.0.0-M2 Pre-release
Pre-release

📗 Links

⭐ New Features

  • Add support for JPA AOT Repositories #3830
  • Migrate to JSpecify annotations for nullability constraints #3745
  • Refactor DeclaredQuery to decouple the query definition from its introspected state #3622
  • Translate JpaSort.unsafe(…) used with Specifications to order-by Expression #3172

🐞 Bug Fixes

  • HQL parser rejects HAVING without GROUP BY #3840
  • QueryRewriter not applied to count queries #3801

📔 Documentation

  • Fix typos in JPA Query Methods documentation #3822

🔨 Dependency Upgrades

  • Upgrade to Eclipselink 5.0.0-B07 #3837
  • Upgrade to Hibernate 7.0.0.Beta5 #3836

❤️ Contributors

We'd like to thank all the contributors who worked on this release!

3.5.0-RC1

22 Apr 09:27
1c8435e
Compare
Choose a tag to compare
3.5.0-RC1 Pre-release
Pre-release

📗 Links

⭐ New Features

  • Adopt to deprecated QueryMethod constructor #3833
  • Support NullHandling in QueryUtils #3811

🐞 Bug Fixes

  • HQL parser rejects HAVING without GROUP BY #3840
  • EQL parser rejects array of constants in IN expressions #3835
  • EQL parser rejects reserved words and functions in IN expressions #3834
  • Error when using reserved words in JPQL query for entity field names and packages #3832
  • EqlParser prohibits the use of reserved words (JPQL aggregate functions) in entity field names #3829
  • QueryRewriter not applied to count queries #3801

📔 Documentation

  • Clarify transaction boundary recommendation #3842
  • Fix typos in JPA Query Methods documentation #3822

🔨 Dependency Upgrades

  • Upgrade JDBC drivers #3847
  • Upgrade to Hibernate 6.6.13.Final #3845
  • Upgrade to Eclipselink 4.0.6 #3844
  • Upgrade to Hibernate 6.6.11.Final #3819

❤️ Contributors

We'd like to thank all the contributors who worked on this release!

3.4.5

22 Apr 08:48
5e79902
Compare
Choose a tag to compare

📗 Links

🐞 Bug Fixes

  • HQL parser rejects HAVING without GROUP BY #3840
  • EQL parser rejects array of constants in IN expressions #3835
  • EQL parser rejects reserved words and functions in IN expressions #3834
  • Error when using reserved words in JPQL query for entity field names and packages #3832
  • EqlParser prohibits the use of reserved words (JPQL aggregate functions) in entity field names #3829
  • QueryRewriter not applied to count queries #3801

📔 Documentation

  • Clarify transaction boundary recommendation #3842
  • Fix typos in JPA Query Methods documentation #3822

🔨 Dependency Upgrades

  • Upgrade JDBC drivers #3847
  • Upgrade to Hibernate 6.6.13.Final #3845
  • Upgrade to Eclipselink 4.0.6 #3844
  • Upgrade to Hibernate 6.6.11.Final #3819

❤️ Contributors

We'd like to thank all the contributors who worked on this release!

3.3.11

22 Apr 08:01
e48c0c5
Compare
Choose a tag to compare

📗 Links

🐞 Bug Fixes

  • HQL parser rejects HAVING without GROUP BY #3840
  • EQL parser rejects array of constants in IN expressions #3835
  • EQL parser rejects reserved words and functions in IN expressions #3834
  • Error when using reserved words in JPQL query for entity field names and packages #3832
  • EqlParser prohibits the use of reserved words (JPQL aggregate functions) in entity field names #3829

📔 Documentation

  • Clarify transaction boundary recommendation #3842

❤️ Contributors

We'd like to thank all the contributors who worked on this release!

3.5.0-M2

14 Mar 08:34
8294336
Compare
Choose a tag to compare
3.5.0-M2 Pre-release
Pre-release

📗 Links

⭐ New Features

  • Reuse existing fetch joins in QueryUtils when creating order by expressions #2756

🐞 Bug Fixes

  • Regression using HQL queries with paging and implicit select #3792
  • No argument for named parameter using parameter multiple times with IN binding #3784
  • Invalid JoinType in QueryByExamplePredicateBuilder when using MatchMode ANY #3763

📔 Documentation

  • Spring-Data @Version-Property inspection does not work with primitives for Entity State Detection #3798

🔨 Dependency Upgrades

  • Upgrade to Hibernate 6.6.10.Final #3809
  • Upgrade to Hibernate 6.6.9.Final #3788

❤️ Contributors

We'd like to thank all the contributors who worked on this release!

3.4.4

14 Mar 07:20
3ea732c
Compare
Choose a tag to compare

📗 Links

⭐ New Features

  • Reuse existing fetch joins in QueryUtils when creating order by expressions #2756

🐞 Bug Fixes

  • Regression using HQL queries with paging and implicit select #3792
  • No argument for named parameter using parameter multiple times with IN binding #3784
  • Invalid JoinType in QueryByExamplePredicateBuilder when using MatchMode ANY #3763

📔 Documentation

  • Spring-Data @Version-Property inspection does not work with primitives for Entity State Detection #3798

🔨 Dependency Upgrades

  • Upgrade to Hibernate 6.6.10.Final #3809
  • Upgrade to Hibernate 6.6.9.Final #3788

❤️ Contributors

We'd like to thank all the contributors who worked on this release!

3.3.10

14 Mar 06:38
996f2fa
Compare
Choose a tag to compare

📗 Links

⭐ New Features

  • Sorting of Pageable.unpaged(sort) is ignored by JPA Repository #3476

🐞 Bug Fixes

  • No argument for named parameter using parameter multiple times with IN binding #3784
  • Add sorting ability for unpaged request in QuerydslPredicateExecutor [DATACMNS-1405] #3761

📔 Documentation

  • Spring-Data @Version-Property inspection does not work with primitives for Entity State Detection #3798

❤️ Contributors

We'd like to thank all the contributors who worked on this release!

3.5.0-M1

14 Feb 11:25
596042d
Compare
Choose a tag to compare
3.5.0-M1 Pre-release
Pre-release

📗 Links

⭐ New Features

  • Add support for findBy(…) using Querydsl Predicate that returns a Slice #3764
  • Refine StringQuery parameter index allocation #3758
  • Improve compatibility to use OpenFeign's Querydsl fork #3748
  • Support custom countSpec in SimpleJpaRepository.findAll #3727
  • FluentQuery ignores .project(...) #3716
  • NEGATING_SIMPLE_PROPERTY should use IS NOT NULL when argument is null #3675
  • Refine Specification API #3578
  • java.lang.IllegalStateException is thrown by invoking findBy method #3294
  • Rewrite string-queries to use constructor expressions when return type is DTO #3076
  • Improve QueryUtils.applyAndBind(…) to avoid StackOverflowError with many entities #2870
  • Implement class-based DTO projections for Fluent API #2327

🐞 Bug Fixes

  • FluentQuery.page(Pagable pagable) does not consider Pageable.sort #3762
  • Add sorting ability for unpaged request in QuerydslPredicateExecutor [DATACMNS-1405] #3761
  • Using the by keyword on a duration object causes a BadJpqlGrammarException #3757
  • ParameterBinder creation fails during count query derivation of declared queries using parameters only in ORDER BY #3756
  • SELECT HQL without entity alias results in SELECT COUNT(null) query #3744
  • Missing HQL support for JDBC literals #3739
  • Generating countQuery for queries with CTE fails with actual pagination #3726
  • Fix Hql-Queries using CEILING and LN. #3711
  • JSqlParserQueryEnhancer produces invalid query that JSqlParser can't parse #3707
  • HQL parser rejects INSERT … ON CONFLICT clause #3689
  • Empty attributePaths on @EntityGraph produces exception #3682
  • Should the @Transactional annotation be added to the delete method in the SimpleJpaRepository class, which takes a parameter of type Specification? Otherwise, it may cause a JDBC connection read-only exception when calling this method due to the @Transactional(readOnly = true) annotation on the class. #3188
  • Native query projection with records fail with ConverterNotFoundException #2757

📔 Documentation

  • Refine Querydsl documentation #3774
  • Document limitations of non-supported collection attributes in Query By Example #3740
  • Pageable warnings incosistent or wrong #3660
  • QueryTypeMismatchException if the DTO has a no-args constructor #3216
  • deleteBy operation easily triggers OOM and has horrible performance #3177

🔨 Dependency Upgrades

  • Upgrade to Hibernate 6.6.7.Final #3767
  • Upgrade to Eclipselink 4.0.5 #3743
  • Upgrade to Hibernate 6.6.4.Final #3742
  • Upgrade to Hibernate 6.6.4.Final #3710

❤️ Contributors

We'd like to thank all the contributors who worked on this release!

3.4.3

14 Feb 09:42
edbd726
Compare
Choose a tag to compare

📗 Links

⭐ New Features

  • java.lang.IllegalStateException is thrown by invoking findBy method #3294

🐞 Bug Fixes

  • FluentQuery.page(Pagable pagable) does not consider Pageable.sort #3762
  • Add sorting ability for unpaged request in QuerydslPredicateExecutor [DATACMNS-1405] #3761
  • Using the by keyword on a duration object causes a BadJpqlGrammarException #3757
  • ParameterBinder creation fails during count query derivation of declared queries using parameters only in ORDER BY #3756

📔 Documentation

  • Refine Querydsl documentation #3774
  • deleteBy operation easily triggers OOM and has horrible performance #3177

🔨 Dependency Upgrades

  • Upgrade to Hibernate 6.6.7.Final #3767

❤️ Contributors

We'd like to thank all the contributors who worked on this release!

3.3.9

14 Feb 08:53
cfcdc9f
Compare
Choose a tag to compare

📗 Links

⭐ New Features

  • java.lang.IllegalStateException is thrown by invoking findBy method #3294

🐞 Bug Fixes

  • ParameterBinder creation fails during count query derivation of declared queries using parameters only in ORDER BY #3756

📔 Documentation

  • deleteBy operation easily triggers OOM and has horrible performance #3177