Skip to content

Release v4.0.0.beta.3

Pre-release
Pre-release
Compare
Choose a tag to compare
@zihejia zihejia released this 15 Nov 05:16
· 178 commits to master since this release

Caution: From v4.0.0.beta.3 to v4.1.0, we have a bug that events with ampersand(&) will be rejected by the server. We recommend you update to v4.1.1 or above.

This release is to replace NSKeyedArchiver with SQLite for offline tracking storage. #953 It will:

  • Reduce crashes caused by race conditions for serializing data
  • Greatly improve the performance for intensive tracking needs
  • Fix the memory leaks
  • Be a non-functional change and transparent to all users, the new version will take care of migrating data from the NSKeyedArchiver files to SQLite DBs, no data will be lost.

v4.0.0.beta.3 is in parity with v3.9.1 but without the Messages & Experiments feature support.

On Jan 1, 2022, we’ll remove the Messages & Experiments feature from Mixpanel. For now, if you do not use Mixpanel's Messages & Experiments feature, you can choose to opt into this beta version.

You can use Swift Package Manager to install the beta version:
In Xcode, select File > Swift Packages > Add Package Dependency. Follow the prompts using the URL for this repository and point to branch 4.0.0.beta.