Important: This news article covers an old version of Javalin (v4.2.0). The current version is v6.3.0.
See the documentation page for up-to-date information.
Happy 2022 πŸŽ‰

New features

  • Added option to mute Javalin startup messages
  • Added SERVER_STOP_FAILED lifecycle event
  • Added context resolvers for url, scheme, and fullUrl
  • Added option to send comments using SseClient
  • The Java time module is now included when using javalin-bundle

Fixes

  • Improved Javadoc in OpenAPI module
  • Improved dev-logging to log handler-added events
  • Updated loom implementation to work with latest JDK preview
  • Ensured UTF-8 is always used when encoding JSON
  • Fixed bug to allow literal colons in paths (ex: β€œ/path:colon”)
  • Changed default threadpool threadnames from qtp to JettyServerThreadPool