# Changelog

## 鸿蒙化Log

### v0.51.2-rc.6

- fix: Adjust the saved format after image cropping and compression
- pre-release: @react-native-ohos/react-native-image-crop-picker@0.51.2-rc.6

### v0.51.2-rc.5

- fix: Add the "freeStyleCropEnabled" attribute
- pre-release: @react-native-ohos/react-native-image-crop-picker@0.51.2-rc.5

### v0.51.2-rc.4

- Fix: Support for multiple image formats in image compression. Fixed issues with openPicker and openCamera where circular cropping of images did not display properly.
- Fix: Adjust to retain the original format of the image after cropping it.
- Fix: Address the issue where the image cropping frame cannot be dragged. Optimize the position dragging of the cropping frame to ensure it remains centered and maintains consistent iOS effect.
- pre-release: @react-native-ohos/react-native-image-crop-picker@0.51.2-rc.4

### v0.51.2-rc.3

- fix: The issue of the PNG image being larger in memory than the one generated with a compression ratio of 0.8 to 1 has been resolved.
- pre-release: @react-native-ohos/react-native-image-crop-picker@0.51.2-rc.3

### v0.51.2-rc.2

- fix: When canceling the photo selection, do not display an error prompt on the interface.
- pre-release: @react-native-ohos/react-native-image-crop-picker@0.51.2-rc.2

### v0.51.2-rc.1

- feat: Updated the synchronization community to version 0.51.1, and modified and added attributes of third-party library components.
- pre-release: @react-native-ohos/react-native-image-crop-picker@0.51.2-rc.1

### v0.50.2

- release: @react-native-ohos/react-native-image-crop-picker@0.50.2

### v0.50.2-rc.6

- pre-release: @react-native-ohos/react-native-image-crop-picker@0.50.2-rc.6
- fix: Adjust the height of the cropping frame to match the height of the image.

### v0.50.2-rc.2

- Fix the issue where the file size after compression is larger than the original file. 

### v0.50.1

