Skip to content

Latest commit

 

History

History
403 lines (321 loc) · 35.1 KB

File metadata and controls

403 lines (321 loc) · 35.1 KB

Change Log

0.13.0 (July 6, 2020)

Enhancements

  • Formatting support for trim trailing whitespace. See #250.
  • Warning message when one of the xml.catalogs paths cannot be found. See #217.
  • Grammar generator: generate a grammar from an XML document. See lemminx#778.
  • Bind XML document with no grammar constraints to generated XSD / DTD. See lemminx#151.
  • Quick fix to create missing xsi:noNamespaceSchemaLocation and generate XSD that adheres to current XML document. See lemminx#702.
  • Highlight the XSD file name in xsi:schemaLocation when reporting an invalid or missing XSD file. See lemminx#782.
  • Add support for textDocument/documentLink for xsi:schemaLocation. See lemminx#666.
  • Sort snippets. See lemminx#692.
  • New snippet to generate a catalog. See lemminx#708.
  • New snippets for xml-stylesheet. See lemminx#728.

Bug Fixes

  • Missing xml-model reference generates multiple similar warnings. See #795.
  • Fix line break being incorrectly added when preserveAttrLineBreaks is true. See #780.
  • Fix cases where spaces in file paths weren't accounted for. See lemminx#749.
  • Fix documentation "information" typo. See lemminx#812.

0.12.0 (June 10, 2020)

Enhancements

  • Add xml.format.preserveAttributeLineBreaks setting. See #271
  • Missing Java now links to adoptopenjdk.net, for Mac Users. See #270
  • Don't return hover when there's no documentation. See #258
  • Improve formatting for processing instructions. See #240
  • Provide xml.symbols.maxItemsComputed setting for outline. See #237
  • Formatter expand/collapse/ignore empty XML tags. See #219
  • Completion for xsd:enumeration inside of text node. See #218
  • Formatting of newlines at EOF. See #196
  • Disable cdata autocompletion when typing period. See #179
  • Provide more server/build info on startup. See lemminx#755
  • Add support for textDocument/documentLink for xs:import/schemaLocation. See lemminx#733
  • Add support for textDocument/documentLink for xml-model/href. See lemminx#712
  • Find definition for external declared entity. See lemminx#706
  • Snippet to generate xml-model. See lemminx#699
  • XML Completion based on DTD/XML Schema by using xml-model . See lemminx#698
  • Validate XML with DTD/XML Schema by using xml-model. See lemminx#697
  • Create hyperlink to DTD source on hover. See lemminx#693
  • Add support for textDocument/documentLink for xs:include/schemaLocation. See #689
  • Validate XML with DTD/XML Schema by using xml-model. See lemminx#688
  • Remove spacing when formatting processing instruction. See lemminx#670
  • Hover for referenced entities. See lemminx#663
  • Completion for external declared entity. See lemminx#660
  • Insert final newline depending on lsp4j formatting settings. See lemminx#649
  • Hyperlink to open declared DTD files. See lemminx#641
  • Manage snippet registry to write snippet in JSON. Adds new snippets. See lemminx#640
  • Separate xsd:documentation and xsd:appinfo contents on hover and completion. See lemminx#630
  • Find definition for locally declared entity. See lemminx#625
  • CodeActions for RootElementTypeMustMatchDoctypedecl. See lemminx#561
  • CodeAction for EntityNotDeclared. See lemminx#532
  • Completion for locally declared entity. See lemminx#520

