Skip to content

Releases: pubnub/swift

10.0.1

23 Oct 09:41
0676da7

Choose a tag to compare

October 23 2025

Fixed

  • Remove redundant string joining in subscription logging.

10.0.0

21 Oct 21:21
6cc02ba

Choose a tag to compare

October 21 2025

This version introduces breaking changes. Please visit PubNub 10.0 Migration Guide for detailed information and instructions

Added

  • The LogWriter protocol method signature has been refined to accept a LogMessage object representing the logged content. It now also takes a LogMetadata parameter, allowing logging decisions to be made without evaluating the message itself.

Removed

  • Logging methods such as debug, warning, etc, are no longer public. They are now internal as part of the logging encapsulation improvements.

  • The static log and logLog properties have been removed from the PubNub instance. You can now attach a logger instance via the PubNub initializer instead.

Changed

  • The HereNow method now returns a maximum of 1,000 occupants per channel. Previously, it would return all occupants regardless of count. If you have channels with more than 1,000 occupants, you must use pagination to retrieve the complete list.

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).