Skip to content

Releases: DotJoshJohnson/vscode-xml

v2.5.1

18 Jul 03:48
95702e6
Compare
Choose a tag to compare

Bug Fixes

  • Fixed inconsistent line break handling between minification and formatting (issue #262).
  • "XML to Text" and "Text to XML" now support all of the reserved entities, not just & (issue #271).
  • Fixed a bug that caused XML within CDATA to be formatted or otherwise modified on format (issue #293).
  • [@somelinguist]: Fixed a bug in XQuery argument handling (issue #206).
  • [@abemedia]: Addressed the "invalid count value" error on format (issue #291).
  • Fixed a bug that caused trailing whitespace to be added to split attributes on format (issue #288).

New Features

  • None

Other Changes

  • Addressed several dependency vulnerabilities.
  • Moved from Azure Pipelines to GitHub Actions.
  • Please see #316 for information on the future of XML Tools.
  • Added support for .plist and .mobileconfig file extensions (issue #265).

v2.5.0

01 Jun 04:43
919650e
Compare
Choose a tag to compare

Bug Fixes

  • Fixed a bug that caused "invalid count value" errors on format (issue #257).
  • Removed the annoying formatter warning pop-up.

New Features

  • Added support for text nodes in "Get Current XPath" (issue #223).

Other Changes

  • The stupid stale-bot is now disabled. Sorry about the noise!

v2.4.0

14 Dec 16:15
69ffa24
Compare
Choose a tag to compare

Bug Fixes

  • [@KWeaver87]: Fixed an issue with XQuery linting that caused errors to remain on screen after being resolved (issue #218).
  • [@emericklaw]: Fixed improper formatting of CDATA content (issue #227).
  • [@ThibDev]: Fixed improper handling of quotes in XQuery grammar (issue #242).
  • [@line-o]: Fixed line and block comments in XQuery grammar (issue #244).

New Features

  • Indent context is now preserved when formatting a range in an XML document (issue #131).
  • Added some common XML file extensions so they are handled by default without adjusting default settings (issue #232).
  • [@eliasib13]: Added ability to escape/unescape angle brackets via two new commands (XML to Text and Text to XML) (issue #249).

v2.3.2

18 Aug 01:19
84adff5
Compare
Choose a tag to compare

Bug Fixes

  • Fixed a formatting issue related to "mixed content" getting chewed up (issue #200).
  • [@kedar-joshi]: Fixed a typo that resulted in a missing parenthesis in the xmlTools.xqueryExecutionArguments setting (issue #207).

v2.3.1

16 Jun 02:30
f2cfe16
Compare
Choose a tag to compare

Bug Fixes

  • Fixed an issue that caused extraneous line breaks to be added on format if text is present between an end tag and a start tag (issue #193).
  • Fixed an issue that caused white-space to be added before inline CDATA tags (issue #194).
  • Improved accuracy of the XPath builder (issue #197).

v2.3.0

11 Jun 23:38
0a17f59
Compare
Choose a tag to compare

Bug Fixes

  • Fixed indentation for closing tags following self-closing tags (issue #185).
  • Fixed a regression that caused formatting to fail for attributes containing quotes in the value (issue #187).

Other Changes

  • Added a test case to ensure formatting is not broken for attributes with braces in the value (issue #189).

NOTE: The minor version was incremented although no new features were added as the sole feature to be released was pulled last minute.

v2.2.0

30 May 02:32
516cf1f
Compare
Choose a tag to compare

Bug Fixes

  • The XML Tree View "cursor sync" feature is now disabled by default to prevent the sidebar from opening each time an XML document is clicked (issue #171).
  • The V2 formatter no longer chokes on single-quoted attribute values (issue #177).
  • The V2 formatter no longer adds extraneous new lines after self-closing tags if they appeared before a start tag (issue #178).

New Features

  • Added a new command, XML Tools: Get Current XPath, which builds and displays the current XPath for the selected element or attribute (issue #85).
  • Added the option to enforce "pretty" self-closing tags (issue #149).

Other Changes

  • Removed a deprecated API call to "rootPath" (issue #166).
  • Restricted allowable values for the xmlFormatterImplementation setting (issue #180).

v2.1.1

28 May 15:01
6add3ce
Compare
Choose a tag to compare

Bug Fixes

  • Fixed an issue where XPath results were always "undefined" (issue #168).

v2.1.0

28 May 04:03
75733cd
Compare
Choose a tag to compare

New Features

  • All commands except for XML Tools: Format as XML are now conditional based on the current language mode.

Other Changes

  • Re-added the marketplace icon that was mistakenly removed in v2.0.0.
  • Changed the "Languages" category to "Programming Languages".

v2.0.0

26 May 00:07
384d392
Compare
Choose a tag to compare

Available on the Visual Studio Marketplace.

Bug Fixes

NOTE: All formatting bugs were fixed in the new "V2" formatter. The classic formatter is still available to use by setting xmlTools.xmlFormatterImplementation to classic.

  • Fixed a formatting issue that caused self-closing elements to be formatted improperly (issue #120).
  • Non-ASCII element names will no longer cause the formatter to choke (issue #125).
  • Fixed an issue that caused element text on its own line to be formatted incorrectly (issue #137).
  • Fixed a bad "Format as XML" keybinding (issue #133).

New Features

  • XML Tools now supports multi-root workspaces (issue #128).
  • Allowed the use of some non-encoded characters in attribute values (issue #76).
  • Added the ability to split all attribute types onto new lines (issue #116).
  • Preserve line breaks during formatting for readability (issue #59).
  • The first attribute in an element will not be split onto a new line (issue #89).
  • Commented formatted XML will be kept in its formatted state during formatting (issue #118).
  • Added metadata to XML Tree View (issue #117).
  • Added "cursor sync" feature to XML Tree View (issue #121).
  • Added "Minify XML" to editor context menu (issue #151).

Other Changes

  • The minimum supported version of VS Code is v1.22.2.
  • XQLint has been updated to 0.4.1 to remove natives from the dependency tree.