Skip to content

Releases: microsoft/kiota

v1.32.2

05 Jun 19:27
eb0666c

Choose a tag to compare

Added

Changed

  • Fixed per-operation URL template overrides being set too aggressively, causing generated methods to hardcode URL templates as string literals and bypass the class-level UrlTemplate field. Overrides are now only emitted when an operation has required query parameters not shared by all sibling operations on the same path, preserving downstream SDK customization of URL templates. #7764
  • Updated kiota to ESRP v12. #7765

v1.32.1

03 Jun 22:54
958a7d0

Choose a tag to compare

Added

Changed

  • Fixed a regression where operations with only optional query-parameter differences could lose their URL template override, yielding empty or incomplete request builder URL templates after the #7292 fix. #7754 #7755

v1.32.0

02 Jun 20:20
3639d38

Choose a tag to compare

Added

Changed

  • C#, Java, Go, PHP, Dart, TypeScript, Python and Ruby client: default value initialization in model classes for DateTime/Date/Time/UUID properties did not compile #7404
  • All languages: default value initialization in model classes for numeric/boolean properties was missing #7404
  • Fixed a bug where required query parameters from one HTTP operation were leaking into the path-item-level URL template, making them appear required for sibling operations on the same path. #7292
  • Fixed a potential NullReferenceException in union model discriminator factory methods when a discriminator mapping key is null or empty across C#, Dart, Go, Java, PHP, and Python writers. #7641
  • Fixed kiota download returning exit code 0 (success) when no results are found or multiple ambiguous matches exist. #7643
  • Fixed incorrect command hints and telemetry in kiota plugin generate handler referencing "client" instead of "plugin". #7642
  • Fixed Ruby isStream always evaluating to false in CodeMethodWriter, causing stream/binary responses to never use send_primitive_async. #7639
  • Fixed a code injection vulnerability in Python generation by sanitizing x-ms-enum descriptions before emitting comments/docstrings. #7735
  • Fixed a code injection vulnerability in Ruby generation by escaping interpolation markers in generated double-quoted string literals. #7746

v1.31.1

13 Apr 21:06
071292b

Choose a tag to compare

Added

Changed

  • Fixed a bug where local OpenAPI documents were opened with Read/Write instead of Read, briefly preventing concurrent kiota instances from running against the same file. #7601
  • Fixed a bug with default strings representations.

v1.31.0

10 Apr 19:19
v1.31.0
02dd255

Choose a tag to compare

Added

Changed

  • Fixed a bug where OpenAPI schemas with format but without type keyword would generate UntypedNode instead of proper types. #7315
  • Fixed a bug where discriminator mappings for oneOf types with allOf-inherited schemas would incorrectly use schema names as keys instead of resolving the base type discriminator mappings. #7339
  • Fixed TypeScript enum imports to use import type for type aliases to support verbatimModuleSyntax. #7332

v1.30.0

27 Jan 18:20
6ccf6da

Choose a tag to compare

Added

  • Added support for OpenAPI 3.2.0
  • Added support for net10

Changed

  • Fixed a bug where C# code generated from OpenAPI union types (oneOf) was missing using System; and using System.Collections.Generic; statements when ImplicitUsings is disabled. #7248
  • Fixed a bug where error responses including text/plain would cause binary responses to be generated as string responses #3855
  • Fixed a bug where TypeScript deserialization of oneOf types with inheritance would incorrectly place derived type properties in additionalProperties. #6896
  • Fixed a bug when an OpenAPI schema has an anyOf with a UUID array and null, Kiota generated invalid C# code #7603

v1.29.0

24 Oct 18:42
c21ebce

Choose a tag to compare

Added

  • Added support for new properties in OpenApiAiAdaptiveCardExtension: subtitle, thumbnailUrl, and informationProtectionLabel to align with the updated CardResponseSemanticProperties interface. #6934

Changed

  • Fixed a bug where API plugins were incorrectly generating conversation starters in their manifests. #6946
  • Fixed a bug where Java code generation fails due to creation of an invalid object property name derived from the '@' symbol. #6688
  • Fixes a bug where invalid C# code is generated when API path contains an underscore #6698
  • Fixed a bug where union of integer and boolean types collection would not compile in dotnet. #6834
  • Updated generated plugin manifest version from 2.1 to 2.3. #6989

v1.28.0

11 Jul 17:31
v1.28.0
57130b1

Choose a tag to compare

Added

Changed

  • Removed incomplete Swift generation.
  • Removed CLI generation ability. microsoft/kiota-cli-commons#248
  • Fixed a bug where union of primitive types collection would not compile in dotnet. #6635
  • Fixes generation of usings/imports in where Date Types are placed in a nested class. #6286
  • Python: Set a default value for non-nullable array fields. #6350
  • Fixed a bug causing an error in generation of requests which have an enum or an UntypedNode as body. microsoft/kiota-dotnet#537
  • Removed redundant additional data property definition in TypeScript.
  • Fixed a bug where the value parameter for serialization/deserialization in TypeScript methods would be missing a doc comment.
  • Fixed a bug where serializing a base type in TypeScript would lead to missing properties from the derived type. #6511

v1.27.0

11 Jun 17:51
v1.27.0
278d4c1

Choose a tag to compare

Added

Changed

  • Fixed a bug where TypeScript clients instantiation would fail. #6597
  • Fixed a bug where path items with a trailing slash would cause collisions, missing query parameters and more.
  • Fixed a bug where path items with a trailing slash would be missing query parameters. #6569
  • Fixed an issue where migration from lock to workspace would fail because of stream management. #6515
  • Fixed a bug where media types from error responses would be missing from the accept header. #6572
  • Fixed a bug where serialization names for Dart were not correct #6624
  • Fixed a bug where imports from future would appear below other imports in python generated code. #4600

v1.27.0-preview.202506050001

05 Jun 19:20
1f55831

Choose a tag to compare

Pre-release

Added

Changed

  • Fixed a bug where TypeScript clients instantiation would fail. #6597
  • Fixed a bug where path items with a trailing slash would cause collisions, missing query parameters and more.
  • Fixed a bug where path items with a trailing slash would be missing query parameters. #6569
  • Fixed an issue where migration from lock to workspace would fail because of stream management. #6515
  • Fixed a bug where media types from error responses would be missing from the accept header. #6572