Releases: jburzynski/TypeGen
Releases · jburzynski/TypeGen
2.4.1
Features:
- added the possibility to convert member names based on their MemberInfo
2.4.0
Features:
- upgraded TypeGen CLI to .NET Core 2.2
- added support for generating C# interfaces (no support for interface inheritance)
- added the ability to use tab character instead of multiple spaces
- added the ability to automatically build the project before generating files
- added new barrel file generation functionality (and removed the temporary solution from version 2.3.3) - more info in the docs
- removed the possibility of generating from a generation spec and attributes at the same time (the "useAttributesWithGenerationSpec" parameter)
2.3.4
nothing was changed in this version, just the version number
2.3.3
Features:
- added ability to provide custom logic of generating index files (temporary solution)
2.3.2
Bugfixes:
- enumStringInitializers don't take singleQuotes into consideration
2.3.1
Features:
- added support for generating default values for C# properties
- added support for generating default values for properties/fields if the declaring type is generic
2.3.0
Bugfixes:
- added support for all enum underlying types (previously exceptions were thrown if the underlying type was different from
System.Int32) - exception when a field is inside a generic type
- improved behavior of reading OutputDir from ExportTs... attributes (eliminates weird import paths)
Features:
- added support for TypeScript default exports
2.2.1
Bugfixes:
- fixed logger verbose issue in AssemblyResolver
2.2.0
Bugfixes:
- added logging of the used NuGet paths when resolving assemblies
- changed "(...)converter not found(...)" messages to "(...)type not found(...)"
- fixed exception when removing the first converter in a converter collection
- removed the default mapping from TimeSpan to Date
Features:
- added support for static TypeScript properties
- added support for readonly TypeScript properties
- added default translation from C# const fields (generates to TypeScript static readonly with a default value)
- added automatic generation of assigned field's value
- added an event in the Generator class that allows for defining custom logic for handling the generated TypeScript files' content
- added logging of found assembly paths when resolving assemblies in verbose logging mode
- removed IGenerator interface (programmatical API) - redundant
- removed the add by regex feature in generation specs (the same can be achieved without this feature)
- removed strictNullChecking option - redundant, as you can just use the csNullableTranslation parameter
- added ability to log messages from the Generator class level (+ added a couple of new warnings happening on that level)