Skip to content

馃帀 1.1.0 Release

Compare
Choose a tag to compare
@kdubb kdubb released this 13 Mar 00:14

1.1.0 is here and provides new features, fixes and breaking changes.

New Features

  • NameAllocator brought over to allocate names avoiding collisions.
  • Classes, interfaces, enums & aliases derive TypeSpec<> and AnyTypeSpec can be used to represent them.
  • %P is now supported to allow output template strings without escaping.
  • %Q is now supported to allow outputting a tracked symbol (as opposed to a type).
  • Imports are automatically renamed to avoid collisions.
  • All specs now implement toString for easier debugging
  • Added missing optional mutator to ParameterSpec & PropertySpec builders.
  • Allow specifying module kind (module or namespace) in ModuleSpec
  • Added missing TypeName constructor to InterfaceSpec
  • Type

Breaking Changes

  • All references to JavaDoc/javaDoc have been renamed TSDoc/tsDoc
  • Decorators are output in a simplified format.

Resolved Issues

  • %N now resolves any TypeSpec<>.
  • CodeWriter is now flushed after use.
  • Functions signatures use breaking spaces to allow line wrapping.
  • Static properties are no longer considered for shorthand properties.