Bug Fixes

  • Don't set the -noverify flag on startup. See #259
  • XML entities declared in a DTD are marked undeclared after XML file change. See #234
  • Formatting breaks attributes containing quotes. See #182
  • Too many logs after completion, hover with XML that contains DTD subset. See lemminx#750
  • Fix collection of external entities depending on line ending. See lemminx#744
  • No entity completion for externally declared SYSTEM and PUBLIC entities. See lemminx#742
  • Entity documentation has no value for entities declared with SYSTEM OR PUBLIC. See lemminx#741
  • Error while loading DOCTYPE subset : java.lang.NullPointerException. See lemminx#739
  • NPE in ContentModelCompletionParticipant.addCompletionItem. See lemminx#720
  • NPE in XMLCompletions collectAttributeNameSuggestions(). See lemminx#719
  • Support advanced characters for entity name. See lemminx#718
  • Fix error range TargetNamespace.1. See lemminx#704
  • Fix error range TargetNamespace.2. See lemminx#703
  • Fix cache result of external grammar info. See lemminx#696
  • Read the cached XSD, DTD grammar file with lazy mode. See lemminx#687
  • NPE with Codelens in empty XSD file. See lemminx#684
  • Range formatting inserts <null> when formatting inside DOCTYPE element. See lemminx#682
  • NPE in ContentModelCodeActionParticipant.doCodeAction#L47. See lemminx#671
  • Fix error range for SemicolonRequiredInReference. See lemminx#664
  • Don't generate end element on apply completion if it exists. See lemminx#651
  • Quickfix to close open tag doesn't deal with attributes. See lemminx#646
  • NPE with TypeDefinition. See lemminx#629
  • MSG_ATTRIBUTE_NOT_DECLARED must highlight attribute name instead of attribute value. See lemminx#623

Build

  • Fix debug mode detection. See #266
  • Make it easier to start XML language server with suspend. See #257

0.11.0 (March 25, 2020)

Enhancements

Bug Fixes

  • Enumeration documentation is not displayed. See lemminx#233
  • XSD download fails in recent versions. See #226
  • Gracefully handle cancelled xml/closeTag requests. See #149
  • NPE when typing <?. See lemminx#614
  • NPE when document contains an empty tag. See lemminx#613
  • In Maven , all known XML elements from schema are suggested as completion. See lemminx#612
  • UTF-16 not supported. See lemminx#611

0.10.1 (December 15, 2019)

Bug Fixes

  • Temporarily removed experimental simultaneously editing of start/end tags causing editing issues in all of VS Code. See #211.

0.10.0 (December 13, 2019)

Enhancements

  • (Experimental) Ability to edit start/end tag simultaneously under xml.mirrorCursorOnMatchingTag preference. Can be toggled on/off on Windows/Linux through ctrl+shift+f2 and on Mac cmd+shift+f2. See #130.
  • Allows File Associations to be used without Workspace. See #202.
  • CodeAction for missing root end tag. See #lsp4xml/595.
  • DTD hover/completion support for documentation. See #lsp4xml/592.
  • CodeAction for similar looking element names if it doesn't match the schema. See #lsp4xml/591.
  • Navigation and intellisense for xs:include-ed types. See #lsp4xml/579.
  • Contribute to completion, hover .. with external JAR. See #193.
  • Added documentation on how to contribute extensions to the XML LS. See #197.

Bug Fixes

  • xs:import code action was inserting inside the tag name. See #lsp4xml/593.
  • Prolog attribute completion was providing invalid values. See #lsp4xml/587.
  • getCurrentAttribute method was not returning the correct attribute name. See #lsp4xml/584.
  • Hover was not returning all hover responses. See #lsp4xml/582.
  • cvc-pattern error range fix. See #lsp4xml/580.

0.9.1 (October 17, 2019)

Bug Fixes

  • XSD: IntelliSense and element substitutions. See #186
  • Completion doesn't use file cache for included XML schema. See lsp4xml#570
  • Prevent from NPE validation with schemaLocaton and "schema.reference.4" error. See lsp4xml#569

Performance

  • Improve performance and memory for validation by caching XML Schema / DTD. See lsp4xml#534

Others

  • Reject download of resource which are not in the cache folder. See lsp4xml#567
  • Add xml.validation.disallowDocTypeDecl & xml.validation.resolveExternalEntities settings. See #187
  • Added maven info. See #148

0.9.0 (September 10, 2019)

Enhancements

  • Add support for textDocument/documentHighlight for DTD. See lsp4xml#545
  • Ability to rename a complexType/@name inside XML Schema. See lsp4xml#454
  • Add support for textDocument/codeLens for XML DTD. See lsp4xml#252
  • Add support for textDocument/references for DTD. See lsp4xml#234
  • Add support for textDocument/definition for DTD. See lsp4xml#233
  • JDK changes (xml.java.home or java.home) should be detected. See #150

