From 7ed4a62956c7426814c7dc67b2bb764cd0e1a603 Mon Sep 17 00:00:00 2001 From: sonologico <1592315+sonologico@users.noreply.github.com> Date: Mon, 3 Oct 2022 16:28:42 +0200 Subject: [PATCH] Release 7.2 (#347) * Add php 8.1 to CI * Bump to version 7.2.0 * Update readme Co-authored-by: Pusher CI --- .github/workflows/test.yml | 2 +- CHANGELOG.md | 8 ++++++++ README.md | 6 +++--- src/Pusher.php | 2 +- 4 files changed, 13 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f1da99e..234e9f5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,7 +11,7 @@ jobs: strategy: fail-fast: false matrix: - php: [7.3, 7.4, 8.0] + php: [7.3, 7.4, 8.0, 8.1] stability: [prefer-lowest, prefer-stable] name: PHP ${{ matrix.php }} - ${{ matrix.stability }} Test diff --git a/CHANGELOG.md b/CHANGELOG.md index 1331fd8..4d97cd9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 7.2.0 + +* [CHANGED] explicit support for 8.1 +* [CHANGED] Ignore pull_request_template.md on vendor +* [ADDED] has_mixed_channels method to allow triggering a single event on multiple channels +* [FIXED] path option can be used for proxied servers under subdirectory. +* [CHANGED] base_path's leading slash is trimmed on every call to Guzzle. + ## 7.1.0-beta * [ADDED] `authenticateUser`, `authorizeChannel` and `authorizePresenceChannel` diff --git a/README.md b/README.md index e67ffe4..af9ca55 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ Or add to `composer.json`: ```json "require": { - "pusher/pusher-php-server": "^7.0" + "pusher/pusher-php-server": "^7.2" } ``` @@ -26,7 +26,7 @@ then run `composer update`. ## Supported platforms -* PHP - supports PHP versions 7.3, 7.4 and 8.0. +* PHP - supports PHP versions 7.3, 7.4, 8.0, and 8.1. * Laravel - version 8.29 and above has built-in support for Pusher Channels as a [Broadcasting backend](https://laravel.com/docs/master/broadcasting). * Other PHP frameworks - supported provided you are using a supported version of PHP. @@ -315,7 +315,7 @@ these steps: **Important note: This will __not__ encrypt messages on channels that are not prefixed by `private-encrypted-`.** -**Limitation**: you cannot trigger a single event on a mixture of unencrypted +**Limitation**: you cannot trigger a single event on a mixture of unencrypted and encrypted channels in a call to `trigger`, e.g. ```php diff --git a/src/Pusher.php b/src/Pusher.php index baf93b9..cba90c0 100755 --- a/src/Pusher.php +++ b/src/Pusher.php @@ -19,7 +19,7 @@ class Pusher implements LoggerAwareInterface, PusherInterface /** * @var string Version */ - public static $VERSION = '7.1.0-beta'; + public static $VERSION = '7.2.0'; /** * @var null|PusherCrypto