Skip to content

Releases: microsoft/kiota

v1.11.1-preview.202402080001

08 Feb 20:56
0c2fd29
Compare
Choose a tag to compare
Pre-release

Added

Changed

  • Fixed mantis for bitwise enums in Go. #3936
  • Keyword in enum names for go should not be escaped. #2877
  • Generator method code reduction in Python. #3695
  • Fixed return doc comments for Go/Java/CSharp/TypeScript.
  • Fixed type names in doc comments and deprecation noticed across languages.
  • Added thrown exceptions in doc comments for Go/CSharp/Java/TypeScript. #3811
  • Deduplicates 4XX and 5XX error mappings when they map to the same type to reduce emitted code. #4025
  • 📢📢📢 Java generation is now stable! 🚀🚀🚀 special thanks to @andreaTP (Red Hat) for all the help

v1.11.1

05 Feb 14:01
v1.11.1
86b3a62
Compare
Choose a tag to compare

Added

Changed

  • Fixed a deadlock on update for multiple clients targeting the same local file.
  • Fixed a deadlock when evicting cached descriptions

v1.11.0

01 Feb 16:02
v1.11.0
e2875e3
Compare
Choose a tag to compare

Added

  • Added 'none' key for serializer and deserializer arguments to enable portable clients generation. #3796
  • Added Japanese translations to vscode extension.
  • Added support for deprecation annotations in Python. #2798

Changed

  • Fixed serialization of scalar members in union types for Python. #2828
  • Fixed a bug where scalar error mappings would be generated even though it's not supported by the http request adapter. #4018
  • Switched to proxy generation for TypeScript, leading to about ~44% bundle sizes reduction. #3642
  • Required query parameters are now projected as {baseurl+}foo/bar?required={required} instead of {baseurl+}foo/bar{?required} so they are automatically populated if no value is provided. #3989
  • Fixed a bug where TypeScript models factory methods would be missing return types.
  • Fixed a bug where generated paths would possibly get too long. #3854
  • The vscode extension now also displays the children nodes when filtering. #3998

v1.11.0-preview.202401300001

30 Jan 14:43
9f47a43
Compare
Choose a tag to compare
Pre-release

Added

  • Added Japanese translations to vscode extension.
  • Added support for deprecation annotations in Python. #2798

