3 * `SchemaConfiguration.fileMatch` now supports glob patterns (e.g. /foo/**/bar.json')
7 * Update to `vscode-languageserver-types@3.16`
8 * Removed deprecated `findColorSymbols`
12 * new API `FormattingOptions.insertFinalNewline`
16 * new API `findLinks` return links for local `$ref` links. Replaces `findDefinition` which no longer returns results ( kept for API compatibility)
20 * new API `DocumentLanguageSettings.schemaValidation`. The severity of problems from schema validation. If set to 'ignore', schema validation will be skipped. If not set, 'warning' is used.
21 * new API `DocumentLanguageSettings.schemaRequest`. The severity of problems that occurred while resolving and loading schemas. If set to 'ignore', schema resolving problems are not reported. If not set, 'warning' is used.
25 * new API `LanguageService.getMatchingSchemas`. Matches a document against its schema and list all AST nodes along with the matching sub schemas.
29 * New API `JSONSchema.suggestSortText` to set the sort order of completion proposals (VS Code specific JSON schema extension)
33 * New API `findDefinition` to find a definition of a `$ref` link
37 * Support for exclusive file pattern starting with '!'. A file match consists of an array of patterns. A match succeeds when there is at least one pattern matching and last matching pattern does not start with '!'.
41 * Using `vscode-languageserver-textdocument` for TextDocument
45 * Added `DocumentSymbolsContext` and `ColorInformationContext` with `resultLimit` and `onResultLimitExceeded`. `onResultLimitExceeded` is called when the result was cropped.
46 * Added commit characters for completion proposals (if supported by ClientCapabilities)
47 * Warn when using draft-03 or draft-08 schemas
51 * Renamed `schema.allowsTrailingCommas` -> `schema.allowTrailingCommas`
55 * Schemas can configure whether comments and/or trailing commas are permitted.
59 * New API `LanguageService.getSelectionRanges` to get semantic selection ranges.
60 * Manage schema dependencies so that `resetSchema` also resets schemas that depend on the schema.
64 * New API `LanguageServiceParams.ClientCapabilities` to define what LSP capabilities the client supports.
65 * For the best experiences, clients should always use `LanguageServiceParams.ClientCapabilities.LATEST`, which has all the latest LSP capabilities enabled.
66 * `LanguageServiceParams.ClientCapabilities` can allow `MarkupKind.Markdown` as valid documentationFormat (used by completions if schemas use `markdownDescription` or `markdownEnumDescriptions`).
67 * Snippets can now provide the description also in markdown format.
68 * Bundled draft-07-schema with descriptions.
69 * Propose `examples` in code completions.
73 * support for JSON schema draft-07
74 * New API `LanguageService.findDocumentSymbols2` to get document symbols as `DocumentSymbol[]`
78 * New API `LanguageService.getFoldingRanges`
79 * doValidation can also be used with a given schema
83 * new APIs: `newJSONDocument` to create a JSON document from a custom AST
84 * new API types: ObjectASTNode, PropertyASTNode, ArrayASTNode, StringASTNode, NumberASTNode, BooleanASTNode, NullASTNode that allow creating a custom AST
88 * Provide ems modules in lib/esm
92 * Added document specific validation parameters: `DocumentLanguageSettings`
93 * API to define the severity of reported comments and trailing commas (`DocumentLanguageSettings.comments`, `DocumentLanguageSettings.trailingCommas`)
97 * Changed parameters of API `LanguageService.getColorPresentations` to separate color and range
101 * New API `LanguageService.getColorPresentations` returning presentations for a given color.
102 * New API type `ColorPresentation` added.
106 * New API `LanguageService.findDocumentColors` returning the location and value of all colors in a document.
107 * New API types `ColorInformation` and `Color` added.
108 * Deprecated `LanguageService.findColorSymbols`. Use `LanguageService.findDocumentColors` instead.
112 * error code for CommentsNotAllowed
116 * Add new API findColorSymbols that returns all color values in a JSON document. To mark a value as a color, specify `"format": "color"` in the schema.
120 * Support for custom schema property 'patternErrorMessage'. The message is used as error message if the object is of type string and has a 'pattern' property that does not match the object to validate.
124 * Fixes for formatting content with errors
128 * Updating to [language server type 3.0](https://github.com/Microsoft/vscode-languageserver-node/tree/master/types) API