Skip to content

Incremental Improvements

Compare
Choose a tag to compare
@ohpauleez ohpauleez released this 03 Oct 14:12
· 827 commits to master since this release

Thanks to everyone who helped on all changes that went into 0.5.3!

Changes

Smaller changes

  • Adding the CSRF interceptor now implies that body-params is also in the interceptor chain. This makes the user experience of turning CSRF easier and more "automatic" -- default-interceptors does the right thing.
  • url-for internal linker map is now delayed, improving per-request performance.
  • not-found and request-logging default interceptors are now optional and can be configured via the Service Map. The docstring has been updated.

Verb-neutral Routing

At this point, all routers can operate in a verb-neutral way. Users can use the routers to route any application protocol request, not just HTTP requests. The Table Routes format also supports verb-neutral routes, allowing you to use the data format to express routing for any application protocol (eg: 9P, Kafka, etc.).

Template updates

Content-Security Policy (CSP) is loosened up in "dev-mode" to be as flexible as possible when starting off. The service.clj file contains suggestions on how to tailor the CSP policy for production based on your application's needs.

Bugfixes

  • url-for correctly handles trailing slashes
  • Clojure 1.9.0 // core.async spec issues have been resolved by updating dependencies
  • The Servlet Chain Provider correctly handles multi-value headers

Upcoming Work

There will be a 0.5.4 release with the dependencies refreshed and some small code clean-up. Pedestal will support AWS Lambda as a Chain Provider in a future release (the work is currently sitting on a branch). This will allow you to take any Pedestal service (even if it's configured to run with Jetty as an UberJar), and run it as an AWS Lambda behind API Gateway. Work continues to make Pedestal better for non-HTTP Chain Providers.

Again, thanks to everyone who has helped push Pedestal forward, and to all of those who use it!

For a full list of changes, please see this comparison of 0.5.2...0.5.3