Skip to content

Releases: mochidev/swift-webpush

Version 0.4.0

25 Dec 22:39
Compare
Choose a tag to compare

Overview

This release adds support for message deduplication "topics" and automatic retries for certain push service errors, and adds relevant networking configurations for different use cases. HTTPError has also been renamed to PushServiceError.

The library is now feature complete, and has complete testing and documentation coverage. Unless any major issues pop up over the next few weeks, this form of the API will likely be tagged with a 1.0.0 🎉.

What's Changed

Full Changelog: 0.3.3...0.4.0

Version 0.3.3

23 Dec 11:49
Compare
Choose a tag to compare

Overview

This release adds comprehensive documentation to help you get started using WebPush in your web apps!

What's Changed

Full Changelog: 0.3.2...0.3.3

Version 0.3.2

22 Dec 13:36
Compare
Choose a tag to compare

Overview

This release makes all error types Equatable and Sendable, making them easier to use in your own tests. Additionally, the WebPush library now enjoys full test coverage!

What's Changed

Full Changelog: 0.3.1...0.3.2

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