A few features and a lot of fixes to plugins ( Sep 15, 2019 )

What's Javalin? Javalin is a very lightweight Java and Kotlin web framework which focuses on simplicity and Java/Kotlin interoperability. Read more on our landing page

First - Thanks for contributing!

This release consists mainly of code contributed by the Javalin community. Some features were written by the core team, but the majority were not. Each community contribution is tagged with who contributed it. Thank to everyone for taking part in the community and helping to make Javalin a better project!

Core improvements

The wsServlet is now publicly available on Javalin (thanks to @MrRamych).

is now publicly available on Javalin (thanks to @MrRamych). Validation and casting is now available for headers: ctx.header<Int>("my-header") (thanks to @Peroniada).

(thanks to @Peroniada). The ctx.basicAuthCredentials() method now either returns valid credentials, or throws.

method now either returns valid credentials, or throws. Misc dependencies have been bumped (thanks to @mpe85).

OpenAPI improvements

Default documentation are now applied first (thanks to @TobiasWalle).

Warnings are now logged in case of path mismatches (thanks to @TobiasWalle).

Fixed some reflection issues with extended classes (thanks to @TobiasWalle).

Fixed security scheme (thanks to @maxemann96).

Fixed bug with Swagger UI and ReDoc now being handled correctly by AccessManager .

. Removed CorsPlugin paths from docs (thanks to @maxemann96).

paths from docs (thanks to @maxemann96). Improved default responses (thanks to @maxemann96).

Added option to ignore certain paths and path-groups (thanks to @maxemann96).

JavalinVue improvements