Skip to content

Releases: jburzynski/TypeGen

2.1.0

25 Jul 14:23

Choose a tag to compare

Features:

  • added the "generation spec" functionality (read more in the documentation)
  • added option to specify generated C# types by their full name regex (#39)
  • added TypeScript enum string initializers support (#40)

2.0.1

25 Jul 14:03

Choose a tag to compare

Features:

  • removed distinction between CLI and Core versions in AppConfig.cs (now there is only one version)

2.0.0

25 Jul 14:58

Choose a tag to compare

Features:

  • unified the syntax for the PM tool and .NET CLI tool
  • now, by default, System.DateTimeOffset and System.TimeSpan get translated to TS Date, and System.Guid to TS string
  • added option to generate default values for properties
  • added configurable default type mappings

1.6.7

25 Jul 13:53

Choose a tag to compare

Bugfixes:

  • slow resolution of missing assemblies over and over again (#31)

1.6.6

25 Jul 13:52

Choose a tag to compare

Features:

  • added cross-platform support (linux, mac os) (#28)
  • added logging of all generated files (#30)

1.6.5

25 Jul 13:51

Choose a tag to compare

Bugfixes:

  • TypeScript imports are incorrect if ExportTs...OutputDir doesn't end with slash
  • private properties are generated (they should not be)
  • IEnumerable and IDictionary (non-generic) should also map to TypeScript arrays and dictionaries
  • base class generic custom types (in 'nested' generics) not added to import

Features:

  • added unit tests and integration test

1.6.4

25 Jul 13:50

Choose a tag to compare

Features:

  • added Options property to IGenerator interface
  • added method to IGenerator interface to generate from multiple assemblies (#25)
  • added option to generate global index (barrel) file (#24)

1.6.3

25 Jul 13:50

Choose a tag to compare

Bugfixes:

  • missing directory separator in imports
  • two imports added if ImportPath is specified in CustomBaseAttribute
  • CustomBaseAttribute not working if no base class declared in C#

Features:

  • added ability to specify import path in CustomBaseAttribute
  • changed syntax for TypeGen .NET Command Line tool

1.6.2

25 Jul 13:49

Choose a tag to compare

Bugfixes:

  • changed default 'outputPath' value to "" instead of null
  • added version checking when resolving assemblies
  • added additional folders to search in AssemblyResolve ('global' NuGet fallback, dotnet shared)

Features:

  • added default value for ProjectFolder parameter in DotNet CLI version

1.6.1

25 Jul 13:48

Choose a tag to compare

Features:

  • updated templates to fulfill jsdoc-format rules (#20)
  • created DotNetCli version (#19)