Skip to content

Commit

Permalink
feat: Upgrade photo_manager version to 3.x (#221)
Browse files Browse the repository at this point in the history
Signed-off-by: CaiJingLong <cjl_spy@163.com>
Co-authored-by: Alex Li <github@alexv525.com>
  • Loading branch information
CaiJingLong and AlexV525 authored Nov 16, 2023
1 parent 2203168 commit ceb03f1
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
9 changes: 7 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@ that can be found in the LICENSE file. -->

# Changelog

See the [Migration Guide](guides/migration_guide.md) for the details of breaking changes between versions.
See the [Migration Guide](guides/migration_guide.md) for breaking changes between versions.

## 4.2.0-dev.1

- Bump `photo_manager` to v3.x.
- Export `photo_manager_image_provider`.

## 4.1.0

Expand All @@ -15,7 +20,7 @@ See the [Migration Guide](guides/migration_guide.md) for the details of breaking
### Fixes

- Handle exceptions after all flows.
- Fix various of problems with the capture button.
- Fix various problems with the capture button.

## 4.0.3

Expand Down
1 change: 0 additions & 1 deletion lib/src/states/camera_picker_viewer_state.dart
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,6 @@ class _WechatLoadingState extends State<_WechatLoading>
Text(
widget.tip,
style: const TextStyle(fontSize: 14),
textScaleFactor: 1,
),
],
);
Expand Down
1 change: 1 addition & 0 deletions lib/wechat_camera_picker.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ library wechat_camera_picker;

export 'package:camera/camera.dart';
export 'package:photo_manager/photo_manager.dart';
export 'package:photo_manager_image_provider/photo_manager_image_provider.dart';

export 'src/constants/config.dart';
export 'src/constants/enums.dart';
Expand Down
5 changes: 3 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: wechat_camera_picker
version: 4.1.0
version: 4.2.0-dev.1
description: |
A camera picker for Flutter projects based on WeChat's UI,
which is also a separate runnable extension to the
Expand All @@ -25,7 +25,8 @@ dependencies:
camera: ^0.10.0
camera_platform_interface: ^2.1.5
path: ^1.8.0
photo_manager: ^2.7.0
photo_manager: ^3.0.0-dev.1
photo_manager_image_provider: ^2.0.0
sensors_plus: ^3.1.0
video_player: ^2.7.0

Expand Down

0 comments on commit ceb03f1

Please sign in to comment.