Skip to content

Commit

Permalink
Prepare release
Browse files Browse the repository at this point in the history
  • Loading branch information
beikov committed Sep 6, 2018
1 parent 25743c6 commit b1a253f
Show file tree
Hide file tree
Showing 16 changed files with 93 additions and 5 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,22 @@ Not yet released

### New features

None yet

### Bug fixes

None yet

### Backwards-incompatible changes

None yet

## 1.3.0-Alpha3

20/07/2018 - [Release tag](https://github.com/Blazebit/blaze-persistence/releases/tag/1.3.0-Alpha3) [Resolved issues](https://github.com/Blazebit/blaze-persistence/issues?utf8=%E2%9C%93&q=is%3Aissue+milestone%3A1.3.0+is%3Aclosed+closed%3A%3C2018-09-06)

### New features

* Hibernate 5.4 support
* Add support for `GROUP BY` with `PaginatedCriteriaBuilder`
* `PaginatedCriteriaBuilder` API allows to define custom identifiers by which to paginate
Expand Down
42 changes: 40 additions & 2 deletions integration/hibernate-5.4/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
limitations under the License.
-->

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
Expand Down Expand Up @@ -55,9 +56,10 @@
<goal>shade</goal>
</goals>
<configuration>
<createSourcesJar>true</createSourcesJar>
<artifactSet>
<includes>
<include>com.blazebit:blaze-persistence-integration-hibernate-5.3</include>
<include>${project.groupId}:blaze-persistence-integration-hibernate-5.3</include>
</includes>
</artifactSet>
</configuration>
Expand Down Expand Up @@ -96,4 +98,40 @@
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>blazebit-release</id>
<build>
<plugins>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>shade-javadoc</id>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>${project.groupId}</groupId>
<artifactId>blaze-persistence-integration-hibernate-5.3</artifactId>
<version>${project.version}</version>
<type>jar</type>
<classifier>javadoc</classifier>
<overWrite>true</overWrite>
<outputDirectory>${project.build.directory}</outputDirectory>
<destFileName>${project.artifactId}-${project.version}-javadoc.jar</destFileName>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>

</project>
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public Optional<E> findOne(Specification<E> spec) {

@Override
public Optional<E> findById(ID id) {
return Optional.of((E) findOne(id));
return Optional.ofNullable((E) findOne(id));
}

@Override
Expand Down
2 changes: 1 addition & 1 deletion integration/spring-data/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<modules>
<module>base</module>
<module>1.x</module>
<module>2.x</module>
<module>2.0</module>
<module>2.1</module>
<module>rest</module>
<module>testsuite</module>
Expand Down
2 changes: 1 addition & 1 deletion website/src/main/jbake/content/downloads.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

[.releases]
|===
| 1.3.0-Alpha2 | 2018-07-20 | https://github.com/Blazebit/blaze-persistence/releases/download/1.3.0-Alpha2/blaze-persistence-dist-1.3.0-Alpha2.zip[*Download*, window="_blank"] link:news/2018/blaze-persistence-1.3.0-Alpha2-release.html[More...]
| 1.3.0-Alpha3 | 2018-09-06 | https://github.com/Blazebit/blaze-persistence/releases/download/1.3.0-Alpha3/blaze-persistence-dist-1.3.0-Alpha3.zip[*Download*, window="_blank"] link:news/2018/blaze-persistence-1.3.0-Alpha3-release.html[More...]
| 1.2.1 | 2018-07-05 | https://github.com/Blazebit/blaze-persistence/releases/download/1.2.1/blaze-persistence-dist-1.2.1.zip[*Download*, window="_blank"] link:news/2018/blaze-persistence-1.2.1-and-1.3.0-Alpha1-release.html[More...]
| 1.1.1 | 2016-09-29 | https://github.com/Blazebit/blaze-persistence/releases/download/1.1.1/blaze-persistence-dist-1.1.1.zip[*Download*, window="_blank"] link:news/2016/blaze-persistence-1.1.1-release.html[More...]
|===
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
= Blaze-Persistence 1.3.0-Alpha3 Release
Christian Beikov
2018-09-06 0
:description: Blaze-Persistence version 1.3.0-Alpha3 was just released
:page: news
:icon: christian_head.png
:jbake-tags: announcement,release
:jbake-type: post
:jbake-status: published
:linkattrs:

Blaze-Persistence version 1.3.0-Alpha3 adds many new features and fixes quite a few issues!

Originally, we didn't even plan to push out another Alpha release, but we added so many new features and fixed quite a few annoying bugs, that we decided to push out another version instead of letting you wait for the final release.

Unfortunately we had to do some backwards-incompatible changes to the jpa-criteria module as we wrongly made JPA `CriteriaQuery` dependent on an `EntityManager` which prevented caching. The only difference is that the `EntityManager` will now have to be passed to a `createCriteriaBuilder` method that was added to the JPA extension interface `BlazeCriteriaQuery` instead of passing it during query creation via the `BlazeCriteria` utility class.

To support varying page sizes and thus also offsets that aren't calculatable based on the `page` and `pageSize`, we introduced new constructors for `KeysetPageRequest` and changed the semantics of existing ones in the Spring Data and DeltaSpike Data modules. If you constructed `KeysetPageRequest` manually, please review if the constructor that you use fits your needs. Since the DeltaSpike Data integration brings it's own `PageRequest` API, you are also affected of this change when you construct a `PageRequest` with the DeltaSpike Data integration.

The most notable features and bug fixes are:

* https://github.com/Blazebit/blaze-persistence/issues/612[*#612*, window="_blank"] Initial Hibernate 5.4 support
* https://github.com/Blazebit/blaze-persistence/issues/648[*#648*, window="_blank"] Support for Spring Data 2.1
* https://github.com/Blazebit/blaze-persistence/issues/305[*#305*, window="_blank"] Problems with the use of the `VALUES` clause and parameters in the select clause have been fixed
* https://github.com/Blazebit/blaze-persistence/issues/622[*#622*, window="_blank"] Introduced `EntityViewSettingProcessor` to allow customizing `EntityViewSetting` used in Spring Data repositories+++<!-- PREVIEW-SUFFIX --><!-- </p></li></ul></div> --><!-- PREVIEW-END -->+++
* https://github.com/Blazebit/blaze-persistence/issues/568[*#568*, window="_blank"], https://github.com/Blazebit/blaze-persistence/issues/194[*#194*, window="_blank"] Add support for `GROUP BY` with `PaginatedCriteriaBuilder`
* https://github.com/Blazebit/blaze-persistence/issues/444[*#444*, window="_blank"] Support `@EmbeddedId` and `@IdClass` attributes when using keyset pagination
Take a look into the https://github.com/Blazebit/blaze-persistence/blob/master/CHANGELOG.md#130-Alpha3[changelog, window="_blank"] for a full list of changes and improvements.
A big thank you is going out to https://github.com/heruan[Giovanni Lovato, window="_blank"] for pushing forward the Spring Data integration, testing edge cases with embeddables and improving the Eclipse development experience.
Thanks to https://github.com/JWGmeligMeyling[Jan-Willem Gmelig Meyling, window="_blank"] we now also have an integration for the upcoming Hibernate 5.4 release!
The last few issues that are planned for the final 1.3.0 release still need some work. We are currently planning to finish everything up by the end of September.

0 comments on commit b1a253f

Please sign in to comment.