Releases: jarohen/chime
Releases · jarohen/chime
0.3.3
Bugs fixed in 0.3.3:
- #43: Passing thread-bindings through to scheduled task
- #41: Allow user to override the thread-factory used by Chime, makes Chime Loom-friendly (thanks @jimpil)
- Allow specifying 'clock' to
chime-at(thanks @jimpil) - #36: ensure we only call on-finished once (thanks @dazld)
- #33: include thread-count in thread name (thanks @orestis and @pmonks)
- #34: add
IPendingimplementation to return value ofchime-at(thanks @nukep) - fixed without-past-times to work with joda date-times
0.3.2
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 thechimetop-level namespace - core.async is no longer a required dependency -
chime-chis inchime.core-async/chime-ch chime-atnow returns anAutoCloseablerather than a close function - call.closeto stop the schedule.- Chime no longer removes past times for you - this was causing counter-intuitive issues.
I've addedchime.core/without-past-timesif 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