Skip to content

v2.0.0

Compare
Choose a tag to compare
@collimarco collimarco released this 27 Nov 16:21
· 13 commits to master since this release

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