Use Centrifugo v5 HTTP API format by @AntistressStore in centrifugal/phpcent#63. Centrifugo v5 introduced a new format for server HTTP API, this change moves the library to use new API format. If you are using Centrifugo v5 – then the update to phpcent v6.0.0 should be smooth without additional changes in the code (since API format changes are all internal implementation detail). If you have Centrifugo v4 – then you can't use phpcent v6 - in this case stay with phpcent v5.x.
In generateConnectionToken method $userId argument is not optional anymore – it should be explicitly provided. You can still pass empty string explicitly for anonymous users.
In generateConnectionToken method $userId argument is not optional anymore – it should be explicitly provided. You can still pass empty string explicitly for anonymous users.
v4.0.0
Adapt to work with Centrifugo v3.
Deprecated history_remove removed (in favour of historyRemove)
Deprecated presence_stats removed (in favour of presenceStats)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps centrifugal/phpcent from 3.1.1 to 6.0.1.
Release notes
Sourced from centrifugal/phpcent's releases.
Changelog
Sourced from centrifugal/phpcent's changelog.
Commits
8d81584
prepare v6.0.188747d2
Fix for info() failing with the new HTTP API format. Added test. (#65)463e991
prepare v6.0.02fe5924
use centrifugo v5 HTTP API format (#63)59717fa
Fix CI, license copyright update (#60)71a65f9
Update README.mdd3c1760
prepare 5.1.0f163481
Add support to meta data in jwt token (#56)d2728b4
update phpunit xml0475345
docker psDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show