openrewrite / openrewrite/rewrite-spring

Upgrade Hibernate Validator to 6.2

Open
#147 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

boot-2.5 recipe
Dominant language
Java
Stars
403
Forks
149
Avg merge
2h 33m
Merged PRs (30d)
10

Description

Release Notes
The default version of Hibernate Validate has been upgraded to 6.2.x. Hibernate Validator 6.2 changes how the expression language is used to interpolate constraint messages. Please see this blog post from the Hibernate Validator team for further details.

Condition
  • Dependency to org.hibernate.validator:hibernate-validator exists
Description

The default version of Hibernate Validate has been upgraded to 6.2.x.
Hibernate Validator 6.2 changes how the expression language is used to interpolate constraint messages.

Under certain circumstances, this might introduce a security issue if you don't take precautions.

Please see this blog post from the Hibernate Validator team for further details.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read the linked Spring Boot release notes and Hibernate Validator blog post first, then locate the dependency-upgrade handling in this repository. Confirm how the existing org.hibernate.validator:hibernate-validator dependency is represented and define done as using the 6.2.x default while accounting for the changed expression-language interpolation behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.