Eclipse Vert.x 4 CR1 released!
We are extremely pleased to announce the first release candidate of Vert.x 4.0.
We consider Vert.x 4.0 feature complete and we will do a few release candidates to allow the community to test it and report issues.
Vert.x 4 is the evolution of the Vert.x 3.x series that will bring key features to Vert.x.
When a component (i.e server or client) is involved in a Vert.x instance configured with tracing, a new tracing policy controls the component participation in a trace:
- with IGNORE the component will not be involved in the trace, e.g an HTTP client will not report a span in an existing trace
- with PROPAGATE the component will report a span and propagate when possible
- ALWAYS the component will report a span or create a new trace
Our Kafka client is now able to propagate and report span in active traces.
A new method has been added to
RoutingContext to allow sending responses from asynchronous calls using
For example, returning the content of a file in a single action:
router.route() .respond(ctx -> vertx.fileSystem() .readFile("somefile.json"));
This method enables composition of
Futures. The Future result will be processed by the
JSON codec if no data has been written.
Otherwise, it will use the future success/failure to decide how to terminate the connection.
This method should improve the code readablility of current and future applications.
Web client auth
With this release you will be able to use
Bearer authentication in a single and concise
client.authentication(new Credentials(...)). This is a type safe alternative to compute the headers yourself.
Redis clients are now garanteed to call all handlers on the correct event loop. This reduces context switches and remove possible races.
RabbitMQ client TLS support
RabbitMQ client can now connect using TLS.
That has always been the case and with Vert.x 4 we decided to make this change to simplify application upgrade since upgrading Vert.x will not imply to upgrade event bus bridge clients.
In order to ensure that the artifact can be used both with Vert.x 3 and Vert.x 4, a new name has been chosen for it: @vertx/eventbus-bridge-client.js
This is the first relase candidate of Vert.x 4. You can of course expect more as we get feedback from the community and fix issues that we failed to catch before.
You can also read the previous announces to know more about the overral changes:
The deprecations and breaking changes can be found on the wiki.
For this release, there are no Docker images.
You can bootstrap a Vert.x 4.0.0.CR1 project using https://start.vertx.io.
The documentation has been deployed on this preview web-site: https://vertx.io/docs/
That’s it! Happy coding and see you soon on our user or dev channels.
The second release candidate of the upcoming Vert.x 4 has just been released. We consider it feature complete and invite the community to test it.
Eclipse Vert.x version 3.9.4 has just been released. It fixes quite a few bugs that have been reported by the community.