Skip to content

Releases: CureSaba/php-subscriber

1.4.0

07 Jun 17:01
02f7672
Compare
Choose a tag to compare

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

05 Jun 01:03
8b12314
Compare
Choose a tag to compare

リリースノート

このリリースについて

本リリースは、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対応方法の記載

参考コミット


補足