Releases: redhat-developer/vscode-xml
Releases · redhat-developer/vscode-xml
0.26.1
0.26.0
0.25.0
Bug Fixes
- Multiple
xml(DownloadProblem)errors when referencing missing schema in file association. See #878. - Do not attempt to validate files that use the
git://protocol. See #861. - XML attribute associated to wrong type from XSD.. See #524.
- Don't include
.githuband.gitignorein the packaged extension. See #891. - Update required VS Code version to
^1.67.0. See #872. - Comments throws off the
cvc-complex-type.2.3diagnostic range. See eclipse/lemminx#1495. - RNG attribute completion doesn't generate the proper prefix if the namespace is not declared. See eclipse/lemminx#1489.
- Partial formatting yields wrong indentation depth. See eclipse/lemminx#1485.
NullPointerExceptionindocumentColor. See eclipse/lemminx#1473.- Adjust error range for RelaxNG "not allowed yet" when there is
choice. See eclipse/lemminx#1459.
Other
- Report aggregated telemetry on which grammar files and grammar binding strategies are used. See #885.
0.24.0
Enhancements
- Completion, definition, references, diagnostics, highlight, code lens, rename, linked editing support for XML references. See #855.
- Code action to add missing required elements with RelaxNG. See lemminx#1418.
- Improve the RelaxNG schema validation. See lemminx#1425.
- Code action to generate RelaxNG RNG file. See lemminx#1405.
- Support indentation for XML contributed languages. See #862.
- Visually represent colors in XML documents where possible. See #853.
Bug Fixes
- "Insert element" code actions don't add close tags when auto close tag is disabled. See lemminx#1458.
- Improve "Insert only required expected elements" by taking care of choice. See lemminx#1448.
- Linked editing breaks start tag when closing tag manually. See lemminx#1456.
- Ignore linked editing range when there are no referenced node to update. See lemminx#1453.
- Formatting selection fails with root element with mixed content. See lemminx#1414.
SAXParseExceptionin the language server trace when editing an.rngfile. See lemminx#1441.- Ensure attributes on the first line are wrapped correctly. See lemminx#1439.
- Fix comment formatting with
xml.format.maxLineWidth. See #851. - Permit binding to a schema from an empty document. See #819.
- RelaxNG validation with
XInclude/ File association reportDOCTYPEerror. See #845. - DocumentLink support for
xi:include/@href. See lemminx#1401. - Binary server doesn't show "element missing child" warning in broken RelaxNG. See lemminx#1460.
- Refactor "Register catalog" code lens to be in catalog package. See lemminx#1417.
Build
- Move to
vscode-languageclient8.0.1. See #711. - Publish a generic vsix for all other platforms. See #865.
- React to
vscerenaming to@vscode/vsce. See #857, #858. - Use commit SHA-1 for pinning untrusted GitHub actions to a version. See #864.
Documentation
- Fix
lint.yamlbuild status badge. See #852.
0.23.0
Enhancements
- Codelens, completion, definition, documentLink, highlighting, references, rename support in RelaxNG file. See #834.
- Provide ability to contribute to vscode-xml with a custom language. See #589.
- Fill remote URL with "Bind to grammar / schema". See #808.
- Surround selection with XML element. See #794.
- Enable the experimental formatter by default and add
xml.format.legacysetting to retain previous formatter. See #823. - Add validation support for
XInclude. See #175. - Support max line length setting. See #350.
- Add codelens and command to register/unregister catalog. See #572.
- Set lemminx logfile fallback to global storage. See #814.
- Combine
startup&server.initializedtelemetry events. See #818. - Provide the capability to bind RelaxNG schema. See #807.
- Support
files.trimTrailingWhitespacesetting with experimental formatter. See #800. - Remove
xml.format.preserveEmptyContentsetting for experimental formatter. See lemminx#1346. - Improve text content formatting for experimental formatter. See lemminx#1331.
Performance
- Improve formatting performance with
xml.format.grammarAwareFormattingsetting. See lemminx#1368.
Bug Fixes
- RelaxNG schema validation not working when DOCTYPE declaration missing with file association. See #831.
- XSD based Autocompletion for substitutionGroup. See #825.
- Applying XML completion generates invalid XML content. See #815.
- Add MEI, TEI, SVG as keywords. See #811.
- Add support for SVG files. See #805.
- Referenced RelaxNG schema not found via XML catalog when using
xml-model. See #804. - Generate and bind schema doesn't work with experimental formatter. See #802.
- Fix unexpected behavior of
xml.format.preservedNewlineswith experimental formatter. See #797. - Format CDATA sections without adding new lines. See #585.
- Generate grammar fails on first attempt with experimental formatter. See lemminx#1382.
- Add tests for
xml.format.grammarAwareFormattingsetting and restore mixed content behaviour. See lemminx#1364. - Prevent exception in
DomElementFormatter.formatEndTagElement(). See lemminx#1361. - NPE in CodeLens with empty XML file. See lemminx#1396.
- Autoclose tag generates an unexpected
>. See lemminx#1221.
Build
- Update vscode-redhat-telemetry to 0.5.2. See #812.
- Fix issues reported by npm-audit. See #775, #799, and #828.
Other
0.22.0
Enhancements
- Support for Relax NG. See lemminx#237.
- Support
xml.format.closingBracketNewLinesetting with experimental formatter. See lemminx#1247. - Support
xml.format.xsiSchemaLocationSplitsetting with experimental formatter. See lemminx#1246. - Support
xml.format.spaceBeforeEmptyCloseTagsetting with experimental formatter. See lemminx#1245. - Support
xml.format.joinContentLinessetting with experimental formatter. See lemminx#1244. - Support
xml.format.joinCommentLinessetting with experimental formatter. See lemminx#1243. - Support
xml.format.preserveEmptyContentsetting with experimental formatter. See lemminx#1242. - Support
xml.format.joinCDATALinessetting with experimental formatter. See lemminx#1241. - Support
xml.format.preservedNewlinessetting with experimental formatter. See lemminx#1240. - Support
xml.format.enforceQuoteStylesetting with experimental formatter. See lemminx#1239. - Support
xml.format.emptyElementssetting with experimental formatter. See lemminx#1238. - Set
xml.format.xsiSchemaLocationSplitasonPairby default. See #749. - Set
xml.format.preserveAttributeLineBreakstotrueby 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 expectedvs.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
usesOnlineServicestag. See #701. - Replace
find-java-homewithjdk-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:expandchokes 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
.lemminxfolder 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.xmlFileAssociationsnot 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
.vsixfiles, 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.