mirror of
https://github.com/Tencent/MMKV.git
synced 2026-10-16 20:21:12 +08:00
prepare for v1.3.4
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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'
|
||||
|
||||
@@ -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
@@ -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
@@ -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
|
||||
|
||||
|
||||
@@ -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
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[](https://github.com/Tencent/MMKV/blob/master/LICENSE.TXT)
|
||||
[](https://github.com/Tencent/MMKV/pulls)
|
||||
[](https://github.com/Tencent/MMKV/releases)
|
||||
[](https://github.com/Tencent/MMKV/releases)
|
||||
[](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
@@ -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)。
|
||||
|
||||
@@ -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
@@ -1,6 +1,6 @@
|
||||
[](https://github.com/Tencent/MMKV/blob/master/LICENSE.TXT)
|
||||
[](https://github.com/Tencent/MMKV/pulls)
|
||||
[](https://github.com/Tencent/MMKV/releases)
|
||||
[](https://github.com/Tencent/MMKV/releases)
|
||||
[](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'**.
|
||||
|
||||
@@ -34,6 +34,6 @@ android {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'com.tencent:mmkv:1.3.3'
|
||||
implementation 'com.tencent:mmkv:1.3.4'
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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") {
|
||||
|
||||
@@ -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,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:
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user