Migrate to Spring HATEOAS 3.0
ProprietaryMigrate applications to Spring HATEOAS 3.0, which ships with Spring Boot 4.0. Spring HATEOAS 3.0 moves to Jackson 3, renaming the Jackson2* media type modules and message converter, and removes APIs that were deprecated in the 1.x and 2.x lines. Removed APIs without a mechanical replacement are flagged with a comment.
io. moderne. java. spring. boot4. UpgradeSpringHateoas_3_0mod run . --recipe= io. moderne. java. spring. boot4. UpgradeSpringHateoas_3_0Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.
Recipe list
It runs these recipes, in this order.
- Upgrade Gradle or Maven dependency versions
org.springframework.hateoas:*:3.0.x - Change type
Jackson2HalModuletoHalJacksonModule - Change type
Jackson2HalFormsModuletoHalFormsJacksonModule - Change type
Jackson2CollectionJsonModuletoCollectionJsonJacksonModule - Change type
Jackson2UberModuletoUberJacksonModule - Change type
TypeConstrainedMappingJackson2HttpMessageConvertertoTypeConstrainedJacksonJsonHttpMessageConverter - Replace constant with another constant
- Replace constant with another constant
- Add comment to method invocations
- Add comment to method invocations
- Add comment to method invocations
- Add comment to method invocations
- Add comment to import statement matching
org.springframework.hateoas.mediatype.vnderrors..*