MMKV v1.2.5 Release Notes

Release Date: 2020-11-13 // over 3 years ago
  • v1.2.5 / 2020-11-13

    ๐Ÿ”Œ This is a pre-version for Flutter. The official Flutter plugin of MMKV will come out soon. Stay Tune!

    ๐ŸŽ iOS / macOS

    • ๐Ÿ›  Fix an assert error of encrypted MMKV when encoding some <NSCoding> objects.
    • ๐Ÿ›  Fix a potential leak when decoding duplicated keys from the file.
    • โž• Add +[MMKV pageSize], +[MMKV version] methods.
    • โž• Add +[MMKV defaultMMKVWithCryptKey:], you can encrypt the default MMKV instance now, just like the Android users who already enjoy this for a long time.
    • ๐Ÿ“‡ Rename -[MMKV getValueSizeForKey:] to -[MMKV getValueSizeForKey: actualSize:] to align with Android interface.

    Android

    • ๐Ÿ›  Fix a potential crash when getting MMKV instances in multi-thread at the same time.
    • โž• Add MMKV.version() method.