Skip to content

Releases: jburzynski/TypeGen

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

2.5.1

25 Jul 14:47

Choose a tag to compare

nothing was changed in this version, just the version number

2.5.0

25 Jul 14:46

Choose a tag to compare

Bugfixes:

  • fixed issues with generic constraints (issue #110)
  • fixed TsCustomBase not working for interfaces (issue #111)

Features:

  • moved TypeGen to .NET 5.0. TypeGen CLI is now only available in .NET 5.0 and TypeGen.Core targets .NET Standard 2.0 and .NET 5.0
  • dates are now represented in ISO 8601 Invariant Culture format (they are not culture specific) (issue #100)
  • added "csAllowNullsForAllTypes" config option that specifies whether to add null union type to all generated types