Releases: pubnub/swift
Releases · pubnub/swift
8.2.4
8.2.3
January 03 2025
Added
- Handle all possible values for the
include
field in the KMP layer (internal usage).
8.2.2
December 11 2024
Fixed
- Fix excessive memory usage in the high-volume messages use case.
- Add missing
customMessageType
inPubNubFileEvent
.
8.2.1
December 09 2024
Added
- Add support for
customMessageType
in the KMP layer (internal usage).
8.2.0
December 04 2024
Added
- Add the
type
field inPubNubMembershipMetadata
- Deprecate the methods of AppContext that contain
uuid
oruuids
in their signatures, introduce new versions. - Deprecate the methods of AppContext that contain
include
parameter of theBool
type, introduce new versions. - Deprecate
remove(channel:custom:completion:)
, introduce new version. - Deprecate
uuidMetadataId
anduuid
inPubNubMembershipMetadata
, introduce new properties. - Deprecate
PubNub.IncludeFields
, introducePubNub.ChannelIncludeFields
andPubNub.UserIncludeFields
instead - Replace
PubNubUUIDMetadata
withPubNubUserMetadata
. - Replace
PubNubUUIDMetadataBase
withPubNubUserMetadataBase
. - Add an alias for backward compatibility with the customer code using
PubNubUUIDMetadata
. - Add an alias for backward compatibility with the customer code using
PubNubUUIDMetadataBase
. - Replace
PubNubUUIDMetadataChangeset
withPubNubUserMetadataChangeset
. - Add an alias for backward compatibility with the customer code using
PubNubUUIDMetadataChangeset
.
8.1.0
November 18 2024
Added
- Add custom message type support for the following APIs: publish, signal, share file, subscribe, and history.
8.0.1
October 17 2024
Added
- Add getToken() method for KMPPubNub (internal usage).
8.0.0
September 23 2024
This version introduces breaking changes. Please visit PubNub 8.0 Migration Guide for detailed information and instructions
Added
- Replace module name with
PubNubSDK
due to compiler error when a public type shares the same name as the module. - Add new
subscriptionChanged(channels, groups)
connection status and remove previously deprecatedconnecting
andreconnecting
cases. - Remove previously deprecated
.legacyExponential(base, scale, maxDelay)
reconnection policy. - Added additional fields to fetch in
PubNub.MembershipInclude
andPubNub.MemberInclude
. - Set default
AutomaticRetry
for retrying subscribe requests with exponential reconnection policy. - Add support for attaching additional listeners to
Subscription
andSubscriptionSet
.
Fixed
- Ensure that subscriptions are always internally stored as weak references.
7.3.3
September 13 2024
Fixed
- Added synchronized access inside
WeakSet
and for global subscriptions. Fixed the following issues reported by @cmriboldi: #186.