Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
max-parallel: 1
fail-fast: true
matrix:
php: [8.1, 8.2, 8.3]
php: [8.1, 8.2, 8.3, 8.4]
env:
PUBLISH_KEY: ${{ secrets.SDK_PUB_KEY }}
SUBSCRIBE_KEY: ${{ secrets.SDK_SUB_KEY }}
Expand Down
83 changes: 78 additions & 5 deletions .pubnub.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
name: php
version: 8.0.1
version: 8.0.2
schema: 1
scm: github.com/pubnub/php
changelog:
- date: 2025-05-29
version: 8.0.2
changes:
- type: improvement
text: "Removed deprecated method getMessageAction, the feature exist under plural name getMessageActions."
- date: 2025-04-01
version: 8.0.1
changes:
Expand Down Expand Up @@ -273,11 +278,45 @@ features:
access:
- ACCESS-GRANT
- ACCESS-SECRET-KEY-ALL-ACCESS
- ACCESS-GRANT-TOKEN
- ACCESS-REVOKE-TOKEN
- ACCESS-PARSE-TOKEN
- ACCESS-SET-TOKEN
channel-groups:
- CHANNEL-GROUPS-ADD-CHANNELS
- CHANNEL-GROUPS-REMOVE-CHANNELS
- CHANNEL-GROUPS-REMOVE-GROUPS
- CHANNEL-GROUPS-LIST-CHANNELS-IN-GROUP
files:
- FILES-SEND-FILE
- FILES-DELETE-FILE
- FILES-DOWNLOAD-FILE
- FILES-GET-FILE-URL
- FILES-LIST-FILES
message-actions:
- MESSAGE-ACTIONS-ADD
- MESSAGE-ACTIONS-GET
- MESSAGE-ACTIONS-REMOVE
objects:
- OBJECTS-GET-ALL-CHANNEL-METADATA
- OBJECTS-GET-CHANNEL-METADATA
- OBJECTS-SET-CHANNEL-METADATA
- OBJECTS-REMOVE-CHANNEL-METADATA
- OBJECTS-GET-ALL-UUID-METADATA
- OBJECTS-GET-UUID-METADATA
- OBJECTS-SET-UUID-METADATA
- OBJECTS-REMOVE-UUID-METADATA
- OBJECTS-GET-CHANNEL-MEMBERS-V2
- OBJECTS-SET-CHANNEL-MEMBERS-V2
- OBJECTS-REMOVE-CHANNEL-MEMBERS-V2
- OBJECTS-MANAGE-CHANNEL-MEMBERS-V2
- OBJECTS-GET-MEMBERSHIPS-V2
- OBJECTS-SET-MEMBERSHIPS-V2
- OBJECTS-REMOVE-MEMBERSHIPS-V2
- OBJECTS-MANAGE-MEMBERSHIPS-V2
others:
- TELEMETRY
- RANDOM-INITIALIZATION-VECTOR
presence:
- PRESENCE-HERE-NOW
- PRESENCE-WHERE-NOW
Expand All @@ -288,7 +327,11 @@ features:
- PUBLISH-RAW-JSON
- PUBLISH-WITH-METADATA
- PUBLISH-GET
- PUBLISH-POST
- PUBLISH-FIRE
- PUBLISH-MESSAGE-TTL
- PUBLISH-REPLICATION-FLAG
- PUBLISH-SYNC
push:
- PUSH-ADD-DEVICE-TO-CHANNELS
- PUSH-REMOVE-DEVICE-FROM-CHANNELS
Expand All @@ -297,14 +340,24 @@ features:
- PUSH-TYPE-APNS
- PUSH-TYPE-APNS2
- PUSH-TYPE-FCM
- PUSH-TYPE-MPNS
signal:
- SIGNAL-SEND
storage:
- STORAGE-REVERSE
- STORAGE-INCLUDE-TIMETOKEN
- STORAGE-START-END
- STORAGE-COUNT
- STORAGE-MESSAGE-COUNT
time:
- TIME-TIME
- STORAGE-DELETE-MESSAGES
- STORAGE-FETCH-MESSAGES
- STORAGE-FETCH-MESSAGES-MAX-100
- STORAGE-FETCH-WITH-INCLUDE-MESSAGE-TYPE
- STORAGE-FETCH-WITH-INCLUDE-UUID
- STORAGE-FETCH-WITH-MESSAGE-ACTIONS
- STORAGE-FETCH-WITH-META
- STORAGE-HISTORY-WITH-INCLUDE-MESSAGE-TYPE
- STORAGE-HISTORY-WITH-META
subscribe:
- SUBSCRIBE-CHANNELS
- SUBSCRIBE-CHANNEL-GROUPS
Expand All @@ -313,6 +366,16 @@ features:
- SUBSCRIBE-WITH-TIMETOKEN
- SUBSCRIBE-WILDCARD
- SUBSCRIBE-PUBLISHER-UUID
- SUBSCRIBE-PUBSUB-V2
- SUBSCRIBE-FILTER-EXPRESSION
- SUBSCRIBE-SIGNAL-LISTENER
- SUBSCRIBE-MESSAGE-ACTIONS-LISTENER
- SUBSCRIBE-OBJECTS-CHANNEL-LISTENER
- SUBSCRIBE-OBJECTS-UUID-LISTENER
- SUBSCRIBE-MEMBERSHIP-LISTENER
- SUBSCRIBE-FILE-LISTENER
time:
- TIME-TIME

