Skip to content

build(deps): bump prettier-plugin-astro from 0.14.1 to 1.0.0 in the formatting group - #11986

Open
dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/npm_and_yarn/formatting-2065bac8e6
Open

dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/npm_and_yarn/formatting-2065bac8e6

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 16, 2026

Copy link
Copy Markdown
Contributor

Bumps the formatting group with 1 update: prettier-plugin-astro.

Updates prettier-plugin-astro from 0.14.1 to 1.0.0

Release notes

Sourced from prettier-plugin-astro's releases.

v1.0.0

Major Changes

  • a8bf1a3: Raises the minimum supported Node version to 22.12.0.

  • 595d47f: The plugin has been fully rewritten on top of Astro 7's new Rust compiler. This rewrite fixes many long-standing issues, such as certain elements not being handled properly inside expressions.

    Whitespace formatting now matches Astro’s whitespace handling, and a new astroCompressHTML option has been added to match Astro's compressHTML setting. If you set compressHTML in your Astro config, also set astroCompressHTML in your Prettier config to match.

    In addition, this rewrite has allowed us to more closely match Prettier's built-in JSX and HTML formatting, leading to less cosmetic differences between the different files in your repo.

v1.0.0-beta.2

Patch Changes

  • cc30d24: Fixes various formatting issues when using astroCompressHTML: 'html' or 'none':

    • Fixes a stray > being added after an empty or ignored element that is followed by a sibling.
    • Fixes closing tags being split from trailing void elements like <img>.
    • Fixes whitespace being added inside tables, lists, and captions under htmlWhitespaceSensitivity: 'strict'.
    • Fixes line breaks around inline elements being replaced by spaces.
    • Allows inline elements to wrap at the print width without adding rendered whitespace.
    • Keeps inline elements written on one line on that line.
    • Fixes components with dotted names like <Astro.self> losing their closing tags or failing to format.
    • Fixes whitespace around inline-block elements and reflowing markup written on one line.
    • Fixes quotes in style attribute values being written unescaped, corrupting the attribute and breaking the next format.
    • Fixes children hugging the closing bracket when an element's attributes span multiple lines.
    • Fixes whitespace being added around a lone <slot />, which stopped :empty from matching the container.
    • Fixes srcset values being mangled when a URL contains a comma, such as a data: URI or query string.
    • Lays out block-level elements like HTML.
    • Fixes whitespace being removed around a lone <slot />, which allowed :empty to start matching the container.
    • Fixes children hugging the closing bracket when an element's attributes wrap and allows a lone long attribute to wrap.
    • Formats style and srcset attributes.
    • Allows runs of adjacent inline elements to wrap at the print width without adding rendered whitespace.
    • Lays out graphical SVG contents one element per line.
    • Fixes nested markup being kept on one line.
    • Fixes spaces being removed from text directly inside <body>.
    • Fixes nested elements being collapsed onto a single line.
    • Fixes a blank line being left inside an opening tag whose attributes break.

v1.0.0-beta.1

Major Changes

  • a8bf1a3: Raises the minimum supported Node version to 22.12.0.

Patch Changes

  • b0ec799: Fixes <script> tags being formatted as JavaScript instead of TypeScript
  • 04ecfe2: Fixes a crash on parenthesized types in template expressions

v1.0.0-beta.0

Major Changes

... (truncated)

Changelog

Sourced from prettier-plugin-astro's changelog.

1.0.0

Major Changes

  • a8bf1a3: Raises the minimum supported Node version to 22.12.0.

  • 595d47f: The plugin has been fully rewritten on top of Astro 7's new Rust compiler. This rewrite fixes many long-standing issues, such as certain elements not being handled properly inside expressions.

    Whitespace formatting now matches Astro’s whitespace handling, and a new astroCompressHTML option has been added to match Astro's compressHTML setting. If you set compressHTML in your Astro config, also set astroCompressHTML in your Prettier config to match.

    In addition, this rewrite has allowed us to more closely match Prettier's built-in JSX and HTML formatting, leading to less cosmetic differences between the different files in your repo.

1.0.0-beta.2

