3.0.0
Release Highlights
- Use same model and event handler for HTTP servers and clients (allowing the creation of middleware
also for clients) - Add 'Before' handlers and short circuit 'On' handlers to improve DX (previously, all matching 'On'
handlers were executed) - Exception handlers clear the handled exception to prevent further error processing, exception
propagation is still possible through a parameter - 3.x releases will be source compatible (enforced in the build process). Experimental modules are
excluded and their APIs may change - Native Image metadata inclusion to ease users' applications native compilation (tests pass in
native mode at builds) - Update Jetty adapter to v12
- Add Nima Adapter to take advantage of Java Virtual Threads (experimental)
Future Features
3.x releases will focus on extensions over the core functionality:
- OpenApi contracts generation / enforcement
- REST utilities for working with DTOs and ease integration tests
- Serverless support (FaaS)
- Messaging support (use the event handler to also support message queues)
- New adapters
- New middleware (callbacks / handlers)
- Use annotation processing to allow a Spring / Micronaut DX (optionally)
4.0 release is a long shot and the main goals will be:
- Add asynchronous handlers and support coroutines (partial developments done)
- Support WASM and Native targets (right now, there is only a small proof of concept)
Contributors
- @abhishekabk5 added a WebSockets example #592
- @iwom ported the Todo Backend example to a more recent Toolkit version hexagontk/todo_backend#2
- Hello world build fix in Quick Start page by @abhishekabk5 in #644
Full Changelog: 2.8.6...3.0.0