Repository navigation
Documentation release: the hosted docs are published for the first time. No API changes.
Fixed
-
The hosted documentation was never published. The Swift Package Index builds it with
xcodebuild docbuild -scheme KadrAudio, but the package was namedkadr-audio, so Xcode's only scheme waskadr-audio. Every documentation build failed with "does not contain a scheme named KadrAudio", and the README's documentation link was a 404. The package is now namedKadrAudio, like every sibling. Dependents are unaffected:.product(name: "KadrAudio", package: "kadr-audio")matches the package by its URL. The documentation appears with this release. -
The first README example did not compile. It called
video.music(track.volume(0.4).ducking(0.2)), and kadr has never hadVideo.music(_:). It is nowvideo.audio { track.volume(0.4).ducking(0.2) }.MusicLibrary.audioTrack(for:)'s doc comment had the same call. -
README facts. The kadr range said 0.20 where it is any 1.x; the roadmap line listed loudness, which shipped in v0.4.0, as a future candidate; "tvOS is excluded outright" was not true, since an undeclared platform still builds; the macOS note now names which types exist there; and the two usage-description keys were called entitlements, which they are not.
-
KadrAudio.versionsaid0.6.1through the 0.7.0 release. It now matches the tag.
Changed
-
Every README code block compiles, and CI keeps it that way.
Tools/readme-snippets.shcopies each block intoExamples/ReadmeSnippets.swift, which the newKadrAudioExamplestarget (not a product) compiles, and CI fails if the copy is stale. The snippets are iOS code, so CI's iOS step is now aswift buildfor iOS, which builds every target wherexcodebuild -scheme kadr-audiobuilt only the library. -
CI builds the documentation the way the Swift Package Index does, so a broken documentation build fails here rather than as a 404 on the website.
Full changelog: v0.7.0...v0.7.1