Skip to content

Releases: denis660/laravel-centrifugo

v5.0

08 Oct 17:16
Compare
Choose a tag to compare

🚀 Release of a new version of the package with Laravel 11 support

We are excited to announce the release of a new version of our package with full Laravel 11 support. This version introduces significant improvements aimed at enhancing stability and usability:

  • Laravel 11 Support: The package is now fully compatible with the latest version of Laravel, ensuring smooth operation with the new features and capabilities of the framework. 🎉

  • Automated Testing: We have included automated tests to verify code quality and ensure that nothing breaks during development and updates. This guarantees the package’s stability in future releases. ✅

  • Support for the Latest Centrifugo API: The package has been updated to support the most recent version of the Centrifugo API, providing enhanced performance and access to the latest features of this tool. 💡

  • Bug Fixes: We’ve addressed bugs reported in issues and pull requests. We appreciate the community's active feedback and contributions to improving the package. 🛠️

We are confident that this update will enhance your experience working with Laravel and Centrifugo. Thank you for using our package! 🙏

3.1

08 Jun 04:53
3715b38
Compare
Choose a tag to compare
3.1

Support Laravel 10

3.0.1

25 Oct 03:36
4c7fe31
Compare
Choose a tag to compare

Добавил проверку sheme, если не была указана в конфиге

Upgrading to Laravel 9

10 Feb 03:48
3aa9a18
Compare
Choose a tag to compare

Due to security updates, the following dependencies have been updated

  • Removed support for Laravel 7.3
  • Minimum version of Laravel 8.75.0
  • Minimum PHP version 7.4

Added support for Laravel 9

2.0.0 Upgrade to centrifugo v 3

05 Dec 14:56
Compare
Choose a tag to compare

There are config file changes here that are not backward compatible!
You only need to change the name of the variables.

Otherwise, your code should work the same as it did in version 1.

The update was related to the transition to CENTRIFUGO v3, if you are using CENTRIFUGO v2, I recommend first reading the update information on v3 https://centrifugal.dev/docs/getting-started/migration_v3

  • Added optional parameters limit, since, reversehistory to the history method. Now, by default, the history is not returned, it is necessary to transfer a limit on how many last messages need to be received
  • Added optional skipHistor parameter for method publish and method broadcast
  • Added optional pattern parameter for method channels
  • Added optional client parameter to unsubscribe method
  • Added the optional channels parameter to the generateConnectionToken method
  • Added subscribe method

Changing the names of the config / broadcasting.php variables, here is the new code for your file

        'centrifugo' => [
            'driver' => 'centrifugo',
            'token_hmac_secret_key'  => env('CENTRIFUGO_TOKEN_HMAC_SECRET_KEY',''),
            'api_key'  => env('CENTRIFUGO_API_KEY',''),
            'url'     => env('CENTRIFUGO_URL', 'http://localhost:8000'),
            'verify'  => env('CENTRIFUGO_VERIFY', false),
            'ssl_key' => env('CENTRIFUGO_SSL_KEY', null),
        ],

in your .env replace

CENTRIFUGO_SECRET to CENTRIFUGO_TOKEN_HMAC_SECRET_KEY
CENTRIFUGO_APIKEY to CENTRIFUGO_API_KEY

1.0.7

29 Nov 07:08
bc3f1d3
Compare
Choose a tag to compare

Fixed bugs for private channels
This is the latest update for Centrifugo м2

The next update will be to version 2, which will include the new capabilities of Centrifugo v3

1.0.6

27 Jun 18:08
ddf8b20
Compare
Choose a tag to compare
1.0.6 Pre-release
Pre-release

Upgrade to minimum laravel version 6.20.26 due to critical vulnerabilities in the framework
Upgrading Centrifugo to v2.8.5
Fixed Laravel PrivateChannel prefix (private) to Centrifugo format ($)

1.0.5

17 Jan 11:25
Compare
Choose a tag to compare
Merge remote-tracking branch 'origin/master'

1.0.4

16 Jan 19:44
Compare
Choose a tag to compare
refactoring

1.0.3

12 Jan 18:33
Compare
Choose a tag to compare
fix name interface