-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1b7e32d
commit f350ee0
Showing
3 changed files
with
75 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
date: 2024-08-01 | ||
summary: >- | ||
This series targets Jakarta EE 11. | ||
It implements Jakarta Validation 3.1. | ||
new constraints: @KorRRN, @Bitcoin, | ||
removal of the Security Manager integration, | ||
BOM for simpler dependency management, | ||
dependency updates, | ||
improvements and bug fixes. | ||
announcement_url: https://in.relation.to/2024/08/01/hibernate-validator-9-0-0-Beta2/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
summary: >- | ||
This series targets Jakarta EE 11. | ||
It implements Jakarta Validation 3.1. | ||
new constraints: @KorRRN, @Bitcoin, | ||
removal of the Security Manager integration, | ||
BOM for simpler dependency management, | ||
dependency updates, | ||
improvements and bug fixes. | ||
maven: | ||
artifacts: | ||
- artifact_id: hibernate-validator-bom | ||
summary: BOM to help manage published Hibernate Validator artifacts | ||
- artifact_id: hibernate-validator | ||
summary: Core implementation | ||
- artifact_id: hibernate-validator-cdi | ||
summary: CDI integration | ||
- artifact_id: hibernate-validator-annotation-processor | ||
summary: Annotation processor | ||
- artifact_id: hibernate-validator-test-utils | ||
summary: Set of test utilities that can help testing custom constraints. | ||
integration_constraints: | ||
java: | ||
version: 17, 21 or 22 | ||
jbv: | ||
version: 3.1 | ||
jee: | ||
version: 11 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
:awestruct-layout: project-releases-series | ||
:awestruct-project: validator | ||
:awestruct-series_version: "9.0" | ||
|
||
=== Jakarta EE 11 | ||
|
||
Hibernate Validator 9.0 is targeted to be the reference implementation for Jakarta Bean Validation 3.1 in Jakarta EE 11. | ||
|
||
Upgrade to Hibernate Validator 9 is required if you are moving to Jakarta EE 11. | ||
|
||
With Jakarta EE 11 upgrade the minimum required Java version is 17. | ||
|
||
=== New constraints | ||
|
||
This release also brings new constraints. | ||
|
||
==== Country-specific South Korean RRN constraint | ||
|
||
The new constraint `@KorRRN` was added to validate the Korean resident registration numbers. | ||
|
||
==== Bitcoin address constraint | ||
|
||
The new `@Bitcoin` constraint was added to validate whether BTC (Bitcoin) addresses are well-formed. | ||
|
||
==== Alphanumeric CNPJ | ||
|
||
A new configuration option was added to the `@CNPJ` constraint to allow validating the upcoming alphanumeric format of the number. | ||
|
||
=== Hibernate Validator BOM | ||
|
||
Hibernate Validator now offers a BOM providing dependency management for all of its published artifacts. | ||
It can be imported as part of your dependency management to keep the versions of Hibernate Validator artifacts aligned. | ||
|
||
=== Removal of the Security Manager integration | ||
|
||
With the security manager being deprecated without an alternative for some time now, | ||
we took the opportunity provided by the specification requirement of the minimum Java version | ||
to remove the integration of the Security Manager from Hibernate Validator. |