Skip to content

v0.15.0

Compare
Choose a tag to compare
@mnahkies mnahkies released this 27 Oct 17:14
· 10 commits to main since this release

What's Changed

It's now possible to change the construct used for the "implementation" symbol between being a type, interface or abstract class using the new option --ts-server-implementation-method. This is particularly useful if using a dependency injection library that requires abstract class as part of its wiring approach.

Additionally, when splitting the generated files by first-tag / first-slug (using --grouping-strategy), the tag/slug will now be added to the exported symbol names, eg: createRouter -> createMyTagRouter and Implementation -> MyTagImplementation. This can reduce the need to alias imports manually.

The generic Implementation / createRouter exports have be retained to keep this backwards compatible.

Features

  • feat: support emitting abstract classes for implementation types by @mnahkies in #256
  • feat: emit unique symbol names for Implementation / createRouter functions by @mnahkies in #258

Misc

Full Changelog: v0.14.0...v0.15.0