Skip to content

0.3.2

Compare
Choose a tag to compare
@jarohen jarohen released this 26 Apr 08:41
· 18 commits to master since this release
e3da39a

Have finally gotten around to spending some non-trivial time modernising Chime, thanks for your patience 😄

This is a backwards compatible release - the original chime namespace still behaves 100% as before.

The plan now is to move to a 1.0.0 release imminently (in line with the rest of the Clojure community, apparently!) in which I'll remove this layer - so feel free to use this release to migrate over.

Changes:

  • Main chime namespace is now chime.core, rather than the chime top-level namespace
  • core.async is no longer a required dependency - chime-ch is in chime.core-async/chime-ch
  • chime-at now returns an AutoCloseable rather than a close function - call .close to stop the schedule.
  • Chime no longer removes past times for you - this was causing counter-intuitive issues.
    I've added chime.core/without-past-times if you want to restore this behaviour.
  • Error handling has changed slightly - you now need to return truthy to continue the schedule, falsy to stop it.

The implementations in the chime namespace are now in terms of the new functions, so I'd recommend looking at them for how to migrate.

Just to confirm, these changes only apply to chime.core / chime.core-async - the behaviour of the chime namespace hasn't changed.

As always, appreciative of any feedback - cheers!

James