Releases: pubnub/swift
Releases · pubnub/swift
8.0.1
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.
7.3.2
7.3.1
June 18 2024
Fixed
- Calling .leave request in missing cases.
7.3.0
June 12 2024
Added
- Adjusting to FCM HTTP v1 API.
7.2.1
May 09 2024
Added
- Adding support for visionOS.
Fixed
- Updating EventEngine dependencies after adding a new listener.
7.2.0
April 16 2024
Added
- Adding PrivacyInfo.xcprivacy.
- Moving retry logic away from EventEngine.
Modified
- Removing SubscribeSessionFactory with SubscriptionConfiguration.
- Making SubscriptionSession class an internal.
7.1.0
March 18 2024
Fixed
- Preventing disconnection when subscribing via
PubNub
to a channel that was already subscribed to. - Fixes for computing a hash value in
CryptoModule
.
7.0.0
February 21 2024
Added
- Adding the new Listeners API.
- Enabling EventEngine by default.