Skip to content

Commit

Permalink
prepare for 0.9 release
Browse files Browse the repository at this point in the history
  • Loading branch information
doughsay committed Nov 21, 2020
1 parent 89054da commit 5fc78cb
Show file tree
Hide file tree
Showing 5 changed files with 55 additions and 58 deletions.
22 changes: 0 additions & 22 deletions .travis.yml

This file was deleted.

77 changes: 52 additions & 25 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,137 +7,164 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased][]

## [0.9.0][] - 2020-11-21

### 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!)

## [0.8.4][] - 2019-06-14

### Updated

- Dependency updates and credo refactors
- Dependency updates and credo refactors

## [0.8.3][] - 2018-11-12

### Fixed

- Allow additional keys in Cocktail.Span.span_compat type
- Allow additional keys in Cocktail.Span.span_compat type

## [0.8.2][] - 2018-11-08

### Fixed

- Fix a couple typespecs in Cocktail.Span ([#66](https://github.com/peek-travel/cocktail/pull/66))
- Fix a couple typespecs in Cocktail.Span ([#66](https://github.com/peek-travel/cocktail/pull/66))

## [0.8.1][] - 2018-02-17

### Fixed

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

## [0.8.0][] - 2018-02-17

### Breaking

- The `BYTIME` option of `RRULE`s in the iCalendar output is now `X-BYTIME` to better follow the standard's extensions policy
- The `BYTIME` option of `RRULE`s 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)
- "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
- 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)
- JSON parser and builder; it was incomplete (will revisit in the future)

## [0.7.0][] - 2017-12-07

### Added

- The ability to pass anything responding to `from` and `until` to `overlap_mode` and `compare`
- The ability to pass anything responding to `from` and `until` to `overlap_mode` and `compare`

## [0.6.0][] - 2017-10-30

### Added

- Quick Start guide and logo to the README
- Quick Start guide and logo to the README

### Fixed

- Some recurrence rules would keep the microsecond component of the start time when generating occurrences. Cocktail now always strips microseconds out, it only supports second precision.
- Some recurrence rules would keep the microsecond component of the start time when generating occurrences. Cocktail now always strips microseconds out, it only supports second precision.

## [0.5.3][] - 2017-10-19

### Fixed

- Giving empty lists for the :days, :hours, :minutes, :seconds, and :times options would produce invalid iCalendar strings
- Giving empty lists for the :days, :hours, :minutes, :seconds, and :times options would produce invalid iCalendar strings

## [0.5.2][] - 2017-10-06

### Fixed

- Overriding the start time to before the schedule's start time would cause invalid occurrences to be emitted
- Overriding the start time to before the schedule's start time would cause invalid occurrences to be emitted

## [0.5.1][] - 2017-09-26

### Fixed

- Removed problematic logging
- Removed problematic logging

## [0.5.0][] - 2017-09-26

### Added

- "time of day" option (e.g. `Schedule.add_recurrence_rules(:daily, times: [~T[10:00:00], ~T[12:30:00]])`; this serializes to `BYTIME` in iCalendar format, which doesn't actually exist, so don't use this if you need to be iCalendar compatible)
- "time of day" option (e.g. `Schedule.add_recurrence_rules(:daily, times: [~T[10:00:00], ~T[12:30:00]])`; this serializes to `BYTIME` in iCalendar format, which doesn't actually exist, so don't use this if you need to be iCalendar compatible)

### Fixed

- Improved performance (up to 80x for certain types of schedules)
- Improved performance (up to 80x for certain types of schedules)

## [0.4.0][] - 2017-09-19

### Added

- Added `Schedule.end_all_recurrence_rules/2` which adds an `:until` option to each recurrence rule in a schedule.
- Added support for one-off recurrence times (`RDATE` in iCalendar)
- Added support for exception times (`EXDATE` in iCalendar)
- Added `Schedule.end_all_recurrence_rules/2` which adds an `:until` option to each recurrence rule in a schedule.
- Added support for one-off recurrence times (`RDATE` in iCalendar)
- Added support for exception times (`EXDATE` in iCalendar)

## [0.3.0][] - 2017-09-14

### Added

- Added the "minute of hour" option (`BYMINUTE` in iCalendar)
- Added the "second of minute" option (`BYSECOND` in iCalendar)
- Added the "minute of hour" option (`BYMINUTE` in iCalendar)
- Added the "second of minute" option (`BYSECOND` in iCalendar)

## [0.2.1][] - 2017-09-12

### Added

- Added logo to documentation
- Added logo to documentation

## [0.2.0][] - 2017-09-11

### Added

- Better documentation to `Schedule.occurrences/1` to explain the duration option on schedules.
- Better documentation to `Schedule.occurrences/1` to explain the duration option on schedules.

## 0.0.1 - 2017-09-08

### Initial release

[Unreleased]: https://github.com/peek-travel/cocktail/compare/0.8.4...HEAD
[Unreleased]: https://github.com/peek-travel/cocktail/compare/0.9.0...HEAD

[0.9.0]: https://github.com/peek-travel/cocktail/compare/0.8.4...0.9.0

[0.8.4]: https://github.com/peek-travel/cocktail/compare/0.8.3...0.8.4

[0.8.3]: https://github.com/peek-travel/cocktail/compare/0.8.2...0.8.3

[0.8.2]: https://github.com/peek-travel/cocktail/compare/0.8.1...0.8.2

[0.8.1]: https://github.com/peek-travel/cocktail/compare/0.8.0...0.8.1

[0.8.0]: https://github.com/peek-travel/cocktail/compare/0.7.0...0.8.0

[0.7.0]: https://github.com/peek-travel/cocktail/compare/0.6.0...0.7.0

[0.6.0]: https://github.com/peek-travel/cocktail/compare/0.5.3...0.6.0

[0.5.3]: https://github.com/peek-travel/cocktail/compare/0.5.2...0.5.3

[0.5.2]: https://github.com/peek-travel/cocktail/compare/0.5.1...0.5.2

[0.5.1]: https://github.com/peek-travel/cocktail/compare/0.5.0...0.5.1

[0.5.0]: https://github.com/peek-travel/cocktail/compare/0.4.0...0.5.0

[0.4.0]: https://github.com/peek-travel/cocktail/compare/0.3.0...0.4.0

[0.3.0]: https://github.com/peek-travel/cocktail/compare/0.2.1...0.3.0

[0.2.1]: https://github.com/peek-travel/cocktail/compare/0.2.0...0.2.1

[0.2.0]: https://github.com/peek-travel/cocktail/compare/0.1.0...0.2.0
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![CI
Status](https://github.com/peek-travel/cocktail/workflows/CI/badge.svg)](https://github.com/peek-travel/cocktail/actions)
[![codecov](https://codecov.io/gh/peek-travel/cocktail/branch/master/graph/badge.svg)](https://codecov.io/gh/peek-travel/cocktail)
[![codecov](https://codecov.io/gh/peek-travel/cocktail/branch/main/graph/badge.svg)](https://codecov.io/gh/peek-travel/cocktail)
[![Hex.pm Version](https://img.shields.io/hexpm/v/cocktail.svg?style=flat)](https://hex.pm/packages/cocktail)
[![License](https://img.shields.io/hexpm/l/cocktail.svg)](LICENSE.md)

Expand Down Expand Up @@ -33,7 +33,7 @@ by adding `cocktail` to your list of dependencies in `mix.exs`:
```elixir
def deps do
[
{:cocktail, "~> 0.8"}
{:cocktail, "~> 0.9"}
]
end
```
Expand Down
8 changes: 0 additions & 8 deletions config/dev.exs
Original file line number Diff line number Diff line change
@@ -1,9 +1 @@
use Mix.Config

config :mix_test_watch,
clear: true,
tasks: [
"coveralls",
"dialyzer",
"credo --strict"
]
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule Cocktail.Mixfile do
use Mix.Project

@version "0.8.4"
@version "0.9.0"

def project do
[
Expand Down

0 comments on commit 5fc78cb

Please sign in to comment.