Skip to content

v7.1.0 released

Compare
Choose a tag to compare
@wing328 wing328 released this 13 Nov 09:30
· 761 commits to master since this release
e2a62ac

v7.1.0 is the first release with breaking changes (with fallback) after the major release v7.0.0 in Aug 2023.

Breaking changes with fallback:

  • [csharp][generichost] Implement not required nullable properties #16810
  • [PYTHON] generate code based on pydantic v2 #16685
  • Change default value of 'pathParamsAsVariables' config option #16404

For the highlight of changes, please refer to the list below. For a full list of changes, please refer to the "Pull Request" tab.

General

  • Fix oneOf merging, upgrade dependencies #16992
  • Better handling of allOf in request body #16991
  • Better handling of API response in 3.1 spec #16986
  • Better isAlias detection #16943
  • Fixed indent lambda to not strip line breaks #16930

C

  • [C] map set to list, add tests #16730

C#

  • Update C# dependencies to newer versions, update reserved word list #16996
  • [csharp] Introducing the enumPropertyNaming option to the C# Generator #16981
  • [BUG][aspnetcore] Fix ASP.NET Core server DateTimeOffset type mapping #16653

Dart

  • [dart-dio] Add toString in Enum on json_serializer #15387

Go

  • [GO] Add support for model name mapping for go #17023
  • [Go][Server] FormParams - Generic Array Type Handling #17001
  • [Go] add generateMarshalJSON key for additional-properties settings #16962
  • [Go] Add multiple file upload support #16956
  • [Go] validate required fields when unmarshalling JSON #16863

Java

  • Add optional parameter for request body #16972
  • [Server][Spring] fix support interface and implementation classes for API controllers #16945
  • [Java][okhttp-gson] fix validateJsonElement not validating enum values #16865
  • [JAVA] fix: oneOf generates incorrect model for primitive types #16834

Kotlin

  • [kotlin][client] Fix compilation error when all auth method is mapped to null #16861
  • Add kotlin-spring beanValidation for RequestBody parameters #16859
  • [Kotlin] ktor JSON serialization handling #16843

N4JS

  • [N4JS] Fix issue with broken module names in case of same names #16937

PHP

  • [php-symfony] Fix type hint for array in comments #16926
  • [PHP] check if json_decode was able to decode response #16879
  • [php-nextgen] fix object serializer, update tests #16764
  • [php-next-gen] fix handling with enums in object serializer #16741

Postman

  • [POSTMAN] [BUG] Correct order of the Postman requests #16983

Python

  • fix parameters_to_url_query returns booleans with upper letter #16947
  • [python] add circular reference import #16940
  • [python] Fix postponed model imports #16882
  • [Postman Collection] Fix path parameter syntax #16827

Ruby

  • [ruby|client] Fix unmarshalling errors of enums inside other objects #16900
  • [ruby] Make File Downloads Threadsafe #16876

Rust

  • chore(deps,rust): requires reqwest 0.11 in blocking generated code #16927
  • fix(rust-server): remove redundant clone #16906

TypeScript

  • [typescript-axios] Fix Explode Query Parameters #16898
  • [typescript-axios] Add Support for Operation Servers #16782

Zapier

  • [zapier] Zapier generator minor fix #16845
    -[Zapier] Fixed zapier objects arrays mapping #16780