Releases: CureSaba/php-subscriber
Releases · CureSaba/php-subscriber
1.4.0
Changelog
[1.4.0] - 2025-06-07
Added
- verify_token parameter can now be set via the constructor.
- All main parameters (
hub_url
,callback_url
,credentials
,secret
,verify
,verify_token
,lease_seconds
) can be configured at construction. - Setter methods (
setHubUrl
,setCallbackUrl
,setCredentials
,setSecret
,setVerify
,setVerifyToken
,setLeaseSeconds
) added for all configurable parameters, allowing flexible subscription updates after instantiation.
Changed
- README updated with new usage examples and documentation for constructor and setters.
Notes
- These changes are backward compatible; older constructor usage will continue to work.
- The new approach improves flexibility for dynamic and advanced use cases involving PubSubHubbub/WebSub subscriptions.
1.3.0
リリースノート
このリリースについて
本リリースは、pubsubhubbub/php-subscriber からフォークし、WebSub(hub.secret)対応やドキュメント更新など、さまざまな改善を加えたものです。
主な変更点
- CureSaba/php-subscriber としてメンテナンスを継続
- パッケージ名やインストール方法を更新
- README にフォーク元や保守状況を明記
- WebSub (hub.secret) 対応の強化
Subscriber
クラスに$secret
プロパティとコンストラクタ引数を追加- subscribe/unsubscribe時に
hub.secret
パラメータを送信可能に - HMAC検証や新しいAPIの使用例を example.php に追加
- composer.json の更新
- パッケージ名を
curesaba/php-subscriber
に変更 - WebSub, hub.secret対応の記述やキーワード、作者情報の追記
- ホームページURLをCureSabaリポジトリに変更
- パッケージ名を
- ドキュメントの強化
- インストール手順やhub.secret対応方法の記載
参考コミット
- docs: Update README for curesaba/php-subscriber fork and hub.secret support
- feat: Support for hub.secret in Subscriber
- docs: Update example.php to show usage with secret parameter
- chore: Update composer.json for CureSaba/php-subscriber
補足
- 変更履歴はこちらからご確認ください。
- フォーク元リポジトリ: pubsubhubbub/php-subscriber