From f24fcefceded1fc3b48d6e588db0e83ed829fe77 Mon Sep 17 00:00:00 2001 From: Anton Adamansky Date: Mon, 17 Feb 2020 23:38:24 +0700 Subject: [PATCH] v2.0.40 landed --- Changelog | 5 ++- release.sh | 2 +- src/bindings/ejdb2_dart/Changelog | 4 ++ src/bindings/ejdb2_dart/pubspec.yaml | 2 +- src/bindings/ejdb2_flutter/CHANGELOG.md | 4 ++ src/bindings/ejdb2_flutter/README.md | 39 ++++++++++++++++++- src/bindings/ejdb2_flutter/pubspec.yaml | 2 +- src/bindings/ejdb2_node/Changelog | 4 ++ src/bindings/ejdb2_node/package.json | 2 +- .../ejdb2_react_native/binding/Changelog | 8 +++- .../ejdb2_react_native/binding/package.json | 2 +- 11 files changed, 64 insertions(+), 10 deletions(-) diff --git a/Changelog b/Changelog index 50ce7282a..5a055cf2d 100644 --- a/Changelog +++ b/Changelog @@ -1,11 +1,12 @@ -ejdb2 (2.0.40) UNRELEASED; urgency=medium +ejdb2 (2.0.40) testing; urgency=medium * Added `jbl_object_get_i64`, `jbl_object_get_f64`, `jbl_object_get_bool`, `jbl_object_get_str` * Minor fixes in index selection rules * Added `jbl_type_t jbl_object_get_type(JBL jbl, const char *key)` (jbl.h) + * Upgraded to iowow 1.3.37 - -- Anton Adamansky Thu, 23 Jan 2020 17:44:30 +0700 + -- Anton Adamansky Mon, 17 Feb 2020 23:38:24 +0700 ejdb2 (2.0.39) testing; urgency=medium diff --git a/release.sh b/release.sh index 783ac6788..bef09341c 100755 --- a/release.sh +++ b/release.sh @@ -43,7 +43,7 @@ release_tag() { git add ./README.md if ! git diff-index --quiet HEAD --; then - git commit -m"${TAG} landed" + git commit -a -m"${TAG} landed" git push origin master fi diff --git a/src/bindings/ejdb2_dart/Changelog b/src/bindings/ejdb2_dart/Changelog index 8ab3cb7d0..e0704e4c3 100644 --- a/src/bindings/ejdb2_dart/Changelog +++ b/src/bindings/ejdb2_dart/Changelog @@ -1,3 +1,7 @@ +ejdb_dart (1.0.46) + + * Upgraded to ejdb v2.0.40 + ejdb_dart (1.0.45) * Upgraded to ejdb v2.0.39 diff --git a/src/bindings/ejdb2_dart/pubspec.yaml b/src/bindings/ejdb2_dart/pubspec.yaml index b306a2ffb..c2484c0ef 100644 --- a/src/bindings/ejdb2_dart/pubspec.yaml +++ b/src/bindings/ejdb2_dart/pubspec.yaml @@ -1,6 +1,6 @@ name: ejdb2_dart description: Embeddable JSON Database engine EJDB http://ejdb.org Dart binding -version: 1.0.45 +version: 1.0.46 homepage: https://github.com/Softmotions/ejdb issue_tracker: https://github.com/Softmotions/ejdb/issues?q=is%3Aissue+label%3ADart+ author: Adamansky Anton diff --git a/src/bindings/ejdb2_flutter/CHANGELOG.md b/src/bindings/ejdb2_flutter/CHANGELOG.md index 4c281196e..0061e8a6f 100644 --- a/src/bindings/ejdb2_flutter/CHANGELOG.md +++ b/src/bindings/ejdb2_flutter/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.0.14+1 + + * Upgraded to ejdb v2.0.40 + ## 1.0.13+1 * Upgraded to ejdb v2.0.39 diff --git a/src/bindings/ejdb2_flutter/README.md b/src/bindings/ejdb2_flutter/README.md index 719b632af..0644949ca 100644 --- a/src/bindings/ejdb2_flutter/README.md +++ b/src/bindings/ejdb2_flutter/README.md @@ -40,7 +40,7 @@ await db.close(); - iOS - Android -## iOS note +## iOS notes In order to build app with this binding you have to add the following code into application `Podfile`: @@ -52,6 +52,43 @@ pre_install do |installer| end ``` +## Android notes + +For release builds you have setup proguard rules as follows: + +`build.gradle` +``` + buildTypes { + ... + release { + ... + minifyEnabled true + useProguard true + proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" + } + } +``` + +`proguard-rules.pro` +``` +# Flutter Wrapper + +-keep class io.flutter.app.** { *; } +-keep class io.flutter.plugin.** { *; } +-keep class io.flutter.util.** { *; } +-keep class io.flutter.view.** { *; } +-keep class io.flutter.** { *; } +-keep class io.flutter.plugins.** { *; } +-keep class io.flutter.embedding.** { *; } +-keep class io.flutter.embedding.android.** { *; } + +-keep class androidx.core.app.** { *; } + +# Keep EJDB +-keep class com.softmotions.ejdb2.** { *; } + +``` + ## How build it manually ```sh diff --git a/src/bindings/ejdb2_flutter/pubspec.yaml b/src/bindings/ejdb2_flutter/pubspec.yaml index ea05722b5..a71e68aab 100644 --- a/src/bindings/ejdb2_flutter/pubspec.yaml +++ b/src/bindings/ejdb2_flutter/pubspec.yaml @@ -1,6 +1,6 @@ name: ejdb2_flutter description: Embeddable JSON Database engine EJDB http://ejdb.org Flutter binding. -version: 1.0.13+1 +version: 1.0.14+1 homepage: https://ejdb.org environment: diff --git a/src/bindings/ejdb2_node/Changelog b/src/bindings/ejdb2_node/Changelog index 0b781cfc0..6bb058a9e 100644 --- a/src/bindings/ejdb2_node/Changelog +++ b/src/bindings/ejdb2_node/Changelog @@ -1,3 +1,7 @@ +ejdb_node (1.0.27) + + * Upgraded to ejdb v2.0.40 + ejdb_node (1.0.26) * Upgraded to ejdb v2.0.39 diff --git a/src/bindings/ejdb2_node/package.json b/src/bindings/ejdb2_node/package.json index dbcbccc6e..14d399436 100644 --- a/src/bindings/ejdb2_node/package.json +++ b/src/bindings/ejdb2_node/package.json @@ -1,6 +1,6 @@ { "name": "ejdb2_node", - "version": "1.0.26", + "version": "1.0.27", "repository": "https://github.com/Softmotions/ejdb.git", "author": "Anton Adamansky ", "description": "EJDB2 Node.js native binding", diff --git a/src/bindings/ejdb2_react_native/binding/Changelog b/src/bindings/ejdb2_react_native/binding/Changelog index 96c97e82b..789eb5848 100644 --- a/src/bindings/ejdb2_react_native/binding/Changelog +++ b/src/bindings/ejdb2_react_native/binding/Changelog @@ -1,8 +1,12 @@ -ejdb_dart (1.0.13) +ejdb2_react_native (1.0.14) + + * Upgraded to ejdb v2.0.40 + +ejdb2_react_native (1.0.13) * Upgraded to ejdb v2.0.39 -ejdb_dart (1.0.12) +ejdb2_react_native (1.0.12) * Upgraded to ejdb v2.0.37 * Fixed wal related durability issue diff --git a/src/bindings/ejdb2_react_native/binding/package.json b/src/bindings/ejdb2_react_native/binding/package.json index 2fb9804f8..327b08f3d 100644 --- a/src/bindings/ejdb2_react_native/binding/package.json +++ b/src/bindings/ejdb2_react_native/binding/package.json @@ -1,6 +1,6 @@ { "name": "ejdb2_react_native", - "version": "1.0.13", + "version": "1.0.14", "repository": "https://github.com/Softmotions/ejdb.git", "author": "Anton Adamansky ", "description": "EJDB2 React Native binding",