Skip to content

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Mar 19, 2025

This PR contains the following updates:

Package Change Age Confidence
@prettier/plugin-xml ^0.10.0 -> ^3.0.0 age confidence

Release Notes

prettier/plugin-xml (@​prettier/plugin-xml)

v3.4.2

Compare Source

Changed
  • Exclude .ts and .tsx as XML extensions.

v3.4.1

Compare Source

Changed
  • Fix the npm publish.

v3.4.0

Compare Source

Added
  • Export plugin type.
Changed
  • Fix printing around reference nodes.
  • Trim only XML whitespace, not JS whitespace.

v3.3.1

Compare Source

Changed
  • Allow elements to be marked as whitespace ignored even when they have reference nodes.

v3.3.0

Compare Source

Added
  • Support for formatWithCursor.
Changed
  • Always keep whitespace around in xsl:text tags.

v3.2.2

Compare Source

Changed
  • Fixed a bug with the xmlSortAttributesByKey option when xmlns attributes are present.

v3.2.1

Compare Source

Added
  • Updated the documentation to reflect that you need to pass the plugin path now.
Changed
  • Error messages thrown by the plugin are now much closer to the error messages thrown by prettier.
  • Fixed a bug where self-closing tags that looked like embeds would throw an error.

v3.2.0

Compare Source

Added
  • Respect xml:space="preserve" as an override to the xmlWhitespaceSensitivity option.

v3.1.1

Compare Source

Changed
  • Required prettier as a peer dependency instead of a runtime dependency.

v3.1.0

Compare Source

Added
  • the xmlSortAttributesByKey: true | false option has been added. See the README.
  • The xmlQuoteAttributes: "preserve" | "single" | "double" option has been added. See the README.

v3.0.0

Compare Source

Changed
  • See alpha release notes.

v2.2.0

Compare Source

Added
  • Better error messages in the case of a syntax error.

v2.1.0

Compare Source

Added
  • Support for the singleAttributePerLine option.

v2.0.1

Compare Source

Added
  • Better idempotency when printing long strings of text content within elements with ignored whitespace.

v2.0.0

Compare Source

Changed
  • Require prettier 2.4.0 for the bracketSameLine option.

v1.2.0

Compare Source

Added
  • Support formatting .xsl files.

v1.1.0

Compare Source

Added
  • Bring back the xmlSelfClosingSpace option.

v1.0.2

Compare Source

Changed
  • Removed duplicated inner comments when xmlWhitespaceSensitivity is set to "strict".

v1.0.1

Compare Source

Changed
  • Fix the export to work in non-TypeScript environments.

v1.0.0

Compare Source

Added
  • Support for the bracketSameLine option to mirror the core option.
Removed
  • The xmlSelfClosingSpace option is now removed to make it easier to maintain.

v0.13.1

Compare Source

Changed
  • Fixed a bug with newlines when there is empty content.

v0.13.0

Compare Source

Added
  • Maintain newlines if there are some in the original source.

v0.12.0

Compare Source

Added
  • Allow embedded parsers to handle content if element tags contain only text content and the tag name matches the name of an existing parser. For example:
<style type="text/css">
.box {
  height: 100px;
  width: 100px;
}
</style>
  • Additionally support .inx files.

v0.11.0

Compare Source

Changed
  • Support for a whole wide variety of file types, as per linguist.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link

sonarqubecloud bot commented Apr 4, 2025

@renovate renovate bot force-pushed the renovate/prettier-plugin-xml-3.x branch from d2d93f8 to 7175349 Compare May 15, 2025 12:35
@renovate renovate bot force-pushed the renovate/prettier-plugin-xml-3.x branch from 7175349 to 317f461 Compare June 10, 2025 15:16
Copy link

@renovate renovate bot force-pushed the renovate/prettier-plugin-xml-3.x branch from 317f461 to 993004e Compare September 11, 2025 12:03
Copy link

@renovate renovate bot force-pushed the renovate/prettier-plugin-xml-3.x branch from 993004e to f31d68c Compare October 17, 2025 09:31
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants