Skip to content

Commit 0c08fb3

Browse files
authored
Merge pull request #277 from pusher/release-v5.0.0
Release v5.0.0
2 parents cba9da4 + 7666174 commit 0c08fb3

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
## 5.0.0 (2021-02-19)
2+
3+
[CHANGED] The methods that make HTTP requests now throw an `ApiErrorException` instead of returning `false` for non-2xx responses
4+
[CHANGED] `trigger` now accepts a `$params` associative array instead of a `$socket_id` as the third parameter
5+
[ADDED] Support for requesting channel attributes as part of a `trigger` and `triggerBatch` request via an `info` parameter
6+
[REMOVED] `debug` parameter from methods that make HTTP requests and from the constructor options
7+
[REMOVED] Support for legacy push notifications (this has been superseded by https://github.com/pusher/push-notifications-php)
8+
19
## 4.1.5 (2020-12-08)
210

311
[ADDED] Support for PHP 8.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Or add to `composer.json`:
1818

1919
```json
2020
"require": {
21-
"pusher/pusher-php-server": "^4.0"
21+
"pusher/pusher-php-server": "^5.0"
2222
}
2323
```
2424

src/Pusher.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class Pusher implements LoggerAwareInterface, PusherInterface
1414
/**
1515
* @var string Version
1616
*/
17-
public static $VERSION = '4.1.5';
17+
public static $VERSION = '5.0.0';
1818

1919
/**
2020
* @var null|PusherCrypto

0 commit comments

Comments
 (0)