Skip to content

v0.5.0

Compare
Choose a tag to compare
@jacobobryant jacobobryant released this 01 Oct 02:12
· 248 commits to master since this release

Upgrade instructions:

  • Change Biff's :sha value in deps.edn to 0895b1d71c3b1e7fe64943a8c3289cf566899c4a
  • Delete the storage/xtdb/index directory (See breaking changes)
  • Apply the changes in example.clj of this commit if you would like to start using queues
  • Apply this change if you would like to use add-libs

Breaking:

  • Upgraded XTDB from 1.21.0-beta2 to 1.22.0. See the XTDB release notes. This upgrade requires you to re-index. Run rm -r storage/xtdb/index/, and then re-indexing will occur next time you start your application.

Added:

  • In-memory job queues. Feature maps may now have a :queues key. If set, Biff will create a set of java.util.concurrent.BlockingQueues, each with its own fixed-size consumer thread pool. There is not yet a section for queues in the Reference documentation, but there is a comprehensive use-queues doc string. Queues do not (yet) include persistence or retry logic. I may add that on top of these in-memory queues in a future release, but you can also do so in your own application code if needed.
  • Add new dependencies without restarting the REPL (via clojure.tools.deps.alpha.repl/add-libs). Whenever you save a file, any new dependencies in deps.edn will be passed to add-libs.