Skip to content

Commit

Permalink
v1.3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
lingol committed Jan 2, 2025
1 parent 968dc44 commit ea3f05f
Show file tree
Hide file tree
Showing 12 changed files with 35 additions and 17 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion OpenHarmony/MMKV/BuildProfile.ets
Original file line number Diff line number Diff line change
@@ -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';
Expand Down
5 changes: 5 additions & 0 deletions OpenHarmony/MMKV/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
4 changes: 2 additions & 2 deletions OpenHarmony/MMKV/README.md
Original file line number Diff line number Diff line change
@@ -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**.
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion OpenHarmony/MMKV/oh-package.json5
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion OpenHarmony/entry/oh-package-lock.json5

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down Expand Up @@ -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
}
```

Expand Down
4 changes: 2 additions & 2 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 版本。
Expand Down
4 changes: 2 additions & 2 deletions iOS/MMKV.podspec
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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

4 changes: 2 additions & 2 deletions iOS/MMKVAppExtension.podspec
Original file line number Diff line number Diff line change
@@ -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"

Expand Down Expand Up @@ -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

2 changes: 1 addition & 1 deletion iOS/MMKVCore.podspec
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions iOS/MMKVWatchExtension.podspec
Original file line number Diff line number Diff line change
@@ -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"

Expand Down Expand Up @@ -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

0 comments on commit ea3f05f

Please sign in to comment.