Skip to content

docs: Prepare the 0.7.0 release - #254

Open
decriptor wants to merge 7 commits into
mainfrom
docs/release-0.7.0
Open

decriptor wants to merge 7 commits into
mainfrom
docs/release-0.7.0

Conversation

@decriptor

@decriptor decriptor commented Dec 4, 2026 •

Copy link
Copy Markdown
Owner

Description

Prepares the 0.7.0 release. This PR changes documentation, the version, the package description and tags, and one example program. Library source and tests are unchanged.

Commit Change
a5a43903 Roadmap moved to GitHub. ROADMAP.md and docs/ROADMAP.md are removed. The roadmap is now the issues, the v0.7.0 and v0.8.0 milestones, and the public "TagLibSharp2" project, and links point there.
1aea7837 CHANGELOG corrected for 0.7.0. Every line from #186, #243, #249, #276 and #279 appears once, with the new public members (#235, #250) under Added. An older MP4 line now reads "unknown" for an oversized duration (#181). Breaking Changes states the real APE picture-key change (Cover Art (LeadArtist) reads as its role; 0.6.0 read it as Other). A note says which Fixed entries fix features that are new in 0.7.0.
d15c1f68 README and guides updated for what 0.7.0 reads and writes, and for the behaviour changes below. Every C# example compiles against this release; blocks that are complete programs compile as written. QuickStart and Cookbook name the namespaces their fragments assume. The TagLib# comparison is checked against TagLib# 2.3.0's public API. The FileOperations example prints the path-save pattern and the right cancellationToken argument.
dbb09ff1 Default version set to 0.7.0 (ReleaseVersion in Directory.Build.props).
9b72675d Package description and tags list AVI and the editable JPEG title, and add the tags avi, matroska, mkv and webm.
79cce194 MP4 design notes moved to docs/design/mp4-box-reference.md. Its sources are the specifications and black-box tool output, and its C# blocks are marked as pseudo-code. The old acceptance-criteria file is removed.
0608bf41 CHANGELOG dated: [Unreleased] becomes [0.7.0] - 2026-12-04, a new empty [Unreleased] goes above it, and compare links are added.

Behaviour changes the guides now describe:

  • A duration, bit rate or sample rate that is unknown, or too large for its type, reads as unknown (zero or null), not as a wrong value.
  • A save that cannot write the whole file fails with its reason and writes nothing, rather than drop bytes.
  • A save from bytes must be given the file as it is on disk.
  • A Matroska TITLE with no target type is the title, not the album.
  • A Matroska chapter with no UID reads Uid 0.
  • A Matroska save is refused past 65,536 Tags and SimpleTags, or past 65,536 elements inside Chapters (about 9,300 titled chapters).
  • The APE tag header is kept through a save.
  • AsfFile.FileProperties?.IsBroadcast reports the ASF Broadcast flag.
  • ID3v2.3 tags are written with encodings ID3v2.3 defines, so a picture added to a v2.3 tag reads back.
  • Compressed ID3v2 frames share a 64 MiB inflation budget per read, and a save whose tag would be too large fails instead of throwing.
  • Items keep the order they were read in (APE, RIFF INFO, MP4, ASF), and a save after a save writes what a fresh read would.

