Skip to content

Latest commit

 

History

History
71 lines (58 loc) · 3 KB

CHANGELOG.md

File metadata and controls

71 lines (58 loc) · 3 KB

NEXT

  • New API LanguageService.getSelectionRanges to get semantic selection ranges.

3.2.0 / 2018-09-27

  • New API LanguageServiceParams.ClientCapabilities to define what LSP capabilities the client supports.
  • For the best experiences, clients should always use LanguageServiceParams.ClientCapabilities.LATEST, which has all the latest LSP cpabilities enabled.
  • LanguageServiceParams.ClientCapabilities can allow MarkupKind.Markdown as valid documentationFormat (used by completions if schemas use markdownDescription or markdownEnumDescriptions).
  • snippets can now provide the description also in markdown format.
  • Bundled draft-07-schema with descriptions.
  • Propose examples in code completions.

3.1.5 / 2018-08-14

  • support for JSON schema draft-07
  • New API LanguageService.findDocumentSymbols2 to get document symbols as DocumentSymbol[]

3.1.2 / 2018-07-25

  • New API LanguageService.getFoldingRanges
  • doValidation can also be used with a given schema

3.1.0 / 2018-04-09

  • new APIs: newJSONDocument to create a JSON document from a custom AST
  • new API types: ObjectASTNode, PropertyASTNode, ArrayASTNode, StringASTNode, NumberASTNode, BooleanASTNode, NullASTNode that allow creating a custom AST

3.0.9 / 2018-03-07

  • Provide ems modules in lib/esm

3.0.2 / 2017-01-27

  • Added document specific validation parameters: DocumentLanguageSettings
  • API to define the severity of reported comments and trailing commas (DocumentLanguageSettings.comments, DocumentLanguageSettings.trailingCommas)

3.0.0 / 2017-01-11

  • Changed parameters of API LanguageService.getColorPresentations to separate color and range . 2.0.19 / 2017-09-21 ==================
  • New API LanguageService.getColorPresentations returning presentations for a given color.
  • New API type ColorPresentation added.

2.0.15 / 2017-08-28

  • 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.

2.0.8 / 2017-04-25

  • error code for CommentsNotAllowed

2.0.5 / 2017-03-27

  • Add new API findColorSymbols that retunes all color values in a JSON document. To mark a value as a color, specify "format": "color" in the schema.

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