Skip to content

Releases: CanHub/Android-Image-Cropper

4.5.0

02 Nov 10:35
Compare
Choose a tag to compare
  • README: Slightly improve the Migration section. #520 (vanniktech)
  • API: Deprecate CropImageView.croppedImage #519 (vanniktech)
  • API: Deprecate CropImageView.isSaveBitmapToInstanceState #518 (vanniktech)
  • API: Remove deprecated methods from Version 4.4.0 in CropImageContractOption. #513 (vanniktech)
  • API: Remove deprecated methods from Version 4.4.0 in CropImage. #512 (vanniktech)
  • Behavior Change: Always try to return resized bitmap in CropResult. #509 (vanniktech)
  • Behavior Change: The crop area for CropShapes (Rectangle, Rectangle vertical only, Rectangle horizontal only) can now also be adjusted by dragging outside the Crop Area just like it's always been possible for CropShape.OVAL. #508 (vanniktech)

4.4.0

24 Oct 13:14
Compare
Choose a tag to compare
  • API: CropImageOptions is now a data class. Currently with mutable properties, this will change to immutable soon. #490 (vanniktech)
  • API: CropImageView gets a setImageCropOptions method. #500 (vanniktech)
  • API: Deprecate CropImageContractOptions functions to modify CropImageOptions instance. #492 (vanniktech)
  • API: Make BitmapCroppingWorkerJob internal. #478 (vanniktech)
  • API: Make BitmapLoadingWorkerJob internal. #465 (vanniktech)
  • API: Make CropException inner objects internal. #470 (vanniktech)
  • API: Make CropImageIntentChooser internal. #485 (vanniktech)
  • API: Make CropImageOptions class final. #487 (vanniktech)
  • API: Make CropOverlayView internal. #468 (vanniktech)
  • API: Make CropWindowMoveHandler & CropWindowHandler internal. #467 (vanniktech)
  • Behavior Change: By default always show the guidelines. #494 (vanniktech)
  • Behavior change: By default show crop window on the entire image. #474 (vanniktech)
  • Deprecate: CropImage#get* functions are now deprecated as they seem to be unused. #469 (vanniktech)
  • New API: CropImageView#expectedImageSize which returns the expected image size, if cropping the image right now. #496 (vanniktech)
  • Raise minSdk from 16 to 21. #456 (vanniktech)
  • Sample: Enable StrictMode. #464 (vanniktech)
  • Sample: Showcase expectedImageSize in CustomActivity. #503 (vanniktech)
  • Strict Mode: Fix UnsafeIntentLaunchViolation when using CropImageActivity. #502 (vanniktech)

In addition, this release contains a lot of documentation fixes and refactorings.

4.3.3

19 Oct 14:04
Compare
Choose a tag to compare

⚠️ 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:

-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 has taken over the maintenance of this library.

  • Kotlin Build Script, proper Maven Publishing, new workflows, Gradle Catalogue & much more #450 (vanniktech)
  • Correctly close resources in BitmapUtils. #440 (vanniktech)
  • Bugfix/437 setting toolbar color to white does nothing #438 (Devenom1)

4.3.2

08 Sep 12:10
85c98bb
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 4.3.1...4.3.2

4.3.1

20 Jul 09:54
cd3f79c
Compare
Choose a tag to compare

🚀 34 - ⬇️ 152.8k - ⭐ 643 - 🔎 15 - 🍴 155

What's Changed

New Contributors

Full Changelog: 4.3.0...4.3.1

4.3.0

10 Jun 12:14
e76c802
Compare
Choose a tag to compare

🚀 33 - ⬇️ 147.7k - ⭐ 578 - 🔎 17 - 🍴 147

What's Changed

New Contributors

Full Changelog: 4.2.1...4.3.0

4.2.1

04 Apr 16:02
9031d8d
Compare
Choose a tag to compare

🚀 32 - ⬇️ 116.3k - ⭐ 506 - 🔎 17 - 🍴 133

What's Changed

New Contributors

Full Changelog: 4.2.0...4.2.1

4.2.0

21 Mar 18:12
81bb6e7
Compare
Choose a tag to compare

🚀 31 - ⬇️ 100.8k - ⭐ 478 - 🔎 17 - 🍴 126

Added

  • Added an option to skip manual editing and return entire image when required #324 @Devenom1

Fixed

Changed

4.1.0

02 Feb 13:08
b172d90
Compare
Choose a tag to compare

🚀 30 - ⬇️ 86.1k - ⭐ 430 - 🔎 15 - 🍴 104

Fixed

  • When TakePictureContract returns false or null return null result. #287 Thanks @ArmChilingarov

Added

  • Added provision to add Oval crop corners when the crop style is Rectangle #305 Thanks @bhagyae5308

4.0.0

30 Nov 16:36
Compare
Choose a tag to compare

🚀 29 - ⬇️ 61.7k - ⭐ 382 - 🔎 15 - 🍴 89

Attention

This is a huge update of the library, many broken are expect, please update with care.

CHANGELOG

Fixed

  • Issue where some devices based on MIUI would not retrieve image from gallery #253

Changed

  • minSdkVersion = 16, previous versions have been deprecated by Google.

Added

  • Added option to enable users specify image source #226

Removed

  • Pick Image, now the library will handle this without expose the contract #271
  • Need for READ_EXTERNAL_STORAGE permission #271
  • Previous deprecated ActivityBuilder, startPickImageActivity, getActivityResult and onActivityResult #145
  • Removed ProGuard rule from ReadMe #257
  • Removed unused dependencies and settings from Gradle files #265