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.21.0 #376

Closed renovate[bot] closed 1 day ago

renovate[bot] commented 2 months ago

This PR contains the following updates:

Package Type Update Change
lofty dependencies minor 0.20.1 -> 0.21.0

Release Notes

Serial-ATA/lofty-rs (lofty) ### [`v0.21.1`](https://togithub.com/Serial-ATA/lofty-rs/blob/HEAD/CHANGELOG.md#0211---2024-08-28) [Compare Source](https://togithub.com/Serial-ATA/lofty-rs/compare/0.21.0...0.21.1) ##### Changed - **FLAC**: Vendor strings are now retained when writing tags ([PR](https://togithub.com/Serial-ATA/lofty-rs/pull/443)) - This behavior already exists for OGG formats. ##### Fixed - **FLAC**: Stop writing invalid `PADDING` blocks ([issue](https://togithub.com/Serial-ATA/lofty-rs/issues/442)) ([PR](https://togithub.com/Serial-ATA/lofty-rs/pull/446)) - If a `PADDING` block existed in the original file, and it wasn't placed at the end of the header, it would be moved without setting the `Last-metadata-block` flag. This would cause decoders to believe that the file was corrupted. - **Fuzzing** (Thanks [@​qarmin](https://togithub.com/qarmin)!) ([PR](https://togithub.com/Serial-ATA/lofty-rs/pull/444)): - **MusePack**: Fix panic when tag sizes exceed the stream length ([issue](https://togithub.com/Serial-ATA/lofty-rs/issues/440)) - **AAC**: Fix panic when tag sizes exceed the stream length ([issue](https://togithub.com/Serial-ATA/lofty-rs/issues/439)) ### [`v0.21.0`](https://togithub.com/Serial-ATA/lofty-rs/blob/HEAD/CHANGELOG.md#0210---2024-07-29) [Compare Source](https://togithub.com/Serial-ATA/lofty-rs/compare/0.20.1...0.21.0) ##### Added - **ParseOptions**: - `ParseOptions::read_tags` to skip the parsing of tags ([issue](https://togithub.com/Serial-ATA/lofty-rs/issues/251)) ([PR](https://togithub.com/Serial-ATA/lofty-rs/pull/406)) - `ParseOptions::read_cover_art` ([issue](https://togithub.com/Serial-ATA/lofty-rs/issues/186)) ([PR](https://togithub.com/Serial-ATA/lofty-rs/pull/415)) - As cover art can be large, it is now possible to disable reading it when parsing a file. - `ParseOptions::implicit_conversions` to prevent automatic data conversions ([PR](https://togithub.com/Serial-ATA/lofty-rs/pull/411)) - Be sure to read the warnings in the docs to understand what this means. - **ID3v2**: Support writing ID3v2.3 tags ([issue](https://togithub.com/Serial-ATA/lofty-rs/issues/62)) ([PR](https://togithub.com/Serial-ATA/lofty-rs/pull/411)) - This can be done by setting `WriteOptions::use_id3v23` to `true`. - **Tag**: `Tag::take_filter` ([PR](https://togithub.com/Serial-ATA/lofty-rs/pull/414)) - This is like `Tag::take`, but allows for per-`TagItem` filtering. - This is useful for `TagType::Id3v2`, as it allows specifying descriptions and languages for frames. See the docs and PR description for more details. ##### Changed - **Timestamp**: `Timestamp::parse` with empty inputs will return `None` when not using `ParsingMode::Strict` ([PR](https://togithub.com/Serial-ATA/lofty-rs/pull/416)) - **MP4**: Atoms with sizes greater than the remaining file size will be ignored with `ParsingMode::Relaxed` ([PR](https://togithub.com/Serial-ATA/lofty-rs/pull/433)) - **ID3v2** ([PR](https://togithub.com/Serial-ATA/lofty-rs/pull/437)): - `PopularimeterFrame::as_bytes()` is now fallible - `PrivateFrame::as_bytes()` is now fallible ##### Fixed - **Fuzzing** (Thanks [@​qarmin](https://togithub.com/qarmin)!) ([PR](https://togithub.com/Serial-ATA/lofty-rs/pull/423)) ([PR](https://togithub.com/Serial-ATA/lofty-rs/pull/434)): - **MP4**: - Fix panic when reading properties of a file with no timescale specified ([issue](https://togithub.com/Serial-ATA/lofty-rs/issues/418)) - Fix panics when reading improperly sized freeform atom identifiers ([issue](https://togithub.com/Serial-ATA/lofty-rs/issues/425)) ([issue](https://togithub.com/Serial-ATA/lofty-rs/issues/426)) - Fix panic when `data` atom length is less than 16 bytes ([issue](https://togithub.com/Serial-ATA/lofty-rs/issues/429)) - Fix panic with improperly sized freeform identifiers ([issue](https://togithub.com/Serial-ATA/lofty-rs/issues/430)) - Fix panic when `hdlr` atom is an unexpected length ([issue](https://togithub.com/Serial-ATA/lofty-rs/issues/435)) - Fix panic when `stts` atom has an unrealistically large entry count ([issue](https://togithub.com/Serial-ATA/lofty-rs/issues/436)) ([PR](https://togithub.com/Serial-ATA/lofty-rs/pull/437)) - **WAV**: - Fix panic when reading properties with large written bytes per second ([issue](https://togithub.com/Serial-ATA/lofty-rs/issues/420)) - Fix panic when reading an improperly sized INFO LIST ([issue](https://togithub.com/Serial-ATA/lofty-rs/issues/427)) - Fix panic when reading a fmt chunk with an invalid bits_per_sample field ([issue](https://togithub.com/Serial-ATA/lofty-rs/issues/428)) - **Vorbis**: - Fix panic when reading properties of a file with large absolute granule positions ([issue](https://togithub.com/Serial-ATA/lofty-rs/issues/421)) - Fix attempted large allocations with invalid comment counts ([issue](https://togithub.com/Serial-ATA/lofty-rs/issues/419)) - **FLAC**: Fix panic when reading properties of a file with incorrect block sizes ([issue](https://togithub.com/Serial-ATA/lofty-rs/issues/422)) - **AIFF**: Fix panic when reading properties of a file with invalid f80 sample rate ([issue](https://togithub.com/Serial-ATA/lofty-rs/issues/424))

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 was generated by Mend Renovate. View the repository job log.

renovate[bot] commented 1 day ago

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (0.21.0). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.