Releases: redhat-developer/vscode-xml
Releases · redhat-developer/vscode-xml
0.22.0
Enhancements
- Support for Relax NG. See lemminx#237.
- Support
xml.format.closingBracketNewLine
setting with experimental formatter. See lemminx#1247. - Support
xml.format.xsiSchemaLocationSplit
setting with experimental formatter. See lemminx#1246. - Support
xml.format.spaceBeforeEmptyCloseTag
setting with experimental formatter. See lemminx#1245. - Support
xml.format.joinContentLines
setting with experimental formatter. See lemminx#1244. - Support
xml.format.joinCommentLines
setting with experimental formatter. See lemminx#1243. - Support
xml.format.preserveEmptyContent
setting with experimental formatter. See lemminx#1242. - Support
xml.format.joinCDATALines
setting with experimental formatter. See lemminx#1241. - Support
xml.format.preservedNewlines
setting with experimental formatter. See lemminx#1240. - Support
xml.format.enforceQuoteStyle
setting with experimental formatter. See lemminx#1239. - Support
xml.format.emptyElements
setting with experimental formatter. See lemminx#1238. - Set
xml.format.xsiSchemaLocationSplit
asonPair
by default. See #749. - Set
xml.format.preserveAttributeLineBreaks
totrue
by default. See #748. - Provide comment formatting for experimental formatter. See lemminx#1259.
- Suppress validation kinds based on file pattern. See #774.
- Report only XML syntax error for *.exsd files. See #782.
- Place relevant information on the first line of error messages. See lemminx#1145.
- Validate uri of XML catalog. See lemminx#823.
- Improve error message for download error. See #763.
- CodeAction for
cvc-complex-type.2.4.b
:insert all expected
vs.insert all possible
. See lemminx#1255. - Do not complete paths in attr unless beginning of value looks like a path. See lemminx#1293.
- Add command
Restart Language Server
. See #539. - Use the HTTP proxy configuration for HTTPS as well. See lemminx#1253.
- Add
usesOnlineServices
tag. See #701. - Replace
find-java-home
withjdk-utils
. See #627.
Bug Fixes
- Autocompletion of attribute values won't display documentation. See #736.
- Annotations found in base complex type not shown on hover. See lemminx#1268.
- Format is wrong with multiple line content. See #600.
- Format CDATA sections without adding new lines. See [lemminx#1193](https://github.com/eclipseEnable dependabot/lemminx/issues/1193).
- Formatting with
xml.format.emptyElements
:expand
chokes on malformed XML. See lemminx#650. - Fix format problem with multiple root elements. See #634.
Build
- Make sure that 'vsce' is installed in nodes that use it. See #789.
- Explicitly set 'main' as target branch for cloning of lemminx repo. See #750.
- Unit tests should not store data in the
.lemminx
folder under the user's home directory. See lemminx#1265. - Set up linting for vscode-xml. See #438.
- Remove darwin-arm64 platform from generic publishing call. See #734.
- Server binaries for "osx-x86_64" are not found. See #729.
- Update badges, add "installs" badge. See #767 and #766.
- Bump terser from 5.6.1 to 5.14.2. See #741.
Other
0.21.0
Enhancements
- Add button to double heap size on OOM. See #718.
- CodeAction for cvc-elt.1.a. See #599.
- TextMate grammar for *.dtd files. See #313.
- CodeAction for cvc-complex-type.2.4.b. See lemminx#1218.
- Support folding for <!DOCTYPE. See lemminx#1213.
- Added folding setting to keep displaying the closing tag after folding. See lemminx#1209.
- Provide basic experimental formatter which supports invalid XML. See lemminx#1195, lemminx#1041, lemminx#1034, lemminx#679, lemminx#675, lemminx#305.
- Format with xml:space. See lemminx#826.
- Code action for
SemicolonRequiredInReference
. See lemminx#665. - Improve XML formatter (option to have Tags in the same line). See lemminx#594.
Performance
- Cancel process of code action. See lemminx#1220.
- Parse of DOM document should be not done in a Thread. See lemminx#1216.
- Improve memory for DOM parser & XML scanner. See lemminx#1211, lemminx#1206.
- Wait a bit after change before sending diagnostics. See lemminx#1162.
- Implement
codeAction/resolve
&completionItem/resolve
. See lemminx#941, lemminx#616.
Bug Fixes
externalXmlSettings.xmlFileAssociations
not used ingetXMLSettings
. See #698.- DOCTYPE entities interfering with hover annotation display of tags / attributes. See lemminx#1212.
- Incorrect error range for
cvc-identity-constraint.4.1
. See lemminx#1210. - Resolve uri as system with XML catalog. See lemminx#1199.
- Added permission check and window error message for LemMinx binary. See #695.
- After a tag is collapsed, the content of the entire tag cannot be deleted. See #690.
Build
- Use platform specific
.vsix
files, and package the lemminx binary into the.vsix
. See #593. - Fix native image build on Windows builders. See #721.
- Add LemMinX binary artifacts to release tab only on new changes. See #706.
- Automatically publish latest snapshot build on Release page. See #656.
Other
- Add DCO information to
CONTRIBUTING.md
. See #723.
0.20.0
Enhancements
- Improve DTD/XSD security with regard to remote resources. See #671.
- Closing tags should be included in the code folding range. See lemminx#1178.
Bug Fixes
- NPE on xsd datatype autocompletion in binary mode. See lemminx#1189.
- Completion for prefix of attribute name. See lemminx#1133.
Other
- Add support to download binaries from GitHub Releases. See #685.
- Fix GraalVM Native Image Builds on Jenkins. See #681.
- Update GraalVM version used in binary verification builds to x.y.z. See lemminx#1158.
0.19.1
Bug Fixes
- Fix endless diagnostic publishing when validation is disabled. See lemminx#1175.
0.19.0
Enhancements
- Basic support for parameter entities. See lemminx#1167.
- Support for document link DTD entity SYSTEM. See lemminx#1165.
Bug Fixes
- Bad SYSTEM for DTD DocType and Entity breaks the XML validation. See #647.
- Prevent suspicious directory traversal. See lemminx#1171.
- Limit resource downloads to http, https and ftp and prevent insecure redirects. See lemminx#1174.
- Bump follow-redirects from 1.14.7 to 1.14.8. See #647.
Build
- Eliminate need for downloading just-released binary checksums. See #650.
0.18.3
Enhancements
- Support more customization for attribute elements in document symbols protocol. See #633.
- Add 'telemetry' tag to redhat.telemetry.enabled preference. See #643.
Bug Fixes
- End Tag completion should be given priority above some other proposals. See eclipse/lemminx#1150.
- 'No definition found' when using 'Go to Definition' for types defined in imported XSD. See #632.
- Add option to control downloading of external schema resources. See #640.
- Invalid "schemaLocation" is not reported. See eclipse/lemminx#1143.
- NPE on renaming a namespaced tag with no corresponding ending tag. See eclipse/lemminx#1139.
- Updated Xerces to 2.12.2. See eclipse/lemminx#1156.
- Update Gson to 2.8.9. See eclipse/lemminx#1161.
Others
- Use curl instead of wget to be consistent with usage. See #639.
0.18.2
0.18.1
Enhancements
- File association pattern validation. See #586.
- Binding grammar/schema with file associations. See #573.
- Report schema identifier of XML document through telemetry event. See eclipse/lemminx#1105.
Bug Fixes
- Handle potentially undefined workspace uri. See #606.
- Fix issue preventing relative symbolic links from being correctly resolved. See #601.
- Aggregate errors in xsd:import|include@schemaLocation for referenced grammar which have errors. See #596.
- Disable external entities when using SAX parser. See eclipse/lemminx#1104.
- Fix recommended tsl-problem-matcher id. See #608.
Others
0.18.0
Enhancements
- Added CodeLens that displays referenced grammars at the top of an XML file. See #569.
- Added CodeAction to bind an XML document to an existing schema. See #515.
- If the workspace is not trusted, "Resolve external entities" is set to false. See #537.
- Command to bind an XML document to an existing schema. See #514.
- Collect telemetry data about text documents that are opened: file extension, grammar binding strategy, grammar resolving strategy. See eclipse/lemminx#1066.
- Improved documentation. See #543, #546, #550, #560, #561, #562, #567.
Bug Fixes
- Fixed stackoverflow and resource leak when calculating folding ranges. See #538.
- Aligned tag closing bracket with attribute when
splitAttributes
andclosingBracketNewLine
are enabled. See #516. - Fixed
src-import.3.1
error range. See eclipse/lemminx#1075. - Fixed
src-import.3.2
error range. See eclipse/lemminx#1069. - Adding closing bracket (
>
) in attribute quotation marks causes repeated auto-complete of the closing tag. See #547. - Wrong minimal engine 1.37.0 mentioned instead of 1.52.0. See #554.
- Prevent XML language server from restarting when it crashes due to running out of memory. See #527.
0.12.0
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