Skip to content

Commit ceb03f1

Browse files
feat: Upgrade photo_manager version to 3.x (#221)
Signed-off-by: CaiJingLong <[email protected]> Co-authored-by: Alex Li <[email protected]>
1 parent 2203168 commit ceb03f1

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed

CHANGELOG.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,12 @@ that can be found in the LICENSE file. -->
44

55
# Changelog
66

7-
See the [Migration Guide](guides/migration_guide.md) for the details of breaking changes between versions.
7+
See the [Migration Guide](guides/migration_guide.md) for breaking changes between versions.
8+
9+
## 4.2.0-dev.1
10+
11+
- Bump `photo_manager` to v3.x.
12+
- Export `photo_manager_image_provider`.
813

914
## 4.1.0
1015

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

1722
- Handle exceptions after all flows.
18-
- Fix various of problems with the capture button.
23+
- Fix various problems with the capture button.
1924

2025
## 4.0.3
2126

lib/src/states/camera_picker_viewer_state.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,6 @@ class _WechatLoadingState extends State<_WechatLoading>
430430
Text(
431431
widget.tip,
432432
style: const TextStyle(fontSize: 14),
433-
textScaleFactor: 1,
434433
),
435434
],
436435
);

lib/wechat_camera_picker.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ library wechat_camera_picker;
66

77
export 'package:camera/camera.dart';
88
export 'package:photo_manager/photo_manager.dart';
9+
export 'package:photo_manager_image_provider/photo_manager_image_provider.dart';
910

1011
export 'src/constants/config.dart';
1112
export 'src/constants/enums.dart';

pubspec.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: wechat_camera_picker
2-
version: 4.1.0
2+
version: 4.2.0-dev.1
33
description: |
44
A camera picker for Flutter projects based on WeChat's UI,
55
which is also a separate runnable extension to the
@@ -25,7 +25,8 @@ dependencies:
2525
camera: ^0.10.0
2626
camera_platform_interface: ^2.1.5
2727
path: ^1.8.0
28-
photo_manager: ^2.7.0
28+
photo_manager: ^3.0.0-dev.1
29+
photo_manager_image_provider: ^2.0.0
2930
sensors_plus: ^3.1.0
3031
video_player: ^2.7.0
3132

0 commit comments

Comments
 (0)