Skip to content

Releases: microsoft/kiota

v1.2.1

17 May 07:36
a324277
Compare
Choose a tag to compare

Changed

  • Fixed a bug where Operation filters would be greedy and exclude non operation filters. #2651
  • Shorten Go File names to a max of 252
  • Fixed a bug where clean output option would fail because of the log file. #2645
  • Fixed a bug in the extension where selection in multiple indexers would fail. #2666

v1.2.0

04 May 14:31
4ffe68d
Compare
Choose a tag to compare

Added

  • 📢📢📢 Go is now a stable language!
  • Added typescript interfaces for models and request config params. #1013 and #1521
  • Added automatic loading of the lock file for the extension so quick edits of clients are supported.
  • Added a warning message when clients get upgraded from one kiota version to another. #2598
  • Added trimming of derived types that are not being used by the client. #2543
  • Added support for merging schemas of AllOf > 2. #2438
  • Added operation selection in the vscode extension. #2556
  • Added Chinese translations to vscode extension.
  • Added an action to open documentation in the vscode extension. #2562

Changed

  • Fixed issue where implements for error classes were not copied when inlining classes.
  • Moved the common properties to a base class and remove properties(RequestAdapter, UrlTemplate and PathParameters) for the request builders and options and headers for RequestConfig classes PHP.2439
  • Fixed bugs with imports for PHP Generation.
  • Indexers replacement are now at the same level as the original indexer. e.g client.userById("id").messagesById("id")... is now client.users.withId("id").messages.withId("id")....
  • Fixed a bug where arrays with empty items definitions would still project properties. #2502
  • Fixed a bug where multiple single path parameters at the same level would produce invalid url templates.
  • Fixed a bug where steps count would be increasing on nav back in the extension. #2553
  • Fixed a bug where java path parameters wouldn't build.
  • Fixed a bug where extension would not reset generation information on new search. #2540
  • Fixed a bug where the extension would not select nodes when loading from lock file with no filters. #2542
  • Fixed a bug where the extension would fail to generate for the root path. #2536
  • Fixed a bug where properties copied from parent to child classes would not be cloned.
  • Fixed a bug where Java discriminator mapping would use the mapping name instead of the type name.
  • Fixed a bug where filters for nodes with same-level single path parameters with different names would not work anymore.
  • Fixed a bug where replacing reserved names would not propagate the rename to the inner child elements map of the parent class.
  • Fixed a bug where descriptions with multiple server URLs would use the HTTP one instead of HTTPs. #2336
  • Fixed a bug where backing store properties would be sometimes duplicated in derived classes.
  • Write PHP URL templates in request builders using single quoted strings to prevent need to escape $-prefixed names e.g. $count, $ref, $value

v1.1.3

18 Apr 18:56
v1.1.3
a38e8f1
Compare
Choose a tag to compare

Changed

  • Fixed a but where certain configuration sections would not load properly

v1.1.2

17 Apr 13:59
v1.1.2
1438244
Compare
Choose a tag to compare

Changed

  • Fixed Mac-OS releases

v1.1.1

05 Apr 15:25
v1.1.1
b6b2d76
Compare
Choose a tag to compare

Changed

  • Fixed a bug where kiota installation would fail because of zip structure change

v1.1.0

05 Apr 13:57
v1.1.0
0334fe3
Compare
Choose a tag to compare

Added

  • Added Visual Studio Code preview extension. #2333
  • Added support for searching in forks for API descriptions in GitHub. #2429
  • Added the ability to filter on operations. #2431

Changed

  • Fixed a bug where UUID type is not correctly passed to deserialization method due to snake casing of primitive type names.
  • Fixed a bug where unescaped query parameters are not correctly matched to the original name due to python convention of snake casing parameter names.
  • Fixed a bug where date types annotations and guid's were not correctly translated in Python
  • Fixed the extension of downloaded files when using the default path. #2316
  • Fixed a bug where lookup of reference ids failed for AllOf more than one level up.
  • Fixed a bug where a CLI client would not set the content types for requests. (Shell)
  • Fixed linting errors by re-ordering methods and properties in Python.
  • Fixed a bug where requests with bodies would fail in Ruby. #2473
  • Changed python import mechanism to facilitate code completion. #2380
  • Fixed a bug where discriminator methods were missing possible types in Python #2381
  • Fixed a bug where boolean or number enums would be mapped to enums instead of primitive types. #2367
  • Fixed a bug where CSharp inherited constructor name was incorrect. #2351
  • Fixed a bug where java refiner would emit method's parameters types without normalizing the name.
  • Fixed a bug where java refiner would emit incorrect returning types and error mappings without normalizing the name.
  • Changed the name of the static query parameter factory method from addQueryParameters to createQueryParameters in PHP
  • Fixed a bug where java writer would emit incorrect serialization values for escaped enums
  • Fixed a bug where java writer would emit incorrect type names in case of compound types
  • Fixed a bug where go refiner would emit incorrect code when inlining error parents
  • Fixed a bug where inline type names would not be sanitized. #2368
  • Fixed a bug in PHP where the base URL path parameter key didn't match the URI template.
  • Changed invalid schema behavior, invalid properties are now ignored with a warning instead of failed. #2089
  • Fixed a bug where java refiner would not normalize inherited class names and interface types.
  • Fixed a bug where search based commands would not match exact matches when additional results are available.
  • Fixed a bug where imported classes and enums would not be disambiguated when they have the same name in dotnet.
  • Fixed a bug where escaping enum names resulted in a loss of the original enum name. #2488
  • Fixed a bug where properties names are not correctly normalized in Go.

