Skip to content

Releases: treatwell/ISO8601PeriodDuration

3.1.0

31 May 17:43
a2cfd57
Compare
Choose a tag to compare
  • Added Hashable support for wrappers (#3).

3.0.0

29 May 14:47
e11fe46
Compare
Choose a tag to compare
  • Removed obsolete ISO8601PeriodDuration.init(rawValue:) initializer in favor of ISO8601PeriodDuration.init(_:) + DateComponents.init(rawISO8601PeriodDurationValue:).
  • Removed obsolete test discovery code.
  • Switched OS for CI from macOS to Linux (faster and more readily available).

#2

2.0.0

28 May 15:12
2b96ba7
Compare
Choose a tag to compare
  • Added support for decoding DateComponents? by using the OptionalISO8601PeriodDuration wrapper.
  • Decoding is now guaranteed to always throw a DecodingError, instead of the old custom-made ISO8601PeriodDuration.ParsingError.
  • ISO8601PeriodDuration initializer changed from init(iso8601Value:) throws to init?(rawValue:), which sits better with the use case.
  • Added DateComponents.init(rawISO8601PeriodDurationValue:) for direct parsing.

#1

1.0.1

21 Aug 11:14
2dd99e5
Compare
Choose a tag to compare
Add copyright headers

1.0.0

21 Aug 10:25
4edde84
Compare
Choose a tag to compare
Initial commit