Skip to content

Releases: pushpad/web-push

v3.0.1

13 Nov 11:47
Compare
Choose a tag to compare

Use native hkdf from Ruby Standard Library and remove the hkdf gem.

v3.0.0

05 Jan 11:51
Compare
Choose a tag to compare

Add support for OpenSSL 3

v2.1.0

28 Nov 21:37
Compare
Choose a tag to compare

Upgrade the ruby/openssl gem from v2 to v3 (C library must be v1.1)

v2.0.0

27 Nov 16:21
Compare
Choose a tag to compare

Bug fixes

  • Fix vapid key to_pem and add tests (to_pem was broken in all Ruby versions due to upstream changes in the OpenSSL library)
  • Fix wrong default value for VAPID subject (a protocol like mailto: is required)
  • Change VAPID expiration from 24h to 12h (24h is too close to the limit and caused failures when system clock is not perfect)

Maintenance and refactoring

  • Rewrite and update the readme (several improvements and updates)
  • Clean up the repository (remove old files, update .gemspec, etc.) and clean up files from old comment, broken links, etc.
  • Update CI to use GitHub actions
  • Use a consistent approach for require across the entire gem

Upgrade the dependencies

  • Update hkdf gem to 1.0 (previous version was more than 5 years old)
  • Better versioning of gems in .gemspec (avoid open-ended dependencies)

Drop support for legacy features (BREAKING CHANGES)

  • Remove a rake task from this gem (not very useful and not documented) and remove the rake dependency
  • Remove support for legacy GCM URLs (migration from GCM to FCM was many years ago)
  • Remove support for legacy, non-standard GCM API key
  • Require ruby version >= 3.0

v1.0.0

26 Nov 18:29
Compare
Choose a tag to compare

Fork of zaru/webpush on 2022/11/26.

This first version is compatible with the original, except for the name.

In order to use this new gem use gem 'web-push' and rename Webpush to WebPush in your application code.