The focus of release 0.8 is to improve and unify routing, and to support reference:jetty.adoc, but a secondary focus
is to remove dead code.
Many functions, macros, and even namespaces deprecated in 0.7.0 have been fully removed in 0.8.0.
There have been significant changes to routing, including some
non-backwards compatible changes to functions, namespaces, and protocols; these changes should only be
concerning if you have previously implemented your own routing specifications or routers.
Newly deprecated namespaces:
These represent functionality that is not well supported by Pedestal, or internal namespaces that should not be
used by application code.
WebSocket upgrade requests are now routed, like any other request; the prior approach
(the ::http/websockets service map key) has been deprecated.
In io.pedestal.websocket
, the following functions are deprecated:
- add-endpoint
- add-endpoints
In io.pedestal.interceptor
- Support for the deferred interceptors (via :interceptor or :interceptorfn metadata) was removed
- Anonymous interceptor are deprecated