Skip to content

Releases: jburzynski/TypeGen

4.4.0

29 Jul 21:13

Choose a tag to compare

Bugfixes:

  • fixed "AsUnionType" for enums not being implemented in generation specs

Features:

  • XmlDoc comments are now generated as TsDoc in TypeScript sources #130
  • added OnAfterGeneration() to GenerationSpec #156
  • added the option to use "import type" instead of "import" for imports (the useImportType option) #161

4.3.0

27 Jul 14:32

Choose a tag to compare

Bugfixes:

  • fixed UseDefaultExport breaking interface inheritance #128
  • fixed IgnoreBase()/TsIgnoreBaseAttribute not working with interfaces #129
  • fixed crashing when trying to generate an IEnumerable of nullables #92

Features:

  • added the ability to specify implemented interfaces to CustomBase()/TsCustomBaseAttribute
  • added the option to specify whether to generate interfaces by default (for example for member types not explicitly selected to be generated)

4.2.0

25 Jul 14:53

Choose a tag to compare

Features:

  • added support for enum keys in TypeScript dictionaries (#160)
  • added support for exporting enums as union types (#159)
  • added the ability to set the output path using a CLI parameter (#159)
  • in error logging: removed the distinction between "APPLICATION ERROR" and "GENERIC ERROR" for clarity

4.1.1

25 Jul 14:53

Choose a tag to compare

Bugfixes:

  • fixed custom-head and custom-body tags not working for enums

Features:

  • added the possibility to specify the project's output folder (instead of hardcoded 'bin/') via the "projectOutputFolder" config parameter
  • the CLI now returns an error code on failure

4.1.0

25 Jul 14:52

Choose a tag to compare

Bugfixes:

  • fixed nullable detection of string? when CsNullableTranslation enabled #152
  • fixed JSON serialization of complex default values #149
  • fixed null exception when no property getter #147
  • fixed types defined in custom type mappings being generated as type dependencies #134

Features:

  • added support for generating from C# structs #154
  • added default values for constants only option #150
  • added new exception with initial type name #148

4.0.1

25 Jul 14:51

Choose a tag to compare

Features:

  • bumped Newtonsoft.Json to 13.0.2 due to security vulnerability

4.0.0

25 Jul 14:50

Choose a tag to compare

Features:

  • moved to .NET 7.0
  • added support for reference nullability (PR #137)

3.1.0

25 Jul 14:49

Choose a tag to compare

Features:

  • added new 'optional' strict null type union flag (PR #131, issue #101)

3.0.0

25 Jul 14:49

Choose a tag to compare

nothing was changed in this version, just the version number

2.5.2

25 Jul 14:48

Choose a tag to compare

Features:

  • moved to .NET 6