Skip to content

Releases: peek-travel/cocktail

0.10.3

04 Jan 13:37
Compare
Choose a tag to compare

This is a bugfix release to address an Daylight Savings Time issue as well as a bug with exclusion times.

Full Changelog

Release 0.10.2

05 Jan 16:38
988bd3d
Compare
Choose a tag to compare

This is a maintenance and dependency update release with minor cosmetic changes and efficiency improvements.

What's Changed

Full Changelog: 0.10.1...0.10.2

Release 0.10.1

18 Oct 19:00
3dd3b6e
Compare
Choose a tag to compare

This is a bugfix release to address an issue which creates an infinite loop during schedule generation.

The bug could be triggered by having the time_range end close enough to the end of a calendar day that adding next interval caused the clock to roll over past 23:59:59. This means the next time generated is still "before" the end of the time range, and the stream would generate forever.

Release 0.10.0

18 Jun 22:01
2c91fb9
Compare
Choose a tag to compare

Added

Fixed

Updated

Release 0.9.0

21 Nov 20:38
Compare
Choose a tag to compare

0.9.0

Added

Fixed

  • Bug in Builder.String when there's only a single day (thanks to @chime-gm!)

Release 0.8.4

15 Jun 06:45
473911b
Compare
Choose a tag to compare

Updated

  • Dependency updates and credo refactors

Release 0.8.3

12 Nov 22:29
435767f
Compare
Choose a tag to compare

Fixed

  • Allow additional keys in Cocktail.Span.span_compat type

Release 0.8.2

08 Nov 23:59
a9ee707
Compare
Choose a tag to compare

Fixed

  • Fix a couple typespecs in Cocktail.Span (#66)

Release 0.8.1

20 Feb 20:04
3e71eb4
Compare
Choose a tag to compare

Fixed

  • Allow backwards compatible parsing of BYTIME rule for existing schedules generated using cocktail pre-0.8.

Release 0.8.0

17 Feb 18:08
bae378d
Compare
Choose a tag to compare

Breaking

  • The BYTIME option of RRULEs in the iCalendar output is now X-BYTIME to better follow the standard's extensions policy

Added

  • "time range" option (e.g. Schedule.add_recurrence_rules(:daily, time_range: %{start_time: ~T[09:00:00], end_time: ~T[11:00:00], interval_seconds: 1_800}); this serializes to X-BYRANGE in iCalendar format, using the extension prefix to signal that it's a proprietary extension)

Changed

  • Formatted code-base with the new Elixir 1.6 code formatter
  • Changed Schedule.t() to not be an opaque type, which fixed the few missing typespecs

Removed

  • JSON parser and builder; it was incomplete (will revisit in the future)