Skip to content
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

Plans to migrate/support to bean validation 3 / jakarta namespace? #5

Open
bramklg opened this issue Apr 29, 2023 · 6 comments
Open

Comments

@bramklg
Copy link

bramklg commented Apr 29, 2023

Hi,

I've recently migrated a spring boot 2.7 project to spring boot 3. I was using the conditional validator in the project and that has stopped working. Spring boot 3 uses Hibernate 6.1 which uses version 3 of the validation api.

Are there any plans to migrate this to support the new jakarta namespace / bean validation 3?

@salvadormarcos
Copy link
Member

Hello,

Yes, I plan to upgrade to Jakarta BeanValidation 3.

As my project also supports Apache BVal, I was waiting for some Apache release compatible with the new API

@bramklg
Copy link
Author

bramklg commented May 1, 2023

I looked at the commit history of BVal on https://github.com/apache/bval and it isn't really updated a lot except for some dependency updates. They do name bean validator 3.0 though in the readme.

Are you going to wait on Apache BVal? I guess you don't have an e.t.a.?

@salvadormarcos
Copy link
Member

In fact, their repository and Jira don't have any information about deadlines.

At first I would wait to migrate both at once and also because I had no update demand. (I don't have statistics about my project's usage) 😅

I can release a Release Candidate version without the BVal, this way you finalize your migration. When BVal releases some release, I release a new version re-adding support

What do you think?

@bramklg
Copy link
Author

bramklg commented May 2, 2023

Sounds good! Thanks!

@salvadormarcos
Copy link
Member

Hello @bramklg,

I just released version 2.0.0-rc. Could you test if this release works in your project?

By the way, I took advantage of the migration moment to rename the project's base package. You can see the details on the release page

@bramklg
Copy link
Author

bramklg commented May 9, 2023

@salvadormarcos: tested it out on one of the projects and it works, all tests pass!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants