web-push-php
web-push-php copied to clipboard
fix: [BREAKING] remove legacy subscription; change subscription interface
Changes
Breaking:
- change default encoding to aes128g
- change subscription interface
- Remove legacy GCM
- Remove old Chrome subscription support
Feature:
- convert contentEncoding to typesafe enum
Reference
fixes #381 fixes #345 reference #388
Hey sorry I plan to review this this weekend, thanks!
Hopefully this can be finished & merged soon :)
@Minishlink Just wondering, what's currently missing in that PR? The required fixes in reviews? (and conflicts)
Yes that's right
I might delay this to v10 and release v9 at the beginning of july. Let me know @Rotzbua if you have time in the near future for this PR, thank you
Hi, I have over 25k subscribers and need to switch to the new FCM v1 API since the old version will be deprecated soon. When will this library support the v1 API? I'm using Perfecty Push, which depends on this library.
Thanks for the amazing repo!
Hello, this library is agnostic about which endpoint is sent by the browser, it only requires compliance with the Web Push standard. Regarding FCM deprecation, Google said that it will still support the old endpoints https://stackoverflow.com/a/77958717 (but anyway this is not a question for this repository but more for Google)
Converted to draft until I have time and back into the php topic.
Thanks for the update! I have one more question: what's the pull request about? Are you planning on supporting the v1 HTTP API too, or is it focused on something else? Looking forward to your response!
@cclegend90 It is just cleanup of obsolete code. The FCM v1 HTTP API (for native apps) is not the Push API (for browser) and not target of this library.