6.0 KiB
6.0 KiB
5.0.1
- Android: improve compression quality
5.0.0
- upgrade
httpto v1.0.0
4.0.1
- refactor CHANGELOG
4.0.0
- Android: support namespace, Gradle 8
3.0.3
- iOS: bump ios minimum version to 11
3.0.2
- Web: fix web translation issue
3.0.1
- Android: replace
jcenterbymavenCentral - Web: support localization
3.0.0
- BREAKING CHANGE: move all setting models to platform interface packages.
- Separate Javascript codes from
WebSettingsmodel (so there's no need to use conditional import to config Web UI now)
MIGRATION GUIDE
BEFORE
WebUiSettings(
boundary: Boundary(
width: 520,
height: 520,
),
viewPort: ViewPort(width: 480, height: 480, type: 'circle'),
)
AFTER
WebUiSettings(
boundary: const CroppieBoundary(
width: 520,
height: 520,
),
viewPort: const CroppieViewPort(width: 480, height: 480, type: 'circle'),
)
2.0.3
- correct importing JS library
2.0.2
- update document
2.0.1
- fix missing pubspec config on web
2.0.0
- Support Web
- BREAKING CHANGE:
- change result data type from
FiletoCroppedFile. - remove
androidUiSettingsandiosUiSettingsparameter incropImagemethod, they are replaced byuiSettings
- change result data type from
MIGRATION GUIDE
BEFORE
File croppedFile = await ImageCropper().cropImage(
sourcePath: imageFile.path,
androidUiSettings: AndroidUiSettings(
toolbarTitle: 'Cropper',
toolbarColor: Colors.deepOrange,
toolbarWidgetColor: Colors.white,
initAspectRatio: CropAspectRatioPreset.original,
lockAspectRatio: false),
iosUiSettings: IOSUiSettings(
minimumAspectRatio: 1.0,
)
);
AFTER
CroppedFile croppedFile = await ImageCropper().cropImage(
sourcePath: imageFile.path,
uiSettings: [
AndroidUiSettings(
toolbarTitle: 'Cropper',
toolbarColor: Colors.deepOrange,
toolbarWidgetColor: Colors.white,
initAspectRatio: CropAspectRatioPreset.original,
lockAspectRatio: false),
IOSUiSettings(
title: 'Cropper',
)
],
);
2.0.0-beta.3
- support rotate image on Web
2.0.0-beta.2
- correct missing README document about Web support.
2.0.0-beta.1
- BREAKING CHANGE: update result models to support web, replace
FilebyCroppedFile
2.0.0-beta
- migrate to federated plugins
- BREAKING CHANGE: remove
androidUiSettingsandiosUiSettings, they are replaced byuiSettingsfor sake of supporting multiple platforms in future.
MIGRATION GUIDE
BEFORE
File croppedFile = await ImageCropper().cropImage(
sourcePath: imageFile.path,
androidUiSettings: AndroidUiSettings(
toolbarTitle: 'Cropper',
toolbarColor: Colors.deepOrange,
toolbarWidgetColor: Colors.white,
initAspectRatio: CropAspectRatioPreset.original,
lockAspectRatio: false),
iosUiSettings: IOSUiSettings(
minimumAspectRatio: 1.0,
)
);
AFTER
File croppedFile = await ImageCropper().cropImage(
sourcePath: imageFile.path,
uiSettings: [
AndroidUiSettings(
toolbarTitle: 'Cropper',
toolbarColor: Colors.deepOrange,
toolbarWidgetColor: Colors.white,
initAspectRatio: CropAspectRatioPreset.original,
lockAspectRatio: false),
IOSUiSettings(
title: 'Cropper',
)
],
);
1.5.1
- update README to introduce Web support experiment
1.5.0
- Upgrade
uCropto v2.2.8 - Upgrade
TOCropViewControllerto v2.6.1 - PR: #309, #229, #294, #258, #251
- BREAKING CHANGE: change
cropImage()to instance method
1.4.1
- Upgrade
uCropto v2.2.7
1.4.0
- Upgrade
TOCropViewControllerto v2.6.0 - Migrate to nullsafety
1.3.1
- Upgrade
uCropto v2.2.6 - Fix bug: image compress file format (png)
1.3.0
- Update
pubspecto new format - Upgrade
TOCropViewControllerto v2.5.4
1.2.3
- Android: fix bug
1.2.2
- Android: upgrade uCrop to v2.2.5
- BREAKING CHANGE: remove
activeWidgetColorfromAndroidUiSettings
1.2.1
- iOS: add more UI customization properties (title, initRect)
- update Flutter version constraint (>= v1.12.13)
1.2.0
- Android: migrate to embedding v2
1.1.2
- Android: fix bug crashing on Flutter v1.12.13
1.1.1
- Android: upgrade gradle version
- iOS: remove
static_frameworkPod configuration, upgradeTOCropViewControllerto 2.5.2
1.1.0
- BIG UPDATES: supports UI customization on both of Android and iOS, supports more image compress format and quality.
- BREAKING CHANGE:
ratioXandratioYare replaced byaspectRatio,circleShapeis replaced bycropStyle, removedtoolbarTitleandtoolbarColor(these properties are moved intoAndroidUiSettings) - iOS: upgrade native library (TOCropViewController v2.5.1)
- Android: upgrade native library (uCrop v2.2.4)
1.0.2
- iOS: upgrade native library
- Android: fix bug #40
1.0.1
- Android: migrate to AndroidX
- upgrade native libraries
1.0.0
- Android: remove deprecated support libraries
- Android: target version to 28
0.0.9
- clarify code document
0.0.8
- set default value for
circleShape
0.0.7
- support circular cropping
0.0.6
- upgrade
TOCropViewControllerdependency to v2.3.8
0.0.5
- re-config to support Dart2
- fix bug: lock aspect ratio
0.0.4
- refactor: change
toolbarColortype ofinttoColor
0.0.3
- fix bug: increasing image size after cropping
- add new feature:
toolbarTitleandtoolbarColorto customize title and color of copperActivity
0.0.2
- clarify document
0.0.1
- initial release.