Skip to content

Releases: RicoSuter/NSwag

NSwag v14.5.0 (NJsonSchema v11.4.0)

02 Aug 22:36
bc75a1e
Compare
Choose a tag to compare

What's Changed

  • Better support for reading yaml from a stream by @simonthum in #5170
  • #4821 Cleanup packages to use those provided by framework by @thompson-tomo in #4831
  • Set GH actions target .NET SDK to 9.0.204 by @lahma in #5172
  • Better support for reading yaml from a stream (part two) by @simonthum in #5171
  • Avoid multiple enumeration of array typed path parameters by @Khyalis in #5149
  • Restores all disabled compiler warnings. 649 and 8765 were missing. by @carlbjorknas in #4962
  • Fix to explode array parameters implicitly when SchemaType is OpenAPI 3.0 by @Phoosha in #5176
  • Adding cancellationToken to all calls to ReadAsStringAsync() and ReadAsStreamAsync() by @arshrp in #5187
  • Remove requirement for specific NET SDK in GH Actions by @lahma in #5188
  • Adjusted cancellationToken to work for all NSwag supported frameworks by @arshrp in #5190
  • Allow setting of the client interface access modifier based on the model access modifier by @pbolduc in #4820
  • Prioritize wildcard over json over first entry for accept content-type by @mdi1984 in #5198
  • Reduce interface dispatch to improve performance by @lahma in #5199
  • Surface ExtensionData in CSharpControllerTemplateModel by @hirudan in #5204
  • Expose the UseRequiredKeyword on CSharpClientGeneratorSettings for CSharp client generator by @r-englund in #5205
  • Fix to expose an optional param for AbortSignal (for axios) / CancelToken (for fetch) when GenerateClientInterfaces = true by @tomvdk in #5202
  • Sort client operation responses by status code by @lahma in #5206
  • TSC UpdateUseDtoClassAndDataConversionCodeProperties cleanup by @lahma in #5212
  • Update Microsoft.AspNetCore.* references to target 2.3.0 by @lahma in #5214
  • Convert to using Central Package Management by @lahma in #5217
  • Convert NSwagStudio setup to use WiX 6 by @lahma in #5218
  • Add support for TypeScript compilation testing by @lahma in #5219
  • Replace TypeScript string contain asserts with Verify tests by @lahma in #5220
  • Replace C# string contain asserts with Verify tests by @lahma in #5221
  • Remove deprecated tslint suppression by @CaringDev in #5020
  • Fix empty enumerable parameter handling in C# client by @lahma in #5222
  • Fix: C# Code Generation generates method with return default(void) by @nzeemin in #4826
  • Optimize DefaultParameterNameGenerator and add some more char cleanup by @lahma in #5223
  • Convert more tests to use verify by @lahma in #5224
  • Convert to xUnit v3 by @lahma in #5225
  • Ensure operation names start with alphanumeric character by @lahma in #5227
  • Change GenerateSampleSpecificationTests to auto verify mode by @lahma in #5228
  • Show DisplayName for conflicting actions by @Saibamen in #5057
  • Fix: When generated TS class name is "Error", it is conflicting with TS Error class by @doruk-info in #5032
  • Update NJsonSchema to 11.4.0, update testsuite to reflect a change in class name generation by @WolfgangHG in #5177
  • Improve nswag.js parameter handling by @KaterSchnurz in #5232
  • Use TypeScript 4.3 as default testing version by @lahma in #5234
  • v14.5.0 by @RicoSuter in #5236

New Contributors

Full Changelog: v14.4.0...v14.5.0

NSwag v14.4.0 (NJsonSchema v11.3.2)

28 Apr 22:03
Compare
Choose a tag to compare

What's Changed

  • Fix optional parameter ordering in generated TS/CS clients by @lahma in #5135
  • Add MSBuildProjectDirectory fallback to ProjectDir resolution by @lahma in #5146
  • Tolerate missing schema in OperationModelBase.GetActualParameters by @lahma in #5147
  • Improve OpenApiOperation ActualResponses and Responses performance by @lahma in #5148
  • Optimize OpenApiDocument.GenerateOperationIds by @lahma in #5150
  • Optimize MultipleClientsFromOperationIdOperationNameGenerator duplicate checks by @lahma in #5151
  • Fix some string API usage by @lahma in #5152
  • Add NET 8 targets to core libraries by @lahma in #5153
  • Optimize ObservableDictionary.CollectionChanged by @lahma in #5154
  • Fix array parameter explosion check by @lahma in #5158
  • Include each client type in JIRA OpenAPI Verify testing by @lahma in #5160
  • Update to NJsonSchema v11.3.2 & Namotion.Reflection v3.4.2 by @RicoSuter in #5161
  • Upgraded Microsoft.Extensions.ApiDescription.* to 8.0.14 by @ntyrrell in #5121
  • Add support for STJ-native C# code gen by @mac-michael in #5155
  • Update to Swagger UI v5.21.0 by @RicoSuter in #5162

New Contributors

Full Changelog: v14.3.0...v14.4.0

NSwag v14.3.0 (NJsonSchema v11.2.0)

29 Mar 16:17
Compare
Choose a tag to compare

Updated to NJsonSchema v11.2.0, see https://github.com/RicoSuter/NJsonSchema/releases/tag/v11.2.0

What's Changed

New Contributors

Full Changelog: v14.2.0...v14.3.0

NSwag v14.2.0 (.NET 9)

19 Nov 15:20
2888363
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v14.1.0...v14.2.0

NSwag v14.1.0

17 Jul 15:11
Compare
Choose a tag to compare

What's Changed

  • Updated to NJsonSchema v11.0.2
  • Fixed: impossible to generate exception classes for non-first client by @bkoelman in #4891
  • Restores support for instance-based JSON serializer settings in a non-breaking way by @bkoelman in #4888
  • Only reference Microsoft.Extensions.PlatformAbstractions in .NET 6+ b… by @Numpsy in #4785
  • Might be breaking change: Remove NET 7 support by @lahma in #4896

New Contributors

Full Changelog: v14.0.8...v14.1.0

NSwag v14.0.8

12 Jun 20:08
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v14.0.7...v14.0.8

NSwag v14.0.7

26 Mar 15:18
Compare
Choose a tag to compare
  • Fix loading of correct JSON serializer options, fixes #4834, regression of #4733, v14.0.7

Full Changelog: v14.0.6...v14.0.7

NSwag v14.0.6

26 Mar 12:42
Compare
Choose a tag to compare

Broken version: Newtonsoft.Json options are not loaded correctly, please use v14.0.7

  • Fixes in CSharp generator

Full Changelog: v14.0.5...v14.0.6

NSwag v14.0.5

26 Mar 10:35
Compare
Choose a tag to compare

Broken version: Newtonsoft.Json options are not loaded correctly, please use v14.0.7

  • Fix for WithOpenApi() bug

NSwag v14.0.4

23 Mar 00:19
Compare
Choose a tag to compare

Broken version: Newtonsoft.Json options are not loaded correctly, please use v14.0.7

  • Improve minimal API support (WithOpenApi())
  • Some minor fixes

Full Changelog: v14.0.4...v14.0.4