Skip to content

Commit 064139d

Browse files
authored
Merge branch 'main' into patch-1
2 parents ff12b0b + 7f3d512 commit 064139d

File tree

5 files changed

+11
-5
lines changed

5 files changed

+11
-5
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
### 1.17.0
2+
- Feat: Supported docker arm64 image [#1027](https://github.com/redhat-developer/yaml-language-server/pull/1027)
3+
- Fix: Reverted ajv-draft04 as it not support HTTPS [#1026](https://github.com/redhat-developer/yaml-language-server/pull/1026)
4+
- Fix: Use replaceAll() instead of replace() when turning a label into a regex [#1078](https://github.com/redhat-developer/vscode-yaml/issues/1078)
5+
16
### 1.16.0
27
- 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)
38
- Feat: quickFix for enum, const, property [#900](https://github.com/redhat-developer/yaml-language-server/pull/900)

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
}
1515
],
1616
"license": "MIT",
17-
"version": "1.15.0",
17+
"version": "1.18.0",
1818
"publisher": "redhat",
1919
"bugs": "https://github.com/redhat-developer/vscode-yaml/issues",
2020
"repository": {
@@ -41,6 +41,7 @@
4141
"activationEvents": [
4242
"onLanguage:yaml",
4343
"onLanguage:dockercompose",
44+
"onLanguage:github-actions-workflow",
4445
"onLanguage:yaml-textmate",
4546
"onLanguage:yaml-tmlanguage"
4647
],

src/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ export function startClient(
116116
// Options to control the language client
117117
const clientOptions: LanguageClientOptions = {
118118
// Register the server for on disk and newly created YAML documents
119-
documentSelector: [{ language: 'yaml' }, { language: 'dockercompose' }, { language: 'yaml-textmate' }, { language: 'yaml-tmlanguage' }, { pattern: '*.y(a)ml' }],
119+
documentSelector: [{ language: 'yaml' }, { language: 'dockercompose' }, { language: 'github-actions-workflow' }, { language: 'yaml-textmate' }, { language: 'yaml-tmlanguage' }, { pattern: '*.y(a)ml' }],
120120
synchronize: {
121121
// Notify the server about file changes to YAML and JSON files contained in the workspace
122122
fileEvents: [workspace.createFileSystemWatcher('**/*.?(e)y?(a)ml'), workspace.createFileSystemWatcher('**/*.json')],

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
}

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)