Releases: microsoft/kiota
Releases · microsoft/kiota
v1.11.1-preview.202402150001
Added
- Added the init command as part of the experience revamp of #3356
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 a bug with URI template generation for required parameters when they differ between operations. #4148
- 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
- Fixed
cref
tags not closed in doc comments in CSharp generation. - 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-preview.202402080001
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
v1.11.0
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
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
v1.10.0
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
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
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
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 GorequestInfo.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