Releases: pubnub/swift
Releases · pubnub/swift
8.2.3
January 03 2025
Added
- Handle all possible values for the
includefield 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
customMessageTypeinPubNubFileEvent.
8.2.1
December 09 2024
Added
- Add support for
customMessageTypein the KMP layer (internal usage).
8.2.0
December 04 2024
Added
- Add the
typefield inPubNubMembershipMetadata - Deprecate the methods of AppContext that contain
uuidoruuidsin their signatures, introduce new versions. - Deprecate the methods of AppContext that contain
includeparameter of theBooltype, introduce new versions. - Deprecate
remove(channel:custom:completion:), introduce new version. - Deprecate
uuidMetadataIdanduuidinPubNubMembershipMetadata, introduce new properties. - Deprecate
PubNub.IncludeFields, introducePubNub.ChannelIncludeFieldsandPubNub.UserIncludeFieldsinstead - Replace
PubNubUUIDMetadatawithPubNubUserMetadata. - Replace
PubNubUUIDMetadataBasewithPubNubUserMetadataBase. - 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
PubNubUUIDMetadataChangesetwithPubNubUserMetadataChangeset. - 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
PubNubSDKdue to compiler error when a public type shares the same name as the module. - Add new
subscriptionChanged(channels, groups)connection status and remove previously deprecatedconnectingandreconnectingcases. - Remove previously deprecated
.legacyExponential(base, scale, maxDelay)reconnection policy. - Added additional fields to fetch in
PubNub.MembershipIncludeandPubNub.MemberInclude. - Set default
AutomaticRetryfor retrying subscribe requests with exponential reconnection policy. - Add support for attaching additional listeners to
SubscriptionandSubscriptionSet.
Fixed
- Ensure that subscriptions are always internally stored as weak references.
7.3.3
September 13 2024
Fixed
- Added synchronized access inside
WeakSetand for global subscriptions. Fixed the following issues reported by @cmriboldi: #186.
7.3.2
7.3.1
June 18 2024
Fixed
- Calling .leave request in missing cases.