WXKDarkSky Changelog
Version 3.1.0
Released: July 24, 2019
- Deprecated method
DarkSkyResponse.converted(from:)
has been removed. Use the failable initDarkSkyResponse(data:)
instead.
Version 3.0.0
Released: July 9, 2019
- Deprecated types
WXKDarkSkyResponse
andWXKDarkSkyRequest
, along with the deprecated methodDarkSkyRequest.buildDarkSkyURL(point:time:options:)
have been removed.WXKDarkSkyResponse
was renamed toDarkSkyResponse
.WXKDarkSkyRequest
was renamed toDarkSkyRequest
.buildDarkSkyURL
was renamed tobuildURL
.
Version 2.4.2
Released: July 24, 2019
- Adds typealiases for renamed types which were not typealiased in 2.4.0 or 2.4.1.
Version 2.4.1
Released: July 8, 2019
- Rerelease of 2.4.0 for CocoaPods. See the release notes for 2.4.0.
Version 2.4.0
Released: July 8, 2019
- Renames
WXKDarkSkyResponse
toDarkSkyResponse
andWXKDarkSkyRequest
toDarkSkyRequest
. The old prefixed names are available as typealiases but deprecated and will be removed in a future release. - Renames
DarkSkyRequest.buildDarkSkyURL(...)
toDarkSkyRequest.buildURL(...)
. The old method is available but deprecated and will be removed in a future release. - Deprecates
DarkSkyResponse.converted(from:)
in favor of a failable initDarkSkyResponse(data:)
. - Adds support for several new languages.
Version 2.3.0
Released: July 8, 2019
- Updated to Swift 5.0.
Version 2.2.1
Released: June 26, 2018
- Fixes an issue where decoding using
WXKDarkSkyResponse
did not use the correct date decoding strategy.
Version 2.2
Released: June 21, 2018
- Initial release on CocoaPods.
- Initialize a
WXKDarkSkyResponse
object with aData
object. - Inline documentation improvements.
Version 2.1
Released: June 18, 2018
- Makes the method for constructing a Dark Sky request URL public.
Version 2.0.3
Released: June 17, 2018
- Adds language support for summaries in Hebrew and Korean.
Version 2.0.2
Released: January 8, 2018
- Access control improvements.
- Removed the deprecated max/min temperatures in favor of daytime highs and overnight lows.
- Added basic networking functionality for retrieving data from the Dark Sky API.
- Now decodes times from JSON as Date objects rather than Ints.
Version 1.0.4
Released: January 2, 2018
- Adds support for the new apparentTemperatureHigh, apparentTemperatureLow, apparentTemperatureHighTime and apparentTemperatureLowTime keys in data points.
- The old maximum/minimum temperature and apparent temperature keys are now deprecated.
Version 1.0.3
Released: November 26, 2017
- Structures are now both encodable and decodable.
Version 1.0.2
Released: October 5, 2017
- Adds support for the new temperatureHigh and temperatureLow keys in data points.
Version 1.0.1
Released: August 19, 2017
- Initial release.