Skip to content

Commit

Permalink
Prepare version 4.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
vanniktech committed Oct 19, 2022
1 parent f3f80e3 commit cefa457
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 56 deletions.
37 changes: 20 additions & 17 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,23 @@
# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
- `Added` for new features.
- `Changed` for changes in existing functionality.
- `Deprecated` for soon-to-be removed features.
- `Removed` for now removed features.
- `Fixed` for any bug fixes.
- `Security` in case of vulnerabilities.

## [x.x.x] - unreleased
### Added
- Added options to customize colors of toolbar back button, title and menu texts. [#437](https://github.com/CanHub/Android-Image-Cropper/issues/437)
### Fixed
- Fixed and issue where setting toolbar color to white would do nothing. [#437](https://github.com/CanHub/Android-Image-Cropper/issues/437)
- Correctly close resources in BitmapUtils. [#440](https://github.com/CanHub/Android-Image-Cropper/issues/440)
Version 4.4.0 *(In development)*
--------------------------------

Version 4.3.3 *(2022-05-28)*
----------------------------

⚠️ Maven Coordinates have changed ⚠️

This library will no longer be published to Jitpack. The Maven Coordinates have changed, and the library is now on Maven Central. In order to consume the new update please change:

```diff
-implementation("com.github.CanHub:Android-Image-Cropper:4.3.2")
+implementation("com.vanniktech:android-image-cropper:4.3.3")
```

For now, everything else stays the same. [vanniktech](https://github.com/vanniktech) has taken over the maintenance of this library.

- Kotlin Build Script, proper Maven Publishing, new workflows, Gradle Catalogue & much more [\#450](https://github.com/CanHub/Android-Image-Cropper/pull/450) ([vanniktech](https://github.com/vanniktech))
- Correctly close resources in BitmapUtils. [\#440](https://github.com/CanHub/Android-Image-Cropper/pull/440) ([vanniktech](https://github.com/vanniktech))
- Bugfix/437 setting toolbar color to white does nothing [\#438](https://github.com/CanHub/Android-Image-Cropper/pull/438) ([Devenom1](https://github.com/Devenom1))

## [4.3.2] - 08/09/2022
### Fixed
Expand Down
42 changes: 6 additions & 36 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
[![CanHub](.documentation/art/canhub_logo_horizontal_transparent.png?raw=true)](https://github.com/canhub)

[![](https://jitpack.io/v/CanHub/Android-Image-Cropper.svg)](https://jitpack.io/#CanHub/Android-Image-Cropper)

[Using the library in Java](.documentation/java_usage.md)

[FAQ - frequently asked question](.documentation/FAQ.md)
Expand All @@ -18,25 +16,15 @@ Android Image Cropper
![Crop](.documentation/art/demo.gif?raw=true)

# Add to your project
### Step 1. Add the JitPack repository to your root build.gradle
```gradle
allprojects {
repositories {
....
maven { url 'https://jitpack.io' }
}
}
```

### Step 2. Add the dependency
### Step 1. Add the dependency
```gradle
dependencies {
implementation 'com.github.CanHub:Android-Image-Cropper:${version}'
}
dependencies {
implementation 'com.vanniktech:android-image-cropper:4.3.3'
}
```
[Latest Release Version](https://github.com/CanHub/Android-Image-Cropper/releases)

### Step 3. Add permissions to manifest
### Step 2. Add permissions to manifest
Only need if you run on devices under OS10 (SDK 29)
```xml
<manifest>
Expand All @@ -45,23 +33,8 @@ Only need if you run on devices under OS10 (SDK 29)
</manifest>
```

### Step 4. Set source compatibility version to Java 11
- The library is up to date with the latest releases, if you are not using Java 11 yet please check the release page for previous working versions.
- Go to app level `build.gradle` file
- Add this line inside ```android``` in build.gradle
```gradle
compileOptions {
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}

kotlinOptions {
jvmTarget = JavaVersion.VERSION_11.toString()
}
```
- This expects Gradle 7.0+

# Using the Library

There is 3 ways of using the library:
- Calling crop directly [Below]
- [Using the CropView](.documentation/crop_view.md)
Expand Down Expand Up @@ -118,9 +91,6 @@ class MainActivity {
## Posts
- [Android cropping image from camera or gallery](https://canato.medium.com/android-cropping-image-from-camera-or-gallery-fbe732800b08)

## Wanna help the project? Amazing!
- [Contributing Guide](https://github.com/CanHub/Android-Image-Cropper/blob/main/CONTRIBUTING.md)

## License
Forked from [ArthurHub](https://github.com/ArthurHub/Android-Image-Cropper)
Originally forked from [edmodo/cropper](https://github.com/edmodo/cropper).
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
GROUP=com.vanniktech
VERSION_NAME=4.3.3-SNAPSHOT
VERSION_NAME=4.3.3

POM_DESCRIPTION=Image Cropping Library for Android, optimised for Camera / Gallery.

Expand Down
2 changes: 0 additions & 2 deletions jitpack.yml

This file was deleted.

0 comments on commit cefa457

Please sign in to comment.