fix(deps): update com.tencent:mmkv to v2 - #118
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
renovate
Bot
force-pushed
the
renovate/com.tencent-mmkv-2.x
branch
2 times, most recently
from
November 12, 2024 20:26
24ab897 to
98cea57
Compare
renovate
Bot
force-pushed
the
renovate/com.tencent-mmkv-2.x
branch
from
December 2, 2024 11:47
98cea57 to
812bc7c
Compare
renovate
Bot
force-pushed
the
renovate/com.tencent-mmkv-2.x
branch
2 times, most recently
from
January 2, 2025 21:57
9afacef to
9a1bc82
Compare
renovate
Bot
force-pushed
the
renovate/com.tencent-mmkv-2.x
branch
2 times, most recently
from
January 30, 2025 15:03
847cede to
505cbf1
Compare
renovate
Bot
force-pushed
the
renovate/com.tencent-mmkv-2.x
branch
from
February 18, 2025 10:31
505cbf1 to
b54d4ac
Compare
renovate
Bot
force-pushed
the
renovate/com.tencent-mmkv-2.x
branch
2 times, most recently
from
April 25, 2025 08:50
ceb5fdd to
ed04171
Compare
renovate
Bot
force-pushed
the
renovate/com.tencent-mmkv-2.x
branch
2 times, most recently
from
May 14, 2025 23:31
b52a5e7 to
288d21c
Compare
renovate
Bot
force-pushed
the
renovate/com.tencent-mmkv-2.x
branch
from
July 8, 2025 14:47
288d21c to
b0c9f27
Compare
renovate
Bot
force-pushed
the
renovate/com.tencent-mmkv-2.x
branch
from
August 10, 2025 12:28
b0c9f27 to
b23674f
Compare
renovate
Bot
force-pushed
the
renovate/com.tencent-mmkv-2.x
branch
from
August 20, 2025 16:58
b23674f to
dc6e4b1
Compare
renovate
Bot
force-pushed
the
renovate/com.tencent-mmkv-2.x
branch
from
September 8, 2025 13:12
dc6e4b1 to
6c0d198
Compare
renovate
Bot
force-pushed
the
renovate/com.tencent-mmkv-2.x
branch
from
September 25, 2025 10:12
6c0d198 to
f93c122
Compare
renovate
Bot
force-pushed
the
renovate/com.tencent-mmkv-2.x
branch
from
October 9, 2025 10:44
f93c122 to
4209a2e
Compare
renovate
Bot
force-pushed
the
renovate/com.tencent-mmkv-2.x
branch
from
November 10, 2025 23:45
4209a2e to
e2dc32f
Compare
renovate
Bot
force-pushed
the
renovate/com.tencent-mmkv-2.x
branch
from
November 18, 2025 19:05
e2dc32f to
1b062d3
Compare
renovate
Bot
force-pushed
the
renovate/com.tencent-mmkv-2.x
branch
2 times, most recently
from
December 3, 2025 21:40
61495a7 to
eb597ba
Compare
renovate
Bot
force-pushed
the
renovate/com.tencent-mmkv-2.x
branch
from
December 30, 2025 12:51
eb597ba to
aa5d328
Compare
renovate
Bot
force-pushed
the
renovate/com.tencent-mmkv-2.x
branch
from
February 2, 2026 15:02
aa5d328 to
e4c0641
Compare
renovate
Bot
force-pushed
the
renovate/com.tencent-mmkv-2.x
branch
from
February 12, 2026 18:16
e4c0641 to
f88827c
Compare
renovate
Bot
force-pushed
the
renovate/com.tencent-mmkv-2.x
branch
from
February 27, 2026 13:41
f88827c to
828a4c6
Compare
renovate
Bot
force-pushed
the
renovate/com.tencent-mmkv-2.x
branch
2 times, most recently
from
March 19, 2026 08:58
e5da615 to
6996d06
Compare
renovate
Bot
force-pushed
the
renovate/com.tencent-mmkv-2.x
branch
from
May 22, 2026 04:01
6996d06 to
e6faab9
Compare
renovate
Bot
force-pushed
the
renovate/com.tencent-mmkv-2.x
branch
from
July 16, 2026 17:02
e6faab9 to
54dc2fa
Compare
renovate
Bot
force-pushed
the
renovate/com.tencent-mmkv-2.x
branch
from
July 30, 2026 10:48
54dc2fa to
b039b18
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.3.16→2.4.1Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
Tencent/MMKV (com.tencent:mmkv)
v2.4.1This 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.
Changes for All Platforms
close()semantics.uint16_tholder limit could overflow key/value metadata and corrupt subsequent reads.expireDurationoverflow bug (#1665). Very large expiration durations are now clamped safely instead of wrapping around.-Wmissing-braceswarnings 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.Kotlin Multiplatform
com.tencent:mmkv-kmp:2.4.1. The API and artifact layout may change in a future release.iosArm64,iosSimulatorArm64, andiosX64.com.tencent:mmkv:2.4.1AAR. iOS embeds MMKV Core through the C bridge in the published native KLIBs.close()semantics.Android
ANDROID_ABIis defined, including local Android artifact publication builds.iOS/macOS
MMKVAppExtension-static.+[MMKV unregisterHandler]as the correctly spelled handler-unregistration API. The previous typo'd+unregiserHandlerremains available for source/binary compatibility and forwards to the new API.HarmonyOS NEXT
close()semantics.@tencent/mmkvpackage metadata and documentation for v2.4.1.Flutter
close()semantics.POSIX
Win32
-Wmissing-braceswarnings in Win32 file handling code.v2.4.0This release introduces a unified
MMKVHandlercallback interface across all platforms, replacing scattered per-callback registration with a single, OO-style handler. It also adds theMMKVConfigall-in-one configuration and several bug fixes.Changes for All Platforms
MMKVHandlerinterface. All callbacks (log redirecting, error handling, content change notification, content loaded notification) are now grouped in a single handler registered viaregisterHandler(). The old per-callbackregisterLogHandler()/registerErrorHandler()/registerContentChangeHandler()/registerContentLoadedHandler()APIs have been removed.onMMKVContentLoadSuccessfullycallback, triggered when an MMKV file is loaded/mapped successfully.MMKVConfigfor 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.deletefile failure on corrupted files.m_filenot valid forisDiskOfMMAPFileCorrupted().absolutePath()calls as much as possible.Android
MMKVContentChangeNotificationintoMMKVHandler. The oldMMKVContentChangeNotificationinterface is now@Deprecated.fcntl()OFD lock failure on ashmem (#1637).expectedCapacity.iOS/macOS
getBytes()withstring_viewkey for ObjC++.NameSpaceinstance.tryAtomicRename().HarmonyOS NEXT
expectedCapacity.Flutter
MMKVHandlercallback interface.Win32
v2.3.0This release is a breaking change and introduces AES-256 encryption for enhanced security.
All Platforms
reKey()method with the new key and set theaes256parameter totrue, e.g.,reKey(newKey, aes256=true). After this, you should use the new key for all future loads of this instance.ReadOnlymode.weakly_canonical()exception caused by an invalid file path.iOS/macOS/watchOS
armv7kto the "Excluded Architectures" setting for your Apple Watch App or Extension target.armv7ksupport.relativePath:parameter. If you were using these methods, please migrate to those using therootPath:parameter instead.POSIX
armv7support.v2.2.4This is a hotfix release mainly for iOS/macOS CocoaPods users.
Changes for All platforms
iOS/macOS
v2.2.3This is a feature release that brings full desktop support to Flutter. It also includes key bug fixes and enhancements for Android and other platforms.
Flutter
Android
MMKVHandler.getNativeLogHandler()to allow native handling of MMKV logs from C++ code, improving performance.Long.MAX_VALUEwas misinterpreted as a negative number.iOS/macOS
MMKV_APPLEflag was not set.Windows
v2.2.2This is a hot fix version mainly for Android/Linux platforms. It’s highly recommended for v2.2.0~v2.2.1 users.
Changes for All platforms
Android
POSIX
iOS/macOS
Win32
v2.2.1Changes for All platforms
importFrom().Android
v2.2.0We introduce the Mayfly FD (short-lived file descriptor) enhancement, reducing MMKV's fd footprint by half and more. For a single-process mode MMKV instance, the fd footprint is reduced to zero (except Android/OHOS, details below). For a multi-process mode MMKV instance, the fd footprint is reduced by half, for we still need a long-lived fd to inter-process lock the shared memory.
Changes for All platforms
checkExist()to check if a MMKV instance exists on disk.Android
HarmonyOS NEXT
checkProcessMode(), it’s never been used.iOS
+mmkvGroupPathto get the group folder for MMKV multi-process storage.Flutter
isFileValid().groupPath()on iOS.checkContentChangedByOuterProcess()not working bug.v2.1.0Happy Chinese New Year!
This is a breaking change version for the Android/OHOS platform. Read the change log bellow and upgrade carefully.
Changes for All platforms
NameSpacefeature that easily supports customizing a root directory.ReadOnlymode.Android
NameSpacefeature. Starting from v2.1.0, MMKV will try to migrate them back to normal when possible.It's highly recommended that you upgrade to v2.0.2/v1.3.11 first with forward support of normal MMKV in a custom directory.
F_OFD_SETLKinstead ofF_SETLK.HarmonyOS NEXT
NameSpacefeature. Starting from v2.1.0, MMKV will try to migrate them back to normal when possible.It's highly recommended that you upgrade to v2.0.2/v1.3.11 first with forward support of normal MMKV in a custom directory.
F_OFD_SETLKinstead ofF_SETLK.iOS/macOS
NameSpacefunctionality.mlock()protection given that we are iOS 13+.Flutter
Win32
POSIX
F_OFD_SETLKinstead ofF_SETLK.Golang
v2.0.2Mary holiday and a happy new year!
Changes for All platforms
Android
UnsupportedArchitectureException) before trying to load native lib.HarmonyOS NEXT
Win32
mmap()onftruncate()/zeroFillFile()failure iff we have a valid file mapping before.v2.0.1This is a hotfix release.
Changes for All platforms
HarmonyOS NEXT
decodeStringSet()/decodeNumberSet/decodeBoolSetor decodingTypedArray.Flutter
mmkv_ohosplugin is upgraded, themmkvplugin stays the same.POSIX
std::vector<T>orstd::span<T>values.v2.0.0This release is a breaking change release, especially for Android.
Changes for All platforms
MMKV_DISABLE_CRYPTis defined and MMKV is built by source in DEBUG.Android
iOS / macOS
Flutter
HarmonyOS NEXT
Win32
random()withrand()to fix a compile error.Configuration
📅 Schedule: (in timezone Asia/Shanghai)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.