Add validation module: Bean Validation on Spring Boot 4.2.0 with Hibernate Validator 9.1.6, built-in and custom constraints, groups, method validation, ProblemDetail errors, message i18n, JPA integration and tests, with real transcripts
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b4RzcCS5JCAgcxLz7T
This commit is contained in:
@@ -9,6 +9,7 @@ files.
|
||||
|
||||
| Directory | Article | What it demonstrates |
|
||||
|---|---|---|
|
||||
| [`validation/`](validation) | [Bean Validation in Spring Boot 4: Built-in Constraints, Custom Validators, Groups and ProblemDetail Errors](https://ankurm.com/custom-validation-in-spring-boot-beyond-the-basics/) | Hibernate Validator 9.1.6 on Boot 4.2.0: what every built-in constraint does with null and a bad value, custom and cross-field constraints, groups, method validation, one ProblemDetail shape for all three exceptions, French messages, JPA integration, the `BindingResult` + `toMap` 500, and the empty error body that only MockMvc shows |
|
||||
| [`boot-versions/`](boot-versions) | [Spring Boot Versions: Release Dates, End of Support (4.0 Ends Dec 31, 2026) and Java Baselines](https://ankurm.com/spring-boot-versions/) | versions and release dates read from Maven Central and support dates from `api.spring.io`, one app built against 2.7.18 to 4.2.0 and booted on JDK 8 to 27, 3.5+ failing below Java 17 while a `--release 11` build still says `BUILD SUCCESS`, 2.7.18 failing to scan Java 25 classes, `layertools` gone after 4.0, jOOQ managed by 4.1+ needing Java 21, and a configuration-property diff from 4.0.10 to 4.2.0 |
|
||||
| [`openfeature/`](openfeature) | [Feature Flags in Spring Boot with OpenFeature and flagd: Targeting, Gradual Rollout and Failure Modes](https://ankurm.com/spring-boot-feature-flags-openfeature-flagd/) | the OpenFeature Java SDK 1.23.0 and flagd 0.19.0 behind Spring Boot 4.2.0: five flag types and their reasons, targeting by tier and e-mail domain, a 10% rollout measured on 1000 users (100 on, and 0 flipped off when widened to 50%), a flag file edited under a connected client, flagd absent at start (`PROVIDER_NOT_READY`) and killed mid-run (targeted flags fall back to the code default while a static flag keeps answering `CACHED`), unknown keys and type mismatches, `InMemoryProvider` tests of both states and the in-process `FILE` resolver giving the same 100 of 1000 |
|
||||
| [`resttemplate-to-restclient/`](resttemplate-to-restclient) | [RestTemplate Is Deprecated in Spring Framework 7.1: Migrate to RestClient (and TestRestTemplate to RestTestClient)](https://ankurm.com/resttemplate-to-restclient-migration-guide/) | the `[removal]` warnings on 4.2.0 vs none on 4.1.3, every `RestTemplate` method next to its `RestClient` call on one real server, `exchange()` that stops throwing, the `RestClient.create(restTemplate)` bridge that changes URI encoding, PATCH and `User-Agent` of each default stack, an interceptor that eats the body, `TestRestTemplate` vs `RestTestClient`, and the OpenRewrite recipe's output run for real |
|
||||
|
||||
Reference in New Issue
Block a user