Skip to content

Releases: microsoft/kiota

v1.15.0-preview.202405160001

16 May 18:35
b242eaf
Compare
Choose a tag to compare
Pre-release

Added

  • Added support for multipart form data request body in PHP. #3029
  • Added uri-form encoded serialization for PHP. #2074
  • Added information message with base URL in the CLI experience. #4635

Changed

  • Aligns naming of sliced OpenAPI description generated by plugin add should be named <plugin-name>-openapi.json|yml #4595
  • Fixed RPC server to respect the KIOTA_CONFIG_PREVIEW flag.
  • Added missing nullable directives for CLI generation.
  • Fixed handling of nested arrays to be handled as UntypedNode instances #4549
  • Fixed InvalidOperationException thrown when serializing IBacked models with no changes present in the additional data in dotnet microsoftgraph/msgraph-sdk-dotnet#2471.
  • Fixed a bug where enums could be considered inheritance parents. #4640
  • Fixed RequestConfiguration Classes dropped in RequestBuilder methods in python #4535
  • Fixed incorrect optional types in method parameters in Python #4507
  • Changed enum parsing methods to return nil in the default case in Go #4621
  • Changes the cached description file name to openapi.yml|json from description.yml|json #4641
  • Put opening brace after namespace definition on new line #4625
  • Put opening brace after property definition on new line, if property has getter and setter #4625
  • Put spaces correctly around dictionary entries #4625
  • Remove trailing space after class definition #4625
  • Fixed a bug where multiple allOf entries type would not get merged if they were part of a discriminator. #4325
  • Fixed a bug where allOf structure with one entry and properties would not be considered as inheritance case. #4346
  • Fixed a bug where some allOf scenarios would be missing properties if type object wasn't set on the schema. #4074
  • Fixed a bug where schema with multiple allOf entries would incorrectly get merged to inherit from the first entry #4428
  • Fixes constructor generation for nullable properties that are initialized as null in C#,Java and PHP
  • Fixed a bug where the hash alias in typescript wasn't being generated uniformly for similar interfaces microsoftgraph/msgraph-beta-sdk-typescript#84
  • Fixes a bug where name collisions would occur in the Typescript refiner if model name also exists with the Interface suffix #4382
  • Fixes a bug where paths without operationIds would not be included in the generated plugins and ensured operationIds are cleaned up [#4642](#4642

v1.15.0-preview.202405090001

09 May 18:41
d5c54ee
Compare
Choose a tag to compare
Pre-release

Added

  • Added support for multipart form data request body in PHP. #3029
  • Added uri-form encoded serialization for PHP. #2074

Changed

  • Aligns naming of sliced OpenAPI description generated by plugin add should be named <plugin-name>-openapi.json|yml #4595
  • Fixed RPC server to respect the KIOTA_CONFIG_PREVIEW flag.
  • Added missing nullable directives for CLI generation.
  • Fixed handling of nested arrays to be handled as UntypedNode instances #4549
  • Fixed InvalidOperationException thrown when serializing IBacked models with no changes present in the additional data in dotnet microsoftgraph/msgraph-sdk-dotnet#2471.
  • Fixed RequestConfiguration Classes dropped in RequestBuilder methods in python #4535
  • Fixed incorrect optional types in method parameters in Python [#4507](#4507

v1.14.0

02 May 16:32
v1.14.0
fc4b39c
Compare
Choose a tag to compare

Added

  • Suppress CS1591 when generating CSharp code and documentation is not available
  • Added file name suffix escaping in Go to avoid generating files with reserved suffixes. #4407
  • Added KIOTA_OFFLINE_ENABLED environment variable to disable checking for updates before each command. #4556

Changed

  • Fixed a bug where the Microsoft Plugin Manifests would start with relative paths. #4583
  • Fixed a bug where TypeScript deserialization would fail on Uppercase properties.#4479
  • Fixed a bug where clients and plugins generation would leave empty log files. #4584
  • Changed URI template generation to reuse templates when required templates are absent across operations.
  • Fixed path deduplication logic to avoid double Id suffixes in indexer names in scenarios where the Id suffix is already present.#4519
  • Updated reserved name providers for Java and Php so that "object" can be escaped.
  • Fixes request builder disambiguation when child nodes had different prefixes for different paths with same parameters.#4448
  • Do not generate CS8603 warnings when enabling backing store in CSharp generation.
  • Fixed excluding operation. #4399
  • Fided a bug where absolute path would be used for workspace for local descriptions. #4582 #4581
  • Fixed plugin generation of ApiManifest type to not include the x-ms-kiota-hash in the generated plugin. [#4561](#4561

v1.14.0-preview.202404250001

25 Apr 18:32
a5aa344
Compare
Choose a tag to compare
Pre-release

Added

  • Suppress CS1591 when generating CSharp code and documentation is not available
  • Added file name suffix escaping in Go to avoid generating files with reserved suffixes. #4407

Changed

  • Fixed a bug where TypeScript deserialization would fail on Uppercase properties.#4479
  • Changed URI template generation to reuse templates when required templates are absent across operations.
  • Fixed path deduplication logic to avoid double Id suffixes in indexer names in scenarios where the Id suffix is already present.#4519
  • Updated reserved name providers for Java and Php so that "object" can be escaped.
  • Fixes request builder disambiguation when child nodes had different prefixes for different paths with same parameters.#4448
  • Do not generate CS8603 warnings when enabling backing store in CSharp generation

v1.14.0-preview.202404180001

18 Apr 18:53
7bc5e7a
Compare
Choose a tag to compare
Pre-release

Added

  • Suppress CS1591 when generating CSharp code and documentation is not available

Changed

  • Changed URI template generation to reuse templates when required templates are absent across operations.
  • Updated reserved name providers for Java and Php so that "object" can be escaped.

v1.14.0-preview.202404120001

12 Apr 19:58
76ca881
Compare
Choose a tag to compare
Pre-release

Added

Changed

  • Changed URI template generation to reuse templates when required templates are absent across operations

v1.13.0

04 Apr 12:27
73bd23c
Compare
Choose a tag to compare

Added

  • Added a warning message in the CLI when using preview languages. #4316
  • Added support for handling untyped Json content in C#,Golang, TypeScript and Java. #2319
  • Added TypeScript typecheck suppression to .ts files where unused imports cause build fail in projects which use noUnusedLocals: true compiler option. #4397
  • Fixed TypeScript generation bug when returning enums from endpoints. #4426

Changed

  • Fixed Go generation bug when dealing with scalar collection body. #4380
  • Fixed a bug where multiple Visual Studio Code instances would make the extension install/update fail. #3686
  • Fixed a bug where models properties named "additionalData" or "backingstore" would be ignored. #4224
  • PREVIEW: Renamed the config commands to workspace. #4310
  • PREVIEW: Moved preview configuration files to the .kiota directory. #4310
  • PREVIEW: Moved the copy descriptions to dedicated folders. #4310
  • PREVIEW: Renamed the config to workspace file. #4310
  • Fixed a bug where TypeScript generation would consider boolean argument as empty when false. #4103
  • Changed Csharp code generation to put braces on new lines (where it makes sense). #4347
  • Fixed a bug where some no-content status codes would be considered structured (301, 302, 303, 307) when described. #4190
  • TypeScript is now a preview language

v1.13.0-preview.202403280001

28 Mar 18:43
1087d7e
Compare
Choose a tag to compare
Pre-release

Added

  • Added a warning message in the CLI when using preview languages. #4316
  • Added support for handling untyped Json content in C#,Golang, TypeScript and Java. #2319
  • Added TypeScript typecheck suppression to .ts files where unused imports cause build fail in projects which use noUnusedLocals: true compiler option. #4397

Changed

  • Fixed Go generation bug when dealing with scalar collection body. #4380
  • Fixed a bug where multiple Visual Studio Code instances would make the extension install/update fail. #3686
  • Fixed a bug where models properties named "additionalData" or "backingstore" would be ignored. #4224
  • PREVIEW: Renamed the config commands to workspace. #4310
  • PREVIEW: Moved preview configuration files to the .kiota directory. #4310
  • PREVIEW: Moved the copy descriptions to dedicated folders. #4310
  • PREVIEW: Renamed the config to workspace file. #4310
  • Fixed a bug where TypeScript generation would consider boolean argument as empty when false. #4103
  • Changed Csharp code generation to put braces on new lines (where it makes sense). #4347
  • Fixed a bug where some no-content status codes would be considered structured (301, 302, 303, 307) when described. #4190
  • TypeScript is now a preview language

v1.13.0-preview.202403210001

21 Mar 19:03
62c1d56
Compare
Choose a tag to compare
Pre-release

Added

  • Added a warning message in the CLI when using preview languages. #4316
  • Added support for handling untyped Json content in C#,Golang, TypeScript and Java. #2319

Changed

  • Fixed a bug where multiple Visual Studio Code instances would make the extension install/update fail. #3686
  • Fixed a bug where models properties named "additionalData" or "backingstore" would be ignored. #4224
  • PREVIEW: Renamed the config commands to workspace. #4310
  • PREVIEW: Moved preview configuration files to the .kiota directory. #4310
  • PREVIEW: Moved the copy descriptions to dedicated folders. #4310
  • PREVIEW: Renamed the config to workspace file. #4310
  • Fixed a bug where TypeScript generation would consider boolean argument as empty when false. #4103
  • Changed Csharp code generation to put braces on new lines (where it makes sense). #4347
  • Fixed a bug where some no-content status codes would be considered structured (301, 302, 303, 307) when described. #4190
  • TypeScript is now a preview language

v1.12.0

07 Mar 14:34
1735a2f
Compare
Choose a tag to compare

Added

  • Added support for the new kiota config commands under a feature flag. #3356
  • Added the init command as part of the experience revamp of #3356
  • Added uri-form encoded serialization for Python. #2075
  • Added support for multipart form data request body in Python. #3030

Changed

  • BREAKING - Removed the async suffix from request adapter methods in TypeScript. microsoft/kiota-typescript#992
  • 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 missing type/method names in deprecation comments.#4186
  • 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.
  • Fixed bug where stream responses would generate incorrect partial paging code. #4207
  • Sanitize Accept and Content-Type headers during generation. #4211
  • Fixed a bug in enum default value generator for TypeScript. #4216
  • Generate enum array for query parameters. [#4225](#4225