Bug Fixes

  • Fix error range for cvc-datatype-valid-1-2-1. See lsp4xml#323
  • Support completion with xs:any. See #177
  • Cache completion based on XML Schema/DTD. See #172
  • Fixes issue with error messages not showing. See lsp4xml#557
  • Validation Error Message Fails on Certain Cases. See lsp4xml#553
  • Error range for RootElementTypeMustMatchDoctypedecl. See lsp4xml#537

0.8.0 (July 23, 2019)

Enhancements

  • Markdown support for completion and hover documentation. See #32
  • Add completion for comment and #region. See lsp4xml#54
  • Add completion for CDATA block. See #168
  • Find definition for start/end tag element. See lsp4xml#535
  • Show relevant XML completion options based on XML Schema. See lsp4xm#347
  • Improve XSD source information for XML completion. See lsp4xm#529
  • Add support for textDocument/documentHighlight for XML Schema types. See lsp4xm#470
  • Add support for textDocument/completion for xs:element/@name / xs:extension/@base. See lsp4xm#451
  • Add support for selective outline enablement per file. See lsp4xm#427
  • Parse .ent and .mod files as DTD files. See lsp4xm#380
  • Add support for textDocument/typeDefinition from XML to XMLSchema/DTD. See lsp4xm#371
  • Add support for textDocument/definition for XML Schema. See lsp4xm#148
  • Add support for textDocument/references for XML Schema types. See lsp4xm#58
  • Add support for textDocument/codelens for XML Schema types. See lsp4xm#55
  • Add support for clickableXSD CodeLens. See lsp4xm#490
  • Active editor cannot provide outline information. See #166
  • Add XML support for unsaved XML, XSD and XSL files. See #156
  • Trigger textDocument/didSave if an XSD file was changed externally from a different editor. See #132
  • Improved XML validation when XSD files are saved. See lsp4xm#506

Bug Fixes

  • Hover markup response ignored the hover client capability. See lsp4xm#525
  • Completion capability was lost in specific scenarios. See lsp4xm#522
  • Fixed NPE in textDocument/definition in XSD files. See lsp4xm#488
  • Fix test with markdown on Windows OS. See lsp4xm#487
  • Fixed case sensitivity problems for element and attribute names. See lsp4xm#433
  • Selection formatting ignores attribute indentation preference. See lsp4xm#429
  • Fixed error range for src-import.1.2. See lsp4xm#499
  • Fixed error range for s4s-elt-invalid-content.3. See lsp4xm#496
  • Fixed error range for EntityNotDeclared. See lsp4xm#518
  • Fixed error range for cvc-pattern-valid. See lsp4xm#477
  • Fixed error range for AttributePrefixUnbound. See lsp4xm#476
  • Fixed error range for EmptyTargetNamespace. See lsp4xm#472
  • Fixed error range for ct-props-correct.3. See lsp4xm#467
  • Fixed error range for sch-props-correct.2. See lsp4xm#462
  • Fixed error range for s4s-elt-must-match.2. See lsp4xm#458
  • Fixed error range for ct-props-correct.3. See lsp4xm#455
  • Fixed error range for src-ct.1. See lsp4xm#453
  • Fixed error range for duplicate attribute. See lsp4xm#452
  • Fixed error range for p-props-correct.2.1. See lsp4xm#436
  • Fixed error range for cos-all-limited.2. See lsp4xm#428
  • Fixed error range for src-element.3. See lsp4xm#420
  • Documents with an Internal Subset DOCTYPE had stopped trying to bind. See lsp4xm#379
  • XML did not validate when bounded DTD file was not found. See #167
  • Unexpected indentation after empty element and attribute. See #159
  • Formatter inserts spaces in empty lines. See lsp4xm#157
  • Plugin is not recognized as a XML formatter. See #154
  • Fixed discrepancy in completion between prefixed and default namespaces. See #87

Performance

  • Improve XML Scanner performance. See lsp4xm#444
  • Use CompletableFuture to load DOMDocument. See lsp4xm#439
  • Feedback from memory. See lsp4xm#438
  • Improve performance of TextDocument update (in async) with TreeLineTracker. See lsp4xm#426
  • Test Large Files for Performance. See lsp4xm#48

0.7.0 (June 11, 2019)

