Skip to content

v1.39.0

Latest

Choose a tag to compare

@adrian05-ms adrian05-ms released this 20 Nov 01:42
ba380a3

Added

Changed

  • Fixed credential-cache file creation in elevated Windows processes, including Azure DevOps release agents, by explicitly assigning the current user as owner with private permissions.
  • Go: include the endpoint path in inline composed-type wrapper names when flattening request builders, preventing response type collisions between paths such as /v1/blocks/meeting_notes and /v1/meeting_notes.
  • Improved GitHub sign-in state handling and authentication command error reporting. Existing users must sign in again after upgrading.
    The old temporary credential cache is no longer read or cleared by logout. Before signing in again, revoke any PAT used with Kiota in GitHub Settings > Developer settings > Personal access tokens, and revoke Kiota's device-code authorization in Settings > Applications > Authorized GitHub Apps (Authorized OAuth Apps for a custom OAuth client). Remove your old token files (pat-api.github.com.txt and <app-id>-api.github.com.txt) from the system temporary directory's kiota/auth folder (%TEMP%\kiota\auth on Windows; $TMPDIR/kiota/auth, or /tmp/kiota/auth, on Unix). Verify that the directory and files belong to you and are not symbolic links or junctions; do not recursively delete a shared temporary directory. Revocation invalidates credentials even if the old files cannot be safely removed.
  • Fixed false-positive missing-discriminator warnings for unions of a single model and a null-only alternative.
  • Ruby: a path parameter named after a Ruby keyword, such as {class}, generated code that didn't parse. The Ruby parameter is now class_escaped, and the URL still uses class.
  • Ruby: fixed generation failing when a nested model is flattened onto the name of an existing one, as in Microsoft Graph beta.
  • Ruby: a request builder for a path with function parameters, such as Microsoft Graph's search(q='{q}'), puts their values in the URL. They were accepted and dropped, so the request went out with empty values.
  • Fixed the Ruby links in the readmes to point to the kiota-ruby repository.
  • Ruby is now a preview language.
  • Improved validation of workspace output paths.
  • External references, and redirects returned while loading them, are now checked against --allowed-external-origins using their resolved address.