Skip to content

Commit

Permalink
[HV] 9.0.0.Beta1
Browse files Browse the repository at this point in the history
  • Loading branch information
marko-bekhta committed Aug 1, 2024
1 parent 1b7e32d commit f350ee0
Show file tree
Hide file tree
Showing 3 changed files with 75 additions and 0 deletions.
10 changes: 10 additions & 0 deletions _data/projects/validator/releases/9.0/9.0.0.Beta2.yml
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/
27 changes: 27 additions & 0 deletions _data/projects/validator/releases/9.0/series.yml
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
38 changes: 38 additions & 0 deletions validator/releases/9.0/index.adoc
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.

0 comments on commit f350ee0

Please sign in to comment.