Changed

  • Fixed a bug where scalar error mappings would be generated even though it's not supported by the http request adapter. #4018
  • Switched to proxy generation for TypeScript, leading to about ~44% bundle sizes reduction. #3642
  • Fixed a bug where TypeScript models factory methods would be missing return types.
  • Fixed a bug where generated paths would possibly get too long. #3854
  • The vscode extension now also displays the children nodes when filtering. [#3998](#3998

v1.10.1

12 Jan 15:16
v1.10.1
fa5da75
Compare
Choose a tag to compare

Added

Changed

  • Fixed an issue where domain expiration for apis.guru would lead to search failures

v1.10.0

11 Jan 15:16
v1.10.0
9337325
Compare
Choose a tag to compare

Added

Changed

  • Java - Self-extraction of query parameters instead of using reflection. #3965
  • Fixed a bug where the discriminator validation rule would report false positives on nullable union types.
  • Fixed a bug where constructors and model names where clashing in Go. #3920
  • Fixed a bug where the order of enum declaration might results in a missing enum type. #3935
  • Fixed java generating compound types with underscore in the name. #3824
  • Fixed syntax for ES/TS lint enable/disable

v1.10.0-preview.202312220001

22 Dec 12:21
5103657
Compare
Choose a tag to compare
Pre-release

Added

Changed

  • Fixed a bug where the discriminator validation rule would report false positives on nullable union types.
  • Fixed a bug where constructors and model names where clashing in Go. #3920
  • Fixed a bug where the order of enum declaration might results in a missing enum type. #3935
  • Fixed java generating compound types with underscore in the name. [#3824](#3824

v1.9.1

13 Dec 19:39
v1.9.1
1ca6b89
Compare
Choose a tag to compare

Added

Changed

  • Fixed a regression introduced by #3760 in 1.9.0 and its previews where indexer parameter name would be wrong leading to invalid URLs. #3901
  • Fixed a bug in the vscode extension where the "Paste API Manifest" button would not be able to parse the manifest.
  • Enhance the way Enums are expressed in Typescript. #2105
  • Fixed missing dependency version in info command. [#3894](#3894

v1.9.0

07 Dec 17:42
v1.9.0
147dd9f
Compare
Choose a tag to compare

Added

  • Added --content-type option for requests with multiple allowed content types. (CLI)

Changed

  • Request builders are now in the index file to simplify imports and reduce generated code in TypeScript. #3799
  • Groups request builders and inline request/response bodies in the same file in TypeScript.
  • Groups all reusable models in a single file in TypeScript. #3843
  • Fixed a bug where reserved name rename would not rename objects properly. #3609
  • Switched to a Jammy Chiseled base image for docker containers.
  • Moved the withUrlMethod of TypeScript in the base package. #3812
  • Fixed a bug where path parameters deduplication would create collisions on sub path segments. #3757
  • Moved from net7 to net8.
  • Removed windows OS from docker multi-platform image to align with dotnet changes.
  • Fixed a bug where the emitted CSharp would not be compatible with netstandad2.0. #3829
  • Fixed a bug where import statements for additionalDataHolder and enumSet are missing when BackingStore is enabled in java. #3643
  • Fixed an issue where Kiota's regex's might time out. #3797
  • Fixed a bug where getBackingStore method body was malformed for java. #3643
  • Fixed a bug where serialize method will not write additional data when backingStore is enabled for java. #3643
  • Fixed a bug where paths with parameters in the same position but different names would make generation fail. #3756
  • Fixed a bug where a property named constructor would make generation fail. #3756
  • Removed reflection for Java enum deserialization. microsoft/kiota-java#843
  • Added support for AnyOf arrays. #3786
  • Fixed a bug where property names that matched reserved type would be replaced in dotnet.
  • Fixed pass by value for contentType param in Go requestInfo.SetStreamContentAndContentType#3830
  • Fixed parsing of DateOnly values generated in request executors #3679
  • Fixes generation of default values names for go constructor functions #3436
  • [Java] Removed the usage of reflection in ApiClientBuilder kiota-java#923
  • Fixed a bug where path parameter type was not correctly detected during generation. [#3791](#3791

v1.9.0-preview.202311300001

30 Nov 22:25
1089ee9
Compare
Choose a tag to compare
Pre-release

Added

  • Added --content-type option for requests with multiple allowed content types. (CLI)

Changed

  • Groups request builders and inline request/response bodies in the same file in TypeScript.
  • Fixed a bug where reserved name rename would not rename objects properly. #3609
  • Switched to a Jammy Chiseled base image for docker containers.
  • Fixed a bug where path parameters deduplication would create collisions on sub path segments. #3757
  • Moved from net7 to net8.
  • Removed windows OS from docker multi-partform image to align with dotnet changes.
  • Fixed a bug where import statements for additionalDataHolder and enumSet are missing when BackingStore is enabled in java. #3643
  • Fixed an issue where Kiota's regex's might time out. #3797
  • Fixed a bug where getBackingStore method body was malformed for java. #3643
  • Fixed a bug where serialize method will not write additional data when backingStore is enabled for java. #3643
  • Fixed a bug where paths with parameters in the same position but different names would make generation fail. #3756
  • Fixed a bug where a property named constructor would make generation fail. #3756
  • Removed reflection for Java enum deserialization. microsoft/kiota-java#843
  • Added support for AnyOf arrays. #3786
  • Fixed a bug where property names that matched reserved type would be replaced in dotnet.
  • Fixed pass by value for contentType param in Go requestInfo.SetStreamContentAndContentType#3830
  • Fixed parsing of DateOnly values generated in request executors #3679
  • Fixes generation of default values names for go contructor functions #3436