Skip to content

Releases: henrik-dmg/HPOpenWeather

One Call API 3.0

01 Oct 10:17
6.0.0
8d1fd56
Compare
Choose a tag to compare

This release adds support for the One Call API 3.0 and rewrites a lot of the library.

What's Changed

  • One Call API 3.0 by @henrik-dmg in #13
    • Weather is now Codable, to make caching easier/possible

Full Changelog: 5.0.0...6.0.0

Concurrency support

27 Feb 20:52
ceae8fe
Compare
Choose a tag to compare

This release adds support for Swift 5.5 new concurrency features as well as some new properties for the weather responses

Version 4.0.0

15 Dec 23:25
Compare
Choose a tag to compare

I've made some breaking changes, so my early Christmas present to you is version 4.0.0.
Most notable changes:

  • Renamed HPOpenWeather to OpenWeather
  • Updated some method signatures
  • greatly simplified decoding of responses which improves readability
  • expanded documentation
  • added weather alerts

The Housekeeping Update

05 Dec 10:36
Compare
Choose a tag to compare

Changes in this version:

  • dependencies were updated, including some fixes to the completion handling of the networking stack
  • the completion is now called on the correct queue if the weather request could not be constructed

Combine Publishers

07 Oct 14:25
Compare
Choose a tag to compare

This release brings you Combine publishers for weather request and automatic response decoding. Here's an example:

let someCoordinate = CLLocationCoordinate2D(latitude: 42.989, longitude: -25.128)
let request = WeatherRequest(coordinate: someCoordinate)

let cancellable = request.makePublisher(apiKey: TestSecret.apiKey)

cancellable will be a publisher of type AnyPublisher<OpenWeatherRequest.Output, Error>

Support for custom URLSession

30 Jun 13:21
Compare
Choose a tag to compare

Support for specifying finishing queue

15 Jun 10:04
Compare
Choose a tag to compare

Also refactored towards global settings and not having to set language and API key on every request

Fix init is inaccessible due to internal protection level

05 May 16:39
Compare
Choose a tag to compare

3.0.0-beta1

13 Apr 21:12
Compare
Choose a tag to compare
3.0.0-beta1 Pre-release
Pre-release

3.0.0-alpha1

09 Apr 23:31
Compare
Choose a tag to compare
3.0.0-alpha1 Pre-release
Pre-release