v1.0.1

09 Mar 18:30
v1.0.1
a54b851
Compare
Choose a tag to compare
  • Fixed a bug where double would not be mapped properly.

v1.0.0

09 Mar 16:41
v1.0.0
edd6d84
Compare
Choose a tag to compare
  • 📢📢📢 Kiota is Generally Available with C# as a first stable language and more to follow soon! 🚀🚀🚀

Changed

  • Fixed a bug where byte and binary types would be wrongly mapped. #2357
  • Fixed a bug where go refiner would fail with a null reference.
  • Fixes a bug where request builders would be incorrectly generated due to inconsistent suffix generation
  • Fixed a bug where PHP model getAdditionalData() would not return nullable types.
  • Fixed bug in request options PHPDoc type.
  • Fixed a bug where java refiner would emit enums without normalizing the name.
  • Fixed bug in request configuration class constructor PHPDoc.
  • Fixed a bug where ruby refiner would emit enums without normalizing the name.

Added

  • Added constructors and query parameter factory methods to request configuration classes and constructors to query parameter classes in PHP.
  • Added support for relative server URL. #2278
  • Added restoration of the kiota-lock when the generation fails with clean output. #2292

v0.11.1

13 Feb 14:38
v0.11.1
38b6f43
Compare
Choose a tag to compare

Changed

  • Fixed a bug where search would fail because of a parsing issue. #2290
  • Fixed a bug where Ruby namespaces would fail to load with Rails.
  • Fixed a bug where errors/exceptions could override native exception type symbols in Python. #2257
  • Fixed a bug where descriptions with a path segment matching an HTTP verb would fail to generate. #2231

Added

  • Added support for multi-valued headers in Python. #2051
  • Added getResponseStatusCode to PHP exceptions reserved names provider. #2243

v0.11.0

07 Feb 23:00
v0.11.0
cf4b600
Compare
Choose a tag to compare

Changed

  • Fixed bug in indexer methods for PHP Generation.
  • Fixed a bug where errors/exceptions could override native exception type symbols for PHP Generation. #2258
  • Fixed a bug where most of the Java fields have been prefixed with an underscore.
  • Mangle properties and/or accessors names per language to have more idiomatic APIs.
  • Using fully qualified identifier for java.util.function.Consumer to avoid conflicts in Java.
  • Removed response handler parameter from PHP request executor methods. 1856
  • Fixed minor typo in adding Accept header for PHP.
  • Fixed a bug with null reference types and composed types in CSharp.
  • Fixed a bug with null reference types scalar values in CSharp.
  • Fixed a bug where reserved names replacement wouldn't check whether the name was already in use (all languages).
  • Fixed a bug where default OpenAPI.net validation rules could not be disabled.
  • Fixed a race condition in namespace disambiguation for CSharp.
  • Fixed a bug where errors/exceptions could override native exception type symbols. #2190
  • Removed the ResponseHandler parameter in RequestAdapter to be a RequestOption in Python #1857
  • Updated the client constructor to set the baseUrl path parameter from RequestAdapter's baseUrl(PHP) #2129
  • The Lock file uses a project version coming from a Source Generator instead of the one looked up with reflection. #2147
  • Fixed a bug in ruby where file names or paths could be too long to be packaged.
  • Fixed a bug where models descriptions would be undeterministic. #2130
  • Fixed a bug in dotnet where default values for Enum properties with special characters would not match the model. #2091
  • Sets the base url to make use of request information easier in CSharp/Java/TypeScript/Go/Ruby. #2061
  • Renamed CreateXXXRequestInformation methods to ToXXXRequestInformation for a better auto-completion experience. #2071
  • Renamed Go request adapter methods to remove the async suffix. #2084
  • Fixed a bug where CLI query/header/path parameters would not be deduplicated. #2059
  • Removed unused generated import for PHP Generation.
  • Fixed a bug where long namespaces would make Ruby packaging fail.
  • Fixed a bug where classes with namespace names are generated outside namespace in Python. #2188
  • Changed signature of escaped reserved names from {x}escaped to {x} in line with Python style guides.
  • Add null checks in generated Shell language code.
  • Fixed a bug where Go indexers would fail to pass the index parameter.
  • Fixed a bug where path segments with parameters could be missing words. #2209
  • Fixed a bug where refiners could generate duplicate properties.
  • Fixed a bug where Go collections would try to use variadic parameters where not supported.
  • Removed the need to provide a RequestAdapter in Shell command builders.

Added

  • Updated the client constructor to set the base_url in path parameters from RequestAdapter's base_url(Python) #2128
  • Added support for Raw Url in Request Builders for PHP Generation. 2205
  • Added support for external documentation links on request execution methods (PHP Generation). 2038
  • Added support for nullable reference types in dotnet for projects running Netstandard 2.1/Net 6.0 and above 2073
  • Added support for multi-value headers to CLI generation. (Shell)
  • Added support for overriding some of the generation settings in the OpenAPI description. #2197
  • Added support for multi-value headers for PHP Generation. #2052
  • Added support for Composed types (De)Serialization for PHP Generation. #1814
  • Added support for backing store in Go. 466
  • Added support for inherited error types by inlining the parents. 2194
  • Added support for documentation links in CLI's help commands.