Patch Changes

  • cc30d24: Fixes various formatting issues when using astroCompressHTML: 'html' or 'none':

    • Fixes a stray > being added after an empty or ignored element that is followed by a sibling.
    • Fixes closing tags being split from trailing void elements like <img>.
    • Fixes whitespace being added inside tables, lists, and captions under htmlWhitespaceSensitivity: 'strict'.
    • Fixes line breaks around inline elements being replaced by spaces.
    • Allows inline elements to wrap at the print width without adding rendered whitespace.
    • Keeps inline elements written on one line on that line.
    • Fixes components with dotted names like <Astro.self> losing their closing tags or failing to format.
    • Fixes whitespace around inline-block elements and reflowing markup written on one line.
    • Fixes quotes in style attribute values being written unescaped, corrupting the attribute and breaking the next format.
    • Fixes children hugging the closing bracket when an element's attributes span multiple lines.
    • Fixes whitespace being added around a lone <slot />, which stopped :empty from matching the container.
    • Fixes srcset values being mangled when a URL contains a comma, such as a data: URI or query string.
    • Lays out block-level elements like HTML.
    • Fixes whitespace being removed around a lone <slot />, which allowed :empty to start matching the container.
    • Fixes children hugging the closing bracket when an element's attributes wrap and allows a lone long attribute to wrap.
    • Formats style and srcset attributes.
    • Allows runs of adjacent inline elements to wrap at the print width without adding rendered whitespace.
    • Lays out graphical SVG contents one element per line.
    • Fixes nested markup being kept on one line.
    • Fixes spaces being removed from text directly inside <body>.
    • Fixes nested elements being collapsed onto a single line.
    • Fixes a blank line being left inside an opening tag whose attributes break.

1.0.0-beta.1

Major Changes

  • a8bf1a3: Raises the minimum supported Node version to 22.12.0.

Patch Changes

  • b0ec799: Fixes <script> tags being formatted as JavaScript instead of TypeScript
  • 04ecfe2: Fixes a crash on parenthesized types in template expressions

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for prettier-plugin-astro since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the formatting group with 1 update: [prettier-plugin-astro](https://github.com/withastro/prettier-plugin-astro).


Updates `prettier-plugin-astro` from 0.14.1 to 1.0.0
- [Release notes](https://github.com/withastro/prettier-plugin-astro/releases)
- [Changelog](https://github.com/withastro/prettier-plugin-astro/blob/main/CHANGELOG.md)
- [Commits](withastro/prettier-plugin-astro@v0.14.1...v1.0.0)

---
updated-dependencies:
- dependency-name: prettier-plugin-astro
  dependency-version: 1.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: formatting
...

Signed-off-by: dependabot[bot] <support@github.com>
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
1 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Regenerate the lockfile from the catalog and resolve the Node.js support-floor mismatch.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

Updates prettier-plugin-astro from 0.14.1 to 1.0.0.

Changes:

  • Bumps the workspace catalog dependency.
  • Updates pnpm lockfile resolutions and transitive dependencies.
File summaries
File Summary
pnpm-workspace.yaml Updates the Astro Prettier plugin catalog entry. The lockfile is inconsistent with this catalog, and the new plugin requires Node >=22.12.0 while the repository supports >=22.0.0.
pnpm-lock.yaml Resolves the new plugin, but currently omits the catalog entry and records an incompatible importer specifier, causing frozen installs to fail.
Review details

Files not reviewed (1)

  • pnpm-lock.yaml: Generated file

Suppressed comments (1)

pnpm-workspace.yaml:144

  • prettier-plugin-astro@1.0.0 declares Node >=22.12.0, while the repository still advertises Node >=22.0.0 (packages/compiler/package.json:75-77, CONTRIBUTING.md:27-29). This silently narrows the supported development environment to a subset of Node 22 and may cause engine/runtime failures on 22.0–22.11; retain a compatible plugin or raise and update the support floor consistently.
  prettier-plugin-astro: ^1.0.0
  • Files reviewed: 1/2 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread pnpm-workspace.yaml
plist: ^5.0.0
prettier: ^3.9.6
prettier-plugin-astro: ^0.14.1
prettier-plugin-astro: ^1.0.0
Copilot AI review requested due to automatic review settings September 16, 2026 03:52

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Align the repository’s Node.js minimum version declarations with the plugin’s requirement of Node >=22.12.0.

Review details

Files not reviewed (1)

  • pnpm-lock.yaml: Generated file

Suppressed comments (1)

pnpm-workspace.yaml:144

  • This update makes the repository's formatter require Node >=22.12.0, while the compiler package and setup documentation still declare Node >=22.0.0 (packages/compiler/package.json:75-77, website/src/content/docs/docs/getting-started/getting-started-rest/01-setup-basic-syntax.mdx:24). Developers on Node 22.0–22.11 can therefore no longer reliably install or run the workspace formatter; either retain the compatible plugin or update the repository's documented/declared minimum consistently before taking this dependency bump.
  prettier-plugin-astro: ^1.0.0
  • Files reviewed: 1/2 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

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.

1 participant