Releases: mParticle/mparticle-web-sdk
Version 1.12.0
In this release, we added the ability to retrieve deviceIds via mParticle.getDeviceId()
.
Version 1.10.0
In this release, we added a config option for useCookieStorage
to allow use of either cookies or localStorage. If localStorage is not available, the SDK reverts to cookie use. By default, localStorage is used.
We also fixed a bug where the forwarders
array included a mix of both initialized and uninitialized forwarders. Now it only contains initialized forwarders, which is defined as when the forwarder and the mParticle instance are both in the same environment (both in production, or both in development).
Version 1.9.0
In this release, we fixed bug where calling setUserIdentity with a similar type added another identity, rather than replacing the identity. Relatedly, calling setUserIdentity with id = null
and a valid type
will remove the user identity of that type.
Additionally, we now include CommerceEvent custom attributions in expansion. Rather than referencing the original commerce event (which would mutate it), this makes a copy.