Skip to content

3.0.0

Compare
Choose a tag to compare
@jaguililla jaguililla released this 15 Aug 10:07
a3010f8

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

Full Changelog: 2.8.6...3.0.0