fix(deps): update rust crate lofty to 0.24.0#4
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
e8636a8 to
80c9482
Compare
80c9482 to
68265ad
Compare
Latest build artifactsRun #26711829148 · 68265ad759 · 31.05.2026 11:51:27 UTC generated by Artifactview 0.5.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.22.0→0.24.0Release Notes
Serial-ATA/lofty-rs (lofty)
v0.24.0Compare Source
Added
ApeTag::push()which will append values to existing itemsApeItem::text_values()which returns an iterator over all text values in the itemChanged
Tag->ApeTagconversion will now preserve multi-value items (issue) (PR)Fixed
Removed
ItemKey::FileTypeandItemKey::MusicianCredits(PR)v0.23.3Compare Source
Added
ItemKey::MusicBrainzReleaseType(PR)Changed
ItemKey::Lyricsis no longer supported (issue) (PR)ItemKey::Lyricsis often overloaded with synchronized lyrics in LRC format.In other formats, the distinction between
ItemKey::LyricsandItemKey::UnsyncLyricsdoesn't matter much as they're bothtext fields. In ID3v2, however, synchronized lyrics are a separate binary frame. To write synchronized lyrics, you'll have to use
Id3v2TagandSynchronizedTextFramedirectly.
Fixed
ItemKey::{AlbumArtists, Barcode, UnsyncLyrics, ReplayGainAlbumGain, ReplayGainAlbumPeak, ReplayGainTrackGain, ReplayGainTrackPeak}when during generic conversions (issue) (PR)
However, some encoders incorrectly include the padding in the size, which can cause the parser to go out of sync.
We no longer assume padding is valid and have additional checks to stay in sync when possible.
v0.23.2Compare Source
Fixed
Last-metadata-blockflags in the presence of PADDING blocks (issue) (PR)If that wasn't the case, it would error that it couldn't find the FLAC stream marker.
v0.23.1Compare Source
Fixed
doc_auto_cfgwithdoc_cfg(PR)v0.23.0Compare Source
Added
ItemKey::AlbumArtists, available for ID3v2, Vorbis Comments, APE, and MP4 Ilst (PR)Tag::get_stringsorTag::take_strings.ItemKey::TrackArtist= "Foo & Bar", thenItemKey::AlbumArtists= ["Foo", "Bar"].ItemKey::UnsyncLyrics(issue) (PR)ItemKey::Lyricsmay actually contain synchronized lyrics in LRC format. To help with the ambiguity, someapps may write a separate field containing normal, unsynchronized lyrics.
ItemKey::Lyrics.ItemKey::ReleaseCountry(PR)ISO 3166-1 code.
ItemKey::AcoustIdandItemKey::AcoustIdFingerprint(issue) (PR)ItemKey::Descriptionmapping for Vorbis Comments (issue) (PR)*Typeenums (FileType,TagType,PictureType) (issue) (PR)serdefeature (not enabled by default)Probe::read_bound()(PR)Probe::read(), but returns aBoundTaggedFileTag::save_to(), and the direct conversion done viaInto::<Id3v2Tag>::into(tag)used totake different paths, causing certain conversions and frame merging to not occur in the former case (issue).
They now use the same logic, which has also been rewritten to reuse data whenever possible, instead of cloning like before.
Cowinternally:CommentFrame,UnsynchronizedTextFrame,TextInformationFrame,ExtendedTextFrame,UrlLinkFrame,ExtendedUrlFrame,AttachedPictureFrame,PopularimeterFrame,KeyValueFrame,RelativeVolumeAdjustmentFrame,UniqueFileIdentifierFrame,OwnershipFrame,EventTimingCodesFrame,PrivateFrame,BinaryFrameFrameId::is_valid()andFrameId::is_outdated()WriteOptions::lossy_text_encoding()to replace invalid characters when encoding strings (PR)?(e.g.lфftyinTextEncoding::Latin1will returnl?fty)See the docs for more details.
EXTENSIONSlist containing common file extensions for all supported audio file types (issue) (PR)miss any supported files.
Changed
TXXX:ALBUMARTISTandTXXX:ALBUM ARTISTforItemKey::AlbumArtistconversionsyearfield inId3v1Tagis now au16, instead of aString(PR)ALBUM ARTISTforItemKey::AlbumArtistconversionsDISCNUMBERfields with thecurrent/totalformat. (issue) (PR)DISCNUMBERandDISCTOTAL, making it possible to use them withAccessor::disk() and Accessor::disk_total().
ItemKeyis nowCopy(PR)ItemKey::Popularimeteris now intended to be used with the newPopularimetertype (PR)FileType::supports_tag_type()withFileType::tag_support()(PR)bool, this now returns aTagSupport, which can describe three states: unsupported, read-only, and read/writeTaggedFileExt::supports_tag_type()withTaggedFileExt::tag_support()(PR)FileResolver::supported_tag_types()withFileResolver::tag_support()(PR)Fixed
COMM/USLTframes with a single BOM (issue) (PR)This was previously only supported in
SYLTframes, and has been extended toCOMMandUSLT.SYLTstrings (issue) (PR)TRACKNUMBERwith respect toParseOptions::implicit_conversions(issue) (PR)header, then the parser would error.
Removed
ItemKey::Unknown(PR)Tagis now intended for generic metadata editing only, with format-specific items only being available through concrete tag types.See #521 for the rationale.
Picture::new_unchecked(), replaced withPicture::unchecked()returning a builder (issue) (PR)Accessor::*_year()methods, replaced withAccessor::*_date()(issue) (PR)Timestamps. For ID3v1, the date will be truncateddown to the year for conversions/writing.
ItemKey::YearAttachedPictureFrame::as_bytes()no longer supports encoding ID3v2.2PICframesConfiguration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, 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.