Skip to content

1.7.0

Compare
Choose a tag to compare
@chayelheinsen chayelheinsen released this 13 Nov 14:21
· 3 commits to main since this release
8ac918f
  • Swift 6 support
  • Adds constraints for meta fields to match what the CDAPI actually accepts, i.e flat dictionary, no arrays or nested dictionaries, max of 20 items.
  • Adds a new api to namespace events for better autocomplete.
    • Events are now available under MIClient.events, e.g MIClient.events.productAdded(properties: ...)
    • The old apis are still available, but we recommend using the apis namespaced under events as it's clearer to what these methods actually are.
  • More logging for behavior events with bad data, e.g logs error when a required value is blank.
  • Deprecates identifyUser - api is no longer needed and it was confusing.
    • identifyUser was used to attempt to associate events made as a guest user when becoming a known user.
    • The SDK will now internally perform this automatically when needed.
    • Please remove any usages as this api will be removed in an upcoming update.