Skip to content

Releases: mochidev/swift-webpush

Version 0.3.1

20 Dec 14:49
Compare
Choose a tag to compare

Overview

This release adds a new MessageTooLarge error that can be caught to retry smaller messages, and a few new mocked types for Subscriber to make testing with WebPush easier.

What's Changed

Full Changelog: 0.3.0...0.3.1

Version 0.3.0

19 Dec 11:21
Compare
Choose a tag to compare

##Overview

This release introduces some breaking changes to make the API a bit more readable:

  • VAPID.Configuration.mocked has been renamed to VAPID.Configuration.mockedConfiguration to match other mocked methods.
  • WebPushManager.init(..., logger:, ...) has been renamed to WebPushManager.init(..., backgroundActivityLogger:, ...) to better match the types of logging it is responsible for.
  • The various send(...) methods now have a logger: parameter.

In addition to these API renames, this release also adds a number of improvements to documentation, tests, and logging. You can also use WebPushManager without a service as it will automatically shut down its HTTP client when it falls out of scope.

What's Changed

Full Changelog: 0.2.1...0.3.0

Version 0.2.1

16 Dec 12:57
Compare
Choose a tag to compare

Overview

This release fixes a warning related to message expiration even when default values are used.

What's Changed

Full Changelog: 0.2.0...0.2.1

Version 0.2.0

16 Dec 11:45
Compare
Choose a tag to compare

Overview

This release adds a new dedicated type for message expiration, and swaps the definitions of VAPID and VoluntaryApplicationServerIdentification so the latter is now the type alias. Documentation has also been expanded for several members, and test coverage continues to increase.

What's Changed

Full Changelog: 0.1.4...0.2.0

Version 0.1.4

15 Dec 11:51
Compare
Choose a tag to compare

Overview

This release adds a new initializer to VAPID.Key for decoding directly from a Base64 string, along with some improvements to documentation and test coverage in general.

What's Changed

Full Changelog: 0.1.3...0.1.4

Version 0.1.3

14 Dec 11:46
Compare
Choose a tag to compare

Overview

This release adds a new vapid-key-generator helper tool for generating keys outside of your application server's environment, and greatly expands on the configuration's documentation.

What's Changed

Full Changelog: 0.1.2...0.1.3

Version 0.1.2

13 Dec 11:34
Compare
Choose a tag to compare

Overview

This release ads proper error types to check when decoding configurations or sending push messages, namely BadSubscriberError(), which needs to be checked to prevent push services from rate limiting and block-listing your server.

What's Changed

New Contributors

Full Changelog: 0.1.1...0.1.2

Version 0.1.1

12 Dec 19:18
Compare
Choose a tag to compare

Overview

This releases fixes an issue where push messages were never sent out as they immediately failed due to their timeouts being misconfigured.

What's Changed

New Contributors

  • @helje5 made their first contribution in #8

Full Changelog: 0.1.0...0.1.1

Version 0.1.0

12 Dec 11:30
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: https://github.com/mochidev/swift-webpush/commits/0.1.0