Important: This news article covers an old version of Javalin (v1.1.0). The current version is v6.1.3.
See the documentation page for up-to-date information.

New features

  • Added enableDynamicGzip() option to gzip any response over 1500 bytes
  • Added * as possible origin so you can do enableCorsForOrigin("*")
  • Added enableCorsForAllOrigins() which just calls the above ^
  • Added session.send() and different session.queryParam() methods to websocket session object

Bugfixes

  • isMultipart() now checks for any type of multipart (previously just multipart/form-data)