supported-platforms:
-
Expand All @@ -326,6 +389,7 @@ supported-platforms:
- PHP 8.1
- PHP 8.2
- PHP 8.3
- PHP 8.4
sdks:
- full-name: PHP SDK
short-name: PHP
Expand Down Expand Up @@ -366,6 +430,7 @@ sdks:
- PHP 8.1
- PHP 8.2
- PHP 8.3
- PHP 8.4
minimum-os-version:
- Mac OS X 10.8
maximum-os-version:
Expand All @@ -378,6 +443,7 @@ sdks:
- PHP 8.1
- PHP 8.2
- PHP 8.3
- PHP 8.4
minimum-os-version:
- Windows 7 Professional
- Windows 7 Enterprise
Expand All @@ -393,6 +459,7 @@ sdks:
- PHP 8.1
- PHP 8.2
- PHP 8.3
- PHP 8.4
minimum-os-version:
- Ubuntu 20.04 LTS
maximum-os-version:
Expand Down Expand Up @@ -428,6 +495,7 @@ sdks:
- PHP 8.1
- PHP 8.2
- PHP 8.3
- PHP 8.4
minimum-os-version:
- Mac OS X 10.8
maximum-os-version:
Expand All @@ -440,6 +508,7 @@ sdks:
- PHP 8.1
- PHP 8.2
- PHP 8.3
- PHP 8.4
minimum-os-version:
- Windows 7 Professional
- Windows 7 Enterprise
Expand All @@ -455,6 +524,7 @@ sdks:
- PHP 8.1
- PHP 8.2
- PHP 8.3
- PHP 8.4
minimum-os-version:
- Ubuntu 20.04 LTS
maximum-os-version:
Expand All @@ -464,8 +534,8 @@ sdks:
- x86-64
- distribution-type: library
distribution-repository: GitHub release
package-name: php-8.0.1.zip
location: https://github.com/pubnub/php/releases/tag/8.0.1
package-name: php-8.0.2.zip
location: https://github.com/pubnub/php/releases/tag/8.0.2
requires:
- name: rmccue/requests
min-version: 1.0.0
Expand All @@ -490,6 +560,7 @@ sdks:
- PHP 8.1
- PHP 8.2
- PHP 8.3
- PHP 8.4
minimum-os-version:
- Mac OS X 10.8
maximum-os-version:
Expand All @@ -502,6 +573,7 @@ sdks:
- PHP 8.1
- PHP 8.2
- PHP 8.3
- PHP 8.4
minimum-os-version:
- Windows 7 Professional
- Windows 7 Enterprise
Expand All @@ -517,6 +589,7 @@ sdks:
- PHP 8.1
- PHP 8.2
- PHP 8.3
- PHP 8.4
minimum-os-version:
- Ubuntu 20.04 LTS
maximum-os-version:
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 8.0.2
May 29 2025

#### Modified
- Removed deprecated method getMessageAction, the feature exist under plural name getMessageActions.

## 8.0.1
April 01 2025

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ You will need the publish and subscribe keys to authenticate your app. Get your
{
"require": {
<!-- include the latest version from the badge at the top -->
"pubnub/pubnub": "8.0.1"
"pubnub/pubnub": "8.0.2"
}
}
```
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"keywords": ["api", "real-time", "realtime", "real time", "ajax", "push"],
"homepage": "http://www.pubnub.com/",
"license": "proprietary",
"version": "8.0.1",
"version": "8.0.2",
"authors": [
{
"name": "PubNub",
Expand Down
17 changes: 0 additions & 17 deletions src/PubNub/Endpoints/MessageActions/GetMessageAction.php

This file was deleted.

10 changes: 1 addition & 9 deletions src/PubNub/PubNub.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
use PubNub\Endpoints\HistoryDelete;
use PubNub\Endpoints\MessageCount;
use PubNub\Endpoints\MessageActions\AddMessageAction;
use PubNub\Endpoints\MessageActions\GetMessageAction;
use PubNub\Endpoints\MessageActions\GetMessageActions;
use PubNub\Endpoints\MessageActions\RemoveMessageAction;
use PubNub\Endpoints\MessagePersistance\FetchMessages;
Expand Down Expand Up @@ -68,7 +67,7 @@

class PubNub implements LoggerAwareInterface
{
protected const SDK_VERSION = "8.0.1";
protected const SDK_VERSION = "8.0.2";
protected const SDK_NAME = "PubNub-PHP";

public static $MAX_SEQUENCE = 65535;
Expand Down Expand Up @@ -694,13 +693,6 @@ public function addMessageAction(): AddMessageAction
return new AddMessageAction($this);
}

// TODO: Remove in 8.0.0
public function getMessageAction(): GetMessageAction
{
trigger_error("This method is deprecated. Use getMessageActions()", E_USER_DEPRECATED);
return new GetMessageAction($this);
}

public function getMessageActions(): GetMessageActions
{
return new GetMessageActions($this);
Expand Down
Loading