Skip to content

Commit 6b9a2a3

Browse files
Merge pull request #5 from macrosreply/pull-new-changes-1.19
chore: pull new changes from 1.19
2 parents 1c97e71 + bcccb80 commit 6b9a2a3

File tree

6 files changed

+27
-4
lines changed

6 files changed

+27
-4
lines changed

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
### 1.18.0
2+
- Feat: Do not suggest propertyNames if doNotSuggest is true [#1045](https://github.com/redhat-developer/yaml-language-server/pull/1045)
3+
- Feat: Exclude not suggest properties from possible properties error [#1051](https://github.com/redhat-developer/yaml-language-server/pull/1051)
4+
- Feat: Fix enum values to be unique [#1028](https://github.com/redhat-developer/yaml-language-server/pull/1028)
5+
- Fix: URL-encoded characters in $ref paths break schema resolution [#1082](https://github.com/redhat-developer/vscode-yaml/issues/1082)
6+
- Fix: Tests fail with Node.JS 23.7.x [#1018](https://github.com/redhat-developer/yaml-language-server/issues/1018)
7+
- Fix: Autocompletion problem when value is null inside anyOf object [#684](https://github.com/redhat-developer/yaml-language-server/issues/684)
8+
- Fix: Enum strings YES / NO are converted to boolean incorrectly [#1036](https://github.com/redhat-developer/yaml-language-server/issues/1036)
9+
- Fix: Autocompletion with escape sequence chars [#1040](https://github.com/redhat-developer/yaml-language-server/pull/1040)
10+
- Fix: multipleOf does not work for floats [#985](https://github.com/redhat-developer/yaml-language-server/issues/985)
11+
12+
Thanks to [Petr Spacek](https://github.com/p-spacek), [Kosta](https://github.com/Kosta-Github) and [Willem Jan](https://github.com/Willem-J-an) for your contributions.
13+
14+
### 1.17.0
15+
- Feat: Supported docker arm64 image [#1027](https://github.com/redhat-developer/yaml-language-server/pull/1027)
16+
- Fix: Reverted ajv-draft04 as it not support HTTPS [#1026](https://github.com/redhat-developer/yaml-language-server/pull/1026)
17+
- Fix: Use replaceAll() instead of replace() when turning a label into a regex [#1078](https://github.com/redhat-developer/vscode-yaml/issues/1078)
18+
119
### 1.16.0
220
- Feat: Add support for draft-04 (2019 and 2020 included) json schemas while supporting draft-07 [#1006](https://github.com/redhat-developer/yaml-language-server/pull/1006)
321
- Feat: quickFix for enum, const, property [#900](https://github.com/redhat-developer/yaml-language-server/pull/900)

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
}
1515
],
1616
"license": "MIT",
17-
"version": "1.17.0",
17+
"version": "1.19.0",
1818
"publisher": "redhat",
1919
"bugs": "https://github.com/redhat-developer/vscode-yaml/issues",
2020
"repository": {
@@ -40,6 +40,9 @@
4040
},
4141
"activationEvents": [
4242
"workspaceContains:./package.ya?ml"
43+
"onLanguage:yaml",
44+
"onLanguage:dockercompose",
45+
"onLanguage:github-actions-workflow"
4346
],
4447
"keywords": [
4548
"kubernetes",

src/extension.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ export function startClient(
122122
{ language: 'eBuilder.yaml' },
123123
{ language: 'yaml' },
124124
{ language: 'dockercompose' },
125+
{ language: 'github-actions-workflow' },
125126
{ pattern: '*.y(a)ml' },
126127
],
127128
synchronize: {

src/schema-extension-api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ class SchemaExtensionAPI implements ExtensionAPI {
8080
const [first, second] = label.split(':');
8181
if (first && second) {
8282
label = second.trim();
83-
label = label.replace('.', '\\.');
83+
label = label.replaceAll('.', '\\.');
8484
label = `${first}:[\t ]+${label}`;
8585
}
8686
}

test/ui-test/customTagsTest.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ export function customTagsTest(): void {
4343
await textSettingsEditor.typeTextAt(coor[0], coor[1], ' "customTag1"');
4444
}
4545
await textSettingsEditor.save();
46+
await hardDelay(1_000);
4647

4748
editor = (await editorView.openEditor(yamlFileName)) as TextEditor;
4849
await editor.setText('custom');

tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"compilerOptions": {
3-
"lib": ["es2016","WebWorker"],
3+
"lib": ["es2022","WebWorker"],
44
"module": "commonjs",
55
"moduleResolution": "node",
66
"outDir": "out",
77
"skipLibCheck": true,
88
"sourceMap": true,
9-
"target": "es6"
9+
"target": "es2022"
1010
},
1111
"exclude": ["node_modules", "server", "src/webworker"],
1212
"include": ["src", "test"]

0 commit comments

Comments
 (0)