Skip to content

Fix hibernate validator urls #262

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 15 additions & 14 deletions validator/roadmap.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Hardy Ferentschik
:toc:
:toc-placement: preamble
:toc-title: Releases
:hv-jira-url-prefix: https://hibernate.atlassian.net/browse

Hibernate Validator is community driven and as such the roadmap constantly evolves to reflect the
users needs and contributions.
Expand All @@ -16,11 +17,11 @@ but this page is a good starting point to see where we are going.

The main goals for the 9.0 series are:

* Upgrade to JDK 17 as the baseline and drop JDK 11 compatibility (link:{hsearch-jira-url-prefix}/HV-1991[HV-1991]).
* Upgrade to jakarta.validation-api 3.1.0 (link:{hsearch-jira-url-prefix}/HV-1979[HV-1979]).
* Upgrade to JDK 17 as the baseline and drop JDK 11 compatibility (link:{hv-jira-url-prefix}/HV-1991[HV-1991]).
* Upgrade to jakarta.validation-api 3.1.0 (link:{hv-jira-url-prefix}/HV-1979[HV-1979]).
* Remove the Security Manager integration. With Security Manager being deprecated for some time and planned for removal,
its integration in Hibernate Validator becomes obsolete (link:{hsearch-jira-url-prefix}/HV-1975[HV-1975]).
* Remove the obsolete Wildfly patching module `hibernate-validator-modules` or consider replacing it with the feature pack (link:{hsearch-jira-url-prefix}/HV-1967[HV-1967]).
its integration in Hibernate Validator becomes obsolete (link:{hv-jira-url-prefix}/HV-1975[HV-1975]).
* Remove the obsolete Wildfly patching module `hibernate-validator-modules` or consider replacing it with the feature pack (link:{hv-jira-url-prefix}/HV-1967[HV-1967]).
* Make Hibernate Validator build reproducible.
* Include more constraints.

Expand All @@ -29,9 +30,9 @@ see https://hibernate.atlassian.net/issues/?jql=fixVersion%20=%2032377%20ORDER%2

== Hibernate Validator 9.1

* Warn users about misuse of the constraint annotation (including compile and runtime warnings) (https://hibernate.atlassian.net/browse/HV-2100[HV-2100]).
* Array validation, in particular enable "type-element" validation for arrays, i.e. `@NotBlank String[] @NotNull [] strings` (https://hibernate.atlassian.net/browse/HV-1428[HV-1428]).
* Evaluate possible performance improvements for cascading validation of large lists. (https://hibernate.atlassian.net/browse/HV-1831[HV-1831]).
* Warn users about misuse of the constraint annotation (including compile and runtime warnings) (link:{hv-jira-url-prefix}/HV-2100[HV-2100]).
* Array validation, in particular enable "type-element" validation for arrays, i.e. `@NotBlank String[] @NotNull [] strings` (link:{hv-jira-url-prefix}/HV-1428[HV-1428]).
* Evaluate possible performance improvements for cascading validation of large lists. (link:{hv-jira-url-prefix}/HV-1831[HV-1831]).
* Explore support for constraint ordering (http://beanvalidation.org/proposals/BVAL-248/[BVAL-248]).
* Include more constraints.
* Maven 4 experiments.
Expand All @@ -42,20 +43,20 @@ see https://hibernate.atlassian.net/issues/?jql=fixVersion%20=%2033308%20ORDER%2
== Future versions

Engine::
Explore the ability to validate an object and a list of changes (https://hibernate.atlassian.net/browse/BVAL-214[BVAL-214]) +
Explore the usage of https://github.com/wildfly/jandex[Jandex] (a Java annotation indexer and offline reflection library) to build the metadata (https://hibernate.atlassian.net/browse/HV-644[HV-644]) +
Explore message interpolators receiving several locales (https://hibernate.atlassian.net/browse/HV-1436[HV-1436])
Explore the ability to validate an object and a list of changes (link:{hv-jira-url-prefix}/BVAL-214[BVAL-214]) +
Explore the usage of https://github.com/wildfly/jandex[Jandex] (a Java annotation indexer and offline reflection library) to build the metadata (link:{hv-jira-url-prefix}/HV-644[HV-644]) +
Explore message interpolators receiving several locales (link:{hv-jira-url-prefix}/HV-1436[HV-1436])
Explore taking some distance from the reflection API (e.g. dealing with `Type` is rather confusing, replace some of the types with memory-friendly counterparts (`Method`?), do not rely on `TypeVariable`). Note that it might also help with the future usage of Jandex for annotation discovery. +
Add support for JSON validation at the root level (i.e. validating a root JSON object) and at the property level (i.e. validating a JSON property of a given bean) +

Java modularization::
Explore usage of http://download.java.net/java/jdk9/docs/api/java/util/spi/ResourceBundleProvider.html[ResourceBundleProvider] for obtaining validation error messages from other modules +
Optionally support usage of method handles for accessing bean states (https://hibernate.atlassian.net/browse/HV-1226[HV-1226]) +
Optionally support usage of method handles for accessing bean states (link:{hv-jira-url-prefix}/HV-1226[HV-1226]) +

Remote API::
Provide an HTTP endpoint which allows to validate single properties and also exposes constraint metadata via JSON (https://hibernate.atlassian.net/browse/HV-1500[HV-1500]). Web applications can integrate that endpoint to allow client-side validation of their models.
Provide an HTTP endpoint which allows to validate single properties and also exposes constraint metadata via JSON (link:{hv-jira-url-prefix}/HV-1500[HV-1500]). Web applications can integrate that endpoint to allow client-side validation of their models.

Annotation processor improvements::
Taking into account new places where constraint annotations can be placed (https://hibernate.atlassian.net/browse/HV-879[HV-879]) +
Taking into account XML configuration (https://hibernate.atlassian.net/browse/HV-308[HV-308])
Taking into account new places where constraint annotations can be placed (link:{hv-jira-url-prefix}/HV-879[HV-879]) +
Taking into account XML configuration (link:{hv-jira-url-prefix}/HV-308[HV-308])