NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #1947 most downloaded on pub.dev
Linux platform implementation of MMKV.
Last release 1 months ago
21 Aug 2026
Ships fairly regularly
a new release about every 2 months
Nearly every release is documented
notes for 6 of 6 stable releases
Nothing withdrawn
no release was ever pulled
1 years old
6 releases · first in 2025
One column per month.
This is a hotfix release based on v2.4.1. It adds targeted encrypted-write and backup/restore checks, fixes Kotlin Multiplatform consistency issues, a
This is a hotfix release based on v2.4.1. It adds targeted encrypted-write and backup/restore checks, fixes Kotlin Multiplatform consistency issues, and repairs native package build/link regressions.
.crc.PBUtility.h include its MMBuffer dependency directly.This is a maintenance release based on v2.4.0. It focuses on data-safety fixes, encrypted-file compatibility, packaging/build cleanup, and experimenta
This is a maintenance release based on v2.4.0. It focuses on data-safety fixes, encrypted-file compatibility, packaging/build cleanup, and experimental Kotlin Multiplatform support for Android and iOS.
close() semantics.uint16_t holder limit could overflow key/value metadata and corrupt subsequent reads.expireDuration overflow bug (#1665). Very large expiration durations are now clamped safely instead of wrapping around.-Wmissing-braces warnings in Android, Win32, and POSIX demo code.Core/cbridge) for MMKV Core, with NameSpace support and a pure C demo. The C bridge is also used by the KMP iOS package.com.tencent:mmkv-kmp:2.4.1. The API and artifact layout may change in a future release.iosArm64, iosSimulatorArm64, and iosX64.com.tencent:mmkv:2.4.1 AAR. iOS embeds MMKV Core through the C bridge in the published native KLIBs.close() semantics.ANDROID_ABI is defined, including local Android artifact publication builds.MMKVAppExtension-static.+[MMKV unregisterHandler] as the correctly spelled handler-unregistration API. The previous typo'd +unregiserHandler remains available for source/binary compatibility and forwards to the new API.close() semantics.@tencent/mmkv package metadata and documentation for v2.4.1.close() semantics.-Wmissing-braces warnings in Win32 file handling code.v2.4.0 / 2026-03-18 (Breaking Change)
This release introduces a unified MMKVHandler callback interface across all platforms, replacing scattered per-callback registration with a single, OO-style handler. It also adds the MMKVConfig all-in-one configuration and several bug fixes.
MMKVHandler interface. All callbacks (log redirecting, error handling, content change notification, content loaded notification) are now grouped in a single handler registered via registerHandler(). The old per-callback registerLogHandler() / registerErrorHandler() / registerContentChangeHandler() / registerContentLoadedHandler() APIs have been removed.onMMKVContentLoadSuccessfully callback, triggered when an MMKV file is loaded/mapped successfully.MMKVConfig for all-in-one instance configuration, supporting all options (mode, cryptKey, aes256, expectedCapacity, enableKeyExpire, expiredInSeconds, enableCompareBeforeSet, recover, itemSizeLimit) in a single struct/class.defaultMMKV(config) variant for creating the default instance with full configuration.delete file failure on corrupted files.m_file not valid for isDiskOfMMAPFileCorrupted().absolutePath() calls as much as possible.MMKVContentChangeNotification into MMKVHandler. The old MMKVContentChangeNotification interface is now @Deprecated.fcntl() OFD lock failure on ashmem (#1637).expectedCapacity.getBytes() with string_view key for ObjC++.NameSpace instance.tryAtomicRename().expectedCapacity.MMKVHandler callback interface.v2.3.0 / 2025-12-03 (Breaking Change)
This release is a breaking change and introduces AES-256 encryption for enhanced security.
reKey() method with the new key and set the aes256 parameter to true, e.g., reKey(newKey, aes256=true). After this, you should use the new key for all future loads of this instance.ReadOnly mode.weakly_canonical() exception caused by an invalid file path.armv7k to the "Excluded Architectures" setting for your Apple Watch App or Extension target.armv7k support.relativePath: parameter. If you were using these methods, please migrate to those using the rootPath: parameter instead.armv7 support.This is a hotfix release mainly for iOS/macOS CocoaPods users.
This is a hotfix release mainly for iOS/macOS CocoaPods users.
This is a feature release that brings full desktop support to Flutter . It also includes key bug fixes and enhancements for Android and other platform
This is a feature release that brings full desktop support to Flutter. It also includes key bug fixes and enhancements for Android and other platforms.
MMKVHandler.getNativeLogHandler() to allow native handling of MMKV logs from C++ code, improving performance.Long.MAX_VALUE was misinterpreted as a negative number.MMKV_APPLE flag was not set.Your coding agent can read these notes before it upgrades. Set up the MCP server →