Skip to content

Releases: microsoft/kiota

v1.18.0-preview.202408220001

22 Aug 19:47
9b94384
Compare
Choose a tag to compare
Pre-release

Added

Changed

  • Fixed an issue where models would be missing when they had no properties and a single allOf entry. #5014
  • Reverts modification of responses in output openApi file when generating plugins #4945
  • Expand properties types with null type for Typescript. #4993
  • Added Collection, HashMap, Map, Objects, InputStream, BigDecimal to the list of reserved names for Java generation. [#5135](#5135

v1.18.0-preview.202408150001

15 Aug 20:30
27725de
Compare
Choose a tag to compare
Pre-release

Added

Changed

  • Fixed an issue where models would be missing when they had no properties and a single allOf entry. #5014
  • Reverts modification of responses in output openApi file when generating plugins #4945
  • Expand properties types with null type for Typescript. [#4993](microsoft/kiota-typescript#1188

v1.17.0

09 Aug 18:00
v1.17.0
1eb16cd
Compare
Choose a tag to compare

Added

  • Adds generation of default color.png and outline.png files when generating plugins. #4993

Changed

  • Fixed a bug where properties would be missing in Python models if they didn't have additional properties. #5037
  • Fixed a bug in dotnet where CS1587 warnings are generated in generated enums with descriptions #4957
  • Fixed a bug where the copilot teams toolkit integration would serialize empty declarative copilots. #4974
  • Fixed a bug for the docker image where the volume path would not match the expected configuration for the description.
  • Fixed a bug in Go where certain namespaces were escaped unexpectedly. #5012
  • Exclude the x-openai-isConsequential extension from cleanup. #4962
  • Fixed file name and namespace sanitization when generating plugins. #5019
  • Added TypeScript typecheck suppression to generated method prototype, where anused arguments can cause build fail in projects which use noUnusedLocals: true compiler option. #5095
  • Fixed a bug where defensive programming would consider some default values as invalid in Python

v1.17.0-preview.202408010001

01 Aug 19:59
4d3866a
Compare
Choose a tag to compare
Pre-release

Added

  • Adds generation of default 'color.pngandoutline.png` files when generating plugins. #4993

Changed

  • Fixed a bug where properties would be missing in Python models if they didn't have additional properties. #5037
  • Fixed a bug in dotnet where CS1587 warnings are generated in generated enums with descriptions #4957
  • Fixed a bug where the copilot teams toolkit integration would serialize empty declarative copilots. #4974
  • Fixed a bug for the docker image where the volume path would not match the expected configuration for the description.
  • Fixed a bug in Go where certain namespaces were escaped unexpectedly. #5012
  • Exclude the x-openai-isConsequential extension from cleanup. #4962
  • Fixed file name and namespace sanitization when generating plugins. [#5019](#5019

v1.16.0

05 Jul 13:21
v1.16.0
f7ce8b8
Compare
Choose a tag to compare

Added

Changed

  • Implemented partial class model declarations. 4894
  • Fixed a bug where the Go file names were too long
  • Fixed a bug where the declarative copilot information would be erased if any. #4935
  • Fixes bug with model names in Go generated from camel case namespace. [https://github.com/microsoftgraph/msgraph-sdk-go/issues/721]
  • Plugins OpenAPI extensions are only added when generating plugins to reduce the risk of parsing errors. #4834
  • TypeScript imports are now using ES6 imports with the .js extension.
  • Remove LINQ usage in generated code.
  • Ensures descriptions are not empty in sliced OpenApi file when generating a plugin.
  • Plugins do not emit parameters anymore. #4841
  • References to C# types generated by kiota are prefixed with global:: to avoid name collisions. #4796
  • Ensures HashSet properties in KiotaLock maintain IgnoreCase comparer across runs #4916
  • Dropped client base url set to message when generating plugins. #4905
  • Emit [GeneratedCode] attribute for C# types. #4907
  • Fixes error property disambiguation when the property has the same name as class #4893
  • Fixes missing imports for UntypedNode for method parameter and return value scenarios. #4925
  • Normalize path separators in lock and workspace files to use / as the path separator. [#4228](#4228

v1.16.0-preview.202406270001

27 Jun 20:36
81c351e
Compare
Choose a tag to compare
Pre-release

Changed

  • Implemented partial class model declarations. 4894

Added

Changed

  • Plugins OpenAPI extensions are only added when generating plugins to reduce the risk of parsing errors. #4834
  • TypeScript imports are now using ES6 imports with the .js extension.
  • Remove LINQ usage in generated code.
  • Ensures descriptions are not empty in sliced OpenApi file when generating a plugin.
  • Plugins do not emit parameters anymore. #4841
  • References to C# types generated by kiota are prefixed with global:: to avoid name collisions. #4796

v1.16.0-preview.202406210001

21 Jun 12:39
f07446c
Compare
Choose a tag to compare
Pre-release

Added

Changed

  • Plugins OpenAPI extensions are only added when generating plugins to reduce the risk of parsing errors. #4834
  • TypeScript imports are now using ES6 imports with the .js extension.
  • Remove LINQ usage in generated code.
  • Ensures descriptions are not empty in sliced OpenApi file when generating a plugin.
  • Plugins do not emit parameters anymore. #4841

v1.16.0-preview.202406130001

13 Jun 18:52
9c8d937
Compare
Choose a tag to compare
Pre-release

Added

Changed

  • TypeScript imports are now using ES6 imports with the .js extension.
  • Remove LINQ usage in generated code.
  • Ensures descriptions are not empty in sliced OpenApi file when generating a plugin.

v1.15.0

06 Jun 13:42
b535a94
Compare
Choose a tag to compare

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
  • Added optional parameter --disable-ssl-validation for generate, show, and download commands. #4176
  • For Debug builds of kiota, the --log-level / --ll option is now observed if specified explicitly on the command line. It still defaults to Debug for Debug builds and Warning for Release builds. #4739

Changed

  • Fix package casing normalizing for value passed using --namespace-name option when generating Go Client. #4498
  • 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
  • Fixes a bug where models would be duplicated in some allOf scenarios #4191
  • Fixes a bug where CLI Generation does not handle path parameters of type "string" and format "date", "date-time", "time", etc. #4615
  • Fixes a bug where request executors would be missing Untyped parameters in dotnet #4692
  • Fixes a bug where indexers in include/exclude patters were not normalized if the indexer was the last segment without a slash at the end #4715
  • Fixes a bug where CLI generation doesn't handle parameters of type string array. #4707
  • Fixed a bug where models would not be created when a multipart content schema existed with no encoding #4734
  • Types generated by Kiota are now referenced with their full name to avoid namespace ambiguities #4475
  • Fixes a bug where warnings about discriminator not being inherited were generated #4761
  • Fix scalar member composed type serialization in PHP #2827
  • Trims unused components from output openApi document when generating plugins #4672
  • Fixes missing imports for UntypedNode when backingstore is enabled in Java.
  • Renames name_to_be_defined plugin type to apiplugin [#4713](#4713

v1.15.0-preview.202405310001

31 May 07:32
76b8e1b
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
  • Added optional parameter --disable-ssl-validation for generate, show, and download commands. #4176
  • For Debug builds of kiota, the --log-level / --ll option is now observed if specified explicitly on the command line. It still defaults to Debug for Debug builds and Warning for Release builds. #4739

Changed

  • Fix package casing normalizing for value passed using --namespace-name option when generating Go Client. #4498
  • 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
  • Fixes a bug where models would be duplicated in some allOf scenarios #4191
  • Fixes a bug where CLI Generation does not handle path parameters of type "string" and format "date", "date-time", "time", etc. #4615
  • Fixes a bug where request executors would be missing Untyped parameters in dotnet #4692
  • Fixes a bug where indexers in include/exclude patters were not normalized if the indexer was the last segment without a slash at the end #4715
  • Fixes a bug where CLI generation doesnot handle parameters of type string array. [#4707](#4707