vnghia / nghe

An OpenSubsonic implementation in Rust
GNU Affero General Public License v3.0
21 stars 0 forks source link

fix(deps): update rust crate lofty to 0.20.0 #292

Closed renovate[bot] closed 3 months ago

renovate[bot] commented 3 months ago

Mend Renovate

This PR contains the following updates:

Package Type Update Change
lofty dependencies minor 0.19.2 -> 0.20.0

Release Notes

Serial-ATA/lofty-rs (lofty) ### [`v0.20.0`](https://togithub.com/Serial-ATA/lofty-rs/blob/HEAD/CHANGELOG.md#0200---2024-06-06) [Compare Source](https://togithub.com/Serial-ATA/lofty-rs/compare/0.19.2...0.20.0) ##### Added - **Tag**: - Support `ItemKey::ParentalAdvisory` for `Ilst` and `Id3v2Tag` ([issue](https://togithub.com/Serial-ATA/lofty-rs/issues/99)) ([PR](https://togithub.com/Serial-ATA/lofty-rs/pull/388)) - This will allow for generic edits to the iTunes-style parental advisory tag. Note that this will use the numeric representation. For more information, see: https://docs.mp3tag.de/mapping/#itunesadvisory. - New `tag::items` module for generic representations of complex tag items - New `Timestamp` item for ISO 8601 timestamps ([PR](https://togithub.com/Serial-ATA/lofty-rs/pull/389)) - **ID3v2**: Special handling for frames with timestamps with `Frame::Timestamp` ([PR](https://togithub.com/Serial-ATA/lofty-rs/pull/389)) - **GlobalOptions**: `preserve_format_specific_items()` ([issue](https://togithub.com/Serial-ATA/lofty-rs/issues/302)) ([PR](https://togithub.com/Serial-ATA/lofty-rs/pull/391)) - This will allow for the preservation of format-specific items when converting between tag types. - Previously, these items would be discarded when converting to the generic `Tag`. Now they are stored in an immutable container, and silently rejoined with the tag when converting back to the original format or when writing. - **TagItem**: `set_lang` and `set_description` to allow for generic conversions of additional ID3v2 frames (such as comments) ([issue](https://togithub.com/Serial-ATA/lofty-rs/issues/383)) ([PR](https://togithub.com/Serial-ATA/lofty-rs/pull/392)) - **BoundTaggedFile**: `BoundTaggedFile::into_inner` to get the original file handle ([PR](https://togithub.com/Serial-ATA/lofty-rs/pull/404)) ##### Changed - **VorbisComments**/**ApeTag**: Verify contents of `ItemKey::FlagCompilation` during `Tag` merge ([PR](https://togithub.com/Serial-ATA/lofty-rs/pull/387)) - **ID3v2**: - ⚠️ Important ⚠️: `Frame` has been converted to an `enum` ([PR](https://togithub.com/Serial-ATA/lofty-rs/pull/390)): - This makes it easier to validate frame contents, as one can no longer make an `AttachedPictureFrame` with the ID `"TALB"`, for example. See the PR for a full description of the changes. ```rust // Old: let frame = Frame::new( "TALB", FrameType::Text(TextInformationFrame { TextEncoding::UTF8, value: String::from("Foo album"), }), FrameFlags::default(), ).unwrap(); // New: let frame = Frame::Text(TextInformationFrame::new( FrameId::new("TALB").unwrap(), FrameFlags::default(), TextEncoding::UTF8, String::from("Foo album"), )); ``` - Renamed `Popularimeter` -> `PopularimeterFrame` - Renamed `SynchronizedText` -> `SynchronizedTextFrame` ##### Fixed - **ID3v2**: Disallow 4 character TXXX/WXXX frame descriptions from being converted to `ItemKey` ([issue](https://togithub.com/Serial-ATA/lofty-rs/issues/309)) ([PR](https://togithub.com/Serial-ATA/lofty-rs/pull/394)) - **MPEG**: Durations estimated by bitrate are more accurate ([PR](https://togithub.com/Serial-ATA/lofty-rs/pull/395)) - **MP4**: - Bitrate calculation is now more accurate ([PR](https://togithub.com/Serial-ATA/lofty-rs/pull/398)) - Existing tags will no longer be overridden if another `udta` atom is encountered ([PR](https://togithub.com/Serial-ATA/lofty-rs/pull/405)) - **WAV**: Bitrate calculation is now more accurate ([PR](https://togithub.com/Serial-ATA/lofty-rs/pull/399)) - **MusePack**: Overall improved audio properties ([PR](https://togithub.com/Serial-ATA/lofty-rs/pull/402))

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.

renovate[bot] commented 3 months ago

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 23.07692% with 10 lines in your changes missing coverage. Please review.

Project coverage is 80.53%. Comparing base (c566379) to head (ebcebe9).

Files Patch % Lines
src/utils/song/parse/lyric.rs 0.00% 10 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #292 +/- ## ========================================== - Coverage 80.64% 80.53% -0.11% ========================================== Files 213 213 Lines 12228 12230 +2 Branches 12228 12230 +2 ========================================== - Hits 9861 9850 -11 - Misses 1726 1735 +9 - Partials 641 645 +4 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.