Skip to content

Releases: PerfectlyNormal/TypeContractor

v0.17.4.1

03 Oct 17:34

Choose a tag to compare

[0.17.4.1] - 2025-09-19

Fixed

  • Order list of loaded assemblies when logging a FileLoadException, but, like, really this time.

[0.17.4] - 2025-09-19

Fixed

  • Make detecting and unwrapping arrays more reliable

Changed

  • Bump System.Reflection.MetadataLoadContext from 9.0.5 to 9.0.9
  • Add default map from System.Uri to string
  • Order list of loaded assemblies when logging a FileLoadException

v0.17.3

12 Jun 14:43

Choose a tag to compare

Fixed

  • Always use uppercase HTTP verbs (#149)

Changed

  • Bump dependencies

v0.17.2

12 Jun 14:42

Choose a tag to compare

Fixed

  • Avoid unnecessary import of Zod library (#139)

v0.17.1

12 Apr 12:29

Choose a tag to compare

Fixed

  • Handle array properties (SomeDto[]) properly (#140)
  • Avoid duplicate imports for endpoints having the return type as a parameter type (#139)

Changed

  • Bump System.Reflection.MetadataLoadContext from 9.0.0 to 9.0.3
  • Bump Microsoft.NET.Test.Sdk from 17.12.0 to 17.13.0
  • Bump coverlet.collector from 6.0.2 to 6.0.4
  • Bump xunit.runner.visualstudio from 3.0.0 to 3.0.2
  • Bump xunit.analyzers and xunit

v0.17.0

16 Feb 09:23

Choose a tag to compare

Added

  • Better support for generic types (#123)

Fixed

  • Allow enums to be used as query parameters in API clients (#133)

v0.16.0

17 Dec 03:42

Choose a tag to compare

Added

  • Options for file name casings, defaulting to pascal but can be set to camel, snake or kebab
  • Add header to each file explaining that it is auto-generated and not to change manually

Changed

  • Bump FluentAssertions from 6.12.2 to 7.0.0
  • Bump xunit.runner.visualstudio to from 2.8.2 to 3.0.0
  • Bump xunit.analyzers from 1.17.0 to 1.18.0

v0.15.0

02 Dec 14:49

Choose a tag to compare

Added

  • Handle name collisions when creating API clients (#106)
  • Add annotations package to further customize output (#107)
  • Support for .NET9

Fixed

  • Send request bodies on DELETE requests even though they should not be used

Changed

  • Bump Microsoft.NET.Test.Sdk from 17.11.1 to 17.12.0
  • Bump System.Reflection.MetadataLoadContext from 8.0.1 to 9.0.0

v0.14.0

17 Nov 08:19

Choose a tag to compare

Added

  • Handle optional segments in routes for API clients (#77)
  • Added configuration file support (#90)

Fixed

  • Don't generate types for parameters with an [FromServices] annotation (#95)
  • Add default any-mapping for IActionResult as a return type (#98)
  • Log an error if we're unable to match a route parameter when generating API clients (#86)
  • Revert the "response files" fix in [0.13.1], since it broke default command
    line handling, including the --help command

Changed

  • Standardize on encoding generated files as UTF-8 without BOM
  • Write a final newline in the files
  • Standardize on tabs for indentation
  • Fix some editorconfig settings

v0.13.1

11 Nov 09:19

Choose a tag to compare

Added

  • Add basic template for React with Axios

Fixed

  • Ignore response files when parsing command line, so "@/Api" can be accepted as a valid relative root

Changed

  • Update System.Reflection.MetadataLoadContext to v8.0.1
  • Update xunit to v2.9.2
  • Update xunit.analyzers to v1.17.0
  • Update FluentAssertions to v6.12.2

v0.13.0

09 Nov 08:46

Choose a tag to compare

Added

  • Generate API clients using Handlebars templates, with an option to provide custom templates (#75)

Fixed

  • Strip trailing slash in API clients (#87)