Micronaut 2.0 M3: A Big Boost for Serverless, Plus Micronaut Launch
April 30, 2020
The Micronaut team at Object Computing is super excited to announce the final milestone on our journey to Micronaut 2.0.
This milestone focuses on two important areas of the framework: the command line interface (CLI) and serverless support.
For more information about all the new features, see the "What's New" guide.
Introducing Micronaut Launch
The big news with this announcement is the rearchitecture of Micronaut's venerable
mn CLI for generating new applications from terminal, which is receiving a big upgrade.
In Micronaut 2.0, we have completely rewritten the CLI in Micronaut itself and simultaneously launched Micronaut Launch, a new tool for creating Micronaut applications that is built on the new CLI.
The new website and CLI are so cool, we wrote a whole blog post to introduce them!
Google Cloud Function Support
Micronaut 2.0 introduces support for writing applications that can be deployed to Google's upcoming Cloud Function support for Java.
You can either write simple functions directly or write regular Micronaut controllers and have Micronaut's function support route requests to these controllers. This latter approach allows you to use the regular HTTP server and also deploy the same application to Cloud Function.
Try it out at Micronaut Launch by choosing the
Microsoft Azure Function Support
In addition to Google Cloud Function, we have also added support for Azure Function using the same approach. You can either write simple functions that directly use Azure's native annotations, or you can write controllers and have Micronaut route requests from the Azure function trigger.
Check out the documentation for Micronaut Azure Function for more information.
Try it out at Micronaut Launch by choosing the "azure-function" feature!
The Road Ahead
Micronaut 2.0 M3 is the final milestone, and we will soon start issuing release candidates, so try it out now and let us know what you think!
Thanks to the community for your great contributions so far; your input helped make this release happen. Enjoy!