Skip to content

Releases: centrifugal/phpcent

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