Fix a data corruption bug on an encrypted MMKV with only one key value stored.
Make encryption more resilient from brute force cracking.
Fix a bug that pthread_mutex is not being destroyed correctly.
Android
Use an alternative way to get the process name to avoid potential App review issues.
Upgrade to NDK 26.3.11579264.
Flutter
Add support for HarmonyOS NEXT. In fact, a temp version named v1.3.8 adds this support with the native lib of v1.3.7. To avoid potential confusion, bump both versions to v1.3.9.
v1.3.7 LTS
v1.3.7 / 2024-07-08
Android & Flutter
This Long Term Support (LTS) release primarily reintroduces support for the ARMv7 architecture and lowers the minimum SDK version requirement to 21. Please note that only critical bug fixes will be applied to the 1.3.x series. New features will be introduced in version 2.0 and later, which will discontinue support for 32-bit architectures and raise the minimum SDK version requirement to 23.
For other platforms
This is exactly the same as v1.3.6, so don't be surprised if you don't see this version in CocoaPods or OHPM.
v1.3.6 / 2024-07-05
Changes for All platforms
The Core library now upgrades the C++ standard from C++17 to C++20 to make the most of morden C++ feature such as Concept & unordered containers with std::string_view as key. From now on, if you build MMKV by source (iOS, Windows, POSIX, etc), you will need a C++ compiler that supports the C++20 standard. If you only use MMKV in binary (Android, OHOS, etc), this upgrade of the C++ compiler is not required.
The key type changes from std::string to std::string_view, to avoid unnecessary string construction and destruction when the key is a raw string.
Android
Use the latest ashmem API if possible.
Use the latest API to get the device API level.
Flutter
MMKV will try to load libmmkv.so before Dart code, to reduce the error of loading library in Android.
HarmonyOS NEXT
Fix a bug that a String value might get truncated on encoding.
MMKV returns undefined when a key does not exist, previously a default value of the type (false for boolean, 0 for number, etc) is returned.
Add the feature to encode/decode a float value.
Add the feature to encode/decode a TypedArray value.
Support encoding a part of an ArrayBuffer.
iOS/macOS
Hide the default NSObject.initialize() from Swift/ObjC to prevent potential misuse.
POSIX
Support encode/decode std::vector<T> or std::span<T> values, with T as primitive types.
Fix a compile error on Linux env.
Fix a compile error on the GNU compiler.
Fix a compile error with some old version of zlib (on CentOS).
Fix a data corruption bug on an encrypted MMKV with only one key value stored.
Make encryption more resilient from brute force cracking.
Fix a bug that pthread_mutex is not being destroyed correctly.
Android
Use an alternative way to get the process name to avoid potential App review issues.
Upgrade to NDK 26.3.11579264.
Flutter
Add support for HarmonyOS NEXT. In fact, a temp version named v1.3.8 adds this support with the native lib of v1.3.7. To avoid potential confusion, bump both versions to v1.3.9.
v1.3.7 / 2024-07-08
Android & Flutter
This Long Term Support (LTS) release primarily reintroduces support for the ARMv7 architecture and lowers the minimum SDK version requirement to 21. Please note that only critical bug fixes will be applied to the 1.3.x series. New features will be introduced in version 2.0 and later, which will discontinue support for 32-bit architectures and raise the minimum SDK version requirement to 23.
For other platforms
This is exactly the same as v1.3.6, so don't be surprised if you don't see this version in CocoaPods or OHPM.
v1.3.6 / 2024-07-05
Changes for All platforms
The Core library now upgrades the C++ standard from C++17 to C++20 to make the most of morden C++ feature such as Concept & unordered containers with std::string_view as key. From now on, if you build MMKV by source (iOS, Windows, POSIX, etc), you will need a C++ compiler that supports the C++20 standard. If you only use MMKV in binary (Android, OHOS, etc), this upgrade of the C++ compiler is not required.
The key type changes from std::string to std::string_view, to avoid unnecessary string construction and destruction when the key is a raw string.
Android
Use the latest ashmem API if possible.
Use the latest API to get the device API level.
Flutter
MMKV will try to load libmmkv.so before Dart code, to reduce the error of loading library in Android.
HarmonyOS NEXT
Fix a bug that a String value might get truncated on encoding.
MMKV returns undefined when a key does not exist, previously a default value of the type (false for boolean, 0 for number, etc) is returned.
Add the feature to encode/decode a float value.
Add the feature to encode/decode a TypedArray value.
Support encoding a part of an ArrayBuffer.
iOS/macOS
Hide the default NSObject.initialize() from Swift/ObjC to prevent potential misuse.
POSIX
Support encode/decode std::vector<T> or std::span<T> values, with T as primitive types.
Fix a compile error on Linux env.
Fix a compile error on the GNU compiler.
Fix a compile error with some old version of zlib (on CentOS).
Python
... (truncated)
Commits
cc8565b Merge pull request #1369 from Tencent/1.3.x_lts
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)
⚠️ Dependabot is rebasing this PR ⚠️
Rebasing might not happen immediately, so don't worry if this takes some time.
Note: if you make any changes to this PR yourself, they will take precedence over the rebase.
Bumps com.tencent:mmkv from 1.3.3 to 1.3.9.
Release notes
Sourced from com.tencent:mmkv's releases.
... (truncated)
Changelog
Sourced from com.tencent:mmkv's changelog.
... (truncated)
Commits
cc8565b
Merge pull request #1369 from Tencent/1.3.x_ltse2b1e88
use rand() instead of random() #1367e975310
update flutter deps9fce6ea
Merge pull request #1366 from Tencent/1.3.x_ltsbf2f8f8
set v1.3.9 release date80847b2
Merge pull request #1365 from Tencent/1.3.x_ltsf441ec0
update change log about why no v1.3.81bc4e6c
prepare ohos v1.3.99462faa
prepare for v1.3.91b615a8
add ohos supportDependabot 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