Update dependency prettier-plugin-astro to v1 #28

Merged
SakulFlee merged 1 commit from renovate/prettier-plugin-astro-1.x into main 2026-09-30 03:05:35 +00:00
Collaborator

This PR contains the following updates:

Package Change Age Confidence
prettier-plugin-astro ^0.14.1 → ^1.0.0 age confidence

⚠️ Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

withastro/prettier-plugin-astro (prettier-plugin-astro)

v1.1.0

Compare Source

Minor Changes
  • bfbb6c5: Adds support for three astroAllowShorthand formatting modes:

    • When unset / undefined, the attributes stay as written, i.e <Comp value={value} /> and <Comp {value} /> can co-exist in the same file.
    • When set to true, attributes that can be written in the shorthand form will automatically be transformed. <Comp value={value} /> will become <Comp {value} />
    • When set to false, attributes will always be expanded to their full form.
Patch Changes
  • 4b3547e: Fix non-idempotent indentation of multiline comments nested inside CSS rules.
  • edfb35f: Fixes raw elements being forcefully paired up when self-closed.

v1.0.1

Compare Source

Patch Changes
  • 5b5a735: Publish TypeScript declarations for Astro plugin options.
  • 6154471: Fixes an error when a JavaScript comment appears before a raw or custom-printed element, such as a <script> in the alternate branch of a conditional expression.
  • fabb28f: Fix non-idempotent CSS <style> block formatting with astroCompressHTML set to 'html' or 'none'.

v1.0.0

Compare Source

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.


Configuration

📅 Schedule: (UTC)

  • 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 becomes conflicted, 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 has been generated by Mend Renovate.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [prettier-plugin-astro](https://github.com/withastro/prettier-plugin-astro) | [`^0.14.1` → `^1.0.0`](https://renovatebot.com/diffs/npm/prettier-plugin-astro/0.14.1/1.1.0) | ![age](https://developer.mend.io/api/mc/badges/age/npm/prettier-plugin-astro/1.1.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/prettier-plugin-astro/0.14.1/1.1.0?slim=true) | --- > ⚠️ **Warning** > > Some dependencies could not be looked up. Check the [Dependency Dashboard](issues/3) for more information. --- ### Release Notes <details> <summary>withastro/prettier-plugin-astro (prettier-plugin-astro)</summary> ### [`v1.1.0`](https://github.com/withastro/prettier-plugin-astro/blob/HEAD/CHANGELOG.md#110) [Compare Source](https://github.com/withastro/prettier-plugin-astro/compare/v1.0.1...v1.1.0) ##### Minor Changes - [`bfbb6c5`](https://github.com/withastro/prettier-plugin-astro/commit/bfbb6c5): Adds support for three `astroAllowShorthand` formatting modes: - When unset / `undefined`, the attributes stay as written, i.e `<Comp value={value} />` and `<Comp {value} />` can co-exist in the same file. - When set to `true`, attributes that can be written in the shorthand form will automatically be transformed. `<Comp value={value} />` will become `<Comp {value} />` - When set to `false`, attributes will always be expanded to their full form. ##### Patch Changes - [`4b3547e`](https://github.com/withastro/prettier-plugin-astro/commit/4b3547e): Fix non-idempotent indentation of multiline comments nested inside CSS rules. - [`edfb35f`](https://github.com/withastro/prettier-plugin-astro/commit/edfb35f): Fixes raw elements being forcefully paired up when self-closed. ### [`v1.0.1`](https://github.com/withastro/prettier-plugin-astro/blob/HEAD/CHANGELOG.md#101) [Compare Source](https://github.com/withastro/prettier-plugin-astro/compare/v1.0.0...v1.0.1) ##### Patch Changes - [`5b5a735`](https://github.com/withastro/prettier-plugin-astro/commit/5b5a735): Publish TypeScript declarations for Astro plugin options. - [`6154471`](https://github.com/withastro/prettier-plugin-astro/commit/6154471): Fixes an error when a JavaScript comment appears before a raw or custom-printed element, such as a `<script>` in the alternate branch of a conditional expression. - [`fabb28f`](https://github.com/withastro/prettier-plugin-astro/commit/fabb28f): Fix non-idempotent CSS `<style>` block formatting with `astroCompressHTML` set to `'html'` or `'none'`. ### [`v1.0.0`](https://github.com/withastro/prettier-plugin-astro/blob/HEAD/CHANGELOG.md#100) [Compare Source](https://github.com/withastro/prettier-plugin-astro/compare/v0.14.1...v1.0.0) ##### Major Changes - [`a8bf1a3`](https://github.com/withastro/prettier-plugin-astro/commit/a8bf1a3): Raises the minimum supported Node version to 22.12.0. - [`595d47f`](https://github.com/withastro/prettier-plugin-astro/commit/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`](https://docs.astro.build/en/reference/configuration-reference/#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. </details> --- ### Configuration 📅 **Schedule**: (UTC) - 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 becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yODguMCIsInVwZGF0ZWRJblZlciI6IjQzLjI4OC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Renovate force-pushed renovate/prettier-plugin-astro-1.x from fa0c7762ad to b1b5c56709 2026-09-25 14:08:23 +00:00 Compare
SakulFlee deleted branch renovate/prettier-plugin-astro-1.x 2026-09-30 03:05:35 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
SakulFlee/Website!28
No description provided.