announcements 2026-11-21

io.pedestal/pedestal 0.8.3 Pedestal is a set of Clojure libraries that bring the core Clojure principles - Simplicity, Power, and Focus - to server-side development. https://pedestal.io Changes: β€’ Terse routes now accept a Var (`{:get #'list-orders}`) or a function as a handler, in the verb map or in a handler vector. A Var produces the same route as the quoted symbol it replaces, including the route name (`:myapp.service/list-orders`), so route specifications no longer need to be quoted. β€’ A response :body that is a keyword, symbol, UUID, number, boolean, or character is now written as EDN (as pr writes it), with a default content type of application/edn; a java.io.ByteArrayOutputStream body is written as its bytes (`application/octet-stream`). This works with every connector. Previously, such a body produced an empty response or a 500 error. β€’ An interceptor that attaches an invalid :response (not a map, or without a positive integer :status) still fails the request, but the exception message now names the route, describes the value, and explains the usual cause: a function in an interceptor list is called as a handler, so its return value becomes the :response. In interceptor chain error messages, an unnamed interceptor created from a function is now identified by that function. β€’ Deprecation warnings now say that Pedestal 1.0 removes the deprecated functionality (for unnamed interceptors, what 1.0 does instead), name the replacement, and link to its section in the new β€œRemoved in Pedestal 1.0” part of the https://pedestal.io/pedestal/0.8/deprecations.html. Pedestal is deployed in thousands of different services at Nubank. A big call-out to @ericdallo for all the work in this release - all of which has taken place since I started at Ladder in July.

πŸ’™ 4
πŸŽ‰ 18