Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bugfix/flaky nodes #2670

Merged
merged 9 commits into from
May 17, 2023
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

## [1.2.1] - 2023-05-16

### Changed

- Fixed a bug where Operation filters would be greedy and exclude non operation filters. [#2651](https://github.com/microsoft/kiota/issues/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](https://github.com/microsoft/kiota/issues/2645)
- Fixed a bug in the extension where selection in multiple indexers would fail. [#2666](https://github.com/microsoft/kiota/issues/2666)

## [1.2.0] - 2023-05-04

Expand Down
2 changes: 1 addition & 1 deletion src/Kiota.Builder/Kiota.Builder.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<Title>Microsoft.OpenApi.Kiota.Builder</Title>
<PackageId>Microsoft.OpenApi.Kiota.Builder</PackageId>
<PackageOutputPath>./nupkg</PackageOutputPath>
<Version>1.2.0</Version>
<Version>1.2.1</Version>
<PackageReleaseNotes>
https://github.com/microsoft/kiota/releases
</PackageReleaseNotes>
Expand Down
20 changes: 10 additions & 10 deletions src/Kiota.Web/wwwroot/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,27 +111,27 @@
"Dependencies": [
{
"Name": "@microsoft/kiota-abstractions",
"Version": "1.0.0-preview.16"
"Version": "1.0.0-preview.18"
},
{
"Name": "@microsoft/kiota-http-fetchlibrary",
"Version": "1.0.0-preview.15"
"Version": "1.0.0-preview.17"
},
{
"Name": "@microsoft/kiota-serialization-form",
"Version": "1.0.0-preview.6"
"Version": "1.0.0-preview.7"
},
{
"Name": "@microsoft/kiota-serialization-json",
"Version": "1.0.0-preview.15"
"Version": "1.0.0-preview.16"
},
{
"Name": "@microsoft/kiota-authentication-azure",
"Version": "1.0.0-preview.12"
"Version": "1.0.0-preview.13"
},
{
"Name": "@microsoft/kiota-serialization-text",
"Version": "1.0.0-preview.14"
"Version": "1.0.0-preview.15"
}
],
"DependencyInstallCommand": "npm install {0}@{1} -S"
Expand All @@ -141,11 +141,11 @@
"Dependencies": [
{
"Name": "microsoft/kiota-abstractions",
"Version": "0.6.5"
"Version": "0.6.7"
},
{
"Name": "microsoft/kiota-http-guzzle",
"Version": "0.6.2"
"Version": "0.6.3"
},
{
"Name": "microsoft/kiota-serialization-json",
Expand All @@ -171,11 +171,11 @@
},
{
"Name": "microsoft-kiota-http",
"Version": "0.4.1"
"Version": "0.4.3"
},
{
"Name": "microsoft-kiota-serialization-json",
"Version": "0.3.2"
"Version": "0.3.3"
},
{
"Name": "microsoft-kiota-authentication-azure",
Expand Down
20 changes: 10 additions & 10 deletions src/kiota/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,27 +111,27 @@
"Dependencies": [
{
"Name": "@microsoft/kiota-abstractions",
"Version": "1.0.0-preview.16"
"Version": "1.0.0-preview.18"
},
{
"Name": "@microsoft/kiota-http-fetchlibrary",
"Version": "1.0.0-preview.15"
"Version": "1.0.0-preview.17"
},
{
"Name": "@microsoft/kiota-serialization-form",
"Version": "1.0.0-preview.6"
"Version": "1.0.0-preview.7"
},
{
"Name": "@microsoft/kiota-serialization-json",
"Version": "1.0.0-preview.15"
"Version": "1.0.0-preview.16"
},
{
"Name": "@microsoft/kiota-authentication-azure",
"Version": "1.0.0-preview.12"
"Version": "1.0.0-preview.13"
},
{
"Name": "@microsoft/kiota-serialization-text",
"Version": "1.0.0-preview.14"
"Version": "1.0.0-preview.15"
}
],
"DependencyInstallCommand": "npm install {0}@{1} -S"
Expand All @@ -141,11 +141,11 @@
"Dependencies": [
{
"Name": "microsoft/kiota-abstractions",
"Version": "0.6.5"
"Version": "0.6.7"
},
{
"Name": "microsoft/kiota-http-guzzle",
"Version": "0.6.2"
"Version": "0.6.3"
},
{
"Name": "microsoft/kiota-serialization-json",
Expand All @@ -171,11 +171,11 @@
},
{
"Name": "microsoft-kiota-http",
"Version": "0.4.1"
"Version": "0.4.3"
},
{
"Name": "microsoft-kiota-serialization-json",
"Version": "0.3.2"
"Version": "0.3.3"
},
{
"Name": "microsoft-kiota-authentication-azure",
Expand Down
2 changes: 1 addition & 1 deletion src/kiota/kiota.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<Title>Microsoft.OpenApi.Kiota</Title>
<PackageId>Microsoft.OpenApi.Kiota</PackageId>
<PackageOutputPath>./nupkg</PackageOutputPath>
<Version>1.2.0</Version>
<Version>1.2.1</Version>
<PackageReleaseNotes>
https://github.com/microsoft/kiota/releases
</PackageReleaseNotes>
Expand Down
7 changes: 5 additions & 2 deletions vscode/microsoft-kiota/.vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,8 @@
"dist": true // set this to false to include "dist" folder in search results
},
// Turn off tsc task auto detection since we have the necessary tasks as npm scripts
"typescript.tsc.autoDetect": "off"
}
"typescript.tsc.autoDetect": "off",
"cSpell.words": [
"Kiota"
]
}
2 changes: 1 addition & 1 deletion vscode/microsoft-kiota/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vscode/microsoft-kiota/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"displayName": "Microsoft Kiota",
"publisher": "ms-graph",
"description": "Client generator for HTTP REST APIs described by OpenAPI which helps eliminate the need to take a dependency on a different API client for every API that you need to call, as well as limiting the generation to the exact API surface area you're interested in, thanks to a filtering capability.",
"version": "1.1.3",
"version": "1.2.0",
baywet marked this conversation as resolved.
Show resolved Hide resolved
"icon": "images/logo.png",
"engines": {
"vscode": "^1.78.0"
Expand Down
8 changes: 7 additions & 1 deletion vscode/microsoft-kiota/src/openApiTreeProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,15 @@ export class OpenApiTreeProvider implements vscode.TreeDataProvider<OpenApiTreeN
}
const segment = segments.shift();
if (segment) {
const child = currentNode.children.find(x => x.segment === segment);
let child = currentNode.children.find(x => x.segment === segment);
if (child) {
return this.findApiNode(segments, child);
} else if (segment.startsWith('{') && segment.endsWith('}')) {
// in case there are multiple single parameters nodes with different names at the same level
child = currentNode.children.find(x => x.segment.startsWith('{') && x.segment.endsWith('}'));
if (child) {
return this.findApiNode(segments, child);
}
}
}
return undefined;
Expand Down