Skip to content

Releases: centrifugal/phpcent

v6.0.1

27 Jun 19:05
8d81584
Compare
Choose a tag to compare

What's Changed

  • Fix for info() failing with the new HTTP API format. Added test. by @SteveTherrien in #65

Full Changelog: v6.0.0...v6.0.1

v6.0.0

20 Jun 04:57
463e991
Compare
Choose a tag to compare

What's Changed

  • Use Centrifugo v5 HTTP API format by @AntistressStore in #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.

New Contributors

Full Changelog: v5.1.0...v6.0.0

v5.1.0

24 Mar 08:28
d3c1760
Compare
Choose a tag to compare

What's Changed

  • Add meta data support in jwt token by @BaBL86 in #56

New Contributors

Full Changelog: v5.0.0...v5.1.0

v5.0.0

29 Sep 08:19
cc2db6d
Compare
Choose a tag to compare

In this release we adapt phpcent for Centrifugo v4:

  • generatePrivateChannelToken renamed to generateSubscriptionToken and now supports providing sub (user ID) claim - according to channel auth docs and v4 subscription token migration docs.
  • In generateConnectionToken method $userId argument is not optional anymore – it should be explicitly provided. You can still pass empty string explicitly for anonymous users.

Please note, that you can generate Centrifugo tokens using any JWT library for PHP.

v4.0.0

06 Sep 13:16
146734a
Compare
Choose a tag to compare

Adapt to work with Centrifugo v3.

  • Deprecated history_remove removed (in favour of historyRemove)
  • Deprecated presence_stats removed (in favour of presenceStats)
  • Drop support for PHP < 7.0.0

v3.1.1

07 Aug 18:34
Compare
Choose a tag to compare
v3.1.1

v3.1.0

12 Mar 19:11
Compare
Choose a tag to compare
v3.1.0

v3.0.2

25 Feb 18:46
Compare
Choose a tag to compare
v3.0.2

v3.0.1

11 Jul 20:34
Compare
Choose a tag to compare
v3.0.1