All Versions
31
Latest Version
Avg Release Cycle
42 days
Latest Release
-

Changelog History
Page 1

  • v1.2.11 Changes

    • 🐛 Bug Fixed: When building on iOS, occasionally it will fail on symbol conflict with other libs. We have renamed all public native methods to avoid potential conflict.
    • Keep up with MMKV native lib v1.2.10.
  • v1.2.10 Changes

    June 25, 2021

    This version is mainly for Android & Flutter.

    Android

    • 📚 Complete JavaDoc documentation for all public methods, classes, and interfaces. From now on, you can find the API reference online.
    • Drop the support of armeabi arch. Due to some local build cache mistake, the last version (v1.2.9) of MMKV still has an unstripped armeabi arch inside. This is fixed.
    • 🔄 Change MMKV.mmkvWithID() from returning null to throwing exceptions on any error.
    • ➕ Add MMKV.actualSize() to get the actual used size of the file.
    • 🗄 Mark MMKV.commit() & MMKV.apply() as deprecated, to avoid some misuse after migration from SharedPreferences to MMKV.
  • v1.2.9 Changes

    May 26, 2021

    This version is mainly for Android & Flutter.

    Android

    • Drop the support of armeabi arch. As has been mention in the last release, to avoid some crashes on the old NDK (r16b), and make the most of a more stable libc++, we have decided to upgrade MMKV's building NDK in this release. That means we can't support armeabi anymore. Those who still in need of armeabi can build from sources by following the instruction in the wiki.

    We really appreciate your understanding.

  • v1.2.8 Changes

    May 06, 2021

    This will be the last version that supports armeabi arch on Android. To avoid some crashes on the old NDK (r16b), and make the most of a more stable libc++, we have decided to upgrade MMKV's building NDK in the next release. That means we can't support armeabi anymore.

    We really appreciate your understanding.

    Android

    • Migrate MMKV to Maven Central Repository. For versions older than v1.2.7 (including), they are still available on JCenter.
    • ➕ Add MMKV.disableProcessModeChecker(). There are some native crash reports due to the process mode checker. You can disable it manually.
    • 🚀 For the same reason described above (native crashed), MMKV will now turn off the process mode checker on a non-debuggable app (aka, a release build).
    • For MMKV to detect whether the app is debuggable or not, when calling MMKV.initialize() to customize the root directory, a context parameter is required now.

    🍎 iOS / macOS

    • ⬆️ Min iOS support has been upgrade to iOS 9.
    • 👌 Support building by Xcode 12.
  • v1.2.7 Changes

    December 25, 2020

    Happy holidays everyone!

    🔄 Changes for All platforms

    • 🛠 Fix a bug when calling sync() with false won't do msync() asynchronous and won't return immediately.

    Android

    • 🛠 Fix an null pointer exception when calling putStringSet() with null.
    • Complete review of all MMKV methods about Java nullable/nonnull annotation.
    • ➕ Add API for MMKV.initialize() with both Context and LibLoader parammeters.

    Flutter

    • 🛠 Fix a crash on the iOS simulator when accessing the default MMKV instance.
    • 🛠 Fix a bug on iOS when initing the default MMKV instance with a crypt key, the instance is still in plaintext.

    Golang

    ➕ Add golang for POSIX platforms. Most things actually work!. Check out the wiki for information.

  • v1.2.6 Changes

    November 27, 2020

    v1.2.6 / 2020-11-27

    🔄 Changes for All platforms

    • 🛠 Fix a file corruption when calling reKey() after removeKeys() has just been called.

    Android

    • Fix compile error when MMKV_DISABLE_CRYPT is set.
    • Add a preprocess directive MMKV_DISABLE_FLUTTER to disable flutter plugin features. If you integrate MMKV by source code, and if you are pretty sure the flutter plugin is not needed, you can turn that off to save some binary size.

    Flutter

    Add MMKV support for Flutter on iOS & Android platform. Most things actually work!
    Check out the wiki for more info.

  • v1.2.5 Changes

    November 13, 2020

    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.
  • v1.2.4 Changes

    October 21, 2020

    v1.2.4 / 2020-10-21

    🚑 This is a hotfix mainly for iOS.

    🍎 iOS / macOS

    • 🛠 Fix a decode error of encrypted MMKV on some devices.

    Android

    • 🛠 Fix a potential issue on checking rootDir in multi-thread while MMKV initialization is not finished.
  • v1.2.3 Changes

    October 16, 2020

    v1.2.3 / 2020-10-16

    🔄 Changes for All platforms

    • 🛠 Fix a potential crash on 32-bit devices due to pointer alignment issue.
    • 🛠 Fix a decode error of encrypted MMKV on some 32-bit devices.

    🍎 iOS / macOS

    • 🛠 Fix a potential crc32() crash on some kind of arm64 devices.
    • 🛠 Fix a potential crash after calling +[MMKV onAppTerminate].

    Android

    • 🛠 Fix a rare lock conflict on checkProcessMode().

    POSIX

    Add MMKV support for Python on POSIX platforms. Most things actually work!
    Check out the wiki for more info.

  • v1.2.2 Changes

    July 30, 2020

    v1.2.2 / 2020-07-30

    🍎 iOS / macOS

    • ➕ Add auto clean up feature. Call +[MMKV enableAutoCleanUp:] to enable auto cleanup MMKV instances that not been accessed recently.
    • 🛠 Fix a potential crash on devices under iPhone X.

    Android

    • 🖨 Add multi-process mode check. After so many issues had been created due to mistakenly using MMKV in multi-process mode in Android, this check is added. If an MMKV instance is accessed with SINGLE_PROCESS_MODE in multi-process, an IllegalArgumentException will be thrown.

    POSIX

    • ➕ Add support for armv7 & arm64 arch on Linux.