Enhancements

  • Display Java runtime used to launch the server (See Output view). See lsp4xml#415.
  • Added xml.symbols.enabled preference, to enable/disable Document Symbols. See #151.
  • Added xml.java.home preference, to set the Java path. See #145.
  • File completion in attribute value. See lsp4xml#345.
  • Support for JRE's. See #152.
  • Validation when editing an XML Schema. See lsp4xml#190.
  • Added XML Prolog completion in DTD files. See lsp4xml#267.
  • Ability to rename a namespace/namespace renaming improvements. See lsp4xml#366.
  • Startup time for SVG DTD file completion was too slow. See lsp4xml#397.
  • Mark element source coming from XML Schema/DTD for completion. See lsp4xml#210.
  • Added Webpack support. See #122.

Bug Fixes

  • Memory usage improvements. See lsp4xml#389.
  • Fix completion source crash on Windows OS. See lsp4xml#408.
  • Fix error range for ETagRequired. See lsp4xml#387.
  • Fix error range for cos-all-limited.2. See lsp4xml#407.
  • Document Symbols only returns the 1st ATTLIST value. See lsp4xml#265.
  • Completion in SVG DTD file proposed duplicate completions. See #141.
  • Indentation wasn't working properly on a certain case. See #137.
  • Fix excessive autoclose calls. See #153.
  • Fixed formatting range issues. See lsp4xml#76.

0.6.0 (May 22, 2019)

Enhancements

  • Attribute completion for both xsi:schemaLocation and xsi:noNamespaceSchemaLocation are independent of each other. See #129.
  • Upgraded to lsp4j version 0.7.1. See lsp4xml#370.
  • Preference xml.format.preservedNewLines to preserve new lines on format. See #133.

Bug Fixes

  • Fixed error range for cvc-complex-type.2.4.f. See lsp4xml#368.
  • Fixed error range for SchemaLocation warning. See lsp4xml#343.
  • Fixed error range for MarkupEntityMismatch. See lsp4xml#367.
  • Missing schema would generate too many/redundant warnings. See lsp4xml#336.
  • Self-closing tag did not remove end tag if tag name contained uppercase characters. See lsp4xml#354.
  • Placing a / in an attribute value triggered autoclosing. See #126.
  • Fixed 4 vulnerable npm dependencies. See #139.

0.5.1 (April 08, 2019)

Bug Fixes

  • Fixed incorrect expansion of the ~ directory on Windows, for xml.server.workDir. See #125.

0.5.0 (April 05, 2019)

Enhancements

  • More detailed completion for prolog. See lsp4xml#155.
  • Added completion for xmlns attribute. See lsp4xml#208.
  • Have value completion for xmlns:xsi. See lsp4xml#326.
  • Disabled ParentProcessWatcher on Windows. See #116.
  • Autoclose self-closing tags. See #113.
  • Don't autoclose tag if the closing tag already exists. See #113.
  • Changing the content of an XML Schema triggers validation. See lsp4xml#213.
  • Preference xml.server.workDir to set schema cache folder. See lsp4xml#222.
  • Code action to close missing quotes for attributes. See lsp4xml#137.
  • Hover for attribute value documentation from XSD's. See lsp4xml#12.
  • Autocompletion for xsi:nil values. See lsp4xml#247.

Bug Fixes

  • textDocument/publishDiagnostics failed with message: Illegal argument: line must be non-negative. See lsp4xml#157.
  • XSI completion item messages were incorrect. See lsp4xml#296.
  • Removed trailing whitespace from normalized strings on format. See lsp4xml#300.
  • Formatting an attribute without value loses data. See lsp4xml#294.
  • Fixed error range of cvc-type.3.1.2. See lsp4xml#318.
  • Fixed error range of ETagUnterminated. See lsp4xml#317.
  • Fixed error range of cvc-elt.3.2.1. See lsp4xml#321.
  • Multiple 'insert required attribute' code actions shown when multiple attributes are missing. See lsp4xml#209.
  • Self closing tag causes NPE in cvc_complex_type_2_1CodeAction.doCodeAction. See lsp4xml#339.
  • Formatting removes xml-stylesheet processing instruction attributes. See #115.
  • Prevent rejected Promise during tag autoclose call. See #117.

0.4.0 (March 07, 2019)

