From ea3f05ffcd84306088a739d645932f622f674d0a Mon Sep 17 00:00:00 2001 From: guoling Date: Thu, 2 Jan 2025 16:56:36 +0800 Subject: [PATCH] v1.3.12 --- CHANGELOG.md | 13 +++++++++++++ OpenHarmony/MMKV/BuildProfile.ets | 2 +- OpenHarmony/MMKV/CHANGELOG.md | 5 +++++ OpenHarmony/MMKV/README.md | 4 ++-- OpenHarmony/MMKV/oh-package.json5 | 2 +- OpenHarmony/entry/oh-package-lock.json5 | 2 +- README.md | 6 +++--- README_CN.md | 4 ++-- iOS/MMKV.podspec | 4 ++-- iOS/MMKVAppExtension.podspec | 4 ++-- iOS/MMKVCore.podspec | 2 +- iOS/MMKVWatchExtension.podspec | 4 ++-- 12 files changed, 35 insertions(+), 17 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ad8d8797..d3687a11 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,17 @@ # MMKV Change Log +## v1.3.12 / 2025-01-02 +**This is a Long Term Support (LTS) release.** +### Changes for All platforms +* Fix a bug that MMKV might fail to backup/restore across different filesystems. +* Add protection from invalid value size of auto-key-expire mmkv. + +### Android +* Add forward support for the correct filename with a custom root path. + +### HarmonyOS NEXT +* Add forward support for the correct filename with a custom root path. +* Obfuscation fully supported. + ## v1.3.11 / 2024-11-12 **This is a Long Term Support (LTS) release.** ### Changes for All platforms diff --git a/OpenHarmony/MMKV/BuildProfile.ets b/OpenHarmony/MMKV/BuildProfile.ets index 68a54df7..81ae4e8a 100644 --- a/OpenHarmony/MMKV/BuildProfile.ets +++ b/OpenHarmony/MMKV/BuildProfile.ets @@ -1,7 +1,7 @@ /** * Use these variables when you tailor your ArkTS code. They must be of the const type. */ -export const HAR_VERSION = '1.3.11'; +export const HAR_VERSION = '1.3.12'; export const BUILD_MODE_NAME = 'release'; export const DEBUG = false; export const TARGET_NAME = 'default'; diff --git a/OpenHarmony/MMKV/CHANGELOG.md b/OpenHarmony/MMKV/CHANGELOG.md index 7b22b2e0..898e97d5 100644 --- a/OpenHarmony/MMKV/CHANGELOG.md +++ b/OpenHarmony/MMKV/CHANGELOG.md @@ -1,4 +1,9 @@ # MMKV for HarmonyOS NEXT Change Log +## v1.3.12 / 2025-01-02 +* Fix a bug that MMKV might fail to backup/restore across different filesystems. +* Add protection from invalid value size of auto-key-expire mmkv. +* Add forward support for the correct filename with a custom root path. +* Obfuscation fully supported. ## v1.3.11 / 2024-11-12 * Fix a bug that after encode / decode `TypedArray`, the instance become dead-locked for other threads. diff --git a/OpenHarmony/MMKV/README.md b/OpenHarmony/MMKV/README.md index da79da59..d422e691 100644 --- a/OpenHarmony/MMKV/README.md +++ b/OpenHarmony/MMKV/README.md @@ -1,6 +1,6 @@ [![license](https://img.shields.io/badge/license-BSD_3-brightgreen.svg?style=flat)](https://github.com/Tencent/MMKV/blob/master/LICENSE.TXT) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/Tencent/MMKV/pulls) -[![Release Version](https://img.shields.io/badge/release-1.3.11-brightgreen.svg)](https://github.com/Tencent/MMKV/releases) +[![Release Version](https://img.shields.io/badge/release-1.3.12-brightgreen.svg)](https://github.com/Tencent/MMKV/releases) [![Platform](https://img.shields.io/badge/Platform-%20HarmonyOS%20NEXT-brightgreen.svg)](https://github.com/Tencent/MMKV/wiki/home) MMKV is an **efficient**, **small**, **easy-to-use** mobile key-value storage framework used in the WeChat application. It's now available on **HarmonyOS NEXT**. @@ -37,7 +37,7 @@ Or, you can add it to your project manually. ```json "dependencies": { - "@tencent/mmkv": "^1.3.11", + "@tencent/mmkv": "^1.3.12", } ``` * Then run diff --git a/OpenHarmony/MMKV/oh-package.json5 b/OpenHarmony/MMKV/oh-package.json5 index 1f4ebc57..c7170315 100644 --- a/OpenHarmony/MMKV/oh-package.json5 +++ b/OpenHarmony/MMKV/oh-package.json5 @@ -1,6 +1,6 @@ { "name": "@tencent/mmkv", - "version": "1.3.11", + "version": "1.3.12", "description": "The official OpenHarmony package of MMKV. An efficient, small mobile key-value storage framework developed by WeChat.", "main": "Index.ets", "author": "guoling", diff --git a/OpenHarmony/entry/oh-package-lock.json5 b/OpenHarmony/entry/oh-package-lock.json5 index 87f20aa1..4ebdf096 100644 --- a/OpenHarmony/entry/oh-package-lock.json5 +++ b/OpenHarmony/entry/oh-package-lock.json5 @@ -11,7 +11,7 @@ "packages": { "@tencent/mmkv@../MMKV": { "name": "@tencent/mmkv", - "version": "1.3.11", + "version": "1.3.12", "resolved": "../MMKV", "registryType": "local", "dependencies": { diff --git a/README.md b/README.md index 135a2ccc..f4bf684e 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ [![license](https://img.shields.io/badge/license-BSD_3-brightgreen.svg?style=flat)](https://github.com/Tencent/MMKV/blob/master/LICENSE.TXT) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/Tencent/MMKV/pulls) -[![Release Version](https://img.shields.io/badge/release-1.3.11-brightgreen.svg)](https://github.com/Tencent/MMKV/releases) +[![Release Version](https://img.shields.io/badge/release-1.3.12-brightgreen.svg)](https://github.com/Tencent/MMKV/releases) [![Platform](https://img.shields.io/badge/Platform-%20Android%20%7C%20iOS%2FmacOS%20%7C%20Windows%20%7C%20POSIX%20%7C%20HarmonyOS%20NEXT-brightgreen.svg)](https://github.com/Tencent/MMKV/wiki/home) 中文版本请参看[这里](./README_CN.md) @@ -28,8 +28,8 @@ Add the following lines to `build.gradle` on your app module: ```gradle dependencies { - implementation 'com.tencent:mmkv:1.3.11' - // replace "1.3.11" with any available version + implementation 'com.tencent:mmkv:1.3.12' + // replace "1.3.12" with any available version } ``` diff --git a/README_CN.md b/README_CN.md index 97047696..cab158a8 100644 --- a/README_CN.md +++ b/README_CN.md @@ -22,8 +22,8 @@ MMKV 是基于 mmap 内存映射的 key-value 组件,底层序列化/反序列 ```gradle dependencies { - implementation 'com.tencent:mmkv:1.3.11' - // replace "1.3.11" with any available version + implementation 'com.tencent:mmkv:1.3.12' + // replace "1.3.12" with any available version } ``` 从 v2.0.0 起, MMKV **去掉了 32-bit 架构的支持**、API level 22 及以下的支持, 如有这类需求,请使用 v1.3.x LTS 版本。 diff --git a/iOS/MMKV.podspec b/iOS/MMKV.podspec index 9800e0d4..356768ef 100644 --- a/iOS/MMKV.podspec +++ b/iOS/MMKV.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "MMKV" - s.version = "1.3.11" + s.version = "1.3.12" s.summary = "MMKV is a cross-platform key-value storage framework developed by WeChat." s.description = <<-DESC @@ -32,7 +32,7 @@ Pod::Spec.new do |s| "CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF" => "NO", } - s.dependency 'MMKVCore', '~> 1.3.11' + s.dependency 'MMKVCore', '~> 1.3.12' end diff --git a/iOS/MMKVAppExtension.podspec b/iOS/MMKVAppExtension.podspec index 4357dcae..c04f4b3b 100644 --- a/iOS/MMKVAppExtension.podspec +++ b/iOS/MMKVAppExtension.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "MMKVAppExtension" - s.version = "1.3.11" + s.version = "1.3.12" s.summary = "MMKV is a cross-platform key-value storage framework developed by WeChat." s.module_name = "MMKVAppExtension" @@ -31,7 +31,7 @@ Pod::Spec.new do |s| "GCC_PREPROCESSOR_DEFINITIONS" => "MMKV_IOS_EXTENSION", } - s.dependency 'MMKVCore', '~> 1.3.11' + s.dependency 'MMKVCore', '~> 1.3.12' end diff --git a/iOS/MMKVCore.podspec b/iOS/MMKVCore.podspec index c3c89f59..a0de62d1 100644 --- a/iOS/MMKVCore.podspec +++ b/iOS/MMKVCore.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "MMKVCore" - s.version = "1.3.11" + s.version = "1.3.12" s.summary = "MMKVCore for MMKV. MMKV is a cross-platform key-value storage framework developed by WeChat." s.description = <<-DESC diff --git a/iOS/MMKVWatchExtension.podspec b/iOS/MMKVWatchExtension.podspec index 80a6a9ec..5f73d302 100644 --- a/iOS/MMKVWatchExtension.podspec +++ b/iOS/MMKVWatchExtension.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "MMKVWatchExtension" - s.version = "1.3.11" + s.version = "1.3.12" s.summary = "MMKV is a cross-platform key-value storage framework developed by WeChat." s.module_name = "MMKVWatchExtension" @@ -31,7 +31,7 @@ Pod::Spec.new do |s| "GCC_PREPROCESSOR_DEFINITIONS" => "MMKV_IOS_EXTENSION", } - s.dependency 'MMKVCore', '~> 1.3.11' + s.dependency 'MMKVCore', '~> 1.3.12' end