Skip to content

Latest commit

 

History

History
215 lines (165 loc) · 9.22 KB

CHANGELOG.md

File metadata and controls

215 lines (165 loc) · 9.22 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog

  • 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

Fixed

  • The translation of Camera and Gallery does not exist in some languages.

[4.2.1] - 04/04/2022

Added

  • Added support for optionally displaying an intent chooser when selecting image source. #325

Changed

  • CropException sealed class with cancellation and Image exceptions #332

Fixed

  • Fix disable closing AlertDialog when touching outside the dialog #334

[4.2.0] - 21/03/2022

Added

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

Fixed

  • Added missing support for ScaleType.CENTER_CROP #220
  • State is now preserved across configuration changes #296
  • Fix shadow bug #261

Changed

  • Update portuguese strings #321

[4.1.0] - 02/02/2022

Fixed

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

Added

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

[4.0.0] - 30/11/21

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

[3.3.5] - 07/09/21

Fixed

  • Set output uri ignored #207

[3.3.4] - 02/09/21

Changed

  • Update to Android 12
  • Update library to gradle 7.0.1 and Java 11 #191
  • Any crop action should return uri content #180

Fixed

  • Implement onBackPressed() in sample code for handle backButton pressed #174

[3.2.2] - 31/07/21

Fixed

  • After cropping a camera image, cancelling library picker shows again the last cropped image #162

[3.2.1] - 14/07/21

Fixed

  • Unable to get camera image from contract #160

[3.2.0] - 03/07/21

Added

  • CropImageContract and PickImageContract #145
  • added dependency to androidx.activity:activity-ktx:.2.3 #145

Changed

  • CropImageActivity.onActivityResult no longer receives any result. Override onPickImageResult instead. #145

Deprecated

  • deprecated old methods that depend on the deprecated onActivityResult. Use CropImageContract and PickImageContract instead. #145

[3.1.3] - 10/06/21

Fixed

  • ContextWrapper cannot be cast to FragmentActivity #136

[3.1.2] - 07/06/21

Fixed

  • Missing file extension under Android 10 #138
  • Crashing when using the code CropImage.activity().start(requireActivity(), this) resolved #133

[3.1.1] - 17/05/21

Fixed

  • Make isReadExternalStoragePermissionsRequired and 2 other functions visible in Java #129

[3.1.0] - 09/05/21

Added

  • Add Java Sample code #125

Fixed

  • Cannot call library method from Java language #113 #123

Changed

  • New option for different file names #122

[3.0.1] - 21/04/21

Added

  • Estonian language #119

[3.0.0] - 13/04/21

Removed

  • Methods getUri.

Add

  • Methods getFilePath and getUriContent.

Fixed

  • ENOENT (no such file or directory) #99
  • content:// instead of file:// #83 #84

[2.3.2-alpha] - 12/04/21

Added

  • @JvmStatic annotation in CropImage.activity() and fun activity(uri) #108

[2.3.1] - 01/04/21

Changed

  • Added "fun" for all Kotlin interfaces when possible #102

[2.3.0] - 30/03/21

Changed

  • CropOverlayView to Kotlin #38
  • CropImageView to Kotlin #39
  • CropImage to Kotlin #41
  • BitmapUtils to Kotlin #35

[2.2.2] - 19/03/21

Changed

  • CropWindowMoveHandler to kotlin #36

Fixed

  • Split appCompat version #85

Update

  • Kotlin Version from 1.4.21 to 1.4.30
  • lifecycle-runtime-ktx Version from 2.2.0 to 2.3.0

[2.2.1] - 04/03/21

Added

  • Sample code extending Activity #46

Fixed

  • Bug when crop using Custom Activity (extend) 43

[2.2.0] - 04/03/21

Added

  • Vertical-only and horizontal-only cropping modes #76
  • Option to disable movement of the crop window by dragging the center #79

Fixed

  • Turkish Translations #72

[2.1.1] - 27/02/21

Added

  • CropImage.getActivityResult(data).getBitmap(context) #49

Fixed

  • CropImageView incorrectly restored on rotation #68

[2.1.0] - 11/02/21

Changed

Fixed

[2.0.3] - 27/01/21

Versions 2.0.1 and 2.0.2 are similar, issues with jitpack.

Fixed

  • Make CropImageActivity open for extensions

[2.0.0] - 12/01/21

Changed

  • AsyncTask to Kotlin Coroutines #9

Fixed

  • Uri for camera capture option is now invariant for Android 10 and above #21

[1.1.1] - 03/01/21

Added

  • Ktlint
  • Release using JitPack

Changed

  • Java to kotlin
  • Change icons from PNG to vectors

[1.1.0] - 13/12/20

Changed

  • Update many library versions

Fixed

  • Android 10, 11 Permissions
  • Android 10, 11 Scope Storage

[1.0.0] - 21/11/20