Enhancements

  • Modified schema validation messages. See #91.
  • Preference xml.format.quotations to set single vs double quotes for attribute values on format. See lsp4xml#263.
  • Preference xml.format.preserveEmptyContent to preserve a whitespace value in an element's content. See #96.
  • Compatibility with OSGi and p2. See lsp4xml#288.

Bug Fixes

  • Fixed memory leak of file handles. See #108.
  • XSI completion item messages were incorrect. See lsp4xml#296.
  • Removed trailing whitespace from normalized strings on format. See lsp4xml#300.
  • Format of attribute without value loses data. See lsp4xml#294.

0.3.0 (January 28, 2019)

Enhancements

  • Added ability to format DTD/DOCTYPE content. See lsp4xml#268.
  • Added outline for DTD elements. See lsp4xml#226.
  • XML completion based on internal DTD. See lsp4xml#251.
  • Add xml.validation.noGrammar preference, to indicate document won't be validated. See #89.
  • Provide automatic completion/validation in catalog files. See #204.
  • Hover for XSI attributes. See lsp4xml#164.
  • Show attribute value completion based on XML Schema/DTD. See lsp4xml#242.
  • Added xml.format.spaceBeforeEmptyCloseTag preference to insert whitespace before closing empty end-tag. See #84.
  • Completion for XSI attributes. See lsp4xml#163.
  • Changing the content of catalog.xml refreshes the catalogs and triggers validation. See lsp4xml#212.
  • Added preference to enable/disable validation xml.validation.enabled and xml.validation.schema. See #100.
  • XML completion based on external DTD. See lsp4xml#106.
  • Completion for DTD <!ELEMENT, <!ATTRIBUTE, ... . See lsp4xml#232.

Bug Fixes

  • Formatting unclosed tag would be in wrong location. See lsp4xml#269.
  • Infinite loop when < was typed into an empty DTD file. See lsp4xml#266.
  • Formatting malformed xml removed content. See #227.
  • Misplace diagnostic for cvc-elt.3.1. See #241.
  • Adjust range for DTD validation errors. See #88.
  • XML Schema completion prefix did not work in some cases. See lsp4xml#214.
  • Problems with npm run build-server on Windows. See #86.
  • XML catalog support apparently not working. See #78.
  • Formatting removes DOCTYPE's public declaration. See lsp4xml#250.
  • Adjust range error for internal DTD declaration. See lsp4xml#225.
  • Don't add sibling element when completion items is filled with grammar. See lsp4xml#211.
  • Validation needs additional <uri> catalog entry. See lsp4xml#217.
  • Support rootUri for XML catalog configuration. See lsp4xml#206.
  • CacheResourcesManager keeps trying to download unavailable resources. See lsp4xml#201.

0.2.0 (November 8, 2018)

Enhancements

  • Prolog completion on first line, by typing: <?xml... . See #85.
  • Documentation on hover for schema defined attributes. See #146.
  • Faster schema loading. See #159.
  • Autocompletion for XSD's. See #111.
  • Expose server VM arguments in preferences (can configure proxy). See #169.
  • Auto closing tags preference handled with conflicting preference. See #62.
  • Auto indentation when hitting enter inside an element. See #52.
  • Document Link support added. See #56.
  • Support for XSL. See #189.
  • Support for completion requests from empty character. See #112.

Bug Fixes

  • Formatting splitAttributes indentation fix. See #59.
  • XML content fully preserved on format xml.format.joinContentLines. See #152.
  • Node completion was not working in nested elements. See #66.
  • End tag completion on empty character. See #23.
  • Formatting was removing DTD content. See #198.
  • Code action to insert attribute snippet was incorrect. See #185.
  • Completion for XSD was cached too aggressively. See #194.
  • Hover doesnt work when xs:annotation is declared in type. See #182.
  • Incomplete autocompletion for xsl documents. See #165.
  • Validation of non-empty nodes required to be empty shows misplaced diagnostics. See #147.
  • Validation of empty required node shows misplaced diagnostics. See #145.
  • File association should support relative path for systemId. See #142.
  • Code completion is sometimes "one off". See #80.
  • DTD validation problems not refreshing correctly. See #79.
  • No validation when referencing a schema in the same directory. See #144