Skip to content

Releases: microsoft/kiota

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

v1.15.0-preview.202405230001

23 May 18:28
d453905
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

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](#4692

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