0.15.0 (February 2, 2021)
- Generate a native binary using GraalVM. See #860.
- Indicate if the server is a binary in the startup message. See #949.
- Allow LemMinX extensions to contribute to
WorkspaceService
. See #966. - Add new formatting setting
xml.format.splitAttributesIndentSize
. See #952. - Disable XSD validation when
xsi:schemaLocation
doesn't declare the hint for the document element root. See #953. - Manage namespaces / prefix validation with a setting. See #960.
- Avoid trailing space in processing instructions. See redhat-developer/vscode-xml#372.
- LemMinX no longer crashes if a LemMinX extension class cannot be created. See #967.
- Single
<
no longer has code action to close with/>
. See redhat-developer/vscode-xml#373. - Catch errors from any participants. See #946.
- Avoid sending duplicate
client/registerCapability
forworkspace/executeCommand
. See #937. - Use
kill -0
instead ofps -p
inParentProcessWatcher
. See #936. - Prevent
ClassCastException
when generating document links for XML catalogs. See #932. - Register
org.eclipse.lsp4j.FileEvent
for reflection. See #979. - Prevent URLs in
uri
attributes in catalogs from raising exceptions. See #977.
0.14.1 (November 10, 2020)
- NPE When there's a validation error. See #927.
- Symbols are not computed when ResultLimitExceededException is thrown. See #928.
0.14.0 (November 6, 2020)
- Outline should display referenced DTD / XSD from the current XML. See #892.
- XML catalog
nextCatalog/@catalog
documentLink support. See #845. - Format for
xsi:schemaLocation
. See #825. - Customize documentSymbols (Outline) with participant. See #824.
- Support for
xml/executeClientCommand
access to server from extension. See #596. - Document links in catalog's
<system uri="..." />
. See #220. - Command to reload remote schema. See vscode-xml#284.
- Customize symbols in the outline. See vscode-xml#220.
- When associating a DTD through
<?xml-model...?>
, DTD-related errors should be aggregated. See #918. - Can't use XML catalog with XSD files that have
<xs:include />
. See #914. - Empty log file string crashes the server. See #904.
- Incorrect diagnostic error range for
MSG_SPACE_REQUIRED_BEFORE_ELEMENT_TYPE_IN_ELEMENTDECL
. See #902. - CodeAction which raises an Exception prevents other CodeActions from being generated. See #900.
- Symbols Max Items Computed doesn't work for 0. See #898.
- Code Action for
</
with no matching open tag doesn't fix content. See #889. - Incorrect error range for cvc-complex-type.2.3. See #885.
- Code Action to close root element closing tag inserts wrong closing tag. See #878.
- Improve ETagRequired error range. See #876.
- Improve error range for ETagUnterminated . See #875.
- Error range for empty element cvc-datatype-valid.1.2.3. See #871.
- Incorrect error range for cvc-datatype-valid.1.2.3. See #864.
StringIndexOutOfBoundsException
inEntityNotDeclaredCodeAction.getEntityName
. See #862.- Infinite loop inside
LSPMessageFormatter
for some cases. See #856. - XML validation should aggregate DTD errors in doctype. See #853.
- DTD hyperlink with XML catalog and
PUBLIC
declaration doesn't work. See #850. - XML completion based on DTD with XML catalog and
PUBLIC
declaration doesn't work. See #849. - DTD validation doesn't work with XML catalog and
PUBLIC
declaration. See #847. - Null Pointer Exception in catalog extension. See #833.
- XML validation should aggregate XSD errors where is referenced. See #768.
CacheResourcesManagerTest.testAvailableCache
fails sometimes. See #753.completionRequest.getReplaceRange()
is erroneous in text that contains/
. See #723.- Formatting comments which have no end should not generate
-->
. See vscode-xml#347. - Don't send invalid catalog notifications for paths with file schemes. See vscode-xml#289.
- EntityNotDeclared quick fix doesn't use the proper indentation settings. See vscode-xml#267.
- XSD with
targetNamespace
cannot be used withxml.fileAssociations
. See vscode-xml#223. xml.fileAssociations
does not work with DTD files. See vscode-xml#184.
0.13.1 (July 6, 2020)
- Fix generate schema code action when file name contains a single quote. See #820.
0.13.0 (July 6, 2020)
- Grammar generator: generate a grammar from an XML document. See #778.
- Bind XML document with no grammar constraints to generated XSD / DTD. See #151.
- Quick fix to create missing
xsi:noNamespaceSchemaLocation
and generate XSD that adheres to current XML document. See #702. - Highlight the XSD file name in
xsi:schemaLocation
when reporting an invalid or missing XSD file. See #782. - Add support for
textDocument/documentLink
forxsi:schemaLocation
. See #666. - Sort snippets. See #692.
- Formatting support for trim trailing whitespace. See #784
- Warning message when one of the
xml.catalogs
paths cannot be found. See #757. - New snippet to generate a catalog. See #708.
- New snippets for
xml-stylesheet
. See #728.
- Missing
xml-model
reference generates multiple similar warnings. See #795. - Fix line break being incorrectly added when
preserveAttrLineBreaks
istrue
. See #780. - Fix cases where spaces in file paths weren't accounted for. See #749.
- Fix documentation "information" typo. See #812.
0.12.0 (June 10, 2020)
- Preserve attribute line breaks. See #772
- Provide more server/build info on startup. See #755
- Display no hover if there is no documentation. See #743
- Add support for
textDocument/documentLink
for xs:import/schemaLocation. See #733 - Add support for
textDocument/documentLink
for xml-model/href. See #712 - Find definition for external declared entity. See #706
- Snippet to generate xml-model. See #699
- XML Completion based on DTD/XML Schema by using xml-model . See #698
- Validate XML with DTD/XML Schema by using xml-model. See #697
- Create hyperlink to DTD source on hover. See #693
- Add support for
textDocument/documentLink
for xs:include/schemaLocation. See #689 - Remove spacing when formatting processing instruction. See #670
- Hover for referenced entities. See #663
- Completion for external declared entity. See #660
- Insert final newline depending on lsp4j formatting settings. See #649
- Formatter expand/collapse/ignore empty XML tags. See #644
- Hyperlink to open declared DTD files. See #641
- Manage snippet registry to write snippet in JSON. See #640
- Configure limit for
textDocument/documentSymbol
withxml.symbols.maxItemsComputed
. See #637 - Completion for
xsd:enumeration
inside of text node. See #632 - Separate xsd:documentation and xsd:appinfo contents on hover and completion. See #630
- Consume LSP4J 0.9.0. See #628
- Find definition for locally declared entity. See #625
- CodeActions for RootElementTypeMustMatchDoctypedecl. See #561
- CodeAction for EntityNotDeclared. See #532
- Completion for locally declared entity. See #520
- Too many logs after completion, hover with XML that contains DTD subset. See #750
- Fix collection of external entities depending on line ending. See #744
- No entity completion for externally declared SYSTEM and PUBLIC entities. See #742
- Entity documentation has no value for entities declared with SYSTEM OR PUBLIC. See #741
- Error while loading DOCTYPE subset : java.lang.NullPointerException. See #739
- NPE in ContentModelCompletionParticipant.addCompletionItem. See #720
- NPE in XMLCompletions collectAttributeNameSuggestions(). See #719
- Support advanced characters for entity name. See #718
- Fix error range TargetNamespace.1. See #704
- Fix error range TargetNamespace.2. See #703
- Fix cache result of external grammar info. See #696
- Read the cached XSD, DTD grammar file with lazy mode. See #687
- NPE with Codelens in empty XSD file. See #684
- Range formatting inserts
<null>
when formatting inside DOCTYPE element. See #682 - NPE in ContentModelCodeActionParticipant.doCodeAction#L47. See #671
- Fix error range for
SemicolonRequiredInReference
. See #664 - Don't generate end element on apply completion if it exists. See #651
- Quickfix to close open tag doesn't deal with attributes. See #646
- MSG_ATTRIBUTE_NOT_DECLARED must highlight attribute name instead of attribute value. See #634
- NPE with TypeDefinition. See #629
0.11.1 (March 25, 2020)
- Enumeration documentation is not displayed. See #623
0.11.0 (March 19, 2020)
- Contribute lsp4xml to the Eclipse foundation. See #283
- Add onTagText to IHoverParticipant (or extend IHoverParticipant). See #609
- NPE when typing <?. See #614
- NPE when document contains an empty tag. See #613
- In Maven , all known XML elements from schema are suggested as completion. See #612
- UTF-16 not supported. See #611
- Unregister language server extension on LS shutdown. See #605
0.10.0 (December 13, 2019)
- (Experimental) Ability to edit start/end tag simultaneously under
xml.mirrorCursorOnMatchingTag
preference. See #597. - Allows File Associations to be used without Workspace. See #598.
- CodeAction for missing root end tag. See #595.
- DTD hover/completion support for documentation. See #592.
- CodeAction for similar looking element names if it doesn't match the schema. See #591.
- Navigation and intellisense for xs:include-ed types. See #579.
- xs:import code action was inserting inside the tag name. See #593.
- Prolog attribute completion was providing invalid values. See #587.
- getCurrentAttribute method was not returning the correct attribute name. See #584.
- Hover was not returning all hover responses. See #582.
- cvc-pattern error range fix. See #580.
0.9.1 (October 17, 2019)
- XSD: IntelliSense and element substitutions. See #568
- Completion doesn't use file cache for included XML schema. See #570
- Prevent from NPE validation with schemaLocaton and "schema.reference.4" error. See #569
- Improve performance and memory for validation by caching XML Schema / DTD. See #534
- Update lsp4j version to 0.8.1. See #571
- Reject download of resource which are not in the cache folder. Fixes CVE-2019-18212. See #567
- Add disallowDocTypeDecl & resolveExternalEntities validation settings. Fixes CVE-2019-18213. See #566
0.9.0 (September 10, 2019)
- Add support for
textDocument/documentHighlight
for DTD. See #545 - Ability to
rename
acomplexType/@name
inside XML Schema. See #454 - Add support for
textDocument/codeLens
for XML DTD. See #252 - Add support for
textDocument/references
for DTD. See #234 - Add support for
textDocument/definition
for DTD. See #233
- Cache completion based on XML Schema/DTD. See #547
- Fix error range for
cvc-datatype-valid-1-2-1
. See #323 - Support completion with
xs:any
. See #177 - Fixes issue with error messages not showing. See #557
- Validation Error Message Fails on Certain Cases. See #553
- Error range for
RootElementTypeMustMatchDoctypedecl
. See #537
0.8.0 (July 23, 2019)
Markdown
support forhover
documentation. See #24Markdown
support forcompletion
documentation. See #526- Add completion for
comment
and#region
. See #54 - Add completion for
CDATA
block. See #168 - Find definition for start/end tag element. See #535
- Show
relevant XML
completion options based on XML Schema. See #347 - Improve
XSD source
information for XML completion. See #529 - Add support for
textDocument/documentHighlight
for XML Schema types. See #470 - Add support for
textDocument/completion
for xs:element/@name / xs:extension/@base. See #451 - Add support for selective outline enablement per file. See #427
- Parse
.ent
and.mod
files as DTD files. See #380 - Add support for
textDocument/typeDefinition
from XML to XMLSchema/DTD. See #371 - Add support for
textDocument/definition
for XML Schema. See #148 - Add support for
textDocument/references
for XML Schema types. See #58 - Add support for
textDocument/codelens
for XML Schema types. See #55 - Add support for clickable
XSD CodeLens
. See #490 - Improved XML validation when XSD files are saved. See #506
- Hover markup response ignored the hover client capability. See #525
- Completion capability was lost in specific scenarios. See #522
- Fixed NPE in
textDocument/definition
in XSD files. See #488 - Fixed case sensitivity problems for element and attribute names. See #433
- Selection formatting ignores attribute indentation preference. See #429
- Fixed error range for
EntityNotDeclared
. See #518 - Fixed error range for
src-import.1.2
. See #499 - Fixed error range for
s4s-elt-invalid-content.3
. See #496 - Fixed error range for
cvc-pattern-valid
. See #477 - Fixed error range for
AttributePrefixUnbound
. See #476 - Fixed error range for
EmptyTargetNamespace
. See #472 - Fixed error range for
ct-props-correct.3
. See #467 - Fixed error range for
sch-props-correct.2
. See #462 - Fixed error range for
s4s-elt-must-match.2
. See #458 - Fixed error range for
ct-props-correct.3
. See #455 - Fixed error range for
src-ct.1
. See #453 - Fixed error range for
duplicate attribute
.. See #452 - Fixed error range for
p-props-correct.2.1
. See #436 - Fixed error range for
cos-all-limited.2
. See #428 - Fixed error range for
src-element.3
. See #420 - Documents with an Internal Subset DOCTYPE had stopped trying to bind. See #379
- Fixed discrepancy in completion between prefixed and default namespaces. See #311
- XML did not validate when bounded DTD file was not found. See #167
- Formatter inserts spaces in empty lines. See #157
- VSCode was not revalidating XML files when relevant XSD files were modified outside VSCode. See #131
- Improve XML Scanner performance. See #444
- Use CompletableFuture to load DOMDocument. See #439
- Examined memory usage. See #438
- Improved
TextDocument
update (in async) performance withTreeLineTracker
. See #426 - Tested large files for performance. See #48
0.7.0 (June 11, 2019)
- Display Java runtime used to launch the server. See #415.
- Added
xml.symbols.enabled
preference, to enable/disable Document Symbols. See #413. - File completion in attribute value. See #345.
- Validation for an XML Schema. See #190.
- Ability for XML Prolog completion in DTD files. See #267.
- Ability to rename a namespace/namespace renaming improvements. See #366.
- Startup time for SVG DTD file completion was too slow. See #397.
- Mark element source coming from XML Schema/DTD for completion. See #210.
- Memory usage improvements. See #389.
- Fix completion source crash on Windows OS. See #408.
- Fix error range for
ETagRequired
. See #387. - Fix error range for
cos-all-limited.2
. See #407. - Fix
normalizePath
test for Windows OS. See #399. - Document Symbols only returns the 1st
ATTLIST
value. See #265. - Completion in SVG DTD file proposed duplicate completions. See #386.
- Fixed formatting range issues. See #76.
0.6.0 (May 22, 2019)
- Attribute completion for both
xsi:schemaLocation
andxsi:noNamespaceSchemaLocation
are independent of each other. See #382. - Upgraded to lsp4j version 0.7.1. See #370.
- Preference
xml.format.preservedNewLines
to preserve new lines on format. See #350.
- Fixed error range for
cvc-complex-type.2.4.f
. See #368. - Fixed error range for
SchemaLocation
warning. See #343. - Fixed error range for
MarkupEntityMismatch
. See #367. - Missing schema would generate too many/redundant warnings. See #336.
- Self-closing tag did not remove end tag if tag name contained uppercase characters. See #354.
- Placing a
/
in an attribute value triggered autoclosing. See vscode-xml#126. - New Maven POM attribute was breaking tests. See #356.
- Removed unused settings for testing. See #356.
0.5.1 (April 08, 2019)
- Fixed incorrect expansion of the
~
directory on Windows, forxml.server.workDir
. See #348.
0.5.0 (April 05, 2019)
- More detailed completion for Prolog. See #155.
- Added completion for xmlns attribute. See #208.
- Have value completion for
xmlns:xsi
. See #326. - Make ParentProcessWatcher optional. See #328.
- Autoclose self-closing tags. See #239.
- Don't autoclose tag if the closing tag already exists. See #314.
- Changing the content of an XML Schema triggers validation. See #213.
- Preference
xml.server.workDir
to set schema cache folder. See #222. - Code action to close missing quotes for attributes. See #137.
- Hover for attribute value documentation from XSD's. See #12.
- Autocompletion for
xsi:nil
values. See #247.
textDocument/publishDiagnostics
failed with message: Illegal argument: line must be non-negative. See #157.- XSI completion item messages were incorrect. See #296.
- Removed trailing whitespace from normalized strings on format. See #300.
- Format of attribute without value loses data. See #294.
- Cleaned up skipped unit tests. See #319.
- Verified that logger settings were actually set on startup before updating settings. See #81.
- Fixed error range of cvc-type.3.1.2. See #318.
- Fixed error range of ETagUnterminated. See #317.
- Fixed error range of cvc-elt.3.2.1. See #321.
- Multiple
'insert required attribute'
code actions shown when multiple attributes are missing. See #209. - Self closing tag causes NPE in
cvc_complex_type_2_1CodeAction.doCodeAction
. See #339. - Closing CDATA tag throws exception. See #341.
- Fix formatting issue with processing instruction attributes. See #331.
0.4.0 (March 07, 2019)
- Modified schema validation messages. See #181.
- Preference
xml.format.quotations
to set single vs double quotes for attribute values on format. See #263. - Preference
xml.format.preserveEmptyContent
to preserve a whitespace value in an element's content. See #273. - Compatibility with OSGi and p2. See #288.
- Fixed memory leak of file handles. See #303.
- XSI completion item messages were incorrect. See #296.
- Removed trailing whitespace from normalized strings on format. See #300.
- Format of attribute without value loses data. See #294.
0.3.0 (January 28, 2019)
- Addded root element 'xml' to preferences JSON. See #257.
- Added ability to format DTD/DOCTYPE content. See #268.
- Added outline for DTD elements. See #226.
- Ability to start the server in socket mode. See #259.
- XML completion based on internal DTD. See #251.
- XML completion based on external DTD. See #106.
- Completion for DTD <!ELEMENT, <!ATTRIBUTE, ... . See #232.
- Provide automatic completion/validation in catalog files. See #204.
- Hover for XSI attributes. See #164.
- Show attribute value completion based on XML Schema/DTD. See #242.
- Added
xml.format.spaceBeforeEmptyCloseTag
preference to insert whitespace before closing empty end-tag. See #197. - Completion for XSI attributes. See #163.
- Changing the content of catalog.xml refreshes the catalogs and triggers validation. See #212.
- Switched to lsp4j 0.6.0 release. See #254.
- Added
xml.validation.noGrammar
preference, to indicate document won't be validated. See #218. - Added preference to enable/disable validation
xml.validation.enabled
andxml.validation.schema
. See #260. - Deploy lsp4xml to a public Maven repository. #229.
- Formatting unclosed tag would be in wrong location. See #269.
- Formatting removes DOCTYPE's public declaration. See #250.
- Infinite loop when
<
was typed into an empty DTD file. See #266. - Formatting malformed xml removed content. See #227.
- Misplace diagnostic for cvc-elt.3.1. See #241.
- javax.xml.soap.Node is not available in Java 11. See #238.
- Adjust range for DTD validation errors. See #107.
- Adjust range error for internal DTD declaration. See #225.
- Don't add sibling element when completion items is filled with grammar. See #211.
- Validation needs additional
<uri>
catalog entry. See #217. - XML Schema completion prefix did not work in some cases. See #214.
- Support rootUri for XML catalog configuration. See #206.
- CacheResourcesManager keeps trying to download unavailable resources. See #201.
- Support rootUri for XML catalog configuration. See #206.
- CacheResourcesManager keeps trying to download unavailable resources. See #201.
- Fix license headers according to project's declared EPL v2.0. See #256.
0.0.2 (November 8, 2018)
- Add support for
textDocument/documentLink
. See #56. - No completion nor validation when editing an xsd schema. See #178.
- Cache on the file system, XML Schema from http, ftp before loading it. See #159.
- Support for XSL. See #189.
- Change 'resource downloading' diagnostic severity to Information. See #187.
- XSL support to resolve XML Schema of xsl. See #91.
- Add support for completion requests from empty character. See #112.
- Provide documentation on hover for attributes. See #146.
- Formatting deletes document's body when there's a DTD declaration. See #198.
- Completion from local xsd was cached too aggressively. See #194.
- "format.splitAttributes:true" adds excessive indentation. See #188.
- No validation or code completion on nested elements. See #177.
- XSD files can only be edited if useCache is enabled. See #186.
- No autocompletion when writing XSDs. See #111.
- Insert required attribute code action inserts bad placeholder. See #185.
- No validation when referencing a schema in the same directory. See #144.
- Hover doesn't work when xs:annotation is declared in type and not element. See #182.
- Incomplete autocompletion for xsl documents. See #165.
- Auto Complete/ Completion for XML Prolog. See #85.
xml.format.splitAttributes
keeps first attribute on same line. See #161.- File association should support relative path for systemId. See #142.
- Validation of non-empty nodes required to be empty shows misplaced diagnostics. See #147.
- Validation of empty required node shows misplaced diagnostics. See #145.