VST3 Runtime 0.2.0
Release notes for VST3 Runtime 0.2.0.
2 changes — 1 feature, 1 fix
Minor Changes
-
#397
9268fbaThanks @dm-balakin! - Every build now ships the third-party notices of what it contains, in alicenses/folder beside the plugin: the VST3 bundle'sContents/Resources/licenses/and the web build'slicenses/, which the web host's panel links to. Besides the engine's and the VST3 SDK's notices, which the VST3 bundle already carried, it holds those of the npm packages in the UI bundle and on the web host page, the Rust crates the plugin links, Rust's standard library, and the project's own files that come with a license. Each component has a folder with its license files,THIRD-PARTY-NOTICES.txthas all of them in one file, andlicenses.jsonlists them for tools. In the VST3 bundle,licenses/soundor-engine/is nowlicenses/engine/andlicenses/vst3sdk/islicenses/vst3-sdk/.Soundor finds the notices from the build itself. A package file takes the license files nearest to it in its package, so a font next to its
OFL.txtgets the OFL. Crates are the ones Cargo resolves for the build's target. A build fails when a component has no license text, naming it. The newlicensesconfig option adds notices for what the build cannot see and replaces or drops the notice of a package or crate.soundor licenseslists what each runtime's build would ship, without building.Runtimes get an optional
licensesphase,LibraryBuildContext.notices(), and the notices helpers in@soundor/runtime-sdk. The UI bundle writesmodules.json, the files it kept after tree shaking. The engine's web artifact haslicenses, and its WebAssembly archive carries Emscripten's and musl's notices too. The CLI's Rust SDK and the VST3 runtime'ssoundor-vst3crate ship aLICENSE.Packages whose own
distinlines npm packages now ship those packages' notices too.@soundor/engineputs them indist/licenses/: its lowering (@soundor/engine/native-module) inlines Babel and what Babel uses. The engine's newloweredCodeNotices()returns the notice of Babel's helpers, which the lowering adds to the code it lowers, and the VST3 runtime ships that notice with every plugin.@soundor/devtools-clientputs the notices of the React it inlines indist/licenses/as well, and its header links to them. The VST3 host's release now refuses a platform package that lacks any of its four notices (VST3 SDK, SDL, Dear ImGui, Inter), and its README names all four.
Patch Changes
- #399
3dfce54Thanks @dm-balakin! -soundor genno longer stamps the generated Rust SDK with the CLI's version: its manifest keepsversion = "0.0.0", so updating Soundor no longer rewrites a project'slib/Cargo.lock. Third-party notices still name the SDK at the CLI's version, from the newctx.lib.sdk(its manifest and version) andcrateNotices'versionsoption, which the VST3 runtime also uses for its ownsoundor-vst3crate.