Skip to content

Releases: pubnub/swift

9.3.5

16 Oct 11:52
0639f7c

Choose a tag to compare

October 16 2025

Fixed

  • Update underlying string values for PubNub.PushService. This change updates .fcm to return "fcm" instead of "gcm", while the deprecated .gcm continues to return "gcm" for backward compatibility.

9.3.4

15 Sep 11:19
0b253d1

Choose a tag to compare

September 15 2025

Fixed

  • Handle missing limit and next parameters in the listFiles(channel:limit:next:custom:completion:) method.

9.3.3

07 Aug 12:49
2090b6d

Choose a tag to compare

August 07 2025

Fixed

  • APM libraries crash fix: Removed deinit methods that were calling session.invalidateAndCancel() from PresenceEffectFactory and SubscribeEffectFactory to prevent race conditions with Application Performance Monitoring libraries. Session cleanup now happens exclusively in HTTPSession.deinit, which ensures request cancellation before invalidation. This prevents crashes from occurring inside APM libraries when they intercept network operations during session invalidation.

9.3.2

06 Aug 10:30
9ed938b

Choose a tag to compare

August 06 2025

Fixed

  • Implement missing token parsing logic in KMP layer (internal use).

9.3.1

31 Jul 11:59
60e8f3c

Choose a tag to compare

July 31 2025

Fixed

  • Fix the issue with recursive locking introduced in 9.3.0 when disposing a SubscriptionSet.

9.3.0

29 Jul 11:16
1c6a045

Choose a tag to compare

July 29 2025

Added

  • Add the ability to subscribe to presence channels only, without their main counterparts.

This version introduces presence-only subscription support, allowing users to subscribe to presence channels/channel groups without requiring their main channel/channel groups counterparts. Also, the unsubscribe(from:and:) method in a PubNub class has been simplified by removing the presenceOnly: parameter. If you were using presenceOnly: true, pass presence channels or channel groups explicitly as parameters instead.

9.2.3

29 Jul 10:06
1615d3c

Choose a tag to compare

July 29 2025

Fixed

  • Fix WeakBox hash stability.

9.2.2

18 Jul 12:58
c9e6c37

Choose a tag to compare

July 18 2025

Fixed

  • Add a wrapper around the reconnecting method for KMP (internal use).

9.2.1

20 Jun 19:40
d89e340

Choose a tag to compare

June 20 2025

Fixed

  • Add missing heartbeat call when changing channels or channel groups.

9.2.0

15 May 12:03
094d029

Choose a tag to compare

May 15 2025

Added

  • The encryptStream(from:) convenience method in CryptoModule is designed to encrypt a local file. It eliminates the need for the caller to provide an InputStream and its content length - these are handled internally. You only need to pass a local file URL.