UNPKG

yaml-language-server

Version:
492 lines (410 loc) 68.4 kB
### 1.24.0 - Feat: Add support for declaring a schema using an inline `$schema` property. See [#964](https://github.com/redhat-developer/yaml-language-server/issues/964). - Feat: Add support for the `yaml.disableSchemaDetection` setting to disable automatic schema association for matching files. See [#1140](https://github.com/redhat-developer/yaml-language-server/issues/1140) and [vscode-yaml#245](https://github.com/redhat-developer/vscode-yaml/issues/245). - Feat: Add support for disabling schema validation via modeline. See [#446](https://github.com/redhat-developer/yaml-language-server/issues/446). - Feat: Automatically disable schema detection for dbt, Docker Compose, GitHub Actions, and Azure Pipelines files when the corresponding extension is installed. See [vscode-yaml#1251](https://github.com/redhat-developer/vscode-yaml/issues/1251) and [vscode-yaml#1261](https://github.com/redhat-developer/vscode-yaml/pull/1261). - Feat: Add a selectable "No JSON Schema" option to the schema picker. See [vscode-yaml#991](https://github.com/redhat-developer/vscode-yaml/issues/991). - Feat: Support selecting multiple schemas in the schema picker. See [vscode-yaml#983](https://github.com/redhat-developer/vscode-yaml/issues/983). - Feat: Support return types for `yaml.customTags`. See [vscode-yaml#867](https://github.com/redhat-developer/vscode-yaml/issues/867). - Feat: Add the `yaml.kubernetesVersion` setting. See [#211](https://github.com/redhat-developer/yaml-language-server/issues/211). - Fix: False "Matches multiple schemas when only one must validate" error when using direct Kubernetes `standalone-strict/all.json` schema URLs. See [vscode-yaml#1180](https://github.com/redhat-developer/vscode-yaml/issues/1180). - Fix: Stack overflow in YAML Language Server when trying to open the schema picker for a file with multiple schemas. See [vscode-yaml#1249](https://github.com/redhat-developer/vscode-yaml/issues/1249). - Fix: Ignore schema modeline comments after YAML content, allowing `$schema` properties to be commented out normally. See [vscode-yaml#1260](https://github.com/redhat-developer/vscode-yaml/issues/1260). - Fix: Missing schemas from SchemaStore. See [vscode-yaml#1130](https://github.com/redhat-developer/vscode-yaml/issues/1130). - Fix: Arrays with default and required values are not rendered correctly. See [vscode-yaml#1187](https://github.com/redhat-developer/vscode-yaml/issues/1187). - Fix: Autocomplete suggestions from conditional `if` schema branches. See [#1266](https://github.com/redhat-developer/yaml-language-server/issues/1266). - Fix: Broken indentation after pressing Enter in nested mappings. See [vscode-yaml#1226](https://github.com/redhat-developer/vscode-yaml/issues/1226) and [#1258](https://github.com/redhat-developer/yaml-language-server/issues/1258). - Fix: Allow schema to still validate even if Ajv fails. See [#1269](https://github.com/redhat-developer/yaml-language-server/pull/1269). - Fix: `textDocument/codeLens` request hangs on the first file opened. See [#501](https://github.com/redhat-developer/yaml-language-server/issues/501). - Fix: Prepare for the transition to ES modules by removing the `vscode-json-languageservice` dependency. See [#1069](https://github.com/redhat-developer/yaml-language-server/issues/1069) and [#1014](https://github.com/redhat-developer/yaml-language-server/issues/1014). - Fix: GitHub issue forms schema not detected despite correct directory and naming. See [vscode-yaml#1258](https://github.com/redhat-developer/vscode-yaml/issues/1258). - Fix: Correct the default values of `yaml.extension.recommendations` and `yaml.hoverSchemaSource`. See [vscode-yaml#1247](https://github.com/redhat-developer/vscode-yaml/pull/1247). - Fix: Cannot Load content for: schema.json Unknown schema: file. See [#948](https://github.com/redhat-developer/yaml-language-server/issues/948). - Fix: Imported `jsonc-parser` isn't listed as dependencies. See [#1264](https://github.com/redhat-developer/yaml-language-server/issues/1264). - Fix: Correct the `vscode-languageserver-types` version to prevent incompatible TypeScript types. See [#1270](https://github.com/redhat-developer/yaml-language-server/issues/1270). - Fix: `yaml/get/all/jsonSchemas` returns schema association declared with inline `$schema`. See [#1290](https://github.com/redhat-developer/yaml-language-server/pull/1290). - Fix: Status bar updates when editing inline `$schema` in YAML files. See [vscode-yaml#1263](https://github.com/redhat-developer/vscode-yaml/pull/1263). - Chore: Upgrade to ESLint 10 and enforce consistent type imports. See [#1281](https://github.com/redhat-developer/yaml-language-server/pull/1281) and [#1282](https://github.com/redhat-developer/yaml-language-server/pull/1282). - Chore: Upgrade to TypeScript 6. See [#1275](https://github.com/redhat-developer/yaml-language-server/pull/1275). Thanks to [Nicholas Bollweg](https://github.com/bollwyvl), [Heather Lapointe](https://github.com/Alphadelta14), [Remco Haszing](https://github.com/remcohaszing), [Aidan Feldman](https://github.com/afeld), and [Rafał Chłodnicki](https://github.com/rchl) for your contributions. ### 1.23.0 - Feat: Disable "Source" URI in hovers. See [#1120](https://github.com/redhat-developer/yaml-language-server/issues/1120), [vscode-yaml#1238](https://github.com/redhat-developer/vscode-yaml/pull/1238). - Fix: Add support for ajv-i18n to localize validation messages for errors in referenced JSON schemas [#1131](https://github.com/redhat-developer/yaml-language-server/issues/1131). - Fix: Revert formatter changes, resolving several regressions. See [#1245](https://github.com/redhat-developer/yaml-language-server/issues/1245), [vscode-yaml#1241](https://github.com/redhat-developer/vscode-yaml/issues/1241), [vscode-yaml#1233](https://github.com/redhat-developer/vscode-yaml/issues/1233), [vscode-yaml#1242](https://github.com/redhat-developer/vscode-yaml/issues/1242) - Fix: Bundled schema resolution fails for schemas with `$id` matching a file name. See [#1236](https://github.com/redhat-developer/yaml-language-server/issues/1236). - Fix: Skip local sibling probe for non-`file://` schemas. See [#1235](https://github.com/redhat-developer/yaml-language-server/pull/1235). - Fix: Set `User-Agent` header when requesting schema over HTTP(S). See [#1226](https://github.com/redhat-developer/yaml-language-server/pull/1226), [vscode-yaml#1236](https://github.com/redhat-developer/vscode-yaml/pull/1236). - Fix: Request `textDocument/hover` failed with message: Invalid regular expression: /(?s).*/: Invalid group. See [#874](https://github.com/redhat-developer/yaml-language-server/issues/874). Thanks to [Steffen Videbæk Fredsgaard](https://github.com/svifred) and [Kosta](https://github.com/Kosta-Github) for your contributions. ### 1.22.0 - Feat: Use `yaml` package (instead of `prettier`) for formatting. See [#933](https://github.com/redhat-developer/yaml-language-server/issues/933), [#1222](https://github.com/redhat-developer/yaml-language-server/pull/1222). - Feat: Allow `# $schema: <url>` in addition to the existing `# yaml-language-server: $schema=<url>` to specify JSON Schema. See [#950](https://github.com/redhat-developer/yaml-language-server/issues/950). - Feat: Formatting support on web. See [vscode-yaml#1228](https://github.com/redhat-developer/vscode-yaml/pull/1228). - Fix: Issue with local refs in local schema when ID does not end with file name. See [#1228](https://github.com/redhat-developer/yaml-language-server/issues/1228). - Fix: `textDocument/hover` crashes with "url argument must be of type string" for schemas without `$id`. See [#1227](https://github.com/redhat-developer/yaml-language-server/issues/1227). - Fix: Pick which Kubernetes schema to use based on GroupVersionKind (GVK) instead of heuristics. See [#1213](https://github.com/redhat-developer/yaml-language-server/issues/1213). - Fix: Remove annoying log output related to modelines. See [#1211](https://github.com/redhat-developer/yaml-language-server/issues/1211). - Fix: Fix Kubernetes validation for RBAC resources. See [#1204](https://github.com/redhat-developer/yaml-language-server/issues/1204). - Fix: Emacs eglot (and a few other language clients) gets `Internal error` when processing `workspace/configuration` server request. See [#1201](https://github.com/redhat-developer/yaml-language-server/issues/1201), [#1202](https://github.com/redhat-developer/yaml-language-server/issues/1202). - Fix: Preserve `markdownDescription` on $ref siblings - Fix: "Open Schema" CodeLens stopped working for contributed schemas. See [vscode-yaml#1220](https://github.com/redhat-developer/vscode-yaml/issues/1220). - Fix: Markdown description will not be rendered when the property has any reference. See [vscode-yaml#1223](https://github.com/redhat-developer/vscode-yaml/issues/1223). - Fix: The color of the digits after the decimal point is incorrect. See [vscode-yaml#1225](https://github.com/redhat-developer/vscode-yaml/issues/1225). - Fix: Integers with leading zeros displaying as strings. See [vscode-yaml#1190](https://github.com/redhat-developer/vscode-yaml/issues/1190). - Fix: Fix filesystem watcher glob. See [vscode-yaml#1221](https://github.com/redhat-developer/vscode-yaml/pull/1221) - Fix: Remove http-proxy-agent and https-proxy-agent. See [#1208](https://github.com/redhat-developer/yaml-language-server/pull/1208). - Bump: lodash from 4.17.23 to 4.18.1. See [#1225](https://github.com/redhat-developer/yaml-language-server/pull/1225). - Bump: yaml from 2.7.1 to 2.8.3. See [#1220](https://github.com/redhat-developer/yaml-language-server/pull/1220). - Bump: picomatch from 2.3.1 to 2.3.2. See [#1219](https://github.com/redhat-developer/yaml-language-server/pull/1219). - Bump: flatted from 3.3.3 to 3.4.2. See [#1218](https://github.com/redhat-developer/yaml-language-server/pull/1218). - Bump: minimatch. See [#1200](https://github.com/redhat-developer/yaml-language-server/pull/1200). - Docs: Add yaml-schema-lint CLI to the Clients list. See [#1215](https://github.com/redhat-developer/yaml-language-server/pull/1215). - Docs: Fix links to schemas in `README.md`. See [vscode-yaml#1177](https://github.com/redhat-developer/vscode-yaml/pull/1177). Thanks to [Remco Haszing](https://github.com/remcohaszing), [Nicolas K.](https://github.com/nikaro), and [Josef Šimánek](https://github.com/simi) for your contributions. ### 1.21.0 - Feat: Enable suppressing diagnostics per-line by adding a `# yaml-language-server-disable` comment [vscode-yaml#666](https://github.com/redhat-developer/vscode-yaml/issues/666) - Feat: Allow `yaml.validate` and `yaml.format.enable` to be overriden in language-specific settings [#1188](https://github.com/redhat-developer/yaml-language-server/pull/1188) - Fix: Do not register the extension for templated YAML languages (such as Helm, Jinja, etc.) [vscode-yaml#1204](https://github.com/redhat-developer/vscode-yaml/issues/1204) - Fix: Handle default booleans and integers properly in required properties completion [vscode-yaml#1205](https://github.com/redhat-developer/vscode-yaml/issues/1205) - Fix: Prevent infinite `$ref` resolution loops [#1195](https://github.com/redhat-developer/yaml-language-server/issues/1195) - Fix: Preserve document end marker (`...`) when formatting (by updating prettier to 3.8.1) [vscode-yaml#1211](https://github.com/redhat-developer/vscode-yaml/issues/1211) - Fix: Don't escape '-' in hover text, since it was breaking links [#1151](https://github.com/redhat-developer/yaml-language-server/issues/1151) - Fix: Attempt to resolve a schema referenced through a relative `$ref` locally before peforming a remote `$id` lookup [#1186](https://github.com/redhat-developer/yaml-language-server/issues/1184) - Fix: Improve documentation of `yaml.schemas` setting [vscode-yaml#1207](https://github.com/redhat-developer/vscode-yaml/issues/1207) Thanks to [Simon Heather](https://github.com/X-Guardian) for your contributions ### 1.20.0 - Feat: Support JSON Schema 2019-09 and 2020-12 [#478](https://github.com/redhat-developer/yaml-language-server/issues/478), [vscode-yaml#1122](https://github.com/redhat-developer/vscode-yaml/issues/1122), [#823](https://github.com/redhat-developer/yaml-language-server/issues/823) - Feat: Support drafts 2019-09 and 2020-12 when validating a referenced JSON schema using AJV [#1164](https://github.com/redhat-developer/yaml-language-server/pull/1164) - Feat: Autodetect schema when working with a Kubernetes custom resource [#605](https://github.com/redhat-developer/yaml-language-server/issues/605) - Feat: Add CLI flag to report version and report version in initialization result [#1142](https://github.com/redhat-developer/yaml-language-server/issues/1142) - Feat: Add rename support for anchors and aliases [#1149](https://github.com/redhat-developer/yaml-language-server/pull/1149) - Feat: Add anchor preview in hover [#1150](https://github.com/redhat-developer/yaml-language-server/pull/1150) - Feat: Refactoring to change strings into block strings [#1119](https://github.com/redhat-developer/yaml-language-server/issues/1119) - Feat: Report the error message from the schema (if available) when a property is missing [#1138](https://github.com/redhat-developer/yaml-language-server/pull/1138) - Fix: Properly register formatter for all YAML files [#1147](https://github.com/redhat-developer/yaml-language-server/issues/1147) - Fix: Address 'no scope' warning in logs [vscode-yaml#972](https://github.com/redhat-developer/vscode-yaml/issues/972) - Fix: Improve auto-completion for required enum properties and fix default value labeling [vscode-yaml#1125](https://github.com/redhat-developer/vscode-yaml/issues/1125), [vscode-yaml#1160](https://github.com/redhat-developer/vscode-yaml/issues/1160) - Fix: Prevent error when hovering YAML 1.1 boolean values [#1152](https://github.com/redhat-developer/yaml-language-server/issues/1152) - Fix: Properly escape quotes when completing `const` values, `enum` values, or property names [vscode-yaml#1181](https://github.com/redhat-developer/vscode-yaml/issues/1181) - Fix: Prevent links in plain text hover documentation from being broken by aggressive escaping [#1151](https://github.com/redhat-developer/yaml-language-server/issues/1151) - Fix: Property name completion properly suggests the `enum` and `const` values instead of the schema title, and takes into account `anyOf` and `allOf` [#1141](https://github.com/redhat-developer/yaml-language-server/issues/1141) - Fix: Fix loading translations on web [vscode-yaml#1191](https://github.com/redhat-developer/vscode-yaml/issues/1191) - Fix: Fix 'go to schema' CodeLens on web [vscode-yaml#1195](https://github.com/redhat-developer/vscode-yaml/issues/1195) - Fix: Drop lodash from dependencies [#1170](https://github.com/redhat-developer/yaml-language-server/pull/1170) - Fix: Don't syntax highlight 1.4.0 as a float [#901](https://github.com/redhat-developer/vscode-yaml/issues/901) - Fix: Register ansible and ansible-jinja languages for formatter [vscode-yaml#812](https://github.com/redhat-developer/vscode-yaml/issues/812) - Fix: Fix loading schemas from workspace when working in a web environment [vscode-yaml#1194](https://github.com/redhat-developer/vscode-yaml/issues/1194) - Fix: Improve range of 'key ordering' error [#1177](https://github.com/redhat-developer/yaml-language-server/issues/1177) - Fix: Prevent the key ordering quickfix from breaking the YAML [#1171](https://github.com/redhat-developer/yaml-language-server/issues/1171) - Fix: Prevent dereferencing `undefined` in `pickSchemaDialect` [#1176](https://github.com/redhat-developer/yaml-language-server/pull/1176) - Bump: js-yaml version [#1143](https://github.com/redhat-developer/yaml-language-server/pull/1143) Thanks to [Petr Spacek](https://github.com/p-spacek), [Lawrence Troup](https://github.com/lawrencetroup), [elohmeier](https://github.com/elohmeier), [Ronald Wahl](https://github.com/rowahl), [Marius Svechla](https://github.com/msvechla), [qvalentin](https://github.com/qvalentin), [Hugo Hache](https://github.com/Hugo-Hache), [Nikita Karamov](https://github.com/kytta), [Guillermo Rodríguez](https://github.com/guille) and [Lanqing Huang](https://github.com/lqhuang) for your contributions A special shoutout to [Morgan Chang](https://github.com/shin19991207) for her tireless work on the validator. ### 1.19.2 - Fix: QuickFix to replace value with integer/number appears blank and doesn't work [#1116](https://github.com/redhat-developer/yaml-language-server/issues/1116) - Fix: Support `yaml-textmate` and `yaml-tmlanguage` languages [#1132](https://github.com/redhat-developer/yaml-language-server/pull/1132) - Docs: Remove '\n' in README.md [#1068](https://github.com/redhat-developer/yaml-language-server/pull/1068) - Docs: Mention Kate as client [#1122](https://github.com/redhat-developer/yaml-language-server/pull/1122) Thanks to [roc](https://github.com/imroc), [Arunvenmany](https://github.com/arunvenmany-ibm), [Niels Thykier](https://github.com/nthykier), and [RedCMD](https://github.com/RedCMD) for your contributions. ### 1.19.1 - Feat: Support formatting docker-compose.yml by default [#1071](https://github.com/redhat-developer/yaml-language-server/issues/1071) - Feat: Support statically registering format support [#1062](https://github.com/redhat-developer/yaml-language-server/pull/1062) - Feat: Support localization in the YAML language server [#1081](https://github.com/redhat-developer/yaml-language-server/issues/1081) - Feat: Migrated to NPM [#1097](https://github.com/redhat-developer/yaml-language-server/issues/1097) - Feat: Add formatting option to remove trailing comma [#1112](https://github.com/redhat-developer/vscode-yaml/issues/1112) - Fix: OpenAPI 3.0.0 specification is treated as invalid [#752](https://github.com/redhat-developer/yaml-language-server/issues/752) - Fix: YAML Language Server checks against JSON Schema Draft 7 instead of the defined one [#780](https://github.com/redhat-developer/yaml-language-server/issues/780) - Fix: Numbers in comments should not break schema validation [#922](https://github.com/redhat-developer/yaml-language-server/issues/922) - Fix: Make enum values easier to read on hover [#982](https://github.com/redhat-developer/yaml-language-server/issues/982) - Fix: No more quickfix for indent with tab [#1052](https://github.com/redhat-developer/yaml-language-server/issues/1052) - Fix: QuickFix for "flow sequence forbidden" leaves in trailing `]` [#1060](https://github.com/redhat-developer/yaml-language-server/issues/1060) - Fix: YAML conversion does not resolve aliases correctly [#1075](https://github.com/redhat-developer/yaml-language-server/issues/1075) - Fix: Fix enum values to be unique [#1028](https://github.com/redhat-developer/yaml-language-server/pull/1028) - Fix: Using bool values in enum and const generates a validation error for valid values [#1078](https://github.com/redhat-developer/yaml-language-server/issues/1078) - Fix: improve enum value descriptions for merged enum lists [#1085](https://github.com/redhat-developer/yaml-language-server/pull/1085) - Fix: Array of const completion [#1092](https://github.com/redhat-developer/yaml-language-server/pull/1092) - Fix: Error for missing anchor (unidentified alias) broken since 1.0 [#1098](https://github.com/redhat-developer/vscode-yaml/issues/1098) - Fix: Invalid tab indentation error [#1110](https://github.com/redhat-developer/vscode-yaml/issues/1110) - Fix: Validation shows false negative errors if using boolean with const [#1116](https://github.com/redhat-developer/vscode-yaml/issues/1116) - Fix: Broken link to JSON Schema website [#1113](https://github.com/redhat-developer/yaml-language-server/pull/1113) - Fix: GitHub Actions release process was broken [#1127](https://github.com/redhat-developer/yaml-language-server/pull/1127), [#1128](https://github.com/redhat-developer/yaml-language-server/issues/1128) - Bump: ajv version [#1067](https://github.com/redhat-developer/yaml-language-server/pull/1067) Thanks to [Trevor Dixon](https://github.com/trevordixon), [David Lechner](https://github.com/dlech), [pjsk-stripe](https://github.com/pjsk-stripe), [Lucy Dryaeva ](https://github.com/ShadiestGoat), [Kosta](https://github.com/Kosta-Github) and [August Johansson ](https://github.com/webdevred) for your contributions. ### 1.18.0 - Feat: Do not suggest propertyNames if doNotSuggest is true [#1045](https://github.com/redhat-developer/yaml-language-server/pull/1045) - Feat: Exclude not suggest properties from possible properties error [#1051](https://github.com/redhat-developer/yaml-language-server/pull/1051) - Feat: Fix enum values to be unique [#1028](https://github.com/redhat-developer/yaml-language-server/pull/1028) - Fix: URL-encoded characters in $ref paths break schema resolution [#1082](https://github.com/redhat-developer/vscode-yaml/issues/1082) - Fix: Tests fail with Node.JS 23.7.x [#1018](https://github.com/redhat-developer/yaml-language-server/issues/1018) - Fix: Autocompletion problem when value is null inside anyOf object [#684](https://github.com/redhat-developer/yaml-language-server/issues/684) - Fix: Enum strings YES / NO are converted to boolean incorrectly [#1036](https://github.com/redhat-developer/yaml-language-server/issues/1036) - Fix: Autocompletion with escape sequence chars [#1040](https://github.com/redhat-developer/yaml-language-server/pull/1040) - Fix: multipleOf does not work for floats [#985](https://github.com/redhat-developer/yaml-language-server/issues/985) 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. ### 1.17.0 - Feat: Supported docker arm64 image [#1027](https://github.com/redhat-developer/yaml-language-server/pull/1027) - Fix: Reverted ajv-draft04 as it not support HTTPS [#1026](https://github.com/redhat-developer/yaml-language-server/pull/1026) - Fix: Use replaceAll() instead of replace() when turning a label into a regex [#1078](https://github.com/redhat-developer/vscode-yaml/issues/1078) ### 1.16.0 - 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) - Feat: quickFix for enum, const, property [#900](https://github.com/redhat-developer/yaml-language-server/pull/900) - Add: Send real errors to telemetry [#981](https://github.com/redhat-developer/yaml-language-server/pull/981) - Add: Missing field descriptions for anyOf [#1007](https://github.com/redhat-developer/yaml-language-server/pull/1007) - Add: k8s update schema to 1.32.1 [#1011](https://github.com/redhat-developer/yaml-language-server/pull/1011) - Add: Adjust to new hover behviour for enum [#1030](https://github.com/redhat-developer/vscode-yaml/pull/1030) - Bump: Dependencies [#1000](https://github.com/redhat-developer/yaml-language-server/pull/1000) [#1001](https://github.com/redhat-developer/yaml-language-server/pull/1001) [#1002](https://github.com/redhat-developer/yaml-language-server/pull/1002) [#1003](https://github.com/redhat-developer/yaml-language-server/pull/1003) Thanks to [Remco Haszing](https://github.com/remcohaszing), [Petr Spacek](https://github.com/p-spacek), [David Hernando](https://github.com/Davidonium), [Yannik Tausch](https://github.com/ytausch), [Lauri Tirkkonen](https://github.com/lotheac) for your contributions. ### 1.15.0 - Fix: some small type issues [#918](https://github.com/redhat-developer/yaml-language-server/pull/918) - Add: volar-service-yaml to clients [#920](https://github.com/redhat-developer/yaml-language-server/pull/920) - Fix: Remove ide-yaml from known clients [#921](https://github.com/redhat-developer/yaml-language-server/pull/921) - Fix: schema loading performance [#923](https://github.com/redhat-developer/yaml-language-server/pull/923) - Fix: undefined error in mergingResult.problemArgs [#924](https://github.com/redhat-developer/yaml-language-server/pull/924) - Add: unify string insert text for array and property [#934](https://github.com/redhat-developer/yaml-language-server/pull/934) - Add: Improve some special cases for selection ranges [#939](https://github.com/redhat-developer/yaml-language-server/pull/939) - Fix: show all enums on hover [#942](https://github.com/redhat-developer/yaml-language-server/pull/942) - Fix: update README syntax highlighting [#945](https://github.com/redhat-developer/yaml-language-server/pull/945) - Fix: render examples as yaml on hover [#947](https://github.com/redhat-developer/yaml-language-server/pull/947) - Fix: snippets in additionalProperties [#951](https://github.com/redhat-developer/yaml-language-server/pull/951) - Fix: crash when url is undefined [#954](https://github.com/redhat-developer/yaml-language-server/pull/954) - Fix: Add null check for customTags [#955](https://github.com/redhat-developer/yaml-language-server/pull/955) Thanks to [Remco Haszing](https://github.com/remcohaszing), [Petr Spacek](https://github.com/p-spacek), [Tony](https://github.com/Legend-Master), [Gustav Eikaas](https://github.com/GustavEikaas), [Skip Baney](https://github.com/twelvelabs) and [Pierre Prinetti](https://github.com/pierreprinetti) for your contributions. ### 1.14.0 - Fix: Request textDocument/hover failed with message: Invalid regular expression: /(?s).*/: Invalid group [#874](https://github.com/redhat-developer/yaml-language-server/issues/874) - Fix: nested anyof const [#888](https://github.com/redhat-developer/yaml-language-server/pull/888) - Fix: Parsing example object as plain string [#889](https://github.com/redhat-developer/yaml-language-server/issues/889) - Fix: Improve smart select [#307](https://github.com/redhat-developer/vscode-yaml/issues/307) - Fix: Local YAML schema applied to schema file itself [#894](https://github.com/redhat-developer/vscode-yaml/issues/894) - Fix: Recursive anchors crash extension [#897](https://github.com/redhat-developer/yaml-language-server/issues/897) Thanks to [Tony](https://github.com/Legend-Master),[Ace](https://github.com/AceTheCreator) and [PetrSpacek](https://github.com/p-spacek) for your contributions. ### 1.13.0 - Fix: The default value for keyorder [#859](https://github.com/redhat-developer/yaml-language-server/pull/859) - Fix: older changelog heading levels [#861](https://github.com/redhat-developer/yaml-language-server/pull/861) - Fix: hover behavior when indentation not set [#863](https://github.com/redhat-developer/yaml-language-server/pull/863) - Add: Run sarif seperately [#866](https://github.com/redhat-developer/yaml-language-server/pull/866) - Fix: Formatting YAML file inserts ternary operators [#255](https://github.com/redhat-developer/vscode-yaml/issues/255) - Fix: Mark settings readonly [#868](https://github.com/redhat-developer/yaml-language-server/pull/868) Thanks to [Kasama](https://github.com/Kasama) ### 1.12.0 - Fix: Completion Value with dash [#832](https://github.com/redhat-developer/yaml-language-server/pull/832) - Add: Enforce alphabetical ordering of keys in mappings and provide codeaction to fix it. [#839](https://github.com/redhat-developer/yaml-language-server/pull/839) - Fix: Value completion with trailing spaces [#834](https://github.com/redhat-developer/yaml-language-server/pull/834) - Add: IPv4 and IPv6 validation [#843](https://github.com/redhat-developer/yaml-language-server/pull/843) - Fix: Type errors inform wrong type when parent schema has keyword "title" [#845](https://github.com/redhat-developer/yaml-language-server/issues/845) - Fix: Anchor diagnostics [#846](https://github.com/redhat-developer/yaml-language-server/pull/846) - Fix: Underscore being escaped in description attribute when hovering over an attribute [#886](https://github.com/redhat-developer/vscode-yaml/issues/886) - Add: OpenShift Toolkit extension recommendation [#892](https://github.com/redhat-developer/vscode-yaml/pull/892) Thanks to Petr Spacek ### 1.11.0 - Fix: only the first choice is shown when hovering anyOf-typed properties [#784](https://github.com/redhat-developer/vscode-yaml/issues/784) - Fix: Description in the schema root does not get displayed [#809](https://github.com/redhat-developer/vscode-yaml/issues/809) - Fix: yaml.validation.error telemetry events are broken [#816](https://github.com/redhat-developer/vscode-yaml/issues/816) - Add: add diagnostic data with missing properties [#775](https://github.com/redhat-developer/yaml-language-server/pull/775) - Fix: Can't suggest object correctly with certain schema definition. [#769](https://github.com/redhat-developer/yaml-language-server/issues/769) - Fix: Property shows up multiple times in completions [#829](https://github.com/redhat-developer/vscode-yaml/issues/829) - Fix: oneOf validation of keys using "required" not working since 1.3.0 [#769](https://github.com/redhat-developer/vscode-yaml/issues/769) - Fix: incorrect behavior of keys with quotes [#842](https://github.com/redhat-developer/vscode-yaml/issues/842) - Fix: bad completion with array of objects [#793](https://github.com/redhat-developer/yaml-language-server/issues/793) - Add: Modeline takes precendence over registerContributor API [#806](https://github.com/redhat-developer/yaml-language-server/pull/806) Thanks to Petr Spacek,Josh Pinkney ### 1.10.0 - Fix: TypeError: i.startsWith is not a function [#747](https://github.com/redhat-developer/yaml-language-server/issues/747) - Fix: fix: autocomplete indent on object within an array [#751](https://github.com/redhat-developer/yaml-language-server/pull/751) - Add: Yaml style linting to forbid flow style [#753](https://github.com/redhat-developer/yaml-language-server/pull/753) - Fix: enum validation [#803](https://github.com/redhat-developer/vscode-yaml/issues/803) - Fix: autocompletion problem when value is null inside anyOf object [#684](https://github.com/redhat-developer/yaml-language-server/issues/684) - Fix: indentation with extra spaces after cursor. [#764](https://github.com/redhat-developer/yaml-language-server/pull/764) Thanks to Rickcowan ### 1.9.0 - Add: Publish pre-release extension on nightly CI build [#682](https://github.com/redhat-developer/vscode-yaml/issues/682) - Add: Add title to extension configuration [#793](https://github.com/redhat-developer/vscode-yaml/pull/793) - Fix: [object Object] with malformed type definition on hover [#788](https://github.com/redhat-developer/vscode-yaml/issues/788) - Fix: Description not returned on hover when using yaml anchors [#737](https://github.com/redhat-developer/yaml-language-server/issues/737) - Fix: Validation of enums that are numbers stopped working in 1.8.0 [#790](https://github.com/redhat-developer/vscode-yaml/issues/790) - Fix: extra space after position [#732](https://github.com/redhat-developer/yaml-language-server/pull/732) - Fix: zero-based index [#735](https://github.com/redhat-developer/yaml-language-server/pull/735) - Fix: proper indenting of snippet within an array [#745](https://github.com/redhat-developer/yaml-language-server/pull/745) Thanks to Whazor Nanne, Petr Spacek, Golergka and Rickcowan ### 1.8.0 - Fix: yaml-language-server fails for yaml version [#711](https://github.com/redhat-developer/yaml-language-server/issues/711) - Fix: Missing Schema from catalog.json in ui [#747] (https://github.com/redhat-developer/vscode-yaml/issues/747) - Fix: JSON Schema not applied for custom file extension [#701] (https://github.com/redhat-developer/vscode-yaml/issues/701) - Add: Enable eslint import checks [#716] (https://github.com/redhat-developer/yaml-language-server/pull/716) - Add: object with additional properties completion [#717] (https://github.com/redhat-developer/yaml-language-server/pull/717) - Fix: Unable to get suggestions without typing a specific order of parameters [#705] (https://github.com/redhat-developer/vscode-yaml/issues/705) - Add: add completion for additionalProperties propertyName [#720] (https://github.com/redhat-developer/yaml-language-server/pull/720) - Fix: use virtual caret in tests [#722] (https://github.com/redhat-developer/yaml-language-server/pull/722) - Add: Add nova-yaml to extension readme [#723] (https://github.com/redhat-developer/yaml-language-server/pull/723) Thanks to Petr Spacek and Grant Dickinson ### 1.7.0 - Fix: merge simple property completion [#685](https://github.com/redhat-developer/yaml-language-server/pull/685) - Fix: schemaStore.enable setting does not work as expected [#721](https://github.com/redhat-developer/vscode-yaml/issues/721) - Fix: oneOf: misleading validation failures with Incorrect type. Expected "object" [#692](https://github.com/redhat-developer/vscode-yaml/issues/692) - Fix: Yaml errors after updating to v1.5.0 [#708](https://github.com/redhat-developer/vscode-yaml/issues/708) - Fix: Complex YAML generates many linting errors [#712](https://github.com/redhat-developer/vscode-yaml/issues/712) - Chore: Upgrade `yaml` parser to `2.0.0-11` [#693](https://github.com/redhat-developer/yaml-language-server/pull/693) - Fix: Subschema mappings wrongly assign the parent schema file [#694](https://github.com/redhat-developer/yaml-language-server/issues/694) - Feat: Select parent skeleton first before other properties are suggested [#691](https://github.com/redhat-developer/yaml-language-server/pull/691) - Fix: change completion that is invoked just after array symbol [#698](https://github.com/redhat-developer/yaml-language-server/pull/698) - Fix: fix array completion in the middle of the empty text [#697](https://github.com/redhat-developer/yaml-language-server/pull/697) - Fix: completion in the middle of the empty text [#696](https://github.com/redhat-developer/yaml-language-server/pull/696) - Chore: Update mocha to 9.2.2 [#706](https://github.com/redhat-developer/yaml-language-server/pull/706) Thanks to Petr Spacek ### 1.6.0 - Add: differentiate similar schemas on completion [#681](https://github.com/redhat-developer/yaml-language-server/pull/681) - Fix: changed on specific to undefined check instead of null and undefined check [#678](https://github.com/redhat-developer/yaml-language-server/issues/665) - Fix: array object completion - should not suggest const [#620](https://github.com/redhat-developer/yaml-language-server/pull/670) Thanks to Petr Spacek ### 1.5.1 - Fix: Yaml errors after updating to v1.5.0 [#708](https://github.com/redhat-developer/vscode-yaml/issues/708) ### 1.5.0 - Fix: TypeError: Cannot create property 'url' on string [#652](https://github.com/redhat-developer/yaml-language-server/issues/652) - Fix: suggestion item title [#659](https://github.com/redhat-developer/yaml-language-server/pull/659) - Remove data from unused anchor diagnostics [#661](https://github.com/redhat-developer/yaml-language-server/pull/661) - doc: add vim-easycomplete support for yaml-lsp [#662](https://github.com/redhat-developer/yaml-language-server/pull/662) - Remove duplicate codelens entries [#667](https://github.com/redhat-developer/yaml-language-server/pull/667) - Add: show examples on hover. [#660](https://github.com/redhat-developer/yaml-language-server/pull/660) - Fix: oneOf: misleading validation failures with Incorrect type. Expected "object" [#692](https://github.com/redhat-developer/vscode-yaml/issues/692) - Fix: typos in doc [#700](https://github.com/redhat-developer/vscode-yaml/pull/700) - Fix: using inline schema reference (# yaml-language-server: $schema) seems to not support relative paths [#587](https://github.com/redhat-developer/vscode-yaml/issues/587) Thanks to lijing00333, Remco Haszing, Petr Spacek and yassun4dev ### 1.4.0 - Feat: Report unused anchors [#587](https://github.com/redhat-developer/yaml-language-server/issues/587) - Fix: Formatter does not respect `Editor: Detect Indentation = false` [#573](https://github.com/redhat-developer/vscode-yaml/issues/573) - Fix: Flakiness in validator: Incorrect type. Expected "string" [#671](https://github.com/redhat-developer/vscode-yaml/issues/671) - Fix: TypeError: Cannot read property 'filter' of undefined [#651](https://github.com/redhat-developer/vscode-yaml/issues/651) - Fix: TypeError: Cannot create property 'url' on string 'array' [#653](https://github.com/redhat-developer/vscode-yaml/issues/653) - Fix: Hover doesn't show up when a new line is behind nested prop with null value [#615](https://github.com/redhat-developer/yaml-language-server/issues/615) - Fix: Error "Matches multiple schemas" is recognized in v1.2.2 but not in v1.3.0 [#683](https://github.com/redhat-developer/vscode-yaml/issues/683) - Fix: Schema validation matches @bitnami as a uri-formatted string. [#586](https://github.com/redhat-developer/yaml-language-server/issues/586) ### 1.3.0 - Fix: Wrong hover information [#647](https://github.com/redhat-developer/vscode-yaml/issues/647) - Fix: relative file paths with fragments [#603](https://github.com/redhat-developer/yaml-language-server/pull/603) - Update K8S json schema version from 1.20.5 to 1.22.4 [#611](https://github.com/redhat-developer/yaml-language-server/pull/611) - Feat: extend array documentation on completion [#608](https://github.com/redhat-developer/yaml-language-server/pull/608) - Feat: add more detail into anyOf array completion [#607](https://github.com/redhat-developer/yaml-language-server/pull/607) - Feat: trim end $1 from completion [#609](https://github.com/redhat-developer/yaml-language-server/pull/609) - Fix: auto-complete is not working properly [#563](https://github.com/redhat-developer/yaml-language-server/issues/563) - Fix: TypeError: Cannot read property 'type' of undefined [#652](https://github.com/redhat-developer/vscode-yaml/issues/652) - Feat: Improve telemetry error logging [#602](https://github.com/redhat-developer/yaml-language-server/pull/602) - Fix: completion invoke in three different scenarios [#617](https://github.com/redhat-developer/yaml-language-server/pull/617) - Fix: DefaultSnippets quick suggestions don't show description if they overlap with const defined in if else [#642](https://github.com/redhat-developer/vscode-yaml/issues/642) - Fix: If maxProperties is set, completion does not work for the last property [#612](https://github.com/redhat-developer/yaml-language-server/issues/612) - Feat: Add convert to boolean code action [#622](https://github.com/redhat-developer/yaml-language-server/pull/622) - Remove `getSchemas` method [#626](https://github.com/redhat-developer/yaml-language-server/pull/626) - Lock `vscode-json-languageservice@4.1.8` [#637](https://github.com/redhat-developer/yaml-language-server/pull/637) - Feat: disable default props [#606](https://github.com/redhat-developer/yaml-language-server/pull/606) - Fix: Schema validation matches `@bitnami` as a uri-formatted string. [#586](https://github.com/redhat-developer/yaml-language-server/issues/586) - Fix: Array indent doesn't work properly inside another array [#634](https://github.com/redhat-developer/yaml-language-server/pull/634) - Fix: _PROXY environment and setting not honoured since 1.1.1 [#588](https://github.com/redhat-developer/yaml-language-server/issues/588) - Fix: array indent on different index position [#635](https://github.com/redhat-developer/yaml-language-server/pull/635) - Feat: parent completion [#628](https://github.com/redhat-developer/yaml-language-server/pull/628) Thanks to tonypai, Martti Laine, Petr Spacek, sfalmo ### 1.2.2 - Fix: LSP triggeringregisterCapability despite dynamicRegistration set to false [#583](https://github.com/redhat-developer/yaml-language-server/issues/583) - Add methods which allow client get schemas info [#556](https://github.com/redhat-developer/yaml-language-server/pull/556) - Fix: links error reporting [#596](https://github.com/redhat-developer/yaml-language-server/pull/596) ### 1.2.1 - Fix: Can not load schema file when the URL is redirected. [#586](https://github.com/redhat-developer/vscode-yaml/issues/586) - docs: fix typos [#592](https://github.com/redhat-developer/yaml-language-server/pull/592) - Fix: Schema comment still not working properly in 1.1.0. [#629](https://github.com/redhat-developer/vscode-yaml/issues/629) - Fix: document symbols, when key is not string [#594](https://github.com/redhat-developer/yaml-language-server/pull/594) Thanks to Alexander Steppke and dundargoc ### 1.2.0 - Fix: Pattern (Regex) not parsed correctly, e.g. `^[\w\-_]+$` [#636](https://github.com/redhat-developer/vscode-yaml/issues/636) - Fix: Autocomplete bug with nested objects in arrays in the 1.0.0 version [#621](https://github.com/redhat-developer/vscode-yaml/issues/621) - Add: Implementation `Go to Definition` for alias nodes [#541](https://github.com/redhat-developer/yaml-language-server/issues/541) - Provide completion for reachable schema [#560](https://github.com/redhat-developer/yaml-language-server/issues/560) - Fix: very slow completion with aws cloudformation schema [#626](https://github.com/redhat-developer/vscode-yaml/issues/626) Thanks to Aurélien Pupier ### 1.1.1 - Fix: Autocomplete should not escape colon without white-space following [#571](https://github.com/redhat-developer/yaml-language-server/issues/571) - Fix: Unescape regexp string to be compatible with 'u' flag [#576](https://github.com/redhat-developer/yaml-language-server/pull/576) ### 1.1.0 - Add Web VSCode support [#594](https://github.com/redhat-developer/vscode-yaml/pull/594) - schemas: Unicode support for pattern and patternProperties keywords [#554](https://github.com/redhat-developer/yaml-language-server/issues/554) - Fix: IntelliSense broken with v1.0.0 [#616](https://github.com/redhat-developer/vscode-yaml/issues/616) - Fix: Cannot read property '0' of undefined Code [#617](https://github.com/redhat-developer/vscode-yaml/issues/617) - Fix: Completion of second level for Camel K files are no more working [#619](https://github.com/redhat-developer/vscode-yaml/issues/619) - Provide completion for inlined schema syntax [#559](https://github.com/redhat-developer/yaml-language-server/issues/559) - Fix: Schema comment ignored if it isn't the first line in the file. [#618](https://github.com/redhat-developer/vscode-yaml/issues/618) Thanks to Johnny Graettinger, Martin Aeschlimann and Aurélien Pupier ### 1.0.0 - Use [eemeli/yaml](https://github.com/eemeli/yaml) as YAML parser [#421](https://github.com/redhat-developer/yaml-language-server/issues/421) - Fix: Completion provider: t.replace is not a function [#547](https://github.com/redhat-developer/yaml-language-server/issues/547) ### 0.23.0 - Replace js-yaml with yaml [#526](https://github.com/redhat-developer/yaml-language-server/pull/526) - Update monaco-yaml link in docs [#527](https://github.com/redhat-developer/yaml-language-server/pull/527) - Update vscode-nls and vscode-uri dependencies [#531](https://github.com/redhat-developer/yaml-language-server/pull/531) - Fix: error handling in hover and codelens [#534](https://github.com/redhat-developer/yaml-language-server/pull/534) - Fix: 'label.replace is not a function' error [#544](https://github.com/redhat-developer/yaml-language-server/pull/544) - Fix: Fragment resolution from #512 doesn't always work [#522](https://github.com/redhat-developer/yaml-language-server/issues/522) Thanks to Remco Haszing ### 0.22.0 - Fix: fetching nested http settings [#511](https://github.com/redhat-developer/yaml-language-server/pull/511) - Fix: Cannot create property 'url' on string 'en' [#556](https://github.com/redhat-developer/vscode-yaml/issues/556) - Fix: Error on 'textDocument/codeLens' request [#497](https://github.com/redhat-developer/yaml-language-server/issues/497) - Do not send `null` in to telemetry [#513](https://github.com/redhat-developer/yaml-language-server/pull/513) - Fix: UnhandledPromiseRejectionWarning on jsonParser [#494](https://github.com/redhat-developer/yaml-language-server/issues/494) - Fix: Schema URL fragments broken since 0.21.0 [#557](https://github.com/redhat-developer/vscode-yaml/issues/557) - Fix: Unhandled Promise rejections with dynamicRegistration disabled [#498](https://github.com/redhat-developer/yaml-language-server/issues/498) Thanks to Rob Anderson ### 0.21.1 - Fix: Unable to load remote schema with http protocol [#550](https://github.com/redhat-developer/vscode-yaml/issues/550) - Log more errors in to telemetry [#508](https://github.com/redhat-developer/yaml-language-server/pull/508) ### 0.21.0 - Upgrade jsonc-parser to latest version [#492](https://github.com/redhat-developer/yaml-language-server/pull/492) - Fix: Request textDocument/completion failed with message: label.replace is not a function [#536](https://github.com/redhat-developer/vscode-yaml/issues/536) - Fix: `TypeError: customTags.filter is not a function` [#495](https://github.com/redhat-developer/yaml-language-server/pull/495) - Support relative path in inline schema comment [#499](https://github.com/redhat-developer/yaml-language-server/pull/499) - Improve hover to include title, description and source schema link [#480](https://github.com/redhat-developer/yaml-language-server/issues/480) ### 0.20.0 - Fix: Autocomplete not working when certain characters are in object property keys [#496](https://github.com/redhat-developer/vscode-yaml/issues/496) [#474](https://github.com/redhat-developer/yaml-language-server/issues/474) - `workspace/configuration` request used to fetch preferences [#327](https://github.com/redhat-developer/yaml-language-server/issues/327) - Now `main` branch used as default [#472](https://github.com/redhat-developer/yaml-language-server/issues/472) - Fix: Schema link does not work when schema is a local file [#513](https://github.com/redhat-developer/vscode-yaml/issues/513) ### 0.19.2 - Remove fileMatch workaround, now glob patterns should work as expected [#467](https://github.com/redhat-developer/yaml-language-server/pull/467) ### 0.19.1 - Fix: "Billion Laughs" attack [#463](https://github.com/redhat-developer/yaml-language-server/issues/463) - Added implementation of telemetry event [#439](https://github.com/redhat-developer/yaml-language-server/issues/439) - Added option to specify custom schema store [#459](https://github.com/redhat-developer/yaml-language-server/pull/459) Thanks to Ryan (hackercat) ### 0.19.0 - Fix: Inconsistent way to generate whole property snippet and value snippet, when it contains `\"` [#353](https://github.com/redhat-developer/yaml-language-server/issues/353) - Upgrade to `4.1.0` version of `vscode-json-languageservice` which enables used of the extended glob patterns. [#448](https://github.com/redhat-developer/yaml-language-server/pull/448) - Fix: Anchor on property which uses alias fails validation [#273](https://github.com/redhat-developer/yaml-language-server/issues/273) - Update `js-yaml` to `4.1.0` [#454](https://github.com/redhat-developer/yaml-language-server/pull/454) - Add monaco-yaml in the readme under clients [#455](https://github.com/redhat-developer/yaml-language-server/pull/455) - Add support for `maxItemsComputed` for document symbols and folding ranges [#444](https://github.com/redhat-developer/yaml-language-server/pull/444) - Add config parameter to disable additional properties [#452](https://github.com/redhat-developer/yaml-language-server/pull/452) - add safety measure for preventing use of npm instead of yarn (engines version trick) [#458](https://github.com/redhat-developer/yaml-language-server/pull/458) Thanks to Andrew Metcalf, Remco Haszing, Petr Spacek and Sorin Sbarnea ### 0.18.0 - Fix: additionalItems does not support $ref [#408](https://github.com/redhat-developer/yaml-language-server/issues/408) - Fix: vscode/jsonschema markdownDescription support seems patchy [#417](https://github.com/redhat-developer/vscode-yaml/issues/417) - Fix: Inconsistent way to generate whole property snippet and value snippet, when it contains `\"` [#353](https://github.com/redhat-developer/yaml-language-server/issues/353) - Fix: Keys requiring quotation can bork the schema [#439](https://github.com/redhat-developer/vscode-yaml/issues/439) - Fix: yaml.customTags not working in `0.17.0` [#461](https://github.com/redhat-developer/vscode-yaml/issues/461) - Fix: unknown tag <tag:yaml.org,2002:str> [#173](https://github.com/redhat-developer/vscode-yaml/issues/173) ### 0.17.0 - Disable folding range provider [#400](https://github.com/redhat-developer/yaml-language-server/issues/400) - Re-add schema priority levels [#418](https://github.com/redhat-developer/yaml-language-server/pull/418) - Fix: No diagnostics reported on empty files [#413](https://github.com/redhat-developer/yaml-language-server/issues/413) - Update kubernetes schema to 1.20.5 [#429](https://github.com/redhat-developer/yaml-language-server/pull/429) - Add CodeLens with links to JSON Schema used [#424](https://github.com/redhat-developer/yaml-language-server/pull/424) - Fix: Completion for existing property [#428](https://github.com/redhat-developer/yaml-language-server/pull/428) ### 0.16.0 - CodeAction to open json schema from yaml error [#395](https://github.com/redhat-developer/yaml-language-server/pull/395) - Upgrade to `4.0.2` vscode-json-languageservice [#405](https://github.com/redhat-developer/yaml-language-server/issues/405) - feat: add ability to delete all schemas from cache [#397](https://github.com/redhat-developer/yaml-language-server/pull/397) - feat: multiple schema distinction in validation [#410](https://github.com/redhat-developer/yaml-language-server/pull/410) - Fix: Object autocompletion in arrays with custom indentation produces invalid output [#432](https://github.com/redhat-developer/vscode-yaml/issues/432) - Fix: Auto completing an object underneath an array can produce the wrong indentation [#392](https://github.com/redhat-developer/yaml-language-server/issues/392) - CodeAction to convert Tab characters to spaces [#416](https://github.com/redhat-developer/yaml-language-server/pull/416) - Fix: Incorrect Matching Against Schema Store [