Important: This news article covers an old version of Javalin (v1.1.0).
The current version is v6.7.0.
See the documentation page for up-to-date information.
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 doenableCorsForOrigin("*") - Added
enableCorsForAllOrigins()which just calls the above ^ - Added
session.send()and differentsession.queryParam()methods to websocketsessionobject
Bugfixes
isMultipart()now checks for any type of multipart (previously justmultipart/form-data)