Skip to content

Commit

Permalink
prepare for v1.3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
lingol committed Jul 8, 2024
1 parent 642ebe1 commit 00a5dbd
Show file tree
Hide file tree
Showing 12 changed files with 35 additions and 20 deletions.
2 changes: 1 addition & 1 deletion Android/MMKV/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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.3.6
VERSION_NAME_PREFIX=1.3.7
#VERSION_NAME_SUFFIX=-SNAPSHOT
VERSION_NAME_SUFFIX=

Expand Down
12 changes: 6 additions & 6 deletions Android/MMKV/mmkvdemo/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,14 @@ repositories {
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation project(':mmkv')
// implementation 'com.tencent:mmkv:1.3.6'
// implementation 'com.tencent:mmkv-static:1.3.6' // this is identical to 'com.tencent:mmkv'
// implementation 'com.tencent:mmkv-shared:1.3.6'
// implementation 'com.tencent:mmkv:1.3.7'
// implementation 'com.tencent:mmkv-static:1.3.7' // this is identical to 'com.tencent:mmkv'
// implementation 'com.tencent:mmkv-shared:1.3.7'
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test:runner:1.5.2'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
androidTestImplementation 'androidx.test:runner:1.6.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1'
// implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
implementation 'com.getkeepsafe.relinker:relinker:1.4.5'
}
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
# MMKV Change Log
## v1.3.7 / 2024-07-08
### Android & Flutter
**This Long Term Support (LTS) release** primarily reintroduces support for the ARMv7 architecture and lowers the minimum SDK version requirement to 21. Please note that only critical bug fixes will be applied to the 1.3.x series. New features will be introduced in version 2.0 and later, which will discontinue support for 32-bit architectures and raise the minimum SDK version requirement to 23.

### For other platforms
This is exactly the same as v1.3.6, so don't be surprised if you don't see this version in CocoaPods or OHPM.

## v1.3.6 / 2024-07-05
### Changes for All platforms
* The Core library now upgrades the C++ standard from C++17 to C++20 to make the most of morden C++ feature such as `Concept` & unordered containers with `std::string_view` as key. From now on, if you build MMKV by source (iOS, Windows, POSIX, etc), you will need a C++ compiler that supports the C++20 standard. If you only use MMKV in binary (Android, OHOS, etc), this upgrade of the C++ compiler is not required.
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.3.6";
constexpr auto MMKV_VERSION = "v1.3.7";

#ifdef DEBUG
# define MMKV_DEBUG
Expand Down
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.6-brightgreen.svg)](https://github.com/Tencent/MMKV/releases)
[![Release Version](https://img.shields.io/badge/release-1.3.7-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.6'
// replace "1.3.6" with any available version
implementation 'com.tencent:mmkv:1.3.7'
// replace "1.3.7" 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.6'
// replace "1.3.6" with any available version
implementation 'com.tencent:mmkv:1.3.7'
// replace "1.3.7" with any available version
}
```
更多安装指引参考 [Android Setup](https://github.com/Tencent/MMKV/wiki/android_setup_cn)
Expand Down
5 changes: 5 additions & 0 deletions flutter/mmkv/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# MMKV for Flutter Change Log
## v1.3.7 / 2024-07-08
**Sync with Latest Android Native Binary:**

This Long Term Support (LTS) release primarily reintroduces support for the ARMv7 architecture and lowers the minimum SDK version requirement to 21. Please note that only critical bug fixes will be applied to the 1.3.x series. New features will be introduced in version 2.0 and later, which will discontinue support for 32-bit architectures and raise the minimum SDK version requirement to 23.

## v1.3.6 / 2024-07-05
* Android: MMKV will try to load libmmkv.so before Dart code, to reduce the error of loading library in Android.
* Android: Use the latest ashmem API if possible.
Expand Down
6 changes: 3 additions & 3 deletions flutter/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.6-brightgreen.svg)](https://github.com/Tencent/MMKV/releases)
[![Release Version](https://img.shields.io/badge/release-1.3.7-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**.
Expand All @@ -26,11 +26,11 @@ Add the following lines to `pubspec.yaml` on your app module. Then run `flutter

```yaml
dependencies:
mmkv: ">=1.3.6"
mmkv: "^1.3.7"
...
```

If you already include MMKV native lib in your App, you need to upgrade to version newer than v1.3.6.
If you already include MMKV native lib in your App, you need to upgrade to version newer than v1.3.7.

#### iOS
Starting from v1.3.5, there's **no need** to change the plugin name 'mmkv' to 'mmkvflutter'. You should remove the script (`fix_mmkv_plugin_name()`) previously added in your Podfile.
Expand Down
4 changes: 2 additions & 2 deletions flutter/mmkv/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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.6
version: 1.3.7
homepage: https://github.com/Tencent/mmkv
repository: https://github.com/Tencent/MMKV/tree/master/flutter/mmkv

Expand All @@ -17,7 +17,7 @@ dependencies:
^1.0.2
# path: ../mmkv_ios
mmkv_android:
^1.0.2
^1.0.3
# path: ../mmkv_android
mmkv_platform_interface:
^1.0.0
Expand Down
3 changes: 3 additions & 0 deletions flutter/mmkv_android/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# MMKV Platform Android Change Log

## v1.0.3 / 2024-07-08
Keep up with native lib v1.3.7.

## v1.0.2 / 2024-07-05
Keep up with native lib v1.3.6.

Expand Down
2 changes: 1 addition & 1 deletion flutter/mmkv_android/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ android {
}

dependencies {
implementation 'com.tencent:mmkv:1.3.6'
implementation 'com.tencent:mmkv:1.3.7'
}
}
2 changes: 1 addition & 1 deletion flutter/mmkv_android/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: mmkv_android
description: Android platform implementation of MMKV.
repository: https://github.com/Tencent/MMKV/tree/master/flutter/mmkv_ios
version: 1.0.2
version: 1.0.3
homepage: https://github.com/Tencent/mmkv

environment:
Expand Down

0 comments on commit 00a5dbd

Please sign in to comment.