prepare for v1.3.4

This commit is contained in:
guoling
2024-03-14 16:01:01 +08:00
parent d15e292bd8
commit 51d692007f
17 changed files with 46 additions and 32 deletions
+2 -2
View File
@@ -14,9 +14,9 @@ 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.3.3
VERSION_NAME_PREFIX=1.3.4
#VERSION_NAME_SUFFIX=-SNAPSHOT
VERSION_NAME_SUFFIX=
RELEASE_REPOSITORY_URL=https://oss.sonatype.org/service/local/staging/deploy/maven2
SNAPSHOT_REPOSITORY_URL=https://oss.sonatype.org/content/repositories/snapshots
SNAPSHOT_REPOSITORY_URL=https://oss.sonatype.org/content/repositories/snapshots
+3 -3
View File
@@ -77,9 +77,9 @@ repositories {
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation project(':mmkv')
// implementation 'com.tencent:mmkv:1.3.3'
// implementation 'com.tencent:mmkv-static:1.3.3' // this is identical to 'com.tencent:mmkv'
// implementation 'com.tencent:mmkv-shared:1.3.3'
// implementation 'com.tencent:mmkv:1.3.4'
// implementation 'com.tencent:mmkv-static:1.3.4' // this is identical to 'com.tencent:mmkv'
// implementation 'com.tencent:mmkv-shared:1.3.4'
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
testImplementation 'junit:junit:4.13.2'
+10
View File
@@ -1,4 +1,14 @@
# MMKV Change Log
## v1.3.4 / 2024-03-15
### Changes for All platforms
* Make `trim()` more robust in multi-process mode.
### iOS & macOS
* Support visionOS.
### POSIX
* Fix a compile error on `::unlink()`.
## v1.3.3 / 2024-01-25
### Changes for All platforms
* Add `removeStorage()` static method to safely delete underlying files of an MMKV instance.
+1 -1
View File
@@ -34,7 +34,7 @@
#include <vector>
#include <unordered_map>
constexpr auto MMKV_VERSION = "v1.3.3";
constexpr auto MMKV_VERSION = "v1.3.4";
#ifdef DEBUG
# define MMKV_DEBUG
+2 -2
View File
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = "MMKV"
s.version = "1.3.3"
s.version = "1.3.4"
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.3'
s.dependency 'MMKVCore', '~> 1.3.4'
end
+2 -2
View File
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = "MMKVAppExtension"
s.version = "1.3.3"
s.version = "1.3.4"
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.3'
s.dependency 'MMKVCore', '~> 1.3.4'
end
+1 -1
View File
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = "MMKVCore"
s.version = "1.3.3"
s.version = "1.3.4"
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.3.3"
s.version = "1.3.4"
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.3'
s.dependency 'MMKVCore', '~> 1.3.4'
end
+3 -3
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.3.3-brightgreen.svg)](https://github.com/Tencent/MMKV/releases)
[![Release Version](https://img.shields.io/badge/release-1.3.4-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.3.3'
// replace "1.3.3" with any available version
implementation 'com.tencent:mmkv:1.3.4'
// replace "1.3.4" with any available version
}
```
+2 -2
View File
@@ -22,8 +22,8 @@ MMKV 是基于 mmap 内存映射的 key-value 组件,底层序列化/反序列
```gradle
dependencies {
implementation 'com.tencent:mmkv:1.3.3'
// replace "1.3.3" with any available version
implementation 'com.tencent:mmkv:1.3.4'
// replace "1.3.4" with any available version
}
```
更多安装指引参考 [Android Setup](https://github.com/Tencent/MMKV/wiki/android_setup_cn)。
+4
View File
@@ -1,4 +1,8 @@
# MMKV for Flutter Change Log
## v1.3.4 / 2024-03-15
* Make `trim()` more robust in multi-process mode.
## v1.3.3 / 2024-01-25
* Add `removeStorage()` static method to safely delete underlying files of an MMKV instance.
* Add protection from a potential crash of a multi-process MMKV loading due to the MMKV file not being valid.
+3 -3
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.3.3-brightgreen.svg)](https://github.com/Tencent/MMKV/releases)
[![Release Version](https://img.shields.io/badge/release-1.3.4-brightgreen.svg)](https://github.com/Tencent/MMKV/releases)
[![Platform](https://img.shields.io/badge/Platform-%20Android%20%7C%20iOS-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 currently available on **Android** and **iOS**.
@@ -26,11 +26,11 @@ Add the following lines to `pubspec.yaml` on your app module. Then run `flutter
```yaml
dependencies:
mmkv: ">=1.3.3"
mmkv: ">=1.3.4"
...
```
If you already include MMKV native lib in your App, you need to upgrade to version newer than v1.3.3.
If you already include MMKV native lib in your App, you need to upgrade to version newer than v1.3.4.
#### iOS
To avoid conflict of the native lib name 'libMMKV.so' on iOS, we need to **change the plugin name 'mmkv' to 'mmkvflutter'**.
+1 -1
View File
@@ -34,6 +34,6 @@ android {
}
dependencies {
implementation 'com.tencent:mmkv:1.3.3'
implementation 'com.tencent:mmkv:1.3.4'
}
}
+1 -1
View File
@@ -49,7 +49,7 @@ android {
}
dependencies {
implementation('com.tencent:mmkv:1.3.3')
implementation('com.tencent:mmkv:1.3.4')
constraints {
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.8.0") {
+2 -2
View File
@@ -5,7 +5,7 @@
Pod::Spec.new do |s|
s.name = 'mmkvflutter'
s.version = '1.3.3'
s.version = '1.3.4'
s.summary = 'MMKV is a cross-platform key-value storage framework developed by WeChat.'
s.description = <<-DESC
The MMKV, for Flutter.
@@ -19,7 +19,7 @@ Pod::Spec.new do |s|
s.source_files = 'Classes/**/*'
s.public_header_files = 'Classes/**/*.h'
s.dependency 'Flutter'
s.dependency 'MMKV', '>= 1.3.3'
s.dependency 'MMKV', '>= 1.3.4'
s.platform = :ios, '11.0'
# Flutter.framework does not contain a i386 slice.
+1 -1
View File
@@ -1,6 +1,6 @@
name: mmkv
description: An efficient, small mobile key-value storage framework developed by WeChat. Works on Android & iOS.
version: 1.3.3
version: 1.3.4
homepage: https://github.com/Tencent/mmkv
environment:
+6 -6
View File
@@ -493,7 +493,7 @@
INFOPLIST_FILE = "MMKV copy-Info.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MARKETING_VERSION = 1.3.3;
MARKETING_VERSION = 1.3.4;
"OTHER_LDFLAGS[sdk=iphoneos*]" = (
"-framework",
UIKit,
@@ -535,7 +535,7 @@
INFOPLIST_FILE = "MMKV copy-Info.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MARKETING_VERSION = 1.3.3;
MARKETING_VERSION = 1.3.4;
"OTHER_LDFLAGS[sdk=iphoneos*]" = (
"-framework",
UIKit,
@@ -735,7 +735,7 @@
INFOPLIST_FILE = "$(SRCROOT)/MMKV/Resources/Info.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MARKETING_VERSION = 1.3.3;
MARKETING_VERSION = 1.3.4;
"OTHER_LDFLAGS[sdk=iphoneos*]" = (
"-framework",
UIKit,
@@ -774,7 +774,7 @@
INFOPLIST_FILE = "$(SRCROOT)/MMKV/Resources/Info.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MARKETING_VERSION = 1.3.3;
MARKETING_VERSION = 1.3.4;
"OTHER_LDFLAGS[sdk=iphoneos*]" = (
"-framework",
UIKit,
@@ -819,7 +819,7 @@
INFOPLIST_FILE = "MMKVAppExtension copy-Info.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MARKETING_VERSION = 1.3.3;
MARKETING_VERSION = 1.3.4;
"OTHER_LDFLAGS[sdk=iphoneos*]" = (
"-framework",
UIKit,
@@ -863,7 +863,7 @@
INFOPLIST_FILE = "MMKVAppExtension copy-Info.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MARKETING_VERSION = 1.3.3;
MARKETING_VERSION = 1.3.4;
"OTHER_LDFLAGS[sdk=iphoneos*]" = (
"-framework",
UIKit,