Centrifugo v3 compatibility
FZambia opened this issue · 3 comments
FZambia commented
Hello! Currently readme states that this package:
Compatible with latest Centrifugo 2.8.5
Recently we released Centrifugo v3 with many improvements and new features. Unfortunately there are also several backwards incompatible changes. Everything described in Migrating to v3 guide.
Regarding this package I noticed the following things to be updated:
- Response format of
channels
API method changed, and it now acceptspattern
argument - Behavior of
history
API changed - it does not return publications by default, only current stream position, to return publicationslimit
argument must be set to a value greater than0
. - Some additional fields added to
publish
,broadcast
,history
methods (though new params fields do not break requests, just extend functionality) - Also, some deprecated option names like
secret
now removed from Centrifugo, it's nowtoken_hmac_secret_key
- so maybe this package should match updated option names.
Would be awesome to have laravel-centrifugo
inherit all of this. I am ready to help answering any questions during migration.
And thanks for an awesome package @denis660!
denis660 commented
Thanks! Will definitely update to v3 soon
denis660 commented
Upgraded to Centrifugo v 3
https://github.com/denis660/laravel-centrifugo/releases/tag/2.0.0
FZambia commented
Thanks!