Releases: microsoft/kiota
Releases · microsoft/kiota
v1.32.2
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
UrlTemplatefield. 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
v1.32.0
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 downloadreturning exit code 0 (success) when no results are found or multiple ambiguous matches exist. #7643 - Fixed incorrect command hints and telemetry in
kiota plugin generatehandler referencing "client" instead of "plugin". #7642 - Fixed Ruby
isStreamalways evaluating to false inCodeMethodWriter, causing stream/binary responses to never usesend_primitive_async. #7639 - Fixed a code injection vulnerability in Python generation by sanitizing
x-ms-enumdescriptions 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
v1.31.0
Added
Changed
- Fixed a bug where OpenAPI schemas with
formatbut withouttypekeyword would generateUntypedNodeinstead 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 typefor type aliases to supportverbatimModuleSyntax. #7332
v1.30.0
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;andusing 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
Added
- Added support for new properties in
OpenApiAiAdaptiveCardExtension:subtitle,thumbnailUrl, andinformationProtectionLabelto align with the updatedCardResponseSemanticPropertiesinterface. #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
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
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
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