NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Maven Central · #970 by repository stars
JPA Codegen support for Querydsl
Last release 3 years ago
no release in 18 months
Release timing varies
gaps range from 2 weeks to 2.5 years
Some releases are documented
notes for 8 of 23 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
24 releases · first in 2015
Bump jcc from 11.5.5.0 to 11.5.6.0 by @dependabot in #2956
Full Changelog: QUERYDSL_5_0_0...QUERYDSL_5_1_0
One column per quarter.
Removal of various deprecated methods.
This release of QueryDSL targets Java 8 minimally and comes with various improvements to make QueryDSL ready for the modern Java ecosystem.
This version also removes joda-time:joda-time, com.google.guava:guava and com.google.code.findbugs:jsr305 as required runtime dependencies for using QueryDSL.
QueryDSL 5.0 is the long awaited major release after the QueryDSL project was left mostly unmaintained for over two years.
With this release the team worked hard on resolving the most pressing issues that have been requested repeatedly for a long time.
A huge thanks goes out to all contributors that made this release possible in their free time:
querydsl-sql from joda-time:joda-time;JPASQLQuery;querydsl-collections;querydsl-spatial;HibernateDomainExporter and JPADomainExporter;Fetchable#stream() which returns a Stream<T>.forEach, collect).joda-time:joda-time is no longer a required dependency for querydsl-sql.joda-time:joda-time types will still be registered automatically if they are on the classpath.com.querydsl.core.alias.Alias.* to be used on a JRE by relying on ECJ as compilerJPAExpressions#treat which can be used to generate JPA 2.1 Treated path expressions.querydsl-collections.querydsl-spatialHibernateDomainExporter and JPADomainExporter.jakarta classifiers for Maven)nullif and coalesce methods.JPASQLQueryAlias.*. Alias.* is now Thread safe.AbstractJPAQuery#fetchResults and AbstractJPAQuery#fetchCount in a query with a having clause by using an in-memory calculation.AbstractJPAQuery#fetchResults and AbstractJPAQuery#fetchCount in a query with multiple group by expressions by using an in-memory calculation.InsertClause.TemplateFactory.ExtendedBeanSerializer from generating toString method twiceJavaSE6SQLExceptionWrapper and other parts regarding pre-Java 7 exception handling are removed.com.mysema.codegen is now com.querydsl.codegen.utils.com.mysema.codegen.model.SimpleType.ImmutableList as parameter, now accepts any List instead.querydsl.variableNameFunctionClass property for the DefaultConfiguration should now be provided as a java.util.function.Function instead of a com.google.common.base.Function.CodeWriter#beginStaticMethod now takes a java.util.function.Function instead of a com.google.common.base.Function.AbstractLuceneQuery now takes a java.util.function.Function instead of a com.google.common.base.Function.AbstractMongodbQuery now takes a java.util.function.Function instead of a com.google.common.base.Function.com.querydsl.codegen.NamingFunction, EvaluatorFunction, DefaultVariableFunction now extend java.util.function.Function instead of com.google.common.base.Function.javax.inject.Provider, now takes a java.util.function.Supplier instead. In most cases you can replace the argument with provider::get.HQLTemplates instead of the Hibernate5Templates.joda-time:joda-time is now an optional dependency. If your application relies on joda-time:joda-time make sure to specify it as a direct dependency rather than relying on QueryDSL to include it transitively.com.google.code.findbugs:jsr305 is no longer a dependency. If your application currently relies on QueryDSL shipping JSR305 transitively, you should add JSR305 as a direct dependency to your project. querydsl.query now is querydsl_query and querydsl.parameters is querydsl_parameters.PolyHedralSurface in querydsl-spatial and querydsl-sql-spatial due to the upgrade of geolatte-geom.com.querydsl.apt.Extension moved to com.querydsl.codegen and now resides in the querydsl-codegen module.com.querydsl.apt.SpatialSupport moved to com.querydsl.spatial.apt.SpatialSupport and now resides in the querydsl-spatial module.com.querydsl.sql.codegen.SpatialSupport moved to com.querydsl.sql.spatial.SpatialSupport and now resides in the querydsl-sql-spatial module.SQLServerGeometryReader in querydsl-sql-spatial is removed in favour of org.geolatte.geom.codec.db.sqlserver.*.PGgeometryConverter in querydsl-sql-spatial is removed in favour of org.geolatte.geom.codec.Wkt.JGeometryConverter in querydsl-sql-spatial is removed in favour of org.geolatte.geom.codec.db.oracle.*.HibernateDomainExporter in querysql-jpa-codegen. HibernateDomainExporter only supported Hibernate 4, which QueryDSL no longer actively supports. Instead, use the JPADomainExporter with Hibernate.ComparableExpression#coalesce (and subtypes) no longer return a mutable Coalesce expression, but instead return a typed expression.new Coalesce<T>().add(expression) instead.getConstantToNamedLabel, getConstantToNumberedLabel and getConstantToAllLabels that were temporarily introduced to SerializerBase and JPQLSerializergetConstantToLabel are now removed in favor of getConstants.AbstractJPAQuery#fetchResults and AbstractJPAQuery#fetchCount are now deprecated for queries that have multiple group byAbstractJPAQuery#fetch instead.BlazeJPAQuery properly implements both fetchResults and fetchCount and even comes with a page method.getConstantToLabel which was deprecated in QueryDSL 4.3.0 is no longer deprecated.cglib:cglib to 3.3.0 for Java 8+ supportorg.eclipse.jdt.core.compiler:ecj to 4.6.1 for Java 8+ supportjoda-time:joda-time to 2.10.10 for better interoperability with other frameworks that use more recent versions than QueryDSL.joda-time:joda-time is also no longer a required dependency and as such is no longer provided transitively to your application.joda-time:joda-time being available, make sure to add the dependency to your project.org.geolatte:geolatte-geom to 1.8.1 for better interopability with Hibernate Spatial.querydsl-spatial is still backwards compatible with older versions of Geolatte, however, querydsl-sql-spatial is not and requires 1.4.0 or newer.com.vividsolutions:jts to org.locationtech:jts for better interopability with Hibernate Spatial.com.vividsolutions:jts is still supported for querydsl-spatial if an older version of org.geolatte:geolatte-geom is provided.org.datanucleus:javax.jdo instead of javax.jdo:jdo-apicom.google.guava:guava is no longer a dependency of QueryDSL and as such is no longer provided transitively to your application.com.google.guava:guava being available, make sure to add the dependency to your project.com.google.code.findbugs:jsr305 is no longer a dependency of QueryDSL and as such is no longer provided transitively to your application.com.google.code.findbugs:jsr305 being available, make sure to add the dependency to your project.Removal of various deprecated methods.
This release of QueryDSL targets Java 8 minimally and comes with various improvements to make QueryDSL ready for the modern Java ecosystem.
This version also removes joda-time:joda-time, com.google.guava:guava and com.google.code.findbugs:jsr305 as required runtime dependencies for using QueryDSL.
QueryDSL 5.0 is the long awaited major release after the QueryDSL project was left mostly unmaintained for over two years.
With this release the team worked hard on resolving the most pressing issues that have been requested repeatedly for a long time.
A huge thanks goes out to all contributors that made this release possible in their free time:
querydsl-sql from joda-time:joda-time;JPASQLQuery;querydsl-collections;querydsl-spatial;HibernateDomainExporter and JPADomainExporter;Fetchable#stream() which returns a Stream<T>.forEach, collect).joda-time:joda-time is no longer a required dependency for querydsl-sql.joda-time:joda-time types will still be registered automatically if they are on the classpath.com.querydsl.core.alias.Alias.* to be used on a JRE by relying on ECJ as compilerJPAExpressions#treat which can be used to generate JPA 2.1 Treated path expressions.querydsl-collections.querydsl-spatialHibernateDomainExporter and JPADomainExporter.jakarta classifiers for Maven)nullif and coalesce methods.JPASQLQueryAlias.*. Alias.* is now Thread safe.AbstractJPAQuery#fetchResults and AbstractJPAQuery#fetchCount in a query with a having clause by using an in-memory calculation.AbstractJPAQuery#fetchResults and AbstractJPAQuery#fetchCount in a query with multiple group by expressions by using an in-memory calculation.InsertClause.TemplateFactory.ExtendedBeanSerializer from generating toString method twiceJavaSE6SQLExceptionWrapper and other parts regarding pre-Java 7 exception handling are removed.com.mysema.codegen is now com.querydsl.codegen.utils.com.mysema.codegen.model.SimpleType.ImmutableList as parameter, now accepts any List instead.querydsl.variableNameFunctionClass property for the DefaultConfiguration should now be provided as a java.util.function.Function instead of a com.google.common.base.Function.CodeWriter#beginStaticMethod now takes a java.util.function.Function instead of a com.google.common.base.Function.AbstractLuceneQuery now takes a java.util.function.Function instead of a com.google.common.base.Function.AbstractMongodbQuery now takes a java.util.function.Function instead of a com.google.common.base.Function.com.querydsl.codegen.NamingFunction, EvaluatorFunction, DefaultVariableFunction now extend java.util.function.Function instead of com.google.common.base.Function.javax.inject.Provider, now takes a java.util.function.Supplier instead. In most cases you can replace the argument with provider::get.HQLTemplates instead of the Hibernate5Templates.joda-time:joda-time is now an optional dependency. If your application relies on joda-time:joda-time make sure to specify it as a direct dependency rather than relying on QueryDSL to include it transitively.com.google.code.findbugs:jsr305 is no longer a dependency. If your application currently relies on QueryDSL shipping JSR305 transitively, you should add JSR305 as a direct dependency to your project. querydsl.query now is querydsl_query and querydsl.parameters is querydsl_parameters.PolyHedralSurface in querydsl-spatial and querydsl-sql-spatial due to the upgrade of geolatte-geom.com.querydsl.apt.Extension moved to com.querydsl.codegen and now resides in the querydsl-codegen module.com.querydsl.apt.SpatialSupport moved to com.querydsl.spatial.apt.SpatialSupport and now resides in the querydsl-spatial module.com.querydsl.sql.codegen.SpatialSupport moved to com.querydsl.sql.spatial.SpatialSupport and now resides in the querydsl-sql-spatial module.SQLServerGeometryReader in querydsl-sql-spatial is removed in favour of org.geolatte.geom.codec.db.sqlserver.*.PGgeometryConverter in querydsl-sql-spatial is removed in favour of org.geolatte.geom.codec.Wkt.JGeometryConverter in querydsl-sql-spatial is removed in favour of org.geolatte.geom.codec.db.oracle.*.HibernateDomainExporter in querysql-jpa-codegen. HibernateDomainExporter only supported Hibernate 4, which QueryDSL no longer actively supports. Instead, use the JPADomainExporter with Hibernate.ComparableExpression#coalesce (and subtypes) no longer return a mutable Coalesce expression, but instead return a typed expression.new Coalesce<T>().add(expression) instead.getConstantToNamedLabel, getConstantToNumberedLabel and getConstantToAllLabels that were temporarily introduced to SerializerBase and JPQLSerializergetConstantToLabel are now removed in favor of getConstants.AbstractJPAQuery#fetchResults and AbstractJPAQuery#fetchCount are now deprecated for queries that have multiple group byAbstractJPAQuery#fetch instead.BlazeJPAQuery properly implements both fetchResults and fetchCount and even comes with a page method.getConstantToLabel which was deprecated in QueryDSL 4.3.0 is no longer deprecated.cglib:cglib to 3.3.0 for Java 8+ supportorg.eclipse.jdt.core.compiler:ecj to 4.6.1 for Java 8+ supportjoda-time:joda-time to 2.10.10 for better interoperability with other frameworks that use more recent versions than QueryDSL.joda-time:joda-time is also no longer a required dependency and as such is no longer provided transitively to your application.joda-time:joda-time being available, make sure to add the dependency to your project.org.geolatte:geolatte-geom to 1.8.1 for better interopability with Hibernate Spatial.querydsl-spatial is still backwards compatible with older versions of Geolatte, however, querydsl-sql-spatial is not and requires 1.4.0 or newer.com.vividsolutions:jts to org.locationtech:jts for better interopability with Hibernate Spatial.com.vividsolutions:jts is still supported for querydsl-spatial if an older version of org.geolatte:geolatte-geom is provided.org.datanucleus:javax.jdo instead of javax.jdo:jdo-apicom.google.guava:guava is no longer a dependency of QueryDSL and as such is no longer provided transitively to your application.com.google.guava:guava being available, make sure to add the dependency to your project.com.google.code.findbugs:jsr305 is no longer a dependency of QueryDSL and as such is no longer provided transitively to your application.com.google.code.findbugs:jsr305 being available, make sure to add the dependency to your project.Merge pull request #2649 from querydsl/querydsl-4.4.0
Merge pull request #2649 from querydsl/querydsl-4.4.0
Querydsl 4.4.0
Merge pull request #2549 from querydsl/querydsl-4.3.1
Merge pull request #2549 from querydsl/querydsl-4.3.1
Querydsl 4.3.1
Nothing published for this version
Verify the release process works
Verify the release process works
Fixes issues https://github.com/querydsl/querydsl/issues?q=milestone%3A4.2.1
Fixes issues https://github.com/querydsl/querydsl/issues?q=milestone%3A4.2.1
Download for non-Maven users : http://www.querydsl.com/static/querydsl/4.2.1
Reference docs : http://www.querydsl.com/static/querydsl/4.2.1/reference/html/
Javadoc API : http://www.querydsl.com/static/querydsl/4.2.1/apidocs/
Replaced by 4.2.1 because of buggy release artifacts
Replaced by 4.2.1 because of buggy release artifacts
Fixes issues https://github.com/querydsl/querydsl/issues?q=milestone%3A4.1.4
Fixes issues https://github.com/querydsl/querydsl/issues?q=milestone%3A4.1.4
Download for non-Maven users : http://www.querydsl.com/static/querydsl/4.1.4
Reference docs : http://www.querydsl.com/static/querydsl/4.1.4/reference/html/
Javadoc API : http://www.querydsl.com/static/querydsl/4.1.4/apidocs/
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →