Quarkus 1.4.1.Final deprecates Java 8

Share
  • April 30, 2020

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.

SEE ALSO: The new JavaScript Magazine – now available as free download

Quarkus 1.4.1.Final

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

View the full changelog on GitHub.

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:

  1. Start Quarkus
  2. Run the QuarkusApplication main method
  3. Shut down Quarkus and exit the JVM after the main method returns

SEE ALSO: Duolingo migrates from Java to Kotlin, reducing line count 30%

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 ./gradlew buildNative task
  • 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 io.quarkus.oidc package

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!

The post Quarkus 1.4.1.Final deprecates Java 8 appeared first on JAXenter.

Source : JAXenter