Skip to content

Release v22.14.2

Choose a tag to compare

@github-actions github-actions released this 15 Sep 08:47
11bf750

Fixed

  • --emit-interfaces had no MSBuild property, which left it unusable for the thing it exists for: a package generating its own TypeScript model as part of its build cannot reach a flag only the command line accepts. CratisProxiesEmitInterfaces now maps to it, alongside every other option.

Added

  • Documentation for the mode — what it emits, when to use it, when not to, and that it removes the decorators and their import but not an import of a type Fundamentals genuinely provides, such as TimeOnly. Wired into the configuration index and table of contents.

Changed

  • The library-mode page no longer claims abstract classes are skipped. They are not collected directly, but a concrete type's base class is followed — so an inheritance chain arrives intact rather than with its roots missing, which is what makes the mode usable for a model with an abstract hierarchy at all. Open generic definitions and their type parameters are the things actually skipped.

Follow-up to #2636, which added the flag and the emission mode but stopped at the CLI. Found while trying to adopt it in Cratis/Scene, whose Cratis.Scene.Model is exactly the intended consumer: a deliberately dependency-free package that has been hand-maintaining its TypeScript mirror because generation was not available to it.

The targets file is packed into both build and buildTransitive, so the single edit covers direct and transitive consumers.

Verified: 51 projects build in Release with 0 errors and 0 warnings.

🤖 Generated with Claude Code