Mixpanel Swift Versions Save

Official iOS (Swift) Tracking Library for Mixpanel Analytics

v4.1.2

1 year ago

v4.1.2 (2023-05-17)

Fixes

  • Replace deprecated archiving methods #603
  • Fix Xcode 14.3 heterogeneous collection warnings #602

v4.1.1

1 year ago

v4.1.1 (2023-04-28)

Enhancements

  • create indexes and enable WAL journal_mode #600

v4.1.0

1 year ago

v4.1.0 (2023-03-23)

NOTE:

Starting from this version, we have added a new optional boolean parameter performFullFlush to the flush() method. Default to false, a partial flush will be executed for reducing memory footprint. The updated flush() is as follows:

    /*
    - parameter performFullFlush: A optional boolean value indicating whether a full flush should be performed. If `true`,
    - a full flush will be triggered, sending all events to the server. Default to `false`, a partial flush will be executed 
    - for reducing memory footprint.
    - parameter completion: an optional completion handler for when the flush has completed.
    */
    public func flush(performFullFlush: Bool = false, completion: (() -> Void)? = nil) 

Enhancements

  • Set the number of events per flush to 1,000 to reduce memory footprint #596
  • Fix CI pod lint: no longer need to exclude watchos #593

v4.0.6

1 year ago

v4.0.6 (2023-03-15)

Enhancements

  • bump the versions to ios11, tvOS11, macOS1013 and watchOS4 #592

v4.0.5

1 year ago

v4.0.5 (2023-03-01)

NOTE:

  • From this version we will prefix randomly generated device-specific distinct_ids with "$device:". The prefix is applied the next time a new random ID is generated, any IDs generated by previous SDK versions and persisted on the device will continue to be used as-is until reset is called to generate a new ID. This does not change the value sent for the $device_id property, which will continue to be the randomly-generated ID without a prefix. Mixpanel's $identify endpoint has been updated to accept UUIDs with this prefix to coordinate with this change.

Enhancements

  • Various Community PRs #589
  • Identity v3 changes for swift sdk #586
  • Delete .travis.yml #573

Fixes

  • Access the timedEvents property inside of a readWriteLock. #588
  • Disable watchOS builds in CI #587
  • Check flush interval > 0 inside the dispatch block #583
  • SwiftUI preview fix #581
  • Setting explicit autorelease frequency #579
  • Update iOS.yml #577
  • bump podspec deployment targets #575

v4.0.4

1 year ago

v4.0.4 (2022-11-02)

Enhancements

  • Fix broken link to the advanced guide on README #567
  • Fix typos in log #562

Fixes

  • Fix Xcode 14 warnings #568
  • Only use alphanumerics in MPDB token strings #566

v4.0.3

1 year ago

v4.0.3 (2022-09-19)

Enhancements

  • Mark final attribute in MixpanelManager #553

Fixes

  • strip whitespace in MPDB token #561

v4.0.2

1 year ago

v4.0.2 (2022-09-13)

Fixes

  • always use serverURL #560

v4.0.1

1 year ago

v4.0.1 (2022-09-09)

Fixes

  • dont initialize AutomaticEvents if trackAutomaticEvents is false #559

v4.0.0

1 year ago

v4.0.0 (2022-08-16)

BREAKING CHANGE:

This major release removes all remaining calls to Mixpanel's /decide API endpoint. The main effect of this is that the SDK no longer fetches the remote status of your project's "Automatically collect common mobile events" setting. From this version forward, automatic event tracking can only be controlled by the, now required, parameter trackAutomaticEvents. Upon upgrading, existing implementations will need to add this parameter to their Mixpanel initializer calls.

Enhancements

  • Remove Decide and make trackAutomaticEvents required parameter #545