Releases: redhat-developer/vscode-xml
Releases · redhat-developer/vscode-xml
Development Build
0.27.2
Bug Fixes
- Fix support for working with XML files on shared folders. See #1033.
- Fix interaction between
<xi:include>
and<?xml-model>
PI. See #1021. - Support
xsi:type
overrides when resolving content model. See eclipse-lemminx/lemminx#1647.
Build
0.27.1
0.27.0
Enhancements
- Setting to specify which attributes should be treated as filepaths for the purpose of editor features. See #945.
- Align XML attributes when formatting. See #272.
- Provide a Progress support API for LemMinX extension. See eclipse/lemminx#1562.
- Reduce size of completion items by implementing
itemDefaults
forCompletionList
. See eclipse/lemminx#1561.
Bug Fixes
OpenQuoteExpected
error forATTLIST
breaks DTD validation. See #943.- Error range for
src-annotation
. See eclipse/lemminx#1276. - XML support crashes when workspace folders are empty. See #940.
- "Surround" Commands are not shown in the Command Palette. See #923.
XInclude
cannot be activated with binary mode. See #922.- Error when booting extension on Mac Silicon. See #974.
- Update @redhat-developer/vscode-redhat-telemetry to 0.8.0. See #995.
- Clarify source of indentation in documentation. See #902.
Build
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
.github
and.gitignore
in the packaged extension. See #891. - Update required VS Code version to
^1.67.0
. See #872. - Comments throws off the
cvc-complex-type.2.3
diagnostic 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.
NullPointerException
indocumentColor
. 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.
SAXParseException
in the language server trace when editing an.rng
file. 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 reportDOCTYPE
error. 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-languageclient
8.0.1. See #711. - Publish a generic vsix for all other platforms. See #865.
- React to
vsce
renaming to@vscode/vsce
. See #857, #858. - Use commit SHA-1 for pinning untrusted GitHub actions to a version. See #864.
Documentation
- Fix
lint.yaml
build 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.legacy
setting 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.initialized
telemetry events. See #818. - Provide the capability to bind RelaxNG schema. See #807.
- Support
files.trimTrailingWhitespace
setting with experimental formatter. See #800. - Remove
xml.format.preserveEmptyContent
setting for experimental formatter. See lemminx#1346. - Improve text content formatting for experimental formatter. See lemminx#1331.
Performance
- Improve formatting performance with
xml.format.grammarAwareFormatting
setting. 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.preservedNewlines
with 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.grammarAwareFormatting
setting 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.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.