Skip to content

Releases: pubnub/swift

8.2.4

10 Jan 12:27
2e3e028
Compare
Choose a tag to compare

January 10 2025

Fixed

  • Fix the issue of passing an invalid value for the storeTTL parameter in the KMP layer (internal use).
  • Handle shouldCompress parameter in the KMP layer (internal use).

8.2.3

03 Jan 12:03
4abf87c
Compare
Choose a tag to compare

January 03 2025

Added

  • Handle all possible values for the include field in the KMP layer (internal usage).

8.2.2

11 Dec 20:58
771973e
Compare
Choose a tag to compare

December 11 2024

Fixed

  • Fix excessive memory usage in the high-volume messages use case.
  • Add missing customMessageType in PubNubFileEvent.

8.2.1

09 Dec 14:06
4ff9421
Compare
Choose a tag to compare

December 09 2024

Added

  • Add support forcustomMessageType in the KMP layer (internal usage).

8.2.0

04 Dec 12:01
7b131fb
Compare
Choose a tag to compare

December 04 2024

Added

  • Add the type field in PubNubMembershipMetadata
  • Deprecate the methods of AppContext that contain uuid or uuids in their signatures, introduce new versions.
  • Deprecate the methods of AppContext that contain include parameter of the Bool type, introduce new versions.
  • Deprecate remove(channel:custom:completion:), introduce new version.
  • Deprecate uuidMetadataId and uuid in PubNubMembershipMetadata, introduce new properties.
  • Deprecate PubNub.IncludeFields, introduce PubNub.ChannelIncludeFields and PubNub.UserIncludeFields instead
  • Replace PubNubUUIDMetadata with PubNubUserMetadata.
  • Replace PubNubUUIDMetadataBase with PubNubUserMetadataBase.
  • 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 with PubNubUserMetadataChangeset.
  • Add an alias for backward compatibility with the customer code using PubNubUUIDMetadataChangeset.

8.1.0

18 Nov 11:25
022aa54
Compare
Choose a tag to compare

November 18 2024

Added

  • Add custom message type support for the following APIs: publish, signal, share file, subscribe, and history.

8.0.1

17 Oct 13:29
be18a8c
Compare
Choose a tag to compare

October 17 2024

Added

  • Add getToken() method for KMPPubNub (internal usage).

8.0.0

23 Sep 14:26
7ec9708
Compare
Choose a tag to compare

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 deprecated connecting and reconnecting cases.
  • Remove previously deprecated .legacyExponential(base, scale, maxDelay) reconnection policy.
  • Added additional fields to fetch in PubNub.MembershipInclude and PubNub.MemberInclude.
  • Set default AutomaticRetry for retrying subscribe requests with exponential reconnection policy.
  • Add support for attaching additional listeners to Subscription and SubscriptionSet.

Fixed

  • Ensure that subscriptions are always internally stored as weak references.

7.3.3

13 Sep 10:51
a72d552
Compare
Choose a tag to compare

September 13 2024

Fixed

  • Added synchronized access inside WeakSet and for global subscriptions. Fixed the following issues reported by @cmriboldi: #186.

7.3.2

25 Jul 05:12
4952f41
Compare
Choose a tag to compare

July 25 2024

Fixed

  • Add missing public initializers for EncryptedData and EncryptedStreamData. Fixed the following issues reported by @OwenHarper1: #182.