Releases: christianhelle/refitter
Releases · christianhelle/refitter
v2.0.0
What's Changed
- Fix numeric format with pattern quirk - infer type from format for all numeric types by @Copilot in #869
- Read group documentation from document tags. by @DJ4ddi in #887
- Fix null reference and XML escaping in XmlDocumentationGenerator by @Copilot in #890
- Fix build workflow: add dotnet restore before dotnet msbuild in Prepare step by @Copilot in #892
#895 - Fix MSBuild workflow by @christianhelle in #898
- Add support for generating a single client from multiple OpenAPI specifications by @Copilot in #904
- Migrate from Microsoft.OpenApi.Readers 1.x to Microsoft.OpenApi 3.x by @vgmello in #907
- Improve Smoke Tests execution time by @christianhelle in #915
- Fix #580: Nullable strings marked correctly by @christianhelle in #921
- Fix #672: MultipleInterfaces ByTag method naming scoped per-interface by @christianhelle in #922
- Fix #635: Refactor source generator to use context.AddSource() by @christianhelle in #923
- Add custom format mappings configuration by @christianhelle in #927
- Fix multipart form-data parameter extraction by @christianhelle in #928
#911
#902 - Fix smoke tests: --interface-only variant missing using directive for contract types by @Copilot in #933
- Fix SonarCloud Code Quality Issues by @Copilot in #932
- Add debug logging for source generator when searching for .refitter files by @codymullins in #743
- Fix: Base type not generated for types using oneOf with discriminator by @Copilot in #906
- Add option for Method Level Authorization header attribute by @Roflincopter in #897
- Fix PR #897 review feedback and add comprehensive bearer auth tests by @christianhelle in #936
- Fix numeric suffix added to interface method names in ByTag mode by @Copilot in #914
- Improve OpenAPI parse + codegen throughput by removing avoidable allocations and repeated regex work by @Copilot in #937
- Move [JsonConverter] from enum properties to enum types by @christianhelle in #938
- Fix broken CLI tool help text by @christianhelle in #940
- Improve code coverage to >90% by @christianhelle in #941
- Microsoft.OpenApi v3.4 by @christianhelle in #945
- Add Unicode support for XML doc comment generation by @christianhelle in #948
- Add PropertyNamingPolicy support for JSON property naming by @christianhelle in #969
#966 - Fix recursive schema stack overflows by @christianhelle in #971
- Made Header Parameters for Security Schemes safe to use as C# variable name by @smoerijf in #977
- Enhance schema alias handling and property name generation by @christianhelle in #996
- Verify alias handling and sanitize PascalCase properties by @christianhelle in #997
- Harden .refitter settings deserialization and output path handling by @christianhelle in #1000
- Special-case the default .refitter filename before deriving OutputFilename by @coderabbitai[bot] in #1002
- [v2.0 audit] Fix pre-release regressions from #1057 by @christianhelle in #1064
- Resolve high-severity audit findings from #1057 by @christianhelle in #1067
- [v2.0 audit] Close remaining verified #1057 regressions by @christianhelle in #1070
- Harden generation flows by @christianhelle in #1071
- Breaking changes and Migration Guide for v2.0.0 by @christianhelle in #1009
- Handle equivalent duplicate schemas in multi-spec merge by @christianhelle in #1076
- Tighten warning handling across Refitter builds by @christianhelle in #1079
- Fix default solution path and update .NET version in VS Code config by @christianhelle in #1082
- Fix docker smoke tests by @christianhelle in #1081
- Sanitize malformed schema type names without renaming clean schemas by @christianhelle in #1085
New Contributors
- @vgmello made their first contribution in #907
- @codymullins made their first contribution in #743
- @smoerijf made their first contribution in #977
- @send0xx made their first bug report
- @naji-makhoul shared their first idea
- @dimyle as made their first bug report
- @Timovzl made their first bug report
- @AntonTeyken made their first bug report
- @umair-me made their first bug report
Full Changelog: 1.7.3...2.0.0
1.7.3
What's Changed
- Add support for systems running only .NET 10.0 (without .NET 8.0 or 9.0) in Refitter.MSBuild by @christianhelle in #882
- Update to return HttpResponseMessage for file downloads by @frogcrush in #877
New Contributors
- @frogcrush made their first contribution in #877
Full Changelog: 1.7.2...1.7.3
v1.7.2
Implemented enhancements:
- Improve Immutable Records ergonomics #844
- Omit certain operation headers and include all others #840
- Create .refitter settings file as part of output #859 by @[christianhelle
- Fix integerType enum deserialization issue #855 (christianhelle)
- support custom nswag template directory #844 #854 by @kmc059000
- Fix missing method parameter XML code-documentation #850 (christianhelle)
Fixed bugs:
- integerType parsing in settings file fails #851
- CS1573 : Method parameter has no matching XML comment #846
Merged pull requests:
- docs: add frogcrush as a contributor for code #878 (allcontributors[bot])
- Migrate solution files from .sln to .slnx format #876 (Copilot)
- Fix issue with randomly failing tests to due parallel execution #872 (christianhelle)
- chore(deps): update dependency tunit to 1.9.2 #863 (renovate[bot])
- chore(deps): update dependency tunit to 1.7.7 #862 (renovate[bot])
- Add unit tests for WriteRefitterSettingsFile functionality #860 (Copilot)
- chore(deps): update dependency ruby to v4 #858 (renovate[bot])
- chore(deps): update dependency tunit to 1.6.28 #857 (renovate[bot])
- docs: add 0x2badc0de as a contributor for bug #856 (allcontributors[bot])
- chore(deps): update dependency swashbuckle.aspnetcore to 10.1.0 #853 (renovate[bot])
- chore(deps): update dependency tunit to 1.6.0 #852 (renovate[bot])
- docs: add lilinus as a contributor for code #849 (allcontributors[bot])
- chore(deps): update dependency ruby to v3.4.8 #845 (renovate[bot])
- chore(deps): update dependency tunit to 1.5.70 #837 (renovate[bot])
Full Changelog: 1.7.1...1.7.2
1.7.1
Implemented enhancements
- Improved handling of optional parameters #448 by @christianhelle
- Allow omitting certain operation headers #840 #841 by @kmc059000
- Migrate unit tests from xUnit to TUnit #830 by @christianhelle
- Refit v9.0.2 #829
- Add .NET 10 support #822 (christianhelle)
- Fix missing XML doc for CancellationToken #819 by @christianhelle
- Fix incorrect casing on multi-part form data parameters #806 by @christianhelle
- Optional parameters with default values #803 by @christianhelle
- Asana API specs strange naming #364 by @christianhelle
Fixed bugs
- Using cancellation tokens with xml doc comments plus TreatWarningsAsErrors and documentation file #817
- Multipart form data parameters wrong casing #805
- Use of non generic
JsonStringEnumConverterprohibits usage of Json-SourceGenerationContext #778 - SourceGenerator 1.5 and newer causes build error with Visual Studio 2022 #627
- Fix string escaping, null safety, and numeric literals in optional parameter default values #804
- Fix typo in class name and Spectre.Console markup escaping issue #828
Merged pull requests
- docs: add kmc059000 as a contributor for ideas, and code #842 (allcontributors[bot])
- Bump actions/upload-artifact from 5 to 6 #838 (dependabot[bot])
- Update dependency TUnit to 1.5.37 #836 (renovate[bot])
- Update dotnet monorepo #834 (renovate[bot])
- Update dependency TUnit to 1.5.6 #833 (renovate[bot])
- Update dependency TUnit to 1.5.0 #832 (renovate[bot])
- chore(deps): update dependency spectre.console.cli to 0.53.1 #827 (renovate[bot])
- chore(deps): update dependency polly to 8.6.5 #826 (renovate[bot])
- Bump actions/checkout from 5 to 6 #825 (dependabot[bot])
- chore(deps): update nswag monorepo to 14.6.3 #824 (renovate[bot])
- chore(deps): update dependency microsoft.build.utilities.core to v18 #821 (renovate[bot])
- chore(deps): update dependency swashbuckle.aspnetcore to 10.0.1 #820 (renovate[bot])
- docs: add karoberts as a contributor for bug #818 (allcontributors[bot])
- chore(deps): update dependency swashbuckle.aspnetcore to v10 #816 (renovate[bot])
- chore(deps): update dependency microsoft.extensions.http.resilience to v10 #815 (renovate[bot])
- Update Spectre.Console.Cli to 0.53.0 #814 (Copilot)
- chore(deps): update dotnet monorepo to v10 (major) #813 (renovate[bot])
- chore(deps): update dependency microsoft.net.test.sdk to 18.0.1 #808 (renovate[bot])
- docs: add mhartmair-cubido as a contributor for bug #807 (allcontributors[bot])
New Contributors
- @kmc059000 made their first contribution in #841
Full Changelog: 1.7.0...1.7.1
1.7.0
What's Changed
- Fix Multipart file array support by @christianhelle in #784
- Add option to remove
[JsonConverter(typeof(JsonStringEnumConverter))]from generated contracts by @christianhelle in #786 - Improve OpenAPI Description handling by @christianhelle in #787
- Update Smoke Tests workflow trigger by @christianhelle in #791
- Add support for customizing the default Integer format by @christianhelle in #792
- NSwag v14.6.2 by @christianhelle in #800
New Contributors:
Full Changelog: 1.6.5...1.7.0
v1.6.5
What's Changed
- Do not remove colon from url paths, verify they're not present in operation names by @eoma-knowit in #765
- Add ability to skip-validation + simplify Unicode logging by @david-pw in #767
- Use NSwag's built-in System.Text.Json polymorphic serialization by @0xced in #772
New Contributors
- @eoma-knowit made their first contribution in #765
- @david-pw made their first contribution in #767
- @0xced made their first contribution in #772
Full Changelog: 1.6.4...1.6.5
1.6.4
What's Changed
- Fix SonarCloud maintainability issues - eliminate code duplication and improve code quality in #753
- Update --operation-name-template implementation to replace all {operationName} instances with Execute by @christianhelle in #759
Full Changelog: 1.6.3...1.6.4
v1.6.3
What's Changed
- Fix MSBuild task so that the generated code is included in the compilation by @christianhelle in #745
- Add support for systems running only .NET 9.0 (without .NET 8.0) in Refitter.MSBuild by @christianhelle in #746
- Introduce --simple-output CLI argument by @christianhelle in #751
Full Changelog: 1.6.2...1.6.3
v1.6.2
What's Changed
- docs: add @SWarnberg as a contributor for bug by @allcontributors[bot] in #714
- docs: add @lilinus as a contributor for bug by @allcontributors[bot] in #717
- Fix missing namespace import by @christianhelle in #718
- Fix match path on cmd prompt by @christianhelle in #719
- Fix table alignments in CLI Output by @christianhelle in #720
- NSwag v14.5.0 by @renovate[bot] in #722
- Add comprehensive GitHub Copilot instructions for Refitter repository by @Copilot in #725
- Bump actions/checkout from 4 to 5 by @dependabot[bot] in #727
- chore(deps): update dependency polly to 8.6.2 by @renovate[bot] in #716
- chore(deps): update dependency microsoft.extensions.http.resilience to 9.8.0 by @renovate[bot] in #728
- ASCII Art Title by @christianhelle in #729
Full Changelog: 1.6.1...1.6.2
v1.6.1
What's Changed
- Update dependency Refitter.SourceGenerator to 1.6.0 by @renovate in #704
- Add console output screenshots to documentation by @christianhelle in #705
- docs: add @sb-chericks as a contributor for ideas, and bug by @allcontributors in #707
- chore(deps): update dependency xunit.runner.visualstudio to 3.1.1 by @renovate in #708
- Ensure that Refit interfaces have a XML docs by @christianhelle in #709
Full Changelog: 1.6.0...1.6.1