prepare for v1.2.14

This commit is contained in:
guoling
2022-08-10 12:09:13 +08:00
parent 16be9023c4
commit acdfbf68fb
11 changed files with 36 additions and 25 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ org.gradle.jvmargs=-Xmx1536m
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
VERSION_NAME_PREFIX=1.2.13
VERSION_NAME_PREFIX=1.2.14
#VERSION_NAME_SUFFIX=-SNAPSHOT
VERSION_NAME_SUFFIX=
+3 -3
View File
@@ -76,9 +76,9 @@ repositories {
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation project(':mmkv')
// implementation 'com.tencent:mmkv:1.2.13'
// implementation 'com.tencent:mmkv-static:1.2.13' // this is identical to 'com.tencent:mmkv'
// implementation 'com.tencent:mmkv-shared:1.2.13'
// implementation 'com.tencent:mmkv:1.2.14'
// implementation 'com.tencent:mmkv-static:1.2.14' // this is identical to 'com.tencent:mmkv'
// implementation 'com.tencent:mmkv-shared:1.2.14'
implementation 'androidx.appcompat:appcompat:1.4.2'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
testImplementation 'junit:junit:4.13.2'
+11
View File
@@ -1,5 +1,16 @@
# MMKV Change Log
## v1.2.14 / 2022-08-10
### Changes for All platforms
* Fix a bug that `MMKV.getXXX()` may return invalid results in multi-process mode.
### Android
* Return `[]` instead of `null` on empty `StringSet` from `MMKV.decodeStringSet()` methods.
* Upgrade Android Compile & Target SDK to `32`.
### iOS
* Protect from the crash in `-[MMKV getObject:forKey:]` method when the key-value doesn't exist.
## v1.2.13 / 2022-03-30
### Android
+1 -1
View File
@@ -34,7 +34,7 @@
#include <vector>
#include <unordered_map>
constexpr auto MMKV_VERSION = "v1.2.13";
constexpr auto MMKV_VERSION = "v1.2.14";
#ifdef DEBUG
# define MMKV_DEBUG
+2 -2
View File
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = "MMKV"
s.version = "1.2.13"
s.version = "1.2.14"
s.summary = "MMKV is a cross-platform key-value storage framework developed by WeChat."
s.description = <<-DESC
@@ -31,7 +31,7 @@ Pod::Spec.new do |s|
"CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF" => "NO",
}
s.dependency 'MMKVCore', '~> 1.2.13'
s.dependency 'MMKVCore', '~> 1.2.14'
end
+2 -2
View File
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = "MMKVAppExtension"
s.version = "1.2.13"
s.version = "1.2.14"
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.2.13'
s.dependency 'MMKVCore', '~> 1.2.14'
end
+1 -1
View File
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = "MMKVCore"
s.version = "1.2.13"
s.version = "1.2.14"
s.summary = "MMKVCore for MMKV. MMKV is a cross-platform key-value storage framework developed by WeChat."
s.description = <<-DESC
+2 -2
View File
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = "MMKVWatchExtension"
s.version = "1.2.13"
s.version = "1.2.14"
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.2.13'
s.dependency 'MMKVCore', '~> 1.2.14'
end
+4 -4
View File
@@ -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.2.13-brightgreen.svg)](https://github.com/Tencent/MMKV/releases)
[![Release Version](https://img.shields.io/badge/release-1.2.14-brightgreen.svg)](https://github.com/Tencent/MMKV/releases)
[![Platform](https://img.shields.io/badge/Platform-%20Android%20%7C%20iOS%2FmacOS%20%7C%20Win32%20%7C%20POSIX-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.2.13'
// replace "1.2.13" with any available version
implementation 'com.tencent:mmkv:1.2.14'
// replace "1.2.14" with any available version
}
```
@@ -288,4 +288,4 @@ To give clarity of what is expected of our members, MMKV has adopted the code of
Check out the [FAQ](https://github.com/Tencent/MMKV/wiki/FAQ) first. Should there be any questions, don't hesitate to create [issues](https://github.com/Tencent/MMKV/issues).
## Personal Information Protection Rules
User privacy is taken very seriously: MMKV does not obtain, collect or upload any personal information. Please refer to the [MMKV SDK Personal Information Protection Rules](https://support.weixin.qq.com/cgi-bin/mmsupportacctnodeweb-bin/pages/aY5BAtRiO1BpoHxo) for details.
User privacy is taken very seriously: MMKV does not obtain, collect or upload any personal information. Please refer to the [MMKV SDK Personal Information Protection Rules](https://support.weixin.qq.com/cgi-bin/mmsupportacctnodeweb-bin/pages/aY5BAtRiO1BpoHxo) for details.
+3 -3
View File
@@ -22,8 +22,8 @@ MMKV 是基于 mmap 内存映射的 key-value 组件,底层序列化/反序列
```gradle
dependencies {
implementation 'com.tencent:mmkv:1.2.13'
// replace "1.2.13" with any available version
implementation 'com.tencent:mmkv:1.2.14'
// replace "1.2.14" with any available version
}
```
从 v1.2.8 起, MMKV **迁移到 Maven Central**。
@@ -244,4 +244,4 @@ MMKV 以 BSD 3-Clause 证书开源,详情参见 [LICENSE.TXT](./LICENSE.TXT)
常见问题参见 [FAQ](https://github.com/Tencent/MMKV/wiki/FAQ_cn),欢迎提 [issues](https://github.com/Tencent/MMKV/issues) 提问反馈。
## 个人信息处理规则
MMKV 不收集、获取或上传任何个人信息,详情参考[《MMKV SDK个人信息保护规则》](https://support.weixin.qq.com/cgi-bin/mmsupportacctnodeweb-bin/pages/aY5BAtRiO1BpoHxo)。
MMKV 不收集、获取或上传任何个人信息,详情参考[《MMKV SDK个人信息保护规则》](https://support.weixin.qq.com/cgi-bin/mmsupportacctnodeweb-bin/pages/aY5BAtRiO1BpoHxo)。
+6 -6
View File
@@ -486,7 +486,7 @@
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.9;
MARKETING_VERSION = 1.2.13;
MARKETING_VERSION = 1.2.14;
"OTHER_LDFLAGS[sdk=iphoneos*]" = (
"-framework",
UIKit,
@@ -529,7 +529,7 @@
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.9;
MARKETING_VERSION = 1.2.13;
MARKETING_VERSION = 1.2.14;
"OTHER_LDFLAGS[sdk=iphoneos*]" = (
"-framework",
UIKit,
@@ -728,7 +728,7 @@
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.9;
MARKETING_VERSION = 1.2.13;
MARKETING_VERSION = 1.2.14;
"OTHER_LDFLAGS[sdk=iphoneos*]" = (
"-framework",
UIKit,
@@ -766,7 +766,7 @@
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.9;
MARKETING_VERSION = 1.2.13;
MARKETING_VERSION = 1.2.14;
"OTHER_LDFLAGS[sdk=iphoneos*]" = (
"-framework",
UIKit,
@@ -811,7 +811,7 @@
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.9;
MARKETING_VERSION = 1.2.13;
MARKETING_VERSION = 1.2.14;
"OTHER_LDFLAGS[sdk=iphoneos*]" = (
"-framework",
UIKit,
@@ -858,7 +858,7 @@
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.9;
MARKETING_VERSION = 1.2.13;
MARKETING_VERSION = 1.2.14;
"OTHER_LDFLAGS[sdk=iphoneos*]" = (
"-framework",
UIKit,