github micronaut-projects/micronaut-core v3.4.0
Micronaut 3.4.0

latest releases: v4.6.6, v4.6.5, v4.6.4...
2 years ago

v3.4.0 (2022-03-22)

Full Changelog

Localized Message Source

You can now inject LocalizedMessageSource, a @RequestScope bean, in your controllers to resolve localized messages for the current HTTP Request. It works in combination with Micronaut Locale Resolution capabilities.

Referencing bean properties in @requires.

With 3.4.0, you can reference other beans properties in @Requires to load beans conditionally.

@Requires(bean=Config.class, beanProperty="foo", value="John")

Micronaut Data MongoDB

Micronaut Data 3.3.0 includes Micronaut Data MongoDB.

Micronaut AOT and Maven

Micronaut AOT is now fully supported for Maven users. Enabling AOT is as simply as passing -Dmicronaut.aot.enabled when running, testing, or packaging your application.

For more details, check the Micronaut Maven Plugin documentation.

Micronaut TOML

Micronaut TOML allows you to write your application configuration with TOML in addition to Properties, YAML, Groovy or Config4k.

Micronaut Security

Micronaut Security 3.4.1 responds with an error when an authenticated user visits a sensitive endpoint. This forces the developer to define how they want their application to behave in that scenario. Read the release notes and the documentation to learn more.

BOM Modules

Several projects include a BOM (Bills of Materials) module:

Other Module Upgrades


Changes

🚀 Features

🐛 Bug Fixes

  • bug: Don't strip newlines proxying ServerSentEvents @timyates (#6992)

Contributors

@GavrilovSV, @alvarosanchez, @dstepanov, @graemerocher, @jameskleeh, @melix, @micronaut-build, @obukhovas, @sdelamo, @timyates, @tobiasschaefer and @yawkat

Don't miss a new micronaut-core release

NewReleases is sending notifications on new releases.