From 8d72cf20bc9523f8f10d69a44707316f0d31538d Mon Sep 17 00:00:00 2001 From: Burhanuddin Rashid Date: Sat, 31 Jul 2021 08:17:50 +0530 Subject: [PATCH] Bumped up the version to 1.5.1 --- CHANGELOG.md | 6 +++++- README.md | 4 ++-- app/build.gradle | 6 +++--- photoeditor/build.gradle | 6 +++--- 4 files changed, 13 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c039f4dc..a77987c6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -77,4 +77,8 @@ new TextStyleBuilder() ### 1.5.0 - Deprecated : `setBrushSize()` , `setOpacity()` and `setBrushColor`. Use `ShapeBuilder` - New : Drawing Shapes using `ShapeBuilder`. Support Line, Brush, Oval and Rectangle out of the box.Deprecated -- New : Allowing to add text shadow using `TextStyleBuilder.withTextShadow()` \ No newline at end of file +- New : Allowing to add text shadow using `TextStyleBuilder.withTextShadow()` + +### 1.5.1 +- New : #379 Should disallow drawing on left or right of the image using `photoEditor.setClipSourceImage(true)` +- New/Break : #383 Get a callback when the image source is touched `onTouchSourceImage(MotionEvent event);` \ No newline at end of file diff --git a/README.md b/README.md index 0e21b159..ad752963 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # PhotoEditor ![Github Action](https://github.com/burhanrashid52/PhotoEditor/actions/workflows/app_build_and_test.yml/badge.svg) -[![Downloads](https://img.shields.io/badge/Download-1.5.0-blue.svg)](https://search.maven.org/artifact/com.burhanrashid52/photoeditor/1.5.0/aar) ![API](https://img.shields.io/badge/API-14%2B-brightgreen.svg) [![JavaDoc](https://img.shields.io/badge/JavaDoc-PhotoEditor-blue.svg)](https://burhanrashid52.github.io/PhotoEditor/) [![Uplabs](https://img.shields.io/badge/Uplabs-PhotoEditor-orange.svg)](https://www.uplabs.com/posts/photoeditor) +[![Downloads](https://img.shields.io/badge/Download-1.5.1-blue.svg)](https://search.maven.org/artifact/com.burhanrashid52/photoeditor/1.5.1/aar) ![API](https://img.shields.io/badge/API-14%2B-brightgreen.svg) [![JavaDoc](https://img.shields.io/badge/JavaDoc-PhotoEditor-blue.svg)](https://burhanrashid52.github.io/PhotoEditor/) [![Uplabs](https://img.shields.io/badge/Uplabs-PhotoEditor-orange.svg)](https://www.uplabs.com/posts/photoeditor) [![AndroidArsenal](https://img.shields.io/badge/Android%20Arsenal-PhotoEditor-blue.svg)](https://android-arsenal.com/details/1/6736) [![AndroidDevDigest](https://img.shields.io/badge/AndroidDev%20Digest-%23185-brightgreen.svg)](https://www.androiddevdigest.com/digest-185) [![AwesomeAndroid](https://img.shields.io/badge/Awesome%20Android-%2397-red.svg)](https://android.libhunt.com/newsletter/97) @@ -47,7 +47,7 @@ PhotoEditor ```v.1.0.0``` is a migration to androidX and dropping the support of ## Getting Started To start with this, we need to simply add the dependencies from `mavenCentral()` in the gradle file of our app module like this ```groovy -implementation 'com.burhanrashid52:photoeditor:1.5.0' +implementation 'com.burhanrashid52:photoeditor:1.5.1' ``` or we can also import the :photoeditor module from sample for further customization diff --git a/app/build.gradle b/app/build.gradle index ecc34145..f6c48bfa 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -6,8 +6,8 @@ android { applicationId "com.burhanrashid52.photoediting" minSdkVersion 14 targetSdkVersion 30 - versionCode 5 - versionName "1.5.0" + versionCode 6 + versionName "1.5.1" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } buildTypes { @@ -31,7 +31,7 @@ dependencies { // NOTE(lucianocheng): Using the local photoeditor implementation instead of the published // maven package to faciliate testing, and for the integration tests // to work on locally modified code. - //implementation 'com.burhanrashid52:photoeditor:1.5.0' + //implementation 'com.burhanrashid52:photoeditor:1.5.1' implementation project(':photoeditor') implementation 'androidx.cardview:cardview:1.0.0' diff --git a/photoeditor/build.gradle b/photoeditor/build.gradle index c662aec8..83df524b 100644 --- a/photoeditor/build.gradle +++ b/photoeditor/build.gradle @@ -7,8 +7,8 @@ android { defaultConfig { minSdkVersion 14 targetSdkVersion 30 - versionCode 4 - versionName "1.5.0" + versionCode 5 + versionName "1.5.1" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } @@ -52,7 +52,7 @@ dependencies { ext { PUBLISH_GROUP_ID = 'com.burhanrashid52' - PUBLISH_VERSION = '1.5.0' + PUBLISH_VERSION = '1.5.1' PUBLISH_ARTIFACT_ID = 'photoeditor' }