Skip to content

Commit

Permalink
feat: Multiple improvements and fixes (#1227)
Browse files Browse the repository at this point in the history
- 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]>
  • Loading branch information
CaiJingLong and AlexV525 authored Nov 21, 2024
1 parent a75a215 commit 73115af
Show file tree
Hide file tree
Showing 6 changed files with 812 additions and 18 deletions.
31 changes: 21 additions & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,17 @@ To know more about breaking changes, see the [Migration Guide][].

*None.*

## 3.6.3

### Improvements

- Optimize task priority handling on Darwin by automatically assigning QoS levels based on method types.
- Optimize the default sort descriptors on Darwin.

### Fixes

- Fix the incorrect type of conversion with the Live-Photo's duration on Darwin.

## 3.6.2

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

### Fixes

- Do not throw when querying not existing assets in bulk on Android.
- Do not throw when querying non-existing assets in bulk on Android.

## 3.6.0

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

### Improvements

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

### Fixes

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

## 3.5.2

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

### Fixes

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

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

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

## 3.5.0

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

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

## 3.2.1

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

* Restores `containsLivePhotos` to `true` by default and deprecates it.
* Use the main resource's filename for title by default on iOS.
* Use the main resource's filename for the title by default on iOS.
* Support more methods on the OpenHarmony.

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

### Fixes

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

### Fixes

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

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

### Features

- Support Android 14 limited access to assets.
- Support Android 14 with limited access to assets.

### Fixes

Expand Down
4 changes: 3 additions & 1 deletion example/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
.svn/
**/Podfile.lock

!pubspec.lock

# IntelliJ related
*.iml
*.ipr
Expand Down Expand Up @@ -42,4 +44,4 @@ app.*.symbols
app.*.map.json
.metadata

local.properties
local.properties
Loading

0 comments on commit 73115af

Please sign in to comment.