Micronaut 1.2 Released
by Graeme RocherMicronaut 1.2 release announcement
The Micronaut team at Object Computing, Inc. is excited to announce the release of Micronaut 1.2. The GA version of the 1.2 line includes the following significant new enhancements:
- Micronaut Security 1.2 with support for OAuth 2.0 and OpenID Connect
- Improved validation support with native, reflection-free bean validation
- Environment detection for Oracle Cloud
- Distributed configuration with HashiCorp Vault
- … and many more improvements
The most significant new feature is the updated security module, which includes OpenID connect support that works with a variety of providers. Check out the Securing a Micronaut App with Okta guide, which demonstrates how to use Okta as the OpenID provider.
Validation also gets a significant upgrade with native support for bean-validation annotations without needing to pull in Hibernate Validator. This has numerous benefits, including reducing the JAR size of a Micronaut application, improving startup time, and eliminating reflection. Plus the new validation module now supports reactive flows!
Thanks to all those who contributed to the release, and we hope you enjoy Micronaut 1.2!
Looking to the future, we now shift focus to Micronaut 1.3 which will include the following enhancements:
- Integration with the GA release of Micronaut Data
- Improved caching APIs
- Improvements to bean introspections (static factory-method support, interface and enum support, etc.)
- Bean import support to allow importing beans from existing libraries annotated with
javax.inject
annotations. - Further performance and memory consumption optimization
Micronaut 1.3 will be the last release in the 1.x line of releases. We’ll shift to Micronaut 2.0 toward the end of the year and focus on significant enhancements to improve support for serverless functions (Google Cloud Function, Azure Functions, and more), as well as adding support for HTTP/2.