Skip to content

Migrate the Unreal SDK from C-Core to the C SDK. - #68

Merged
KGronek-Pubnub merged 33 commits into
masterfrom
New-C-Core-Migration
Nov 4, 2026
Merged

KGronek-Pubnub merged 33 commits into
masterfrom
New-C-Core-Migration

Conversation

@KGronek-Pubnub

@KGronek-Pubnub KGronek-Pubnub commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

refactor(core): Migrate from C-Core to the C SDK

The Unreal SDK now uses the PubNub C SDK on Windows, Linux, macOS, iOS, and Android. Build, subscribe, crypto, and logging fixes from the C-Core migration are included.

refactor(crypto): Configure payload crypto on the client

Payload encryption is set with FPubnubConfig::CryptoModule before CreatePubnubClient. SetCryptoModule, GetCryptoModule, and IPubnubCryptoProviderInterface are removed, and UPubnubCryptoModule accepts UPubnubAesCryptor and UPubnubLegacyCryptor. BREAKING CHANGE

refactor(publish): Limit publish method and add body compression

FPubnubPublishSettings::Replicate is removed, and EPubnubPublishMethod is limited to GET and POST. Body gzip is the new FPubnubPublishSettings::Compress field and applies when PublishMethod is POST. BREAKING CHANGE

refactor(presence): Return channel maps from presence reads

ListUsersFromChannel returns users grouped by channel on FPubnubListUsersFromChannelResult, and GetState returns per-channel state on FPubnubGetStateResult. Heartbeat and HeartbeatAsync are removed, along with the user id and heartbeat fields on FPubnubSetStateSettings. BREAKING CHANGE

refactor(config): Require keys at client creation

CreatePubnubClient requires PublishKey, SubscribeKey, and UserID on FPubnubConfig, and empty keys are rejected. SecretKey and Origin apply only at creation, SetSecretKey is removed, and SetUserID and SetOrigin return FPubnubOperationResult. BREAKING CHANGE

refactor(subsystem): Remove the deprecated subsystem API

UPubnubSettings and the deprecated UPubnubSubsystem listeners and operation calls are removed. Client access stays on CreatePubnubClient, GetPubnubClient, and DestroyPubnubClient. BREAKING CHANGE

refactor(subscribe): Return subscribe success when the subscription is registered

SubscribeToChannel and SubscribeToGroup succeed when the subscription is registered, and the connection outcome arrives on OnSubscriptionStatusChanged. FPubnubSubscriptionCursor::Region is ignored, and FPubnubMessageData::region is left at 0. BREAKING CHANGE

@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@jakub-grzesiowski jakub-grzesiowski left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@KGronek-Pubnub KGronek-Pubnub changed the title Migration from C-Core to C base. Migrate the Unreal SDK from C-Core to the C SDK. Nov 3, 2026
@KGronek-Pubnub

Copy link
Copy Markdown
Contributor Author

@pubnub-release-bot release as 3.0.0

@KGronek-Pubnub
KGronek-Pubnub merged commit 6391423 into master Nov 4, 2026
3 checks passed
@KGronek-Pubnub
KGronek-Pubnub deleted the New-C-Core-Migration branch November 4, 2026 07:30
@pubnub-release-bot

Copy link
Copy Markdown

🚀 Release successfully completed 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants