Don’t ignore trailing slashes
You can now instruct Javalin to not ignore trailing slashes by doing
config.ignoreTrailingSlashes = false.
This functionality used to exist in Javalin 2, but it was removed when refactoring the routing for Javalin 3.
Thanks to NPi2Loup for bringing it back.
Static files bugfix
There used to be a bug in pre-compressed static files (disabled by default), which could lead to a concurrency bug. Thanks to vn7n24fzkq for fixing it.
- You can now set an
isDevFunctionfunction (previously this was just determined by checking if the request was on localhost)
- Added three new methods for inlining files in the layout template
JavalinVue.optimizeDependenciesconfig option. If set to true, JavalinVue will only load the dependencies required for your route component
You can now change the function that runs before files are uploaded through
This means you can specify your own