Releases: peek-travel/cocktail
Releases · peek-travel/cocktail
0.10.3
Release 0.10.2
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
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
Release 0.9.0
0.9.0
Added
- Monthly recurrences (thanks to @peaceful-james, @bruteforcecat and @Stroemgren!)
Fixed
- Bug in
Builder.String
when there's only a single day (thanks to @chime-gm!)
Release 0.8.4
Updated
- Dependency updates and credo refactors
Release 0.8.3
Fixed
- Allow additional keys in
Cocktail.Span.span_compat
type
Release 0.8.2
Fixed
- Fix a couple typespecs in
Cocktail.Span
(#66)
Release 0.8.1
Fixed
- Allow backwards compatible parsing of BYTIME rule for existing schedules generated using cocktail pre-0.8.
Release 0.8.0
Breaking
- The
BYTIME
option ofRRULE
s in the iCalendar output is nowX-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 toX-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)