Known issues: the DSF channel-type enum misnames two values (#260).

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Performance improvement
  • Code refactoring (no functional changes)

Checklist

  • My code follows the project's code style (dotnet format --verify-no-changes passes)
  • I have updated documentation as needed
  • My changes generate no new warnings (Release build: 0 warnings)

Testing

At head 0608bf41:

  • A Release build of all target frameworks has 0 warnings, and dotnet format --verify-no-changes is clean.
  • The three examples build, and FileOperations runs to completion.
  • dotnet pack -c Release produces TagLibSharp2 0.7.0 with the new description and tags.

Three review rounds checked the documentation:

  • All 166 C# blocks were compiled against this tree, and 130 were run against real files. Saves were confirmed with ffprobe, exiftool and MediaInfo.
  • Every relative link and anchor resolves.

After merging

Publish a GitHub release tagged v0.7.0 on the merge commit. Publishing runs release.yml, which builds 0.7.0 and pushes it to NuGet.

@codecov

codecov Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.00%. Comparing base (005d065) to head (0608bf4).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #254   +/-   ##
=======================================
  Coverage   94.00%   94.00%           
=======================================
  Files         660      660           
  Lines      120794   120794           
  Branches    16231    16231           
=======================================
  Hits       113555   113555           
  Misses       4148     4148           
  Partials     3091     3091           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

ROADMAP.md and docs/ROADMAP.md were stale: most of what they listed as planned has shipped, and the root file named a private local path. Their open items move to GitHub issues and the TagLibSharp2 project board; the README's Future list becomes a Roadmap link and a short Not planned section (disc audio formats, XMP in audio files, Audible decryption). The migration guide's "not yet supported" list drops MPEG-4 video, which opens as MP4, adds APEv2 in MP3 and image Exif/IPTC, and links the board.
The Unreleased section said things the code no longer does. A Changed entry kept splitting a slash-separated ID3v2 value ("AC/DC" as Performers [AC, DC] "as before"), against the Breaking Changes entry: lists split on NUL only. The custom-field, tagless-view and AVI entries described WAV INFO as Latin-1; since #209 and #216 it is read and written as UTF-8 when valid and Windows-1252 otherwise. The AVI entry said a list with no CSET is refused when a guessed field must be rewritten, which #216 replaced with a field-by-field write. The still-image entry said no XMP or Exif value is read, though the JPEG title is.

Three changes since 0.6.0 had no entry: RiffChunk.TotalSize and AiffChunk.TotalSize changed from int to long (now under Breaking Changes), Matroska and WebM support itself (#53), and stream reads with no retained audio payload (#54, #20). The two Changed headings are merged, and the hard-wrapped entries are unwrapped like the rest.
Every C# example in the README, the package README, QuickStart, the Cookbook, the migration guide and CORE-TYPES now compiles against the current API; about sixty did not. They called members that do not exist (MediaFile.Open, Mp3File.Pictures and TotalTracks, WavFile.AudioProperties, Mp4File.SetCoverArt, Id3v2Tag.GetChapters, AddFrame and GetPOPM, ValidationResult.Issues, Duration on WavPack, Monkey's Audio, Musepack, Ogg FLAC and ASF files), passed arguments in the wrong order (PictureFrame, FlacPicture) or a token where IFileSystem goes, or edited a detached new VorbisComment or Id3v2Tag that was never saved. Saves now use the path overloads, which copy the audio in 64 KB pieces, and simple edits go through the tag view that exists on tagless files.

Claims corrected against the code: MP3 does not read APEv2; new BinaryData(byte[]) copies the array; Tag.Track is not renamed; AVI saves stream movi and no longer refuse a no-CSET list with Windows-1252 text; the build needs the .NET 10 SDK and builds Debug by default; the repository folder is TagLibSharp2. The README gains a support matrix for Matroska, MPEG-PS, AVI and Audible, the package README lists MPEG-PS and AVI, ARCHITECTURE describes the IFileSystem and path-save layer instead of a planned one, the new-format checklist names IMediaFile, the tag view and SkipPictures, and the docs index lists every guide.

Links from docs/ to files outside it (examples, tools/README.md, CLAUDE.md, CONTRIBUTING.md, LICENSE) are absolute GitHub URLs, so they resolve on GitHub and on the documentation site, and CORE-TYPES is linked as "Core types" now that the site has a generated API reference. CONTRIBUTING's benchmarking section, which described a planned project under tests/, points at benchmarks/TagLibSharp2.Benchmarks and its real run commands.

The docs follow the 0.7.0 fixes: an unknown or unrepresentable duration, bit rate or sample rate reads as 0 (CORE-TYPES); a save that cannot write the file whole fails rather than drop bytes (MIGRATION); a Matroska TITLE in a Tag with no target type is the title, not the album (#221), a chapter without a UID reads Uid 0 (#244), and a save past the 65,536 Tags or chapter entries a read models fails (#247); an ASF Broadcast Flag makes the duration 0 and AsfFileProperties.IsBroadcast reports it; ApeTag.Render keeps a read tag's header (#217).

Review fixes: the album-art, bulk-update and builder samples compile and run as written (one cover file per picture, only files actually saved counted, builders disposed); the TagLib# comparisons follow the TagLib# 2.3.0 public API (it opens DSF, WavPack, Monkey's Audio and Musepack, and has no Speex, TrueAudio, tracker or DSDIFF support), and the mapping tables state the type changes (Year and ReplayGain are strings, the numbers nullable); the Matroska chapter limit is 65,536 elements inside Chapters, about 9,300 titled chapters; the DSDIFF channel information is the CHNL count; IndexOutOfRangeException and builder pooling are documented; the implementation guide's sibling lists match the code; QuickStart and the Cookbook state the namespaces they assume and are linked from both readmes; docs links are relative again. The FileOperations example prints the path save and cancellationToken, and the examples readme describes it.

After the 0.7.0 fixes that followed: the WebP rule in CORE-TYPES (#234), `AsfFile.FileProperties` for the Broadcast Flag in the migration guide (#250), the WAV custom-field footnote for a file with both tags (#235), the AVI CSET rules, under which no value this library reads makes a save fail (#220), and Cookbook notes that a chapter keeps its sub-frames (#265) and that a UTF-8 frame is written as ISO-8859-1 or UTF-16 in an ID3v2.3 tag (#255).
The nuget.org description now lists AVI and says the JPEG title can be edited, matching the README's format list, and the tags gain avi, matroska, mkv and webm.
The two MP4 documents were planning notes for v0.4.0, kept beside the user guides and published with them. The box, data-type and source catalogue stays as docs/design/mp4-box-reference.md, under a header saying it was written for v0.4.0 and that the code and CHANGELOG are authoritative; "Roadmap" leaves its name. MP4_ACCEPTANCE_CRITERIA.md, the user stories and definition of done for that shipped release, is removed: its out-of-scope list (video tracks, movement and work fields) no longer matches the code.

The note's code blocks are fenced as text and called pseudo-code, since they name no real API. Its sources are the specifications and documents the project works from and the output of tools run as black boxes; the list of other implementations is removed, the clean-room note names them as sources not to read, and the Opus-in-ISOBMFF document is cited by its title rather than as RFC 8486, which is "Ambisonics in an Ogg Opus Container". The docs index links the note.
The Unreleased section becomes 0.7.0, dated 2026-12-04, under a new empty Unreleased section. The link list at the end gains 0.7.0 and an Unreleased comparison from v0.7.0.
@decriptor

Copy link
Copy Markdown
Owner Author

Review: 0 findings at 0608bf4.

What was checked:

History: 7 commits, so this is rebase-merged rather than squashed. After the merge, publish the v0.7.0 GitHub release on the merge commit.

@decriptor decriptor added the approved AI has reviewed and signed off label Dec 5, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved AI has reviewed and signed off

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant