- Fix: some small type issues #918
- Add: volar-service-yaml to clients #920
- Fix: Remove ide-yaml from known clients #921
- Fix: schema loading performance #923
- Fix: undefined error in mergingResult.problemArgs #924
- Add: unify string insert text for array and property #934
- Add: Improve some special cases for selection ranges #939
- Fix: show all enums on hover #942
- Fix: update README syntax highlighting #945
- Fix: render examples as yaml on hover #947
- Fix: snippets in additionalProperties #951
- Fix: crash when url is undefined #954
- Fix: Add null check for customTags #955
Thanks to Remco Haszing, Petr Spacek, Tony, Gustav Eikaas, Skip Baney and Pierre Prinetti for your contributions.
- Fix: Request textDocument/hover failed with message: Invalid regular expression: /(?s).*/: Invalid group #874
- Fix: nested anyof const #888
- Fix: Parsing example object as plain string #889
- Fix: Improve smart select #307
- Fix: Local YAML schema applied to schema file itself #894
- Fix: Recursive anchors crash extension #897
Thanks to Tony,Ace and PetrSpacek for your contributions.
- Fix: The default value for keyorder #859
- Fix: older changelog heading levels #861
- Fix: hover behavior when indentation not set #863
- Add: Run sarif seperately #866
- Fix: Formatting YAML file inserts ternary operators #255
- Fix: Mark settings readonly #868
Thanks to Kasama
- Fix: Completion Value with dash #832
- Add: Enforce alphabetical ordering of keys in mappings and provide codeaction to fix it. #839
- Fix: Value completion with trailing spaces #834
- Add: IPv4 and IPv6 validation #843
- Fix: Type errors inform wrong type when parent schema has keyword "title" #845
- Fix: Anchor diagnostics #846
- Fix: Underscore being escaped in description attribute when hovering over an attribute #886
- Add: OpenShift Toolkit extension recommendation #892
Thanks to Petr Spacek
- Fix: only the first choice is shown when hovering anyOf-typed properties #784
- Fix: Description in the schema root does not get displayed #809
- Fix: yaml.validation.error telemetry events are broken #816
- Add: add diagnostic data with missing properties #775
- Fix: Can't suggest object correctly with certain schema definition. #769
- Fix: Property shows up multiple times in completions #829
- Fix: oneOf validation of keys using "required" not working since 1.3.0 #769
- Fix: incorrect behavior of keys with quotes #842
- Fix: bad completion with array of objects #793
- Add: Modeline takes precendence over registerContributor API #806
Thanks to Petr Spacek,Josh Pinkney
- Fix: TypeError: i.startsWith is not a function #747
- Fix: fix: autocomplete indent on object within an array #751
- Add: Yaml style linting to forbid flow style #753
- Fix: enum validation #803
- Fix: autocompletion problem when value is null inside anyOf object #684
- Fix: indentation with extra spaces after cursor. #764
Thanks to Rickcowan
- Add: Publish pre-release extension on nightly CI build #682
- Add: Add title to extension configuration #793
- Fix: [object Object] with malformed type definition on hover #788
- Fix: Description not returned on hover when using yaml anchors #737
- Fix: Validation of enums that are numbers stopped working in 1.8.0 #790
- Fix: extra space after position #732
- Fix: zero-based index #735
- Fix: proper indenting of snippet within an array #745
Thanks to Whazor Nanne, Petr Spacek, Golergka and Rickcowan
- Fix: yaml-language-server fails for yaml version #711
- Fix: Missing Schema from catalog.json in ui [#747] (redhat-developer/vscode-yaml#747)
- Fix: JSON Schema not applied for custom file extension [#701] (redhat-developer/vscode-yaml#701)
- Add: Enable eslint import checks [#716] (#716)
- Add: object with additional properties completion [#717] (#717)
- Fix: Unable to get suggestions without typing a specific order of parameters [#705] (redhat-developer/vscode-yaml#705)
- Add: add completion for additionalProperties propertyName [#720] (#720)
- Fix: use virtual caret in tests [#722] (#722)
- Add: Add nova-yaml to extension readme [#723] (#723)
Thanks to Petr Spacek and Grant Dickinson
- Fix: merge simple property completion #685
- Fix: schemaStore.enable setting does not work as expected #721
- Fix: oneOf: misleading validation failures with Incorrect type. Expected "object" #692
- Fix: Yaml errors after updating to v1.5.0 #708
- Fix: Complex YAML generates many linting errors #712
- Chore: Upgrade
yaml
parser to2.0.0-11
#693 - Fix: Subschema mappings wrongly assign the parent schema file #694
- Feat: Select parent skeleton first before other properties are suggested #691
- Fix: change completion that is invoked just after array symbol #698
- Fix: fix array completion in the middle of the empty text #697
- Fix: completion in the middle of the empty text #696
- Chore: Update mocha to 9.2.2 #706
Thanks to Petr Spacek
- Add: differentiate similar schemas on completion #681
- Fix: changed on specific to undefined check instead of null and undefined check #678
- Fix: array object completion - should not suggest const #620
Thanks to Petr Spacek
- Fix: Yaml errors after updating to v1.5.0 #708
- Fix: TypeError: Cannot create property 'url' on string #652
- Fix: suggestion item title #659
- Remove data from unused anchor diagnostics #661
- doc: add vim-easycomplete support for yaml-lsp #662
- Remove duplicate codelens entries #667
- Add: show examples on hover. #660
- Fix: oneOf: misleading validation failures with Incorrect type. Expected "object" #692
- Fix: typos in doc #700
- Fix: using inline schema reference (# yaml-language-server: $schema) seems to not support relative paths #587
Thanks to lijing00333, Remco Haszing, Petr Spacek and yassun4dev
- Feat: Report unused anchors #587
- Fix: Formatter does not respect
Editor: Detect Indentation = false
#573 - Fix: Flakiness in validator: Incorrect type. Expected "string" #671
- Fix: TypeError: Cannot read property 'filter' of undefined #651
- Fix: TypeError: Cannot create property 'url' on string 'array' #653
- Fix: Hover doesn't show up when a new line is behind nested prop with null value #615
- Fix: Error "Matches multiple schemas" is recognized in v1.2.2 but not in v1.3.0 #683
- Fix: Schema validation matches @bitnami as a uri-formatted string. #586
- Fix: Wrong hover information #647
- Fix: relative file paths with fragments #603
- Update K8S json schema version from 1.20.5 to 1.22.4 #611
- Feat: extend array documentation on completion #608
- Feat: add more detail into anyOf array completion #607
- Feat: trim end $1 from completion #609
- Fix: auto-complete is not working properly #563
- Fix: TypeError: Cannot read property 'type' of undefined #652
- Feat: Improve telemetry error logging #602
- Fix: completion invoke in three different scenarios #617
- Fix: DefaultSnippets quick suggestions don't show description if they overlap with const defined in if else #642
- Fix: If maxProperties is set, completion does not work for the last property #612
- Feat: Add convert to boolean code action #622
- Remove
getSchemas
method #626 - Lock
[email protected]
#637 - Feat: disable default props #606
- Fix: Schema validation matches
@bitnami
as a uri-formatted string. #586 - Fix: Array indent doesn't work properly inside another array #634
- Fix: _PROXY environment and setting not honoured since 1.1.1 #588
- Fix: array indent on different index position #635
- Feat: parent completion #628
Thanks to tonypai, Martti Laine, Petr Spacek, sfalmo
- Fix: LSP triggeringregisterCapability despite dynamicRegistration set to false #583
- Add methods which allow client get schemas info #556
- Fix: links error reporting #596
- Fix: Can not load schema file when the URL is redirected. #586
- docs: fix typos #592
- Fix: Schema comment still not working properly in 1.1.0. #629
- Fix: document symbols, when key is not string #594
Thanks to Alexander Steppke and dundargoc
- Fix: Pattern (Regex) not parsed correctly, e.g.
^[\w\-_]+$
#636 - Fix: Autocomplete bug with nested objects in arrays in the 1.0.0 version #621
- Add: Implementation
Go to Definition
for alias nodes #541 - Provide completion for reachable schema #560
- Fix: very slow completion with aws cloudformation schema #626
Thanks to Aurélien Pupier
- Fix: Autocomplete should not escape colon without white-space following #571
- Fix: Unescape regexp string to be compatible with 'u' flag #576
- Add Web VSCode support #594
- schemas: Unicode support for pattern and patternProperties keywords #554
- Fix: IntelliSense broken with v1.0.0 #616
- Fix: Cannot read property '0' of undefined Code #617
- Fix: Completion of second level for Camel K files are no more working #619
- Provide completion for inlined schema syntax #559
- Fix: Schema comment ignored if it isn't the first line in the file. #618
Thanks to Johnny Graettinger, Martin Aeschlimann and Aurélien Pupier
- Use eemeli/yaml as YAML parser #421
- Fix: Completion provider: t.replace is not a function #547
- Replace js-yaml with yaml #526
- Update monaco-yaml link in docs #527
- Update vscode-nls and vscode-uri dependencies #531
- Fix: error handling in hover and codelens #534
- Fix: 'label.replace is not a function' error #544
- Fix: Fragment resolution from #512 doesn't always work #522
Thanks to Remco Haszing
- Fix: fetching nested http settings #511
- Fix: Cannot create property 'url' on string 'en' #556
- Fix: Error on 'textDocument/codeLens' request #497
- Do not send
null
in to telemetry #513 - Fix: UnhandledPromiseRejectionWarning on jsonParser #494
- Fix: Schema URL fragments broken since 0.21.0 #557
- Fix: Unhandled Promise rejections with dynamicRegistration disabled #498
Thanks to Rob Anderson
- Upgrade jsonc-parser to latest version #492
- Fix: Request textDocument/completion failed with message: label.replace is not a function #536
- Fix:
TypeError: customTags.filter is not a function
#495 - Support relative path in inline schema comment #499
- Improve hover to include title, description and source schema link #480
- Fix: Autocomplete not working when certain characters are in object property keys #496 #474
workspace/configuration
request used to fetch preferences #327- Now
main
branch used as default #472 - Fix: Schema link does not work when schema is a local file #513
- Remove fileMatch workaround, now glob patterns should work as expected #467
- Fix: "Billion Laughs" attack #463
- Added implementation of telemetry event #439
- Added option to specify custom schema store #459
Thanks to Ryan (hackercat)
- Fix: Inconsistent way to generate whole property snippet and value snippet, when it contains
\"
#353 - Upgrade to
4.1.0
version ofvscode-json-languageservice
which enables used of the extended glob patterns. #448 - Fix: Anchor on property which uses alias fails validation #273
- Update
js-yaml
to4.1.0
#454 - Add monaco-yaml in the readme under clients #455
- Add support for
maxItemsComputed
for document symbols and folding ranges #444 - Add config parameter to disable additional properties #452
- add safety measure for preventing use of npm instead of yarn (engines version trick) #458
Thanks to Andrew Metcalf, Remco Haszing, Petr Spacek and Sorin Sbarnea
- Fix: additionalItems does not support $ref #408
- Fix: vscode/jsonschema markdownDescription support seems patchy #417
- Fix: Inconsistent way to generate whole property snippet and value snippet, when it contains
\"
#353 - Fix: Keys requiring quotation can bork the schema #439
- Fix: yaml.customTags not working in
0.17.0
#461 - Fix: unknown tag tag:yaml.org,2002:str #173
- Disable folding range provider #400
- Re-add schema priority levels #418
- Fix: No diagnostics reported on empty files #413
- Update kubernetes schema to 1.20.5 #429
- Add CodeLens with links to JSON Schema used #424
- Fix: Completion for existing property #428
- CodeAction to open json schema from yaml error #395
- Upgrade to
4.0.2
vscode-json-languageservice #405 - feat: add ability to delete all schemas from cache #397
- feat: multiple schema distinction in validation #410
- Fix: Object autocompletion in arrays with custom indentation produces invalid output #432
- Fix: Auto completing an object underneath an array can produce the wrong indentation #392
- CodeAction to convert Tab characters to spaces #416
- Fix: Incorrect Matching Against Schema Store #354
- Fix: Uses the wrong schema, even when yaml.schemas is set #397
- feat: add new params to completion snippet #388
Thanks to Petr Spacek
- Fix: Array new line ending with no indent #384
- Fix: Code Completion with defaultSnippet and markdown #385
- Fix: Test yaml-schema package #386
- Fix: Completion with default snippet when node is array #387
- Auto formatting for list, with
onTypeFormatting
implementation #179 - Fix: Completion array anyOf #390
- Fix CodeCompletion with defaultSnippet and markdown #393
- Fix: Services initialization #399
- Update kubernetes schema to 1.18.1 #401
- Fix: Folding misbehaves in version 0.14.0 #400
- Use mocha bdd interface for all tests #403
Thanks to Petr Spacek and tonypai
- yaml-language-server use a non-standard LSP request to resolve schemas content on client #359
- Fix error on completion 'null' value #360
- Select schemas based off on their priority #362
- Keep space before word after inserting completion #363
- Update readme with example of an array of glob patterns for schema #366
- Add Dockerfile #335
- Fix: Code completion list empty on empty file #349
- Fix: Autocompletion missing space in value for default snippets when autocompleting on root node #364
- Check if dynamic registration is enabled before executing onDidChangeWorkspaceFolders #378
- Fix: Array indentation in autocomplete is broken after upgrade to 0.13 #376
- Added folding ranges provider implementation #337
- Fix: Hover doesn't work when there is now symbol after property #382
- Fix: Code completion array new line ending with no indent #384
- Fix: Code completion with defaultSnippet and makdown #385
- Improve 'hover' with complex k8s schemas #347
- Allow array for fileMatch in yamlValidation contribution, now this property complies with
contributes.jsonValidation
#348 - yaml-language-server now compatible with the newest version of vscode-json-languageservice. #350
- Code cleanup related to Promises usage #351 and #352
- Fix: If blocks don't evaluate properties correctly #393
- Fix: Error when file has "Type" attribute #317
- Added all user settings in to README.md #334
- Added schema information (schema title or URL) to diagnostic #310
- Fix: autogenerated snippet for keys that contain an array of objects is badly indented #329
- Fix: example string of type integer gets pasted as int #371
- Fix: Auto completion can't suggest string enums correctly in Flow Style content. #239
- Fix: Latest version breaks auto-save formatting #366
- Make yaml-language-server available as ESM and UMD modules in the
/lib
directory #305 - Fix:
yaml.schemas
configuration doesn't work on windows with full path #347 - Completion text use space instead of tab for indentation #283
- YAML Schemas can now be used for validation #318
- Fix for cannot read property 'lineComments' of undefined Code: -32603 redhat-developer/vscode-yaml#312
- Allows to declare a schema inside the yaml file through modeline
# yaml-language-server: $schema=<urlOfTheSchema>
#280 - Insert empty string instead of 'null' for string array completion #277
- Handle workspace/workspaceFolders event for multi root workspaces #281
- Provide default object as completion snippet [#291] #291
- Add validation of date and time formats #292
- Fix document symbols computation if yaml has complex mappings #293
- Improve Diagnostic positions #260
- Support
maxProperties
when providing completion #269 - Fix for required attributes are inserted with wrong level of indentation on first array item redhat-developer/vscode-yaml#312
- Use https endpoints for schemastore #PR
- Start using yarn for everything instead of npm
- Allow for partial configurations in onDidChangeConfiguration #256
- Support for textDocument/findDefinition #PR
- Fix kubernetes schema back to 1.17.0 #PR
- Fix for @ symbol in relative path #PR
- Fix for null literals #118
- Fix for autocompletion on default values #281
- Fix the way default snippets is handled when we have boolean values #PR
- Allow contributor API to contribute multiple schemas for the same file #PR
- Fix issue with arrays in default snippets #PR
- Updates kubernetes schema to 1.17.0 #Commit
- Added API for modifiying schemas in memory #151
- Updated yaml completion to use JSON 7 Parser #150
- Server side snippet support #205
- Fix issue with language server not issuing warnings on duplicate keys #Commit
- Fix for collecting completion items if array contains objects #PR
- Fix for merge key error with JSON Schema #PR
- Fix for setting kubernetes in yaml.schemas gives error #202
- Remove document range formatter registration #PR
- Catch errors that happen when schema store schemas cannot be grabbed #PR
- Include the package-lock.json
- Fix for language server initialize erroring when rootURI is not set
- Fix for autocompletion not working when there are multiple enums available
- Fix for showing the correct validation when a key has an associated null value for kubernetes
- Add Eclipse Wild Web Developer as client
- Fix for Array item properties being created with the wrong indent
- Update of various dependencies
- Make prettier an optional dependency because of issues with webpack
- Adds in custom kubernetes schema comparator
- Adds in missing js-yaml dependency
- Fixed offset of undefined when hovering #162
- Fixed relative path schema loading #154
- Realigned features of YAML Language Server with JSON Language Server #142
- Updated the kubernetes schema to be an upstream one #PR
- Allow custom tags to have multiple types #77
- Made the formatter respect the yaml.format.enable setting #PR
- yaml-language-server command is now executable #PR
- Only set CompletionItem.textEdit if it encompasses a single line #139
- Fixed custom tags crashing the language server #112
- Added setting yaml.schemaStore.enable to enable/disable the schema store #115
- Use the language server tab size when formatting #116
- Added fix for language server crashing when settings.yaml.format was not sent #111
- Added a new formatter that uses prettier #Commit
- Added a registration for custom schema provider extension #Commit
- Add ability to toggle hover and autocompletion #Commit
- Fix handling scenario of multiple documents in single yaml file #81
- Support associate schemas with files in a regular expression #Commit
- Fixed dynamic registration of formatter #74
- Bumped to fix jenkins errors
- Show errors if schema cannot be grabbed #73
- The validator should support null values #72
- Server returning nothing on things such as completion errors Eclipse Che #66
- Return promises that resolve to null #PR-71
- Remove unused dependency to deep-equal #PR-70
- Added custom tags to autocompletion #Commit
- Support for custom tags #59
- Incorrect duplicate key registered when using YAML anchors #82
- Automatically insert colon on autocomplete #78
- Fix for completion helper if it contains \r #37
- Programmatically associate YAML files with schemas by other extensions #61
- Autocompletion not triggered while typing #46
- Remove console.log from jsonSchemaService #49
- Change "Property {$property_name} is not allowed" error message #42
- New Kubernetes Schema + Updated support for Kubernetes #40
- Added Kedge back in as one of the default schemas
- Added file watch for json schema files in the workspace #34
- Multi root settings #50
- Fix for crashing yaml language server when !include is present #52
- Update tests to work on windows #30
- Added validation toggle in settings #20
- YAML Schemas are pulled from JSON Schema Store #15
- YAML Diagnostics throw on a single line instead of the entire file #19
- Fix for getNodeFromOffset #18
- Hotfix for making multiple schemas in the settings work again
- Fixed Schema validation reports errors in valid YAML document #42
- Fixed Support for multiple YAML documents in single file #43
- Fixed support for kubernetes files
- Fixed boolean notation for validation #40
- Fixed autocompletion for first new list item #39
- Added new autocompletion service which is better for json schemas
- Added yamlValidation contribution point #37
- Initial release with support for hover, document outlining, validation and auto completion