Releases: skbkontur/TypeScript.ContractGenerator
Releases · skbkontur/TypeScript.ContractGenerator
v1.10.3 - 2020.05.28
- Fix eslint-ignore comment
- Add public modifier to function definition
- Add EnableExplicitNullability obsoletion warning
- Update deps
v1.10 - 2020.01.10
- Fix type definition duplicates for custom generic type building context
- Add obsoletion warnings for
JavaScriptTypeChecker.Flow
,EnumGenerationMode.FixedStringsAndDictionary
andTypeScriptGenerationOptions.Pluralize
- Use
EnumGenerationMode.TypeScriptEnum
andLinterDisableMode.EsLint
in default options
v1.9 - 2019.12.31
- Add nullable reference support, it can be enabled with
NullabilityMode.NullableReference
option
v1.8.31 - 2019.11.25
- Use
SourceLink
to help ReSharper decompiler show actual code.
v1.8 - 2019.08.26
- Add
RequiredAttribute
support - Check interfaces' nullability
- Custom property resolving setup via fluent configuration
- Correct attributes retrieving for overriden properties
- Add
TypeScriptArrowFunction
to CodeDom - Move
ResolveProperty
toITypeGenerator
- Remove
ContractGeneratorInferValue
attribute - Add
DerivedTypesUnionBuildingContext
- Add
Upload
method to api type building context
v1.7 - 2019.07.23
- Fix nullability issues in generic types
- Add ItemNotNull/ItemCanBeNull support
- Add
ApiControllerTypeBuildingContextBase
, addApiControllerTypeBuildingContext
example for asp net core - Add CustomGenerator builder, add
RedirectToTypeBuildingContext
- Update dependencies
v1.6 - 2019.06.05
- Fix cyclic dependency bug when generating code for child types
- Pass
TypeScriptUnit
toResolveProperty
forBuildAndImport
availability - Add
NullabilityMode
option - Add more code generation classes to CodeDom
- Add IsStatic flag to TypeScriptFunctionDefinition
v1.5 - 2019.03.14
- Add
ContractGeneratorIgnore
andContractGeneratorInferValue
attributes that can be applied to properties - Add
ResolveProperty
method toICustomTypeGenerator
for property customization
v1.4 - 2019.03.08
//tslint:disable
is placed before codegen marker- Global rename:
FlowType => TypeScript
- Add support for enum properties with user-defined getter (see
GenerateEnumWithConstGetterTest
for details)
v1.3 - 2019.02.22
- Correctly generate built-in types
- Add support for
List<T>
andDictionary<TKey, TValue>