diff --git a/.pubnub.yml b/.pubnub.yml index 580670b..e201686 100644 --- a/.pubnub.yml +++ b/.pubnub.yml @@ -1,8 +1,13 @@ name: php -version: 6.3.0 +version: 7.0.0 schema: 1 scm: github.com/pubnub/php changelog: + - date: 2024-06-27 + version: 7.0.0 + changes: + - type: feature + text: "When passed to the `PubNub` constructor, the `PNConfiguration` instance becomes immutable. You can disable this behavior by calling `PnConfiguration::disableImmutableCheck()` before passing it to the constructor although it is not recommended. Disabling immutability may result in unpredictable behavior if `PNConfiguration` is modified after instantiating `PubNub`." - date: 2024-06-18 version: v6.3.0 changes: @@ -424,8 +429,8 @@ sdks: - x86-64 - distribution-type: library distribution-repository: GitHub release - package-name: php-6.3.0.zip - location: https://github.com/pubnub/php/releases/tag/v6.3.0 + package-name: php-7.0.0.zip + location: https://github.com/pubnub/php/releases/tag/7.0.0 requires: - name: rmccue/requests min-version: 1.0.0 diff --git a/CHANGELOG.md b/CHANGELOG.md index 54982db..93a5111 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## 7.0.0 +June 27 2024 + +#### Added +- When passed to the `PubNub` constructor, the `PNConfiguration` instance becomes immutable. You can disable this behavior by calling `PnConfiguration::disableImmutableCheck()` before passing it to the constructor although it is not recommended. Disabling immutability may result in unpredictable behavior if `PNConfiguration` is modified after instantiating `PubNub`. + ## v6.3.0 June 18 2024 diff --git a/README.md b/README.md index e9e0e05..ce2efa1 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ You will need the publish and subscribe keys to authenticate your app. Get your { "require": { - "pubnub/pubnub": "6.3.0" + "pubnub/pubnub": "7.0.0" } } ``` diff --git a/composer.json b/composer.json index 0a714dc..846fd0e 100644 --- a/composer.json +++ b/composer.json @@ -5,7 +5,7 @@ "keywords": ["api", "real-time", "realtime", "real time", "ajax", "push"], "homepage": "http://www.pubnub.com/", "license": "proprietary", - "version": "6.3.0", + "version": "7.0.0", "authors": [ { "name": "PubNub", diff --git a/src/PubNub/PubNub.php b/src/PubNub/PubNub.php index 1e95eab..dbdae69 100644 --- a/src/PubNub/PubNub.php +++ b/src/PubNub/PubNub.php @@ -56,7 +56,7 @@ class PubNub implements LoggerAwareInterface { - protected const SDK_VERSION = "6.3.0"; + protected const SDK_VERSION = "7.0.0"; protected const SDK_NAME = "PubNub-PHP"; public static $MAX_SEQUENCE = 65535;