Skip to content

Releases: microsoft/kiota

v0.5.0

08 Sep 16:34
v0.5.0
6f037a6
Compare
Choose a tag to compare

Changed

  • Fixed a bug where Go clients would panic in case of nil response value.
  • Fixed a bug to properly add request headers to Nethttp requests in Ruby.
  • Fixed a bug to properly reject invalid URLs in Ruby.
  • Fixed an issue with require statements being generated instead of require relative in Ruby.
  • Updated AdditionDataHolder with the correct namespace. (Ruby)
  • Removed/fixed passing in the current instance to fields deserializers in Ruby. #1663
  • Fix issue with duplicate variable declaration in command handlers (Shell)
  • Update namespace qualification algorithm (helps in resolving when a type name appears in multiple namespaces) to use case insensitive string comparison (CSharp).
  • Fix an issue where namespace reserved name replacement would not include replacing import names in the declared areas in CSharp. #1799
  • Removed Python abstractions, http, authentication and serialization packages
  • Fixed an issue with generating the incorrect serialized type name and require statement for get/post methods (Ruby).
  • Remove all overloads for GO request executors
  • Adds a context object in all GO requests
  • Remove all overloads for GO request executors and Adds a context object in all GO requests GO#176
  • Fixed a bug where the Hashing method for type names differentiation could lock the process.
  • Fixed a bug where CSharp declaration writer would add usings for inner classes.
  • Fixed a bug with inline schema class naming.
  • Fixed a bug where symbols starting with a number would be invalid.
  • Fixed a bug where classes could end up with duplicated methods.
  • Fixed a bug where Go writer would try to import multiple times the same symbol.
  • Fixed a bug where the core generator engine would fail to recognize meaningful schemas.
  • Fixed a bug where Go and Java inner class imports would be missing.
  • Fixed a bug where Go and Java collection bodies would not generate properly.
  • Aligns request options types in Java with other collections type.
  • Fixed a bug where Java would skip duplicated imports instead of deduplicating them.
  • Fixed a bug where Java would not convert date types for query parameters.
  • Fixed a bug where Java doc comments could contain invalid characters.
  • Fixed a bug where function parameters would be reodered incorrectly in dotnet#1822

Added

  • Added support for range (2XX) responses. #1699
  • Added none output formatter to CLI commons. (Shell)
  • Added 'Accept' field of http request header in Ruby. #1660
  • Added support for text serialization in Python. #1406
  • Added support for composed types (union, intersection) in CSharp, Java and Go. #1411
  • Added support for implicit discriminator mapping.
  • Added support for default values of enum properties in CSharp, Java and Go.

v0.4.0

18 Aug 15:10
v0.4.0
c261e9d
Compare
Choose a tag to compare

