Skip to content

Releases: microsoft/kiota

v1.19.0-preview.202409200001

20 Sep 04:40
00447af
Compare
Choose a tag to compare
Pre-release

Added

  • Control generated type access modifier for C# via --type-access-modifier flag. #4788

Changed

  • 📢📢📢 The Visual Studio Code extension is now generally available!. #5368
  • Fixed a stack overflow in the core generator caused by circular comparisons. #5369
  • Fixed a bug where a path segment named "item" after a single parameter path segment would derail generation. #4814
  • Fixed a bug where collection/array of primitive types members for union/intersection types would be ignored. #5283
  • Updated dependencies command and view to reflect the availability of bundles. #5317
  • Fixed a when generating a plugin when only an operation is selected in the root node in the extension. #5300
  • Fixed a bug where function descriptions in plugin manifest defaults to path summary instead of description. #5301
  • Fixed a bug where TypeScript would not properly build URIs with uppercase first characters query parameter names.#5382
  • Fixed a bug where the description special characters are encoded. 5286
  • Fixed a bug where python constructor parameters are being cast to strings leading to bugs as the types is unknown on graph call. microsoftgraph/msgraph-sdk-python#165
  • Fixed a bug where child path segment from single parameter path segment would be incorrectly escaped. [#5433](#5433

v1.19.0-preview.202409120001

12 Sep 19:10
03607d5
Compare
Choose a tag to compare
Pre-release

Added

Changed

  • 📢📢📢 The Visual Studio Code extension is now generally available!. #5368
  • Fixed a stack overflow in the core generator caused by circular comparisons. #5369
  • Fixed a bug where collection/array of primitive types members for union/intersection types would be ignored. #5283
  • Updated dependencies command and view to reflect the availability of bundles. #5317
  • Fixed a when generating a plugin when only an operation is selected in the root node in the extension. #5300
  • Fixed a bug where function descriptions in plugin manifest defaults to path summary instead of description. #5301
  • Fixed a bug where TypeScript would not properly build URIs with uppercase first characters query parameter names.#5382
  • Fixed a bug where the description special characters are encoded. 5286
  • Fixed a bug where python constructor parameters are being cast to strings leading to bugs as the types is unknown on graph call. [microsoftgraph/msgraph-sdk-python#165](microsoftgraph/msgraph-sdk-python#165

v1.18.0

05 Sep 17:49
5c6b5d0
Compare
Choose a tag to compare

Added

  • Added the ability to export the CodeDom to a file showing the public APIs to be generated in a given language #4627
  • Added composed type serialization in Typescript 2462
  • Use authentication information available in the source OpenAPI document when generating a plugin manifest. #5070

Changed

  • Fixed shorthand for refresh option in workspace experience. #5240
  • Fixed a bug where untyped node imports would be missing CSharp/Go/TypeScript/Java. #5326
  • Fixed missing type options in help for plugin commands. #5230
  • Removed OpenAI plugins generation since the service does not support them anymore.
  • Fixed a bug where a nullable union type would lead to an exception at generation. #5276
  • Fixed a bug where the error message would not be deserialized if the property name matched a reserved property. #5311
  • Fixed an issue where TypeScript clients would be missing path parameters. #5247
  • Fixed a bug where names normalization could lead to collisions in Ruby and other languages. #5310
  • Redirect status codes documenting an application/octet-stream content type now generate a stream return type. #5246
  • 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
  • C# refiner now fixes data types for indexers. #5201
  • C# do not report CS0618 in the generated code. #5229
  • C# do not decorate method parameter(s) with ObsoleteAttribute. #5228
  • Fixed an issue where the generation hint for the workspace experience would be outdated. #5241
  • Fixes an issue where the GoPathSegmenter would create the same file name for different elements to lead to missing code due to overwriting of the content [#4833](#4833

v1.18.0-preview.202408290001

29 Aug 20:08
d13242e
Compare
Choose a tag to compare
Pre-release

Added

  • Added the ability to export the CodeDom to a file showing the public APIs to be generated in a given language #4627
  • Added composed type serialization in Typescript 2462

Changed

  • Fixed shorthand for refresh option in workspace experience. #5240
  • Fixed missing type options in help for plugin commands. #5230
  • Removed OpenAI plugins generation since the service does not support them anymore.
  • Fixed an issue where TypeScript clients would be missing path parameters. #5247
  • Redirect status codes documenting an application/octet-stream content type now generate a stream return type. #5246
  • 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
  • C# refiner now fixes data types for indexers. #5201
  • C# do not report CS0618 in the generated code. #5229
  • C# do not decorate method parameter(s) with ObsoleteAttribute. #5228
  • Fixed an issue where the generation hint for the workspace experience would be outdated. #5241
  • Fixes an issue where the GoPathSegmenter would create the same file name for different elements to lead to missing code due to overwriting of the content [#4833](#4833

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