Skip to content

v0.5.7

Compare
Choose a tag to compare
@jacobobryant jacobobryant released this 31 Dec 20:04
· 201 commits to master since this release

Quick fix for a regression in v0.5.6, with a couple more small things thrown in since I can't help myself.

Upgrade instructions:

  • Follow the upgrade instructions for any previous releases.
  • Optionally, update your Biff dependency in deps.edn and tasks/deps.edn to {:tag "v0.5.7", :sha "02b6bd5", ...}. (This isn't actually necessary since this release only touches files outside of the library code, but you can update the dependency as a reminder that you've followed these instructions if you like.)
  • Change local/deps in bb.edn to a unique name for your project, e.g. com.example/tasks (see e0fdc8b).
  • Optionally, add "-J-XX:+CrashOnOutOfMemoryError" to your :biff.tasks/clj-args setting (see 02b6bd5).

Fixed:

  • Java version detection in new-project.clj is actually more reliable now.
  • New projects now get a unique name for the bb tasks dep, which fixes the stale classpath/Could not find namespace errors which sometimes occurred when running tasks.

Added:

  • The :biff.tasks/clj-args option in config.edn now includes "-J-XX:+CrashOnOutOfMemoryError" by default. This will cause apps in production to restart in the case of an OOM instead of continuing to run in a possibly partially broken state. It will also save the stack trace to a file.