kiota

OpenAPI based HTTP Client code generator

MIT License

Downloads
7.8M
Stars
2.3K
Committers
106

Bot releases are visible (Hide)

kiota - v1.11.0

Published by baywet 9 months ago

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](https://github.com/microsoft/kiota/issues/3998
kiota - v1.11.0-preview.202401300001

Published by baywet 9 months ago

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](https://github.com/microsoft/kiota/issues/3998
kiota - v1.10.1

Published by baywet 9 months ago

Added

Changed

  • Fixed an issue where domain expiration for apis.guru would lead to search failures
kiota - v1.10.0

Published by baywet 9 months ago

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
kiota - v1.10.0-preview.202312220001

Published by baywet 10 months ago

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](https://github.com/microsoft/kiota/issues/3824
kiota - v1.9.1

Published by baywet 10 months ago

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](https://github.com/microsoft/kiota/issues/3894
kiota - v1.9.0

Published by baywet 11 months ago

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 Go requestInfo.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](https://github.com/microsoft/kiota/issues/3791
kiota - v1.9.0-preview.202311300001

Published by baywet 11 months ago

Added

  • Added --content-type option for requests with multiple allowed content types. (CLI)

Changed

  • Groups request builders and inline request/response bodies in the same file in TypeScript.
  • Fixed a bug where reserved name rename would not rename objects properly. #3609
  • Switched to a Jammy Chiseled base image for docker containers.
  • 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-partform image to align with dotnet changes.
  • 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 Go requestInfo.SetStreamContentAndContentType#3830
  • Fixed parsing of DateOnly values generated in request executors #3679
  • Fixes generation of default values names for go contructor functions #3436
kiota - v1.9.0-preview.202311230001

Published by baywet 11 months ago

Added

  • Added --content-type option for requests with multiple allowed content types. (CLI)

Changed

  • Switched to a Jammy Chiseled base image for docker containers.
  • 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-partform image to align with dotnet changes.
  • Fixed a bug where import statements for additionalDataHolder and enumSet are missing when BackingStore is enabled in java. #3643
  • 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](https://github.com/microsoft/kiota-java/pull/843
kiota - v1.9.0-preview.202311160001

Published by baywet 11 months ago

Added

Changed

  • Moved from net7 to net8.
  • Fixes bug where import statements for additionalDataHolder and enumSet are missing when BackingStore is enabled in java. #3643
  • Fixes bug where getBackingStore method body was malformed for java. #3643
  • Fixes bug where serialize method will not write additional data when backingStore is enabled for java. #3643
kiota - v1.8.2

Published by baywet 12 months ago

Added

Changed

  • Fixed generating any-type schemas #3536
  • Fixed float to string conversion with invariant culture.
  • Fixed a bug where structured error mime types would not be filtered and prioritized through the configuration. #3669
  • Fixed a bug where vendor mime types would be ignored. #3666
  • Fixed a bug where additional parameter would be stripped from accept header. #3667, [#3667](https://github.com/microsoft/kiota/issues/3668
kiota - v1.8.1

Published by baywet 12 months ago

Added

Changed

kiota - v1.8.0

Published by baywet 12 months ago

Added

  • 📢📢📢 Python generation is now stable! 🚀🚀🚀
  • 📢📢📢 PHP generation is now stable! 🚀🚀🚀
  • Added support for enum query parameter types. #2490
  • Added settings in the vscode extension for: backingStore, additionalData, excludeBackwardCompatible, cleanOutput, clearCache, serializers, deserializers, disabledValidationRules, structuredMimeTypes. #3355
  • Support for primary error message in PHP #3276
  • Added support for multiple content type request bodies. #3377
  • Added support for multiple content type responses. #3377
  • Support for primary error message in Python #3277
  • Added a json output for the kiota info command

Changed

  • Set serialization name for path parameters for use with url templating in Python. #3612
  • Include the type which a promise resolves to in PHPDocs for PHP. #3542
  • Added null check for null content type instances when getting deprecation information #3588
  • Aligns header management in Python with other languages. #3430
  • Fixed parameters that are in camelcase to snakecase in Python. #3525
  • Fixed missing imports for method parameters that are query parameters.
  • Replaces the use of "new" by "override" and "virtual" in CSharp models.
  • Fixed a bug where namespaces segment names might contain special characters. #3599
  • Fixed a bug in validation rules where form data would wrongfully warn for arrays. #3569
  • Fixed a bug where content type parameter would be missing for TypeScript, Java, PHP, Python, Ruby and Go. #3610
  • Fixed query parameters type mapping for arrays. #3354
  • The lock file now contains the relative path to the description in case of local path. #3151
  • Fixes a bug where query parameters would be missing in CSharp for ebc clients. #3583
  • Fixed bug where base64url and decimal types would not be generated properly in Java.
  • Fixed a bug where object properties would not be serialized in TypeScript. #3596
  • Fixed bug where symbol name cleanup would not work on forward single quotes characters #3426.
  • Fixed a bug where a "models" API path segment in the description would derail generation. #3400
  • Changes to the configuration of RequestInformation are preserved instead of being overwritten. #3401.
  • Fix bug where import statements in typescript wasn't using import type notation for types that are erased at runtime. #3190
  • The structured content type generation parameter now supports prioritization with q=value syntax. #3377
  • Fixed bug where Tilde char convert to Enum member name properly in C#. #3500
  • Restore backing store feature for typescript. #2613
  • Fixed default code documentation for RequestBodyContentType method parameter
kiota - v1.8.0-preview.202310260001

Published by baywet 12 months ago

Added

  • Added support for enum query parameter types. #2490
  • Added settings in the vscode extension for: backingStore, additionalData, excludeBackwardCompatible, cleanOutput, clearCache, serializers, deserializers, disabledValidationRules, structuredMimeTypes. #3355
  • Support for primary error message in PHP #3276
  • Added support for multiple content type request bodies. #3377
  • Added support for multiple content type responses. #3377
  • Support for primary error message in Python #3277
  • Added a json output for the kiota info command

Changed

  • Added null check for null content type instances when getting deprecation information #3588
  • Aligns header management in Python with other languages. #3430
  • Fixed parameters that are in camelcase to snakecase in Python. [#3525](https://github.com/microsoft/kiota/issues/3525
  • Fixed missing imports for method parameters that are query parameters.
  • Replaces the use of "new" by "override" and "virtual" in CSharp models.
  • Fixed query parameters type mapping for arrays. #3354
  • The lock file now contains the relative path to the description in case of local path. #3151
  • Fixed bug where base64url and decimal types would not be generated properly in Java.
  • Fixed bug where symbol name cleanup would not work on forward single quotes characters #3426.
  • Fixed a bug where a "models" API path segment in the description would derail generation. #3400
  • Changes to the configuration of RequestInformation are preserved instead of being overwritten. #3401.
  • Fix bug where import statements in typescript wasn't using import type notation for types that are erased at runtime. #3190
  • The structured content type generation parameter now supports prioritization with q=value syntax. #3377
  • Fixed bug where Tilde char convert to Enum member name properly in C#. #3500
  • Restore backing store feature for typescript. [#2613](https://github.com/microsoft/kiota/issues/2613
kiota - v1.8.0-preview.202310190001

Published by baywet almost 1 year ago

Added

  • Added support for enum query parameter types. #2490
  • Added settings in the vscode extension for: backingStore, additionalData, excludeBackwardCompatible, cleanOutput, clearCache, serializers, deserializers, disabledValidationRules, structuredMimeTypes. #3355
  • Support for primary error message in PHP #3276
  • Added support for multiple content type request bodies. #3377
  • Added support for multiple content type responses. #3377
  • Support for primary error message in Python #3277

Changed

  • Fixed missing imports for method parameters that are query parameters.
  • Fixed query parameters type mapping for arrays. #3354
  • Fixed bug where base64url and decimal types would not be generated properly in Java.
  • Fixed bug where symbol name cleanup would not work on forward single quotes characters #3426.
  • Fixed a bug where a "models" API path segment in the description would derail generation. #3400
  • Changes to the configuration of RequestInformation are preserved instead of being overwritten. #3401.
  • Fix bug where import statements in typescript wasn't using import type notation for types that are erased at runtime. #3190
  • The structured content type generation parameter now supports prioritization with q=value syntax. [#3377](https://github.com/microsoft/kiota/issues/3377
kiota - v1.8.0-preview.202310120001

Published by baywet about 1 year ago

Added

  • Support for primary error message in PHP #3276

Changed

  • Fixed bug where base64url types would not be generated properly in Java.
  • Fixed bug where symbol name cleanup would not work on forward single quotes characters #3426
kiota - v1.7.0

Published by baywet about 1 year ago

Added

  • Added support for tracing in Python. #1872
  • Added auto-generated comment for TypeScript generation. #3244
  • Added a new switch to exclude all assets generated only for backward compatibility. #2952
  • Added support for tracing (OpenTelemetry) in PHP. #1871

Changed

  • Fixed class name casings when reference in the errorMappings in PHP.
  • Removed --json-no-indent option in favor of RAW_JSON output format which does the same job. (CLI)
  • Fixed imports for enum type properties with default values in Python. #3367
  • Updated constructor for request builders in Python to set passed path parameters. #3352
  • Fixed inherited type definition generation where some cases would not generate properly. #2745
  • Fixed naming convention for inline response types. #2952
  • Localhost based descriptions are not cached anymore to facilitate development workflows. #3316
  • Fixed a bug where the hints would miss quotes for paths and always use the API manifest. #3342
  • Fixed a bug where inline composed types for components schemas would have the wrong name. #3067
  • Fixed a bug where the casing of properties serialization name would be normalized. kiota-serialization-json-dotnet#131
  • Changed parameter order in with_url method body to match the signature of RequestBuilder constructor in Python. #3328
  • Removed redundant undefined qualifier in TypeScript for properties. #3244
  • The default status code response is now used as 4XX and 5XX when those class responses are not provided in the description. #3245
  • Adds codes files in typescript to reduce number of generated files. #2116
  • Fix null reference exception when a parameter is defined without a schema. (CLI).
  • Log a message to stderr if a request is skipped due to missing data. (CLI) #2210
  • Fixes code file generation in typescript #3419
  • Writes fully qualified name of custom types when a type with a similar name exists in the class in PHP.
  • Rename composed type wrapper when class already exists in the namespace. [#2964](https://github.com/microsoft/kiota/issues/2964
kiota - v1.7.0-preview.202309280001

Published by baywet about 1 year ago

Added

  • Added support for tracing in Python. #1872
  • Added auto-generated comment for TypeScript generation. #3244

Changed

  • Updated constructor for request builders in Python to set passed path parameters. #3352
  • Localhost based descriptions are not cached anymore to facilitate development workflows. #3316
  • Fixed a bug where the hints would miss quotes for paths and always use the API manifest. #3342
  • Fixed a bug where inline composed types for components schemas would have the wrong name. #3067
  • Changed parameter order in with_url method body to match the signature of RequestBuilder constructor in Python. #3328
  • Removed redundant undefined qualifier in TypeScript for properties. #3244
  • The default status code response is now used as 4XX and 5XX when those class responses are not provided in the description. #3245
  • Adds codes files in typescript to reduce number of generated files. [#2116](https://github.com/microsoft/kiota/issues/2116
kiota - v1.7.0-preview.202309210001

Published by baywet about 1 year ago

Added

  • Added auto-generated comment for TypeScript generation. #3244

Changed

  • Localhost based descriptions are not cached anymore to facilitate development workflows. #3316
  • Changed parameter order in with_url method body to match the signature of RequestBuilder constructor in Python. [#3328](https://github.com/microsoft/kiota/issues/3328
  • Removed redundant undefined qualifier in TypeScript for properties. #3244
  • The default status code response is now used as 4XX and 5XX when those class responses are not provided in the description. #3245
  • Adds codes files in typescript to reduce number of generated files. [#2116](https://github.com/microsoft/kiota/issues/2116
kiota - v1.6.1

Published by baywet about 1 year ago

Changed

  • Hotfix release for pipeline failing because of Microsoft.OpenApi.ApiManifest preview dependency
Package Rankings
Top 2.15% on Pypi.org
Top 2.13% on Proxy.golang.org
Top 5.24% on Npmjs.org
Badges
Extracted from project README
Dotnet CodeQL Coverage Sonarcloud Status