Micronaut
Recipes for upgrading and patching Micronaut applications.
Composite Recipes
Recipes that include further recipes, often including the individual recipes below.
- Add Micronaut build plugins to 4.x
- Migrate from Micronaut 2.x to 3.x
- Migrate from Micronaut 3.x to 4.x
- Update jakarta annotations dependency
- Update relocated Micronaut Security config properties
- Update relocated Micronaut Security config yaml keys
- Update the Micronaut Data library
- Update the Micronaut Security library
- Update the Micronaut Session support
- Update the Micronaut version to 4.x
- Update the version of core annotation processors
- Update to Micronaut Email 2.x
- Update to Micronaut Validation 4.x
Recipes
- Add
@Introspected
to classes requiring a map representation - Add
HttpRequest
type parameter for implemented interfaces - Add Maven annotation processor path
- Add
micronaut-test-resources-client
if needed - Add
snakeyaml
dependency if needed - Change Maven annotation processor path
- Change factory method return types to reflect their resolved return type
- Convert
OncePerRequestServerFilter
extensions toHttpServerFilter
- Copy non-inherited annotations from super class
- De-capitalize
BeanIntrospection
getProperty(..)
andgetRequiredProperty(..)
name arguments - Find Micronaut properties config
- Find Micronaut yaml config
- Fix deprecated no-arg
ExceptionHandler
constructors - Migrate the use of TaskExecutors with blocking IO
Provider
implementation beans to Micronaut@Factory
- Remove Maven annotation processor path
- Remove unnecessary dependencies
- Remove withJansi Logback configuration
- Update the Micronaut Retry support
- Update the Micronaut Websocket support
- Update to Micronaut 4.x platform BOM
- Upgrade gradle.properties Micronaut version
- Upgrade
micronaut.version
Maven property