Bot releases are hidden (Show)
Full Changelog: https://github.com/querydsl/querydsl/compare/QUERYDSL_5_0_0...QUERYDSL_5_1_0
Published by jwgmeligmeyling about 3 years ago
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-spatial
HibernateDomainExporter
and JPADomainExporter
.jakarta
classifiers for Maven)nullif
and coalesce
methods.JPASQLQuery
Alias.*
. 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 JPQLSerializer
getConstantToLabel
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-api
com.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.Published by jwgmeligmeyling over 3 years ago
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-spatial
HibernateDomainExporter
and JPADomainExporter
.jakarta
classifiers for Maven)nullif
and coalesce
methods.JPASQLQuery
Alias.*
. 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 JPQLSerializer
getConstantToLabel
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-api
com.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.Published by johnktims about 4 years ago
Published by idosal over 4 years ago
Published by johnktims almost 5 years ago
Verify the release process works
Published by timowest over 6 years ago
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/
Published by timowest over 6 years ago
Replaced by 4.2.1 because of buggy release artifacts
Published by timowest about 8 years ago
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/
Published by timowest over 8 years ago
Fixes issues https://github.com/querydsl/querydsl/issues?q=milestone%3A4.1.3
Download for non-Maven users : http://www.querydsl.com/static/querydsl/4.1.3
Reference docs : http://www.querydsl.com/static/querydsl/4.1.3/reference/html/
Javadoc API : http://www.querydsl.com/static/querydsl/4.1.3/apidocs/
Published by timowest over 8 years ago
Fixes issues https://github.com/querydsl/querydsl/issues?q=milestone%3A3.7.4
Download for non-Maven users : http://www.querydsl.com/static/querydsl/3.7.4
Reference docs : http://www.querydsl.com/static/querydsl/3.7.4/reference/html/
Javadoc API : http://www.querydsl.com/static/querydsl/3.7.4/apidocs/
Published by timowest over 8 years ago
Fixes issues https://github.com/querydsl/querydsl/issues?q=milestone%3A4.1.2
Download for non-Maven users : http://www.querydsl.com/static/querydsl/4.1.2
Reference docs : http://www.querydsl.com/static/querydsl/4.1.2/reference/html/
Javadoc API : http://www.querydsl.com/static/querydsl/4.1.2/apidocs/
Published by timowest over 8 years ago
Fixes issues https://github.com/querydsl/querydsl/issues?q=milestone%3A3.7.3
Download for non-Maven users : http://www.querydsl.com/static/querydsl/3.7.3
Reference docs : http://www.querydsl.com/static/querydsl/3.7.3/reference/html/
Javadoc API : http://www.querydsl.com/static/querydsl/3.7.3/apidocs/
Published by timowest over 8 years ago
Fixes issues https://github.com/querydsl/querydsl/issues?q=milestone%3A4.1.1
Download for non-Maven users : http://www.querydsl.com/static/querydsl/4.1.1
Reference docs : http://www.querydsl.com/static/querydsl/4.1.1/reference/html/
Javadoc API : http://www.querydsl.com/static/querydsl/4.1.1/apidocs/
Published by timowest over 8 years ago
Fixes issues https://github.com/querydsl/querydsl/issues?q=milestone%3A4.1.0
Download for non-Maven users : http://www.querydsl.com/static/querydsl/4.1.0
Reference docs : http://www.querydsl.com/static/querydsl/4.1.0/reference/html/
Javadoc API : http://www.querydsl.com/static/querydsl/4.1.0/apidocs/
Published by timowest over 8 years ago
Fixes issues https://github.com/querydsl/querydsl/issues?q=milestone%3A4.0.9
Download for non-Maven users : http://www.querydsl.com/static/querydsl/4.0.9
Reference docs : http://www.querydsl.com/static/querydsl/4.0.9/reference/html/
Javadoc API : http://www.querydsl.com/static/querydsl/4.0.9/apidocs/
Published by timowest over 8 years ago
Fixes issues https://github.com/querydsl/querydsl/issues?q=milestone%3A3.7.2
Download for non-Maven users : http://www.querydsl.com/static/querydsl/3.7.2
Reference docs : http://www.querydsl.com/static/querydsl/3.7.2/reference/html/
Javadoc API : http://www.querydsl.com/static/querydsl/3.7.2/apidocs/
Published by timowest over 8 years ago
Fixes issues https://github.com/querydsl/querydsl/issues?q=milestone%3A4.0.8
Download for non-Maven users : http://www.querydsl.com/static/querydsl/4.0.8
Reference docs : http://www.querydsl.com/static/querydsl/4.0.8/reference/html/
Javadoc API : http://www.querydsl.com/static/querydsl/4.0.8/apidocs/
Published by timowest over 8 years ago
Fixes issues https://github.com/querydsl/querydsl/issues?q=milestone%3A3.7.1
Download for non-Maven users : http://www.querydsl.com/static/querydsl/3.7.1
Reference docs : http://www.querydsl.com/static/querydsl/3.7.1/reference/html/
Javadoc API : http://www.querydsl.com/static/querydsl/3.7.1/apidocs/
Published by timowest almost 9 years ago
Fixes issues https://github.com/querydsl/querydsl/issues?q=milestone%3A4.0.7
Download for non-Maven users : http://www.querydsl.com/static/querydsl/4.0.7
Reference docs : http://www.querydsl.com/static/querydsl/4.0.7/reference/html/
Javadoc API : http://www.querydsl.com/static/querydsl/4.0.7/apidocs/