Skip to content

Releases: skbkontur/TypeScript.ContractGenerator

v1.10.3 - 2020.05.28

27 May 19:07
Compare
Choose a tag to compare
  • Fix eslint-ignore comment
  • Add public modifier to function definition
  • Add EnableExplicitNullability obsoletion warning
  • Update deps

v1.10 - 2020.01.10

10 Jan 10:17
54fd762
Compare
Choose a tag to compare
  • Fix type definition duplicates for custom generic type building context
  • Add obsoletion warnings for JavaScriptTypeChecker.Flow, EnumGenerationMode.FixedStringsAndDictionary and TypeScriptGenerationOptions.Pluralize
  • Use EnumGenerationMode.TypeScriptEnum and LinterDisableMode.EsLint in default options

v1.9 - 2019.12.31

31 Dec 09:34
9d469b2
Compare
Choose a tag to compare
  • Add nullable reference support, it can be enabled with NullabilityMode.NullableReference option

v1.8.31 - 2019.11.25

25 Nov 06:02
Compare
Choose a tag to compare
  • Use SourceLink to help ReSharper decompiler show actual code.

v1.8 - 2019.08.26

02 Oct 07:02
5fc4d67
Compare
Choose a tag to compare
  • 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 to ITypeGenerator
  • Remove ContractGeneratorInferValue attribute
  • Add DerivedTypesUnionBuildingContext
  • Add Upload method to api type building context

v1.7 - 2019.07.23

23 Jul 11:54
Compare
Choose a tag to compare
  • Fix nullability issues in generic types
  • Add ItemNotNull/ItemCanBeNull support
  • Add ApiControllerTypeBuildingContextBase, add ApiControllerTypeBuildingContext example for asp net core
  • Add CustomGenerator builder, add RedirectToTypeBuildingContext
  • Update dependencies

v1.6 - 2019.06.05

05 Jun 07:29
Compare
Choose a tag to compare
  • Fix cyclic dependency bug when generating code for child types
  • Pass TypeScriptUnit to ResolveProperty for BuildAndImport availability
  • Add NullabilityMode option
  • Add more code generation classes to CodeDom
  • Add IsStatic flag to TypeScriptFunctionDefinition

v1.5 - 2019.03.14

14 Mar 11:49
Compare
Choose a tag to compare
  • Add ContractGeneratorIgnore and ContractGeneratorInferValue attributes that can be applied to properties
  • Add ResolveProperty method to ICustomTypeGenerator for property customization

v1.4 - 2019.03.08

08 Mar 18:33
99ce2b3
Compare
Choose a tag to compare
  • //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

22 Feb 08:40
Compare
Choose a tag to compare
  • Correctly generate built-in types
  • Add support for List<T> and Dictionary<TKey, TValue>