Changed

  • Fixed a bug where collections types would generate invalid return types in CSharp.
  • Fixed a bug where a nullable entry in anyOf schemas would create unnecessary composed types.
  • Removed duplicate properties defined in base types from model serialization and deserialization methods and initialise property defaults in constructor. #1737
  • Fixed a bug where the generated code had incorrect casing within a method (Ruby). #1672
  • Fixed an issue where duplicate 'require' statements are generated for inner classes in the middle of the file (Ruby). #1649
  • Split parsable interface and additional property/data interface in Ruby. #1654
  • Changed format of datetimes in Go to be converted to ISO 8601 by default when place in path parameters(Go)
  • Reduce code verbosity on Go Getters and Setters. [G0#26][https://github.com/microsoftgraph/msgraph-sdk-go-core/issues/26]

Added

  • Updated test suite and tooling for python abstractions and core packages. #1761
  • Added support for no-content responses in python abstractions and http packages. #1630
  • Added support for vendor-specific content types in python. #1631
  • Simplified field deserializers for json in Python. #1632
  • Adds python code generation support. #1200
  • Added native type support for Duration, Time Only, and Date Only in Ruby. #1644
  • Added a --additional-data argument to generate the AdditionalData properties #1772

v0.3.0

08 Jul 13:39
v0.3.0
c70e794
Compare
Choose a tag to compare

Changed

  • Fixed a bug where query parameter types would not consider the format. #1721
  • Fixed a bug where discriminator mappings across namespaces could create circular dependencies in Go. #1712
  • Fixed a bug where Go binary downloads would try to parse a structured object.
  • Aligned mime types model generation behaviour for request bodies on response content. #134
  • Fixed an issue where some critical errors would not return a failed exit code. #1605
  • Moved nested request configuration classes into separate files within the namespace for PHP. #1620
  • Fixed an issue where duplicate 'require' statements are generated for inner classes in the middle of the file (Ruby). #1649
  • Fixed wrong parameter type for Request config for request executors(PHP). #1629
  • Increased indentation for errorMappings in the request executor (PHP). #1629
  • Fixed bugs in PHP discriminator factory methods, Guzzle request adapter send methods, stream and plain text response handling. #1634
  • Removed abstractions, authentication, http and serialization packages for PHP. #1637
  • Fixed a bug where generated discriminator methods would reference types in other namespaces without proper resolution. #1670
  • Fixed a bug where additional data and backing store properties would be duplicated. #1671
  • Fixed a bug where serialized properties would not match the json property name when using the backing store. (CSharp).
  • Corrected PHPDoc types for headers and request options properties in request configuration classes. #1711
  • Fixed a bug where properties defined at multiple inherited models would collide. #1717

Added

  • Added a more explicit error message for invalid schemas. #1718
  • Added a parameter to specify why mime types to evaluate for models. #134
  • Added an explicit error message for external references in the schema. #1580
  • Added accept header for all schematized requests. #1607
  • Added support for paging. #1569
  • Added support for vendor specific content types(PHP) #1464
  • Added support for accept request header (PHP) #1616
  • Added Getting Started steps for PHP. #1642

v0.2.1

30 May 12:44
v0.2.1
2be38cd
Compare
Choose a tag to compare

Changed

  • Fixed a bug where the logger would not log all the information. #1588

Added

  • Added missing mappings in PHP for uint8 and int8. #1473
  • Added support for enum and enum collections responses in Go. #1578
  • Added Kiota builder engine as a package for external services integration. #1582

v0.2.0

24 May 13:39
v0.2.0
4d158ec
Compare
Choose a tag to compare

Changed

  • Fixed a bug where union types would not work as error types.
  • Fixed a bug where generation names could collide with platform names in CSharp.
  • Fixed missing numbers mapping cases.
  • Fixed multiple bugs enum options invalid symbols generation.
  • Fixed a bug where symbols (classes, enums, properties...) could be only numbers, which is unsupported by most languages.
  • Fixed a bug where union types would be missing serialization information.
  • Fixed a bug where inline request bodies could override each other for the same path item with multiple operations.
  • Fixed simple collections (arrays) support in CSharp.
  • Fixed a bug where code properties could not be union or exclusion types.
  • Fixed a bug where models would fail to generate if the schema type wasn't set to object.
  • Fixed a bug where nullable wrapper schema flattening would ignore some composed type options.
  • Fixed a bug where arrays without items definition would derail generation.
  • Fixed a bug with enums detection for generation. (interpreted as string)
  • Fixed a bug where classes names cleanup could end-up in a collision.
  • Fixed a bug where null reference exception would be thrown when trying to lookup type inheritance on discriminators
  • Fixed the lookup of model namespaces to only look in the target namespace to avoid reference collisions.
  • Fixed a bug for the generated send method for paths returning Enums in dotnet.
  • Breaking: renamed the --loglevel parameter to --log-level.
  • Fixed a bug where some path parameter objects would have empty key values #1586

Added

  • Added support for enum options descriptions (C#/Go/Java/TypeScript). #90
  • Added support for file parameters types. #221
  • Added support for no content responses in PHP. #1458
  • Added support for error handling in php request adapter. #1157
  • Added support for discriminator downcast in PHP. #1255
  • Added support for multiple collections indexing under the same parent.
  • Added code exclusions placeholder in the generation. (oneOf)
  • Added support for continuous access evaluation in Java. #1179
  • Added support for special characters in URL query parameter names. #1584

v0.1.3

06 May 18:48
v0.1.3
0332e49
Compare
Choose a tag to compare

Added

  • Added text serialization library for PHP. #1546.

Changed

  • Fixed the image name in CI for MCR.

Changed

v0.1.2

06 May 18:41
v0.1.2
277d460
Compare
Choose a tag to compare

Changed

  • Minor changes in the parameters (-co => --co, -ll => --ll, -d is required, -l is required).

v0.1.1

06 May 16:57
v0.1.1
60d9882
Compare
Choose a tag to compare

Changed

  • Add binder for nullable boolean options. (Shell)

v0.1.0

05 May 18:31
v0.1.0
8dba4cf
Compare
Choose a tag to compare
public release

v0.0.23

19 Apr 13:23
v0.0.23
25d8b33
Compare
Choose a tag to compare

Changed

  • Fixed a bug where line returns in descriptions could break the generated code. #1504
  • Fixed a bug with special characters in query parameters names. #1445
  • Fixed a bug where complex types path parameters would fail to generate.
  • Fixed a bug where Go serialization/deserialization method would generate invalid accessor names.