Thanks to visit codestin.com
Credit goes to github.com

Skip to content

v1.9.0

Latest

Choose a tag to compare

@jacobobryant jacobobryant released this 14 Sep 12:58
· 4 commits to master since this release

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 app user instead of root by 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/error instead of clojure.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 to ring.websocket/send.
  • When handling a websocket upgrade request, include a :ring.websocket/listener key in the response instead of a :ws key. Rename :on-connect to :on-open and :on-text to :on-message. See https://github.com/ring-clojure/ring/wiki/WebSockets for more details.

See 94d0493 for an example.