All Versions
34
Latest Version
Avg Release Cycle
53 days
Latest Release
625 days ago

Changelog History
Page 4

  • v1.0.13 Changes

    November 09, 2018

    v1.0.13 / 2018-11-09

    ๐ŸŽ iOS / macOS

    What's new

    • ๐Ÿ‘ Special chars like / are supported in MMKV now. The file name of MMKV with special mmapID will be encoded with md5 and stored in seperate folder.
    • Add callback for MMKV error handling. You can make MMKV to recover instead of discard when crc32 check fail happens.
    • โž• Add trim and close operation. Generally speaking they are not necessary in daily usage. Use them if you worry about disk / memory / fd usage.
    • ๐Ÿ›  Fix an issue that MMKV's file size might expand unexpectly large in some case.

    Known Issues

    • ๐Ÿšš Setting nil value to reset a key will be ignored. Use remove instead.

    Android

    What's new

    • Add static linked of libc++ to trim AAR size. Use it when there's no other lib in your App embeds libc++_shared.so. Or if you already have an older version of libc++_shared.so that doesn't agree with MMKV.
      โž• Add implementation 'com.tencent:mmkv-static:1.0.13' to your App's gradle setting to integrate.
    • ๐Ÿ‘ Special chars like / are supported in MMKV now. The file name of MMKV with special mmapID will be encoded with md5 and stored in seperate folder.
    • Add callback for MMKV error handling. You can make MMKV to recover instead of discard when crc32 check fail happens.
    • โž• Add trim and close operation. Generally speaking they are not necessary in daily usage. Use them if you worry about disk / memory / fd usage.

    Known Issues

    • ๐Ÿšš Setting null value to reset a key will be ignored. Use remove instead.
    • MMKV's file size might expand unexpectly large in some case.
  • v1.0.12 Changes

    October 18, 2018

    ๐ŸŽ iOS / macOS

    What's new

    • ๐Ÿ›  Fix mlock fail on some devices
    • ๐Ÿ›  Fix a performance issue caused by mistakenly merge of test code
    • ๐ŸŽ Fix CocoaPods integration error of macOS

    Android / 2018-10-24

    What's new

    • ๐Ÿ–จ Fix remove() causing data inconsistency on MULTI_PROCESS_MODE
  • v1.0.11 Changes

    October 12, 2018

    ๐ŸŽ iOS / macOS

    What's new

    • ๐ŸŽ Port to macOS
    • Support NSCoding
      You can store NSArray/NSDictionary or any object what implements <NSCoding> protocol.
    • Redesign Swift interface
    • ๐ŸŽ Some performance improvement

    Known Issues

    • MMKV use mmapID as its filename, so don't contain any / inside mmapID.
    • Storing a value of type A and getting by type B may not work. MMKV does type erasure while storing values. That means it's hard for MMKV to do value-type-checking, if not impossible.

    Android

    What's new

    • ๐ŸŽ Some performance improvement

    Known Issues

    • Getting an MMKV instance with mmapID that contains / may fail.
      MMKV uses mmapID as its filename, so don't contain any / inside mmapID.
    • Storing a value of type A and getting by type B may not work.
      MMKV does type erasure while storing values. That means it's hard for MMKV to do value-type-checking, if not impossible.
    • ๐Ÿ‘ registerOnSharedPreferenceChangeListener not supported.
      This is intended. We believe doing data-change-listener inside a storage framework smells really bad to us. We suggest using something like event-bus to notify any interesting clients.
  • v1.0.10 Changes

    September 21, 2018
    • Initial Release