Quarkus 1.4.1.Final deprecates Java 8
Quarkus 1.4.1.Final arrived with several new features. This version deprecates Java 8; users are now recommended to use Java 11. It also introduced a new FaaS framework and a new command mode for building command line apps.
The latest monthly Quarkus release is out, as announced by Guillaume Smet. Version 1.4.1 Final includes several new features (and of course, many bug fixes).
What is Quarkus? Sponsored by Red Hat, it is a “Kubernetes Native Java stack tailored for OpenJDK HotSpot and GraalVM, crafted from the best of breed Java libraries and standards”.
Check out their benchmark reports to read about its performance in imperative and reactive workloads. Let’s have a look at what’s new in this open source framework.
Here are some of the highlights:
- Java 8 deprecated. Users are recommended that they use Java 11 from now on. According to the announcement blog, Java 8 support is planned to be dropped in “roughly two months’.
- Support for HTTP/2: Enabled by default.
- Funqy framework: Funqy is a FaaS framework that improves functions for Amazon Lambda, Amazon Lambda with RESTEasy, Undertow, or Vert.x Web, and Azure Functions with RESTEasy, Undertow, or Vert.x Web.
- Integration with Mockito: Improves mocking CDI beans.
- New default Vault version: Vault KV Secret Engine defaults to version 2 and adds support for the Vault TOTP engine.
- Keycloak Admin Client extension added
- Native support for Amazon Alexa
- LDAP authentication support
- Updated SmallRye Reactive Messaging to 2.0
New command mode
One of the biggest features is the new command mode for building command line apps with Quarkus.
The updated documentation examines this new feature, its lifecycle, and Dev mode.
From the docs, the basic command mode application lifecycle is:
- Start Quarkus
- Run the
- Shut down Quarkus and exit the JVM after the main method returns
Updating to the latest version
Before you update, refer to the migration guide and take note of the following changes and updates, as they may potentially require some code tweaks:
- MongoDB updated to client version 4
- JVM Arguments parameter changed to a List
- Deprecated the
- Kogito moved out of the Core repository into the Quarkus Platform
- Hibernate Search 6.0.0.Beta6 changes and feature preview
- OidcTenantConfig package moved to
Newcomers should view the getting started guide before their supersonic subatomic Java journey.
In addition to the new features, Quarkus also added a new public document listing organizations that use Quarkus. Organizations such as Lufthansa Technik and Vodafone Greece have shared their experiences and benefits of using Quarus.
If you have a story to share with them, please do!