v0.10.9: stable type identity through minified builds
v0.10.9 ships a same-day follow-up to v0.10.8 for production builds that go through a minifier. It applies to anyone shipping FragmentColor through Terser or a similar bundler that rewrites class names.
The JavaScript bindings previously used class names as identity tokens (for example, to tell a Shader apart from a Texture). After minification, those names collapsed to single letters, and the identity check appeared as “Invalid target type” from Renderer.render().
v0.10.9 introduces stable string brands via impl_fc_kind!(TypeName, "TypeName") for every public type. The brand is written into the type at compile time and survives any minification pass.
Release notes: GitHub v0.10.9.
— Rafael