Skip to content

Releases: redhat-developer/vscode-xml

Development Build

11 Mar 08:09
Compare
Choose a tag to compare
Development Build Pre-release
Pre-release

Commits

  • 7d8330b: CHANGELOG for 0.28.0 (David Thompson) #1062
  • 6c495fa: Specify schemes for which XML will provide support (David Thompson) #1065

0.28.0

05 Mar 17:09
Compare
Choose a tag to compare

Breaking Changes

  • Update to Java 11. See eclipse-lemminx/lemminx#1721
    • Rationale: Several of lemminx's dependencies now require Java 11, so we were unable to update to the latest versions until we adopted Java 11.

Bug Fixes

  • Use GraalVM CPU architecture compatibility mode in order to support older CPUs. See #1055.
  • File associations should have unique pattern, not unique systemId (schema). See #1053.
  • Alert the user when the extension falls back to the binary when the supplied Java version is < 11. See #1049.
  • Fix extension crash when proxy settings address doesn't begin with http:// or https://. See #1046.
  • Handle attribute with text equal to single quote (i.e. "). See eclipse-lemminx/lemminx#1726.

0.27.2

25 Nov 18:57
Compare
Choose a tag to compare

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

  • Fix binary build for Alpine linux. See #1015.
  • Switch from GraalVM to GraalVM Community for native image build. See #1035.
  • Fix builds on MacOS ARM64 with Java 8 (Temurin). See #1646.

0.27.1

31 May 12:29
Compare
Choose a tag to compare

Build

  • Use the appropriate Github Actions runner for MacOS Intel architecture. See #1001.
  • Use the correct extension version in download URL for binary server. See #999.

0.27.0

27 May 20:34
Compare
Choose a tag to compare

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 for CompletionList. See eclipse/lemminx#1561.

Bug Fixes

  • OpenQuoteExpected error for ATTLIST 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

  • Update GH Actions release workflow, and automate pre-releases. See #933.
  • Add support for LemMinX binary natively on MacOS aarch64. See #898.
  • Add support for Alpine Linux. See #986.
  • Update to Node 18. See #928.

0.26.1

12 Jul 17:52
Compare
Choose a tag to compare

Bug Fixes

  • Ensure binary mode supports Linux distributions using an older version of glibc. See #916.

0.26.0

10 Jul 22:40
Compare
Choose a tag to compare

Bug Fixes

  • xml.foldings.includeClosingTagInFold has no effect in binary mode. See #1523.
  • Fix regression in "Auto indent" setting of XML/XSD files. See #899.

0.25.0

19 Apr 16:32
Compare
Choose a tag to compare

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 in documentColor. 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

31 Jan 17:22
Compare
Choose a tag to compare

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 report DOCTYPE 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

15 Dec 20:46
Compare
Choose a tag to compare

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

  • Add link to blog for 0.22.0 release. See #826.
  • Update xml.format.joinContentLines settings documentation. See #817.