v0.5.7
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
andtasks/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
inbb.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 inconfig.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.