Releases: PerfectlyNormal/TypeContractor
Releases · PerfectlyNormal/TypeContractor
v0.16.0
Added
- Options for file name casings, defaulting to
pascal
but can be set tocamel
,snake
orkebab
- 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
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
Added
Fixed
- Don't generate types for parameters with an
[FromServices]
annotation (#95) - Add default
any
-mapping forIActionResult
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
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
v0.12.7
v0.12.6
v0.12.5
Fixed
- Slice of the initial slash in API client URLs.
- Fix formatting for arrays as query strings
v0.12.4
v0.12.3
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