Fix a bug that might cause MMKV to become dead-locked for other threads after decoding container-type values. The affected platforms and value types are listed below. So don't be surprised if you find no update on the unaffected platforms.
HarmonyOS NEXT
Fix a bug that MMKV might become dead-locked for other threads after decodeStringSet() / decodeNumberSet / decodeBoolSet or decoding TypedArray.
Flutter
Fix the bug on HarmonyOS NEXT listed above. A version named v2.0.1 was added to fix the Android version conflict between the LTS series & v2.0. Thanks to the federated plugins framework, only the underlying mmkv_ohos plugin is upgraded, the mmkv plugin stays the same.
POSIX
Fix a bug that MMKV might become dead-locked for other threads after decoding std::vector<T> or std::span<T> values.
v2.0.0 / 2024-10-21
This release is a breaking change release, especially for Android.
Changes for All platforms
Add readonly mode support.
Fix a compile error when MMKV_DISABLE_CRYPT is defined and MMKV is built by source in DEBUG.
Android
Support 16K page size for Android 15.
Drop the support of 32-bit ABI.
Bump the mini SDK level to API 23.
iOS / macOS
Add Mac Catalyst support
Flutter
Add add log/error/content-change callback.
HarmonyOS NEXT
Add add log/error/content-change callback.
Support obfuscation. For the time being, you will have to manually copy the content of MMKV's consumer-rules.txt into your App's obfuscation-rules.txt.
Win32
Replace random() with rand() to fix a compile error.
v1.3.11 / 2024-11-12
This is a Long Term Support (LTS) release.
Changes for All platforms
Fix a bug that might cause MMKV to become dead-locked for other threads after decoding container-type values. The affected platforms and value types are listed below. So don't be surprised if you find no update on the unaffected platforms.
HarmonyOS NEXT
Fix a bug that MMKV might become dead-locked for other threads after decodeStringSet() / decodeNumberSet / decodeBoolSet or decoding TypedArray.
Flutter
Fix the bug on HarmonyOS NEXT listed above. A temp version named v1.3.10 was added to fix the Android version conflict between the LTS series & v2.0. To avoid potential confusion, bump both versions to v1.3.11.
Fix a bug that might cause MMKV to become dead-locked for other threads after decoding container-type values. The affected platforms and value types are listed below. So don't be surprised if you find no update on the unaffected platforms.
HarmonyOS NEXT
Fix a bug that MMKV might become dead-locked for other threads after decodeStringSet() / decodeNumberSet / decodeBoolSet or decoding TypedArray.
Flutter
Fix the bug on HarmonyOS NEXT listed above. A version named v2.0.1 was added to fix the Android version conflict between the LTS series & v2.0. Thanks to the federated plugins framework, only the underlying mmkv_ohos plugin is upgraded, the mmkv plugin stays the same.
POSIX
Fix a bug that MMKV might become dead-locked for other threads after decoding std::vector<T> or std::span<T> values.
v2.0.0 / 2024-10-21
This release is a breaking change release, especially for Android.
Changes for All platforms
Add readonly mode support.
Fix a compile error when MMKV_DISABLE_CRYPT is defined and MMKV is built by source in DEBUG.
Android
Support 16K page size for Android 15.
Drop the support of 32-bit ABI.
Bump the mini SDK level to API 23.
iOS / macOS
Add Mac Catalyst support
Flutter
Add add log/error/content-change callback.
HarmonyOS NEXT
Add add log/error/content-change callback.
Support obfuscation. For the time being, you will have to manually copy the content of MMKV's consumer-rules.txt into your App's obfuscation-rules.txt.
Win32
Replace random() with rand() to fix a compile error.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps com.tencent:mmkv from 1.3.9 to 2.0.1.
Release notes
Sourced from com.tencent:mmkv's releases.
... (truncated)
Changelog
Sourced from com.tencent:mmkv's changelog.
Commits
f08b3ba
Merge pull request #1431 from Tencent/dev90516e3
prepare for v2.0.1f0bf5a9
update flutter ohos examplef4a68c1
preserve debug symbols from MMKV native libe5ca354
fix typo in shared_unlock() #14281ffb3d9
Merge pull request #1420 from emmanuel-ferdman/mastera4163a4
Update Flutter changelog locationdef8e8a
fix Android/OHOS init log not printing rootPath bug0eb915a
Merge pull request #1412 from Tencent/dev617aadd
Fix breaking changes on flutter platform interface package #1410Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show