Skip to content

Commit

Permalink
prepare for v1.2.10
Browse files Browse the repository at this point in the history
  • Loading branch information
lingol committed Jun 25, 2021
1 parent d790194 commit 8e81f3d
Show file tree
Hide file tree
Showing 14 changed files with 41 additions and 27 deletions.
2 changes: 1 addition & 1 deletion Android/MMKV/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ 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.9
VERSION_NAME_PREFIX=1.2.10
#VERSION_NAME_SUFFIX=-SNAPSHOT
VERSION_NAME_SUFFIX=
4 changes: 2 additions & 2 deletions Android/MMKV/mmkvdemo/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ repositories {
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation project(':mmkv')
// implementation 'com.tencent:mmkv:1.2.9'
// implementation 'com.tencent:mmkv-static:1.2.9'
// implementation 'com.tencent:mmkv:1.2.10'
// implementation 'com.tencent:mmkv-static:1.2.10'
implementation 'androidx.appcompat:appcompat:1.3.0'
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
testImplementation 'junit:junit:4.13.2'
Expand Down
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# MMKV Change Log

## v1.2.10 / 2021-06-25
This version is mainly for Android & Flutter.

### Android
* Complete **JavaDoc documentation** for all public methods, classes, and interfaces. From now on, you can find the [API reference online](https://javadoc.io/doc/com.tencent/mmkv).
* Drop the support of **armeabi** arch. Due to some local build cache mistake, the last version (v1.2.9) of MMKV still has an unstripped armeabi arch inside. This is fixed.
* Change `MMKV.mmkvWithID()` from returning `null` to throwing exceptions on any error.
* Add `MMKV.actualSize()` to get the actual used size of the file.

### Flutter (v1.2.11)
* Bug Fixed: When building on iOS, occasionally it will fail on symbol conflict with other libs. We have renamed all public native methods to avoid potential conflict.
* Keep up with MMKV native lib v1.2.10.

## v1.2.9 / 2021-05-26
This version is mainly for Android & Flutter.

Expand Down
2 changes: 1 addition & 1 deletion Core/MMKVPredef.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#include <vector>
#include <unordered_map>

constexpr auto MMKV_VERSION = "v1.2.9";
constexpr auto MMKV_VERSION = "v1.2.10";

#ifdef DEBUG
# define MMKV_DEBUG
Expand Down
4 changes: 2 additions & 2 deletions 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.2.9"
s.version = "1.2.10"
s.summary = "MMKV is a cross-platform key-value storage framework developed by WeChat."

s.description = <<-DESC
Expand Down Expand Up @@ -30,7 +30,7 @@ Pod::Spec.new do |s|
"CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF" => "NO",
}

s.dependency 'MMKVCore', '~> 1.2.9'
s.dependency 'MMKVCore', '~> 1.2.10'

end

4 changes: 2 additions & 2 deletions 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.2.9"
s.version = "1.2.10"
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.2.9'
s.dependency 'MMKVCore', '~> 1.2.10'

end

2 changes: 1 addition & 1 deletion 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.2.9"
s.version = "1.2.10"
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 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.2.9"
s.version = "1.2.10"
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.2.9'
s.dependency 'MMKVCore', '~> 1.2.10'

end

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.2.9-brightgreen.svg)](https://github.com/Tencent/MMKV/releases)
[![Release Version](https://img.shields.io/badge/release-1.2.10-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)
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-static:1.2.9'
// replace "1.2.9" with any available version
implementation 'com.tencent:mmkv-static:1.2.10'
// replace "1.2.10" 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-static:1.2.9'
// replace "1.2.9" with any available version
implementation 'com.tencent:mmkv-static:1.2.10'
// replace "1.2.10" with any available version
}
```
从 v1.2.8 起, MMKV **迁移到 Maven Central**。老版本 (<= v1.2.7) 仍然在 JCenter。
Expand Down
5 changes: 3 additions & 2 deletions flutter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# MMKV for Flutter Change Log

## v1.2.11 / 2021-06-xx
* Rename iOS function names to avoid conflict with other libs.
## v1.2.11 / 2021-06-25
* Bug Fixed: When building on iOS, occasionally it will fail on symbol conflict with other libs. We have renamed all public native methods to avoid potential conflict.
* Keep up with MMKV native lib v1.2.10.

## v1.2.10 / 2021-05-26
* Bug Fixed: When calling `MMKV.encodeString()` with an empty string value on Android, `MMKV.decodeString()` will return `null`.
Expand Down
2 changes: 1 addition & 1 deletion flutter/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ android {
}

dependencies {
implementation 'com.tencent:mmkv-static:[1.2.9,)'
implementation 'com.tencent:mmkv-static:[1.2.10,)'
}
}
4 changes: 2 additions & 2 deletions flutter/ios/mmkvflutter.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Pod::Spec.new do |s|
s.name = 'mmkvflutter'
s.version = '1.2.10'
s.version = '1.2.11'
s.summary = 'MMKV is a cross-platform key-value storage framework developed by WeChat.'
s.description = <<-DESC
The MMKV, for Flutter.
Expand All @@ -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.2.8'
s.dependency 'MMKV', '>= 1.2.10'
s.platform = :ios, '9.0'

# Flutter.framework does not contain a i386 slice.
Expand Down
12 changes: 6 additions & 6 deletions iOS/MMKV/MMKV.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,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.9;
MARKETING_VERSION = 1.2.10;
"OTHER_LDFLAGS[sdk=iphoneos*]" = (
"-framework",
UIKit,
Expand Down Expand Up @@ -528,7 +528,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.9;
MARKETING_VERSION = 1.2.10;
"OTHER_LDFLAGS[sdk=iphoneos*]" = (
"-framework",
UIKit,
Expand Down Expand Up @@ -725,7 +725,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.9;
MARKETING_VERSION = 1.2.10;
"OTHER_LDFLAGS[sdk=iphoneos*]" = (
"-framework",
UIKit,
Expand Down Expand Up @@ -763,7 +763,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.9;
MARKETING_VERSION = 1.2.10;
"OTHER_LDFLAGS[sdk=iphoneos*]" = (
"-framework",
UIKit,
Expand Down Expand Up @@ -808,7 +808,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.9;
MARKETING_VERSION = 1.2.10;
"OTHER_LDFLAGS[sdk=iphoneos*]" = (
"-framework",
UIKit,
Expand Down Expand Up @@ -855,7 +855,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.9;
MARKETING_VERSION = 1.2.10;
"OTHER_LDFLAGS[sdk=iphoneos*]" = (
"-framework",
UIKit,
Expand Down

0 comments on commit 8e81f3d

Please sign in to comment.