Skip to content

v0.7.4

Compare
Choose a tag to compare
@jacobobryant jacobobryant released this 13 Apr 04:43
· 155 commits to master since this release

Upgrade instructions

  • Follow the upgrade instructions for any previous releases.
  • Update your Biff dependency in deps.edn to {:tag "v0.7.4", :sha "3ff1256", ...}
  • Update your Biff dependency in tasks/deps.edn to {:tag "v0.7.4", :sha "3ff1256", :deps/root "tasks", ...}

Optional

To upgrade, apply the changes in the given commits to your project manually. These changes are all stylistic and mainly beneficial for new projects; feel free to skip them.

  • Stop using biff/system, biff/start-system, and biff/refresh, which are now deprecated: 9bcd672
  • Stop using biff/use-when: ae18d26
  • Stop using biff/use-wrap-ctx (its functionality has been moved into biff/use-jetty): c7349ff
  • Stop putting feat in your namespaces: b2417d3
  • Rename features to plugins: f5d1021
  • Rename sys, req, and opts to the more general ctx (short for "context"): 7d00391

Other changes

  • Added :biff.auth/get-user-id option to the auth plugin (thanks @momerath42)
  • Updated server-setup.sh to install additional deps that aren't always included in Ubuntu installations (thanks @KarolisL)
  • Updated Get Started and Reference documentation. The documentation has also been moved into the Biff repository.
  • Updated some dependencies, including XTDB 1.23.0 -> 1.23.1.
  • Made the default email validator function in the auth plugin disallow emails with spaces in them.
  • bb soft-deploy (and by extension, bb prod-dev) now correctly pushes all files that are tracked in git instead of a hard-coded list.
  • A new :biff.tasks/on-soft-deploy config option replaces the old :biff.tasks/soft-deploy-fn option (see the first commit referenced above).

Documentation changes

  • Documentation source has been moved into the Biff repository.
  • Touched up and consolidated the Get Started section.
  • "Project Structure" and "System Composition" have been replaced with Architecture.
  • Schema now recommends defining attribute schema inside the document schema.
  • htmx includes a new Beyond htmx section.
  • Authentication has been renamed to Security and now includes a discussion of authorization, CSRF and CORS.
  • New pages: Configuration and Babashka tasks.
  • Production has been slightly reorganized and now mentions DigitalOcean uptime checks, workers, and container-based deployment.