Releases: treatwell/ISO8601PeriodDuration
Releases · treatwell/ISO8601PeriodDuration
3.1.0
3.0.0
- Removed obsolete
ISO8601PeriodDuration.init(rawValue:)
initializer in favor ofISO8601PeriodDuration.init(_:)
+DateComponents.init(rawISO8601PeriodDurationValue:)
. - Removed obsolete test discovery code.
- Switched OS for CI from macOS to Linux (faster and more readily available).
2.0.0
- Added support for decoding
DateComponents?
by using theOptionalISO8601PeriodDuration
wrapper. - Decoding is now guaranteed to always throw a
DecodingError
, instead of the old custom-madeISO8601PeriodDuration.ParsingError
. ISO8601PeriodDuration
initializer changed frominit(iso8601Value:) throws
toinit?(rawValue:)
, which sits better with the use case.- Added
DateComponents.init(rawISO8601PeriodDurationValue:)
for direct parsing.