Skip to content

1.4.0-Alpha2

Compare
Choose a tag to compare
@beikov beikov released this 17 Sep 05:14

We just released Blaze-Persistence version 1.4.0-Alpha2, this time, mostly with new features!
The most exciting feature of this release is obviously window function support and the new expression syntax support for it.

If you want to get the number of objects while fetching them and avoid the need for grouping or subqueries, you can now do something like

criteriaBuilder.select("count(*) over (partition by entity.id)")

We added support for the most common window functions, also see the new window function chapter: https://persistence.blazebit.com/documentation/core/manual/en_US/index.html#window-functions-2

Other new notable features are:

  • #812 Temporal extraction, diff, truncation and arithmetic functions
  • #803 Introduction of comparison methods that render literals
  • #801 MySQL 8 support
  • #797 EntityManager resolving in spring data integration is random
  • #795 Move available configuration properties to API artifacts
  • #793 Shade ANTLR into parser

Take a look into the changelog for a full list of changes and improvements.

A big thank you goes out to Jan-Willem Gmelig Meyling and his colleague Sayra Ranjha for implementing the initial window functions!

The long awaited feature entity view lifecycle listeners will take some more time as I'm currently working on a new project called blaze-notify
that will make it super easy to integrate transactional notifications(E-Mail, App notifications, etc.) into your own applications.

Unless someone works on a PR for other new features, the next release will be about preliminary support for entity view lifecycle listeners!