Skip to content

Releases: jarohen/chime

0.3.3

19 May 20:26
0.3.3
0c073d6
Compare
Choose a tag to compare

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 IPending implementation to return value of chime-at (thanks @nukep)
  • fixed without-past-times to work with joda date-times

0.3.2

26 Apr 08:41
e3da39a
Compare
Choose a tag to compare

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

0.3.1

26 Apr 08:36
1bb8a17
Compare
Choose a tag to compare

left some println debugging in this release, sorry. see 0.3.2.