Skip to content

Releases: PerfectlyNormal/TypeContractor

v0.12.6

18 Sep 07:50
Compare
Choose a tag to compare

Fixed

  • Don't blindly append controller prefix to API client URLs (#76)

v0.12.5

18 Sep 07:02
Compare
Choose a tag to compare

Fixed

  • Slice of the initial slash in API client URLs.
  • Fix formatting for arrays as query strings

v0.12.4

18 Sep 05:58
Compare
Choose a tag to compare

Fixed

  • Use the correct variable reference when unpacking query parameters (Really fix #68)

v0.12.3

17 Sep 18:51
Compare
Choose a tag to compare

Fixed

  • Handle nullable parameters to API clients better. Only send query parameters if we have a value
  • Unpack non-builtin query parameters automatically (#68)

Changed

  • Update xunit.analyzers from v1.15.0 to v1.16.0
  • Update FluentAssertions from v6.12.0 to v6.12.1
  • Update Microsoft.NET.Test.Sdk from v17.11.0 to 17.11.1

v0.12.2

17 Sep 18:52
Compare
Choose a tag to compare

Fixed

  • Handle enumerable parameters in API clients

v0.12.1

13 Sep 20:21
Compare
Choose a tag to compare

Fixed

  • Improve detection of FromRoute/FromQuery parameters in API clients
  • Make sure query parameters are stringified for API clients
  • Fix import paths for nested classes for API clients
  • Improve handling of builtin return types for API clients

v0.12.0

13 Sep 18:46
Compare
Choose a tag to compare

Added

  • Experimental creation of Zod schemas
  • Automatic generation of API clients

Changed

  • Update xunit and friends
  • Update Microsoft.NET.Test.Sdk to 17.11.0

v0.11.0

21 Jun 06:29
Compare
Choose a tag to compare

Added

  • Include @deprecated JSDoc if property is marked as [Obsolete] (#45)

Fixed

  • Handle nullability for more types, including string and records (#51)

Changed

  • Update xunit and friends
  • Update Microsoft.NET.Test.Sdk to 17.10.0

Full Changelog: v0.10.0...v0.11.0

v0.10.0

21 Apr 15:59
Compare
Choose a tag to compare

Added

  • Add default map from System.DateOnly and System.TimeOnly to string

Changed

  • Update xunit to 2.7.1
  • Update xunit.analyzers to 1.12.0
  • Update xunit.runner.visualstudio to 2.5.8
  • Update coverlet.collector to 6.0.2
  • Update Microsoft.NET.Test.Sdk to 17.9.0

Full Changelog: v0.9.2...v0.10.0

v0.9.2

28 Jan 14:47
Compare
Choose a tag to compare

Fixed

  • Work around failing to load System.Text.Json, which it claims we're
    doing twice in some cases. (#28)

Changed

  • Add global singleton Log.Instance to simplify logging in helpers
  • Minor code fixes suggested by Visual Studio
  • Use a source-generated regex for creating TypeScript names
  • Update xunit to v2.6.6