Breaking
- Migrated from ring-adapter-jetty9 to the official ring adapter. If your app uses websockets, see migration instructions below.
- The minimum Java version is increased from 11 to 17.
Changes since v1.8.10
- Update dependencies
- Add 'resources' to the list of watched dirs for tailwind
- Update trenchman install in
server-setup.sh - Fix default JDBC env var format
- Docker image improvements
- Make test files get required + refreshed automatically
- Run ssh commands as
appuser instead ofrootby default - Make biff/eval-files! ignore directories that aren't on the classpath
- Starter/src/com/example/home.clj: fix spacing divs not showing up because of missing "[:<>]" wrapper
- Add :biff.tasks/deploy-with config option
- Add support for bunjs
- Use single function to generate static-path in demo app
- Add --protocol=29 for rsync to libs/tasks
- Pin the tailwind standalone lib version
- Log exceptions with
clojure.tools.logging/errorinstead ofclojure.stacktrace/print-stack-trace.
Thanks to @gdw2vs, @jf, @credmp, @biutthapa, @harismh, @zolotyh, and @avkoval for contributions. (And to those I've pinged here, sorry for the blast-from-the-past... it's been over a year since I announced a release!)
Websockets migration
The Ring spec now includes an interface for using websockets. This interface is different from the non-standardized one that ring-adapter-jetty9 (and thus, Biff) was using. To migrate:
- Change
ring.adapter.jetty9/send!calls toring.websocket/send. - When handling a websocket upgrade request, include a
:ring.websocket/listenerkey in the response instead of a:wskey. Rename:on-connectto:on-openand:on-textto:on-message. See https://github.com/ring-clojure/ring/wiki/WebSockets for more details.
See 94d0493 for an example.