Skip to content

Commit 73115af

Browse files
feat: Multiple improvements and fixes (#1227)
- Optimize task priority handling on Darwin by automatically assigning QoS levels based on method types. - Optimize the default sort descriptors on Darwin. - Fix the incorrect type of conversion with the Live-Photo's duration on Darwin. --------- Signed-off-by: Caijinglong <[email protected]> Co-authored-by: Alex Li <[email protected]>
1 parent a75a215 commit 73115af

File tree

6 files changed

+812
-18
lines changed

6 files changed

+812
-18
lines changed

CHANGELOG.md

Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,17 @@ To know more about breaking changes, see the [Migration Guide][].
1010

1111
*None.*
1212

13+
## 3.6.3
14+
15+
### Improvements
16+
17+
- Optimize task priority handling on Darwin by automatically assigning QoS levels based on method types.
18+
- Optimize the default sort descriptors on Darwin.
19+
20+
### Fixes
21+
22+
- Fix the incorrect type of conversion with the Live-Photo's duration on Darwin.
23+
1324
## 3.6.2
1425

1526
### Fixes
@@ -20,7 +31,7 @@ To know more about breaking changes, see the [Migration Guide][].
2031

2132
### Fixes
2233

23-
- Do not throw when querying not existing assets in bulk on Android.
34+
- Do not throw when querying non-existing assets in bulk on Android.
2435

2536
## 3.6.0
2637

@@ -30,13 +41,13 @@ To know more about breaking changes, see the [Migration Guide][].
3041

3142
### Improvements
3243

33-
- Improves the options when fetching fixed number of assets on iOS and macOS.
44+
- Improves the options when fetching a fixed number of assets on iOS and macOS.
3445

3546
### Fixes
3647

3748
- Do not use `privateFileURL` on iOS 18+.
3849
- Fixes saving MP4 videos will result in 3GP on Android API 30-.
39-
- Fixes nullable result returned when saving images and videos on Android.
50+
- Fixes nullable results returned when saving images and videos on Android.
4051

4152
## 3.5.2
4253

@@ -46,7 +57,7 @@ To know more about breaking changes, see the [Migration Guide][].
4657

4758
### Fixes
4859

49-
- Fix no returned ids after successful deletion on Android API 29+.
60+
- Fix no returned IDs after successful deletion on Android API 29+.
5061
- Fix mediaLocation = true does not work on Android API 34.
5162

5263
## 3.5.1
@@ -55,7 +66,7 @@ To know more about breaking changes, see the [Migration Guide][].
5566

5667
- Reuse files when saving images on Darwin.
5768
- Returns non-nullable results as much as possible.
58-
- Fix export session file type with videos at the first time on Darwin.
69+
- Fix export session file type with videos for the first time on Darwin.
5970

6071
## 3.5.0
6172

@@ -132,7 +143,7 @@ To know more about breaking changes, see the [Migration Guide][].
132143
### Fixes
133144

134145
- Do not require `WRITE_EXTERNAL_STORAGE` if not declared in the manifest with Android 29-.
135-
- Fix `fetchPathProperties` exception on android of API 28.
146+
- Fix `fetchPathProperties` exception on Android of API 28.
136147

137148
## 3.2.1
138149

@@ -150,7 +161,7 @@ To know more about breaking changes, see the [Migration Guide][].
150161
### Improvements
151162

152163
* Restores `containsLivePhotos` to `true` by default and deprecates it.
153-
* Use the main resource's filename for title by default on iOS.
164+
* Use the main resource's filename for the title by default on iOS.
154165
* Support more methods on the OpenHarmony.
155166

156167
### Fixes
@@ -179,7 +190,7 @@ See the [Migration Guide][] for details of breaking changes.
179190

180191
### Fixes
181192

182-
- Do not predicate subtypes images as adjusted on Darwin.
193+
- Do not predicate subtype images as adjusted on Darwin.
183194
- Fix `PMProgressHandler` not getting notified when failed on Darwin.
184195
- Merge Android API 29 and 30 `PermissionDelegate`s
185196
which allows Android API 29 to grant permissions without `WRITE_EXTERNAL_STORAGE`.
@@ -210,7 +221,7 @@ See the [Migration Guide][] for details of breaking changes.
210221

211222
### Fixes
212223

213-
- Upgrade android/build.gradle to load current java version from some environment variables.
224+
- Upgrade android/build.gradle to load the current java version from some environment variables.
214225
- Fix the `setIgnorePermissionCheck` method not working on Android.
215226

216227
## 2.8.0
@@ -221,7 +232,7 @@ See the [Migration Guide][] for details of breaking changes.
221232

222233
### Features
223234

224-
- Support Android 14 limited access to assets.
235+
- Support Android 14 with limited access to assets.
225236

226237
### Fixes
227238

example/.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
.svn/
1111
**/Podfile.lock
1212

13+
!pubspec.lock
14+
1315
# IntelliJ related
1416
*.iml
1517
*.ipr
@@ -42,4 +44,4 @@ app.*.symbols
4244
app.*.map.json
4345
.metadata
4446

45-
local.properties
47+
local.properties

0 commit comments

Comments
 (0)