Releases: microsoft/kiota
Releases · microsoft/kiota
v0.11.1
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
v0.11.0
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.
v0.10.0
Changed
- Fixed container support for MacOS M1. #1888
- Fixed a bug where a missing baseURL would make search fail. #2095
- Fixed a bug in Ruby where the request adapter URL would be overwritten by the client defaults. #1647
- Replaced concurrent-ruby by Fibers in Ruby libraries to implement proper asynchronous execution of requests.
- Replaced response_handler parameter by a request option in Ruby. #1860
- Fixed a bug where conversion of intersection types to wrappers would fail.
- Fixed raw url initialization in Ruby.
- Fixed a bug where subsequent indexers would fail to convert properly for languages not supporting indexers. #1666
- Fixed a bug where the ISO duration import would be incorrect in Ruby.
- Fixed a bug where default middleware options would not be assigned in Ruby.
- Fixed a bug where request options would not be mapped properly in Ruby.
- Fixed a bug where the main module would be missing in Ruby and TypeScript.
- Fixed a bug where class names could conflict with module names in Ruby.
- Fixed a bug where modules listing would be not be deterministic in Ruby and TypeScript.
- Moved Ruby libraries to their own repositories.
- Fixed a regression where errors would be missing their parent types.
- Fixed a regression where indexers replacement would fail.
Added
- Added support for auto-registration of serializers in Ruby. #478
- Added support for middleware infrastructure in Ruby. #1650
- Added support for query parameters names aliasing in Ruby. #1664
- Added support for vendor specific serialization in Ruby. #1661
- Added support for default properties values in Ruby. #1725
- Added support for discriminated types deserialization (inheritance) in Ruby. #1652
- Added support for error mapping in Ruby. #1653
- Added support for multi-valued request headers in Ruby. #2054
- Added support for composed types generation in Ruby.
- Added missing get child node method in Ruby for deserialization.
- Added declaration of module classes in Ruby.
v0.9.0
Changed
- Fixed a generation issue in TypeScript where static methods imports could collide.
- Fixed a generation issue in Go with the accept headers definition.
- Fixed a generation issue in Go and TypeScript with UUID properties.
- Fixed issue with wrong imports for PHP. #2049
- Fix issue where discriminator types were never getting imported for PHP. #2049
- Fix issue where class aliasing was never working as expected for PHP. #2049
- Fixed colliding imports for factory methods in TypeScript. #2009
- Switched to lazy loading module imports in Python. #2007
- Caters for type names being used from System namespace in CSharp generation #2021
- Fixed wrong send request method name for collections in Python. #2057
- Implemented request builders with no parameters as properties in Python. #2024
Added
v0.8.3
Changed
- Unblocks nuget release by removing file triggering credscan.
v0.8.2
Changed
- Unblocks nuget release by removing file triggering credscan.
v0.8.1
Changed
- Fixes publishing workflow missing workload restore commands.
v0.8.0
Changed
- Fixed a bug where readonly properties would fail to deserialize for TypeScript.
- Fixed a bug where array buffers nullability would wrongly be defined for TypeScript.
- Fixed a bug where parameter comments would appear in summary tag comments in dotnet. #1945
- Fixed a bug in PHP generation where request bodies would not serialize single elements properly. #1937
- Fixed a bug where request information would always be set from scalar. #1965
- Fixed a bug where path parameters would be missing if no operation was present at the segment the parameter is defined. #1940
- Fixed a bug where nested classes with long names caused compilation errors for java generated libraries. #1949
- Removed use of anonymous classes in java generated libraries to reduce the number of java classes created at compilation time. #1980
- Fixed a bug where generation would result in wrong indentation in some classes for Python [#1996]((#1996).
- Fixed a bug where error class modules were hardcoded for Python [#1999]((#1999)
- Fixed a bug where generation would sometimes result in wrong original names for query parameters in Python [#2000]((#2000).
- Fixed a bug where Java would fail to compile for endpoints that return collections.
Added
- Added support for GitHub based API search.#1866
- Added login/logout commands to access API descriptions in private GitHub repositories. #1983
- Added support for scalar request bodies Python #1571
- Sets property defaults in constructor and removes duplicate properties defined in base types from model serialization and deserialization methods in Python. #1726
- Added support for scalar request bodies in PHP #1937
- Added accept header for all schematized requests Python. #1617
- Added optional backing store support for PHP. #1976
- Fixed a bug where OdataErrors had wrong inherited class name in Python.
- Fixed a bug where empty path parameters dictionary would throw an error in request builders in Python.
v0.7.1
Changed
- Fixes publishing workflow which fails because of the web application.
v0.7.0
Changed
- Fixed a bug where collections request bodies would not serialize single elements properly. #1927
- Removed response handler parameter from Java executor methods.
- Changed the generated PHP deserializer code to use
fn
instead offunction
. #1880 - Fixes compile errors due to type ambiguity in generated models in dotnet. #1881
- Changes the ResponseHandler parameter in IRequestAdapter to be a RequestOption in dotnet #1858
- File extensions are now stripped from property/namespace/class names. #1892
- Missing host/server is now considered a warning instead of a critical error. #1896
- Fixed a bug where info and show commands would crash in case of invalid description URL. #1894
- Show command now reads descriptions directly from APIs.guru instead of their origin. #1897
- Fixed a classnames having the same name as extensions would cause generation to fail. #1892
- Fixed an issue where CSharp defensive programing would use string.IsNullOrEmpty for collections parameters.
Added
- Added an API key authentication provider for dotnet, TypeScript, Go and Java. #1902
- Added compatibility all the way down to android API level 26 for Java.
- Added support for enum and collection of enum return types for Java.
- Added support for types with more than 500 discriminator entries in Java.
- Added a confirmation message once the generation is successful. #1898
- Added colour scheme for all console messages to improve readability. #1895