What's new in Vert.x 4
Vert.x 4 comes with plenty of new exciting features, some of them have been developed in Vert.x 3 and made available as tech previews.
Here is an overview of the most important features supported in Vert.x 4.
Vert.x 4 has been designed to improve user experience and API’s usability while keeping it fast, un-opinionated, and most importantly fun!
Callback to the Future
Get away from callback hell and use the power of Vert.x 4 futures.
Reactive SQL clients
High-performance reactive SQL clients, fully integrated with Vert.x Metrics and Vert.x Tracing.
Reactive Redis client
The revamped client API now supports all Redis connection modes, single, sentinel and cluster, with full and extensible support for Redis commands.
SQL Client Templates is a library designed to facilitate building SQL queries.
Web sessions can now be stored on a external backend such as Redis.
Web routing experience has been improved.
Web validation has never been so easy using the latest Json Schema standards thanks to Vert.x Web validation.
The revamped OpenAPI implementation uses Web validation to enforce Contract Driven Development.
Authentication and Authorization
A set of new modules are available
vertx-auth-ldapto replace the deprecated
vertx-auth-sqlto work with reactive sql clients instead of blocking jdbc clients.
vertx-auth-webauthas a FIDO2 verified implementation of FIDO2/Webauthn Relay Party.
vertx-auth-oauth2 module now supports PKCE as an extra layer of
security to your application.
JSON Web Tokens (JWT) and JSON Web Keys (JWK) have been enhanced to support more algorithms,
as well as now fully support certificate chain validations, enabling better verifications.
We provide a clear and well-documented migration path from Vert.x 3.9 to Vert.x 4. Existing users will feel at home with the new version.