2022-09-26 22:03:43 +03:00
5.2.0 / 2022-08/19
================
* new type `SchemaDraft` , representing the offical JSON schema draft versions
* new property `DocumentLanguageSettings.schemaDraft` to specify the schema version to use, if the schema does not contain a `$schema` property
2022-07-12 08:02:11 +03:00
5.1.0 / 2022-07-11
================
* new API option `FormattingOptions.keepLines` to indicate the formatter should keep the initial line positions
2022-05-17 11:44:40 +03:00
5.0.0 / 2022-05-17
================
2022-05-18 16:52:10 +03:00
* Update to `vscode-languageserver-types@3.17`
2022-05-17 11:44:40 +03:00
* Add more schema support
* Schema 2019-09: unevaluatedProperties, unevaluatedItems, minContains, maxContains, deprecated, dependentRequired, dependentSchemas, $defs, $anchor
* Schema 2020-12: prefixItem
2021-07-16 17:59:20 +03:00
2022-05-17 11:44:40 +03:00
4.2.0 / 2022-01-25
2021-11-17 17:55:46 +03:00
================
* new API `LanguageService.getLanguageStatus`
2021-11-29 18:04:07 +03:00
* support for $ref with $id
2021-11-17 17:55:46 +03:00
2021-07-16 17:59:20 +03:00
4.1.6 / 2021-07-16
================
* Replace minimatch with glob-to-regexp
2021-04-24 12:53:55 +03:00
4.1.0 / 2021-04-24
================
* `SchemaConfiguration.fileMatch` now supports glob patterns (e.g. /foo/**/bar.json')
2020-12-14 19:48:37 +03:00
4.0.0 / 2020-12-14
================
* Update to `vscode-languageserver-types@3.16`
* Removed deprecated `findColorSymbols`
2020-11-30 17:16:23 +03:00
3.11.0 / 2020-11-30
2020-11-13 18:41:01 +03:00
================
* new API `FormattingOptions.insertFinalNewline`
2020-11-04 00:11:33 +03:00
3.10.0 / 2020-11-03
2020-11-13 18:41:01 +03:00
================
2020-11-04 00:11:33 +03:00
* new API `findLinks` return links for local `$ref` links. Replaces `findDefinition` which no longer returns results ( kept for API compatibility)
2020-09-28 17:41:03 +03:00
3.9.0 / 2020-09-28
2020-09-28 17:57:21 +03:00
=================
2020-09-28 17:41:03 +03:00
* 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.
2020-09-28 17:57:21 +03:00
* 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.
2020-09-28 17:41:03 +03:00
2020-08-02 22:43:59 +03:00
3.8.0 / 2020-08-02
2020-07-03 17:19:57 +03:00
=================
2020-07-06 10:51:24 +03:00
* new API `LanguageService.getMatchingSchemas` . Matches a document against its schema and list all AST nodes along with the matching sub schemas.
2020-07-03 17:19:57 +03:00
2020-07-06 10:38:29 +03:00
3.7.0 / 2020-06-04
==================
2020-07-06 10:51:24 +03:00
* New API `JSONSchema.suggestSortText` to set the sort order of completion proposals (VS Code specific JSON schema extension)
2020-07-06 10:38:29 +03:00
3.6.0 / 2020-04-27
==================
* New API `findDefinition` to find a definition of a `$ref` link
3.5.0 / 2020-02-20
==================
* 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 '!'.
2020-07-03 17:19:57 +03:00
2019-11-04 18:39:47 +03:00
3.4.4 / 2019-11-04
==================
* Using `vscode-languageserver-textdocument` for TextDocument
2019-10-28 13:41:59 +03:00
3.4.0 / 2019-10-28
2019-10-25 15:47:33 +03:00
==================
2020-07-06 10:38:29 +03:00
* Added `DocumentSymbolsContext` and `ColorInformationContext` with `resultLimit` and `onResultLimitExceeded` . `onResultLimitExceeded` is called when the result was cropped.
* Added commit characters for completion proposals (if supported by ClientCapabilities)
* Warn when using draft-03 or draft-08 schemas
2019-10-25 15:47:33 +03:00
2019-09-20 12:27:37 +03:00
3.3.4 / 2019-09-20
2019-10-25 15:47:33 +03:00
==================
2020-07-06 10:38:29 +03:00
* Renamed `schema.allowsTrailingCommas` -> `schema.allowTrailingCommas`
2019-09-20 12:27:37 +03:00
3.3.3 / 2019-08-29
2019-10-25 15:47:33 +03:00
==================
2020-07-06 10:38:29 +03:00
* Schemas can configure whether comments and/or trailing commas are permitted.
2019-08-29 13:46:18 +03:00
2019-06-12 18:25:24 +03:00
3.3.0 / 2019-06-12
2019-01-28 16:41:27 +03:00
==================
2020-07-06 10:38:29 +03:00
* New API `LanguageService.getSelectionRanges` to get semantic selection ranges.
* Manage schema dependencies so that `resetSchema` also resets schemas that depend on the schema.
2019-01-28 16:41:27 +03:00
2018-09-27 17:30:04 +03:00
3.2.0 / 2018-09-27
2018-09-20 13:10:51 +03:00
==================
* New API `LanguageServiceParams.ClientCapabilities` to define what LSP capabilities the client supports.
2019-10-25 15:47:33 +03:00
* For the best experiences, clients should always use `LanguageServiceParams.ClientCapabilities.LATEST` , which has all the latest LSP capabilities enabled.
2018-09-27 17:30:04 +03:00
* `LanguageServiceParams.ClientCapabilities` can allow `MarkupKind.Markdown` as valid documentationFormat (used by completions if schemas use `markdownDescription` or `markdownEnumDescriptions` ).
2019-10-25 15:47:33 +03:00
* Snippets can now provide the description also in markdown format.
2018-09-27 17:30:04 +03:00
* Bundled draft-07-schema with descriptions.
* Propose `examples` in code completions.
2018-09-20 13:10:51 +03:00
2018-08-14 12:46:28 +03:00
3.1.5 / 2018-08-14
2018-08-13 21:41:39 +03:00
==================
2018-08-14 12:46:28 +03:00
* support for JSON schema draft-07
* New API `LanguageService.findDocumentSymbols2` to get document symbols as `DocumentSymbol[]`
2018-08-13 21:41:39 +03:00
2018-08-14 12:46:28 +03:00
3.1.2 / 2018-07-25
2018-04-13 17:15:17 +03:00
==================
2018-04-16 15:35:46 +03:00
* New API `LanguageService.getFoldingRanges`
2018-04-13 17:15:17 +03:00
* doValidation can also be used with a given schema
2018-08-14 12:46:28 +03:00
3.1.0 / 2018-04-09
2018-04-09 23:33:58 +03:00
==================
2018-08-13 21:41:39 +03:00
* new APIs: `newJSONDocument` to create a JSON document from a custom AST
2018-04-09 23:33:58 +03:00
* new API types: ObjectASTNode, PropertyASTNode, ArrayASTNode, StringASTNode, NumberASTNode, BooleanASTNode, NullASTNode that allow creating a custom AST
2018-08-14 12:46:28 +03:00
3.0.9 / 2018-03-07
2018-03-08 01:49:59 +03:00
==================
2018-03-08 14:31:57 +03:00
* Provide ems modules in lib/esm
2018-03-08 01:49:59 +03:00
2017-11-27 12:21:36 +03:00
3.0.2 / 2017-01-27
2017-11-27 11:35:48 +03:00
==================
2018-03-08 01:49:59 +03:00
* Added document specific validation parameters: `DocumentLanguageSettings`
* API to define the severity of reported comments and trailing commas (`DocumentLanguageSettings.comments`, `DocumentLanguageSettings.trailingCommas` )
2017-11-27 11:35:48 +03:00
3.0.0 / 2017-01-11
==================
2018-08-13 21:41:39 +03:00
* Changed parameters of API `LanguageService.getColorPresentations` to separate color and range
2017-11-27 11:35:48 +03:00
.
2017-09-21 10:31:17 +03:00
2.0.19 / 2017-09-21
2019-10-25 15:47:33 +03:00
===================
2017-09-21 10:31:17 +03:00
* New API `LanguageService.getColorPresentations` returning presentations for a given color.
* New API type `ColorPresentation` added.
2017-08-28 16:47:35 +03:00
2.0.15 / 2017-08-28
2019-10-25 15:47:33 +03:00
===================
2017-08-28 16:47:35 +03:00
* New API `LanguageService.findDocumentColors` returning the location and value of all colors in a document.
* New API types `ColorInformation` and `Color` added.
* Deprecated `LanguageService.findColorSymbols` . Use `LanguageService.findDocumentColors` instead.
2017-02-27 18:00:58 +03:00
2017-09-21 10:31:17 +03:00
2.0.8 / 2017-04-25
2017-04-19 19:06:12 +03:00
==================
* error code for CommentsNotAllowed
2017-03-27 15:17:50 +03:00
2.0.5 / 2017-03-27
==================
2020-07-06 10:38:29 +03:00
* 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.
2017-03-27 15:17:50 +03:00
2017-02-27 18:00:58 +03:00
2.0.4 / 2017-02-27
==================
* 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.
2.0.1 / 2017-02-21
==================
* Fixes for formatting content with errors
2.0.0 / 2017-02-17
==================
* Updating to [language server type 3.0 ](https://github.com/Microsoft/vscode-languageserver-node/tree/master/types ) API