Skip to content

Commit eeee989

Browse files
author
Sebastian Molenda
authored
Refactor/replace transport with guzzle (#116)
1 parent e43fbbc commit eeee989

56 files changed

Lines changed: 6077 additions & 2212 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.pubnub.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
name: php
2-
version: 7.4.0
2+
version: 8.0.0
33
schema: 1
44
scm: github.com/pubnub/php
55
changelog:
6+
- date: 2025-03-19
7+
version: 8.0.0
8+
changes:
9+
- type: improvement
10+
text: "Replace dependency from Requests to GuzzleHTTP to allow communication over HTTP/2. This is potentially breaking change because removes the old way to set up custom transport with setting the client dependency. Read more in the documentation (migration guide available)."
611
- date: 2025-02-18
712
version: 7.4.0
813
changes:
@@ -452,8 +457,8 @@ sdks:
452457
- x86-64
453458
- distribution-type: library
454459
distribution-repository: GitHub release
455-
package-name: php-7.4.0.zip
456-
location: https://github.com/pubnub/php/releases/tag/7.4.0
460+
package-name: php-8.0.0.zip
461+
location: https://github.com/pubnub/php/releases/tag/8.0.0
457462
requires:
458463
- name: rmccue/requests
459464
min-version: 1.0.0

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 8.0.0
2+
March 19 2025
3+
4+
#### Modified
5+
- Replace dependency from Requests to GuzzleHTTP to allow communication over HTTP/2. This is potentially a breaking change because it removes the old way to set up custom transport with setting the client dependency. Read more in the documentation (migration guide available).
6+
17
## 7.4.0
28
February 18 2025
39

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ You will need the publish and subscribe keys to authenticate your app. Get your
4141
{
4242
"require": {
4343
<!-- include the latest version from the badge at the top -->
44-
"pubnub/pubnub": "7.4.0"
44+
"pubnub/pubnub": "8.0.0"
4545
}
4646
}
4747
```

composer.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"keywords": ["api", "real-time", "realtime", "real time", "ajax", "push"],
66
"homepage": "http://www.pubnub.com/",
77
"license": "proprietary",
8-
"version": "7.4.0",
8+
"version": "8.0.0",
99
"authors": [
1010
{
1111
"name": "PubNub",
@@ -24,13 +24,14 @@
2424
],
2525
"lint": [
2626
"vendor/bin/phpstan analyze --memory-limit 256M",
27-
"git diff --name-only --diff-filter=d origin/master HEAD | grep -E '\\.php$' | xargs vendor/bin/phpcs --standard=PSR12"
27+
"git diff --name-only --diff-filter=d origin/master HEAD | grep -E '\\.php$' | xargs --no-run-if-empty vendor/bin/phpcs --standard=PSR12"
2828
]
2929
},
3030
"require": {
31-
"php": ">=8.0",
31+
"php": ">=8.1",
3232
"rmccue/requests": "^2.0",
33-
"psr/log": "^1.1|^2.0|^3.0"
33+
"psr/log": "^1.1|^2.0|^3.0",
34+
"guzzlehttp/guzzle": "^7.9"
3435
},
3536
"require-dev": {
3637
"monolog/monolog": "^2.9 || ^3.0",

0 commit comments

Comments
 (0)