- react-native-image-crop-picker仓库迁移 ([e09dff16cc4c51bfdcec842921d3c30d49d39a19](https://gitee.com/openharmony-sig/rntpc_react-native-image-crop-picker/pulls/1))
- chore: add COMMITTERS.md ([6e71f31b17e5aba5a60215b58ddc6f656def74f9](https://gitee.com/openharmony-sig/rntpc_react-native-image-crop-picker/pulls/2))
- pre-release: @react-native-ohos/react-native-image-crop-picker@0.50.2-rc.2([db47a7fb5b3960c0e05a93f83edb13a5113eade2](https://gitee.com/openharmony-sig/rntpc_react-native-image-crop-picker/pulls/4))

## ReleaseLog

### v0.50.0

#### What's Changed

- fix: Resolve OutOfMemoryError in image/video processing by [@GeeksEra](https://github.com/GeeksEra) in [#2137](https://github.com/ivpusic/react-native-image-crop-picker/pull/2137)
- Update ImageCropPicker.m by [@uranashel44](https://github.com/uranashel44) in [#2129](https://github.com/ivpusic/react-native-image-crop-picker/pull/2129)
- [BugFix - ios] Keep selection order by [@sean5940](https://github.com/sean5940) in [#2099](https://github.com/ivpusic/react-native-image-crop-picker/pull/2099)
- Fix the issure in Android where the photo picker does not support a maxFiles selection limit. by [@xgtz421](https://github.com/xgtz421) in [#2147](https://github.com/ivpusic/react-native-image-crop-picker/pull/2147)
- If the "maxFiles" keyword is missing, assign a default value of 5 to align with the documentation. by [@xgtz421](https://github.com/xgtz421) in [#2148](https://github.com/ivpusic/react-native-image-crop-picker/pull/2148)
- New Architecture support by [@ivpusic](https://github.com/ivpusic) in [#2171](https://github.com/ivpusic/react-native-image-crop-picker/pull/2171)

#### New Contributors

- [@GeeksEra](https://github.com/GeeksEra) made their first contribution in [#2137](https://github.com/ivpusic/react-native-image-crop-picker/pull/2137)
- [@uranashel44](https://github.com/uranashel44) made their first contribution in [#2129](https://github.com/ivpusic/react-native-image-crop-picker/pull/2129)
- [@xgtz421](https://github.com/xgtz421) made their first contribution in [#2147](https://github.com/ivpusic/react-native-image-crop-picker/pull/2147)

### v0.42.0

#### What's Changed

- Implement the new official Android Photo Picker by [@Pauligrinder](https://github.com/Pauligrinder) in [#2093](https://github.com/ivpusic/react-native-image-crop-picker/pull/2093)

#### New Contributors

- [@Pauligrinder](https://github.com/Pauligrinder) made their first contribution in [#2093](https://github.com/ivpusic/react-native-image-crop-picker/pull/2093)

### v0.41.6

#### What's Changed

- Enhancement:: Add: Filename in response object for Android by [@AmeyShrivastava](https://github.com/AmeyShrivastava) in [#1945](https://github.com/ivpusic/react-native-image-crop-picker/pull/1945)
- Fix openCamera reported dimensions for portrait photos on Android by [@gaearon](https://github.com/gaearon) in [#2110](https://github.com/ivpusic/react-native-image-crop-picker/pull/2110)

#### New Contributors

- [@AmeyShrivastava](https://github.com/AmeyShrivastava) made their first contribution in [#1945](https://github.com/ivpusic/react-native-image-crop-picker/pull/1945)
- [@gaearon](https://github.com/gaearon) made their first contribution in [#2110](https://github.com/ivpusic/react-native-image-crop-picker/pull/2110)

### v0.41.5

#### What's Changed

- fix: [iOS] Image is being resized up instead of down & Error "User did not grant library permission." in Android 10 by [@xhirazi](https://github.com/xhirazi) in [#2103](https://github.com/ivpusic/react-native-image-crop-picker/pull/2103)

#### New Contributors

- [@xhirazi](https://github.com/xhirazi) made their first contribution in [#2103](https://github.com/ivpusic/react-native-image-crop-picker/pull/2103)

### v0.41.4

#### What's Changed

- Update example project by [@sean5940](https://github.com/sean5940) in [#2097](https://github.com/ivpusic/react-native-image-crop-picker/pull/2097)

#### New Contributors

- [@sean5940](https://github.com/sean5940) made their first contribution in [#2097](https://github.com/ivpusic/react-native-image-crop-picker/pull/2097)

### v0.41.3

#### What's Changed

- feat(android):RN-0.73 and AGP 8.0 Compatibility by [@dishantwalia](https://github.com/dishantwalia) in [#2018](https://github.com/ivpusic/react-native-image-crop-picker/pull/2018)

#### New Contributors

- [@dishantwalia](https://github.com/dishantwalia) made their first contribution in [#2018](https://github.com/ivpusic/react-native-image-crop-picker/pull/2018)

### v0.41.2

#### What's Changed

- Fixes an issue that would cause the compiler to crash in Xcode 16 beta1 by [@isnine](https://github.com/isnine) in [#2068](https://github.com/ivpusic/react-native-image-crop-picker/pull/2068)

#### New Contributors

- [@isnine](https://github.com/isnine) made their first contribution in [#2068](https://github.com/ivpusic/react-native-image-crop-picker/pull/2068)

### v0.41.1

#### What's Changed

- URGENT: Updated RNImageCropPicker.podspec by [@ShivamKJJW](https://github.com/ShivamKJJW) in [#2056](https://github.com/ivpusic/react-native-image-crop-picker/pull/2056)
- https://github.com/ivpusic/react-native-image-crop-picker/pull/2068)

#### New Contributors

- [@ShivamKJJW](https://github.com/ShivamKJJW) made their first contribution in [#2056](https://github.com/ivpusic/react-native-image-crop-picker/pull/2056)

### v0.41.0

#### What's Changed

- fix(ios): replace `UIGraphicsBeginImageContext` in Compression.m by [@remarkablemark](https://github.com/remarkablemark) in [#2055](https://github.com/ivpusic/react-native-image-crop-picker/pull/2055)
- Add Privacy manifest by [@ujeon](https://github.com/ujeon) in [#2045](https://github.com/ivpusic/react-native-image-crop-picker/pull/2045)
- add Dutch (nl) as a translation for iOS by [@HostenMarijn](https://github.com/HostenMarijn) in [#1918](https://github.com/ivpusic/react-native-image-crop-picker/pull/1918)

#### New Contributors

- [@remarkablemark](https://github.com/remarkablemark) made their first contribution in [#2055](https://github.com/ivpusic/react-native-image-crop-picker/pull/2055)
- [@ujeon](https://github.com/ujeon) made their first contribution in [#2045](https://github.com/ivpusic/react-native-image-crop-picker/pull/2045)
- [@HostenMarijn](https://github.com/HostenMarijn) made their first contribution in [#1918](https://github.com/ivpusic/react-native-image-crop-picker/pull/1918)

### v0.40.3

#### What's Changed

- Make list items accessible by [@v-miibr](https://github.com/v-miibr) in [#1439](https://github.com/ivpusic/react-native-image-crop-picker/pull/1439)

#### New Contributors

- [@v-miibr](https://github.com/v-miibr) made their first contribution in [#1439](https://github.com/ivpusic/react-native-image-crop-picker/pull/1439)