@lingol lingol released this Oct 18, 2018

Assets 2

v1.0.12 / 2018-10-18

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

MMKV for Android is the same as v1.0.11.

@lingol lingol released this Oct 12, 2018 · 8 commits to master since this release

Assets 2

v1.0.11 / 2018-10-12

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 a 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.
Sep 21, 2018
Merge pull request #9 from Tencent/dev
Dev