Skip to content

chore(deps): update dependency prettier-plugin-astro to v1 - #2010

Merged
MikuroXina merged 1 commit into
mainfrom
renovate/prettier-plugin-astro-1.x
Oct 11, 2026
Merged

MikuroXina merged 1 commit into
mainfrom
renovate/prettier-plugin-astro-1.x

Conversation

@renovate

@renovate renovate Bot commented Oct 11, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
prettier-plugin-astro ^0.14.1 → ^1.0.0 age adoption passing confidence

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: (in timezone Asia/Tokyo)

  • Branch creation
    • "on the first day of the week"
  • 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the R-Update(npm) Renovate: update npm label Oct 11, 2026
@renovate
renovate Bot requested a review from MikuroXina October 11, 2026 13:02
@github-actions github-actions Bot added T-@oreorebot2/common Type: OreOreBot2 Common (packages/common) T-@oreorebot2/docs Type: OreOreBot2 Docs (packages/docs) labels Oct 11, 2026
@MikuroXina
MikuroXina merged commit 15d2c1e into main Oct 11, 2026
11 of 12 checks passed
@MikuroXina
MikuroXina deleted the renovate/prettier-plugin-astro-1.x branch October 11, 2026 13:04
@codecov

codecov Bot commented Oct 11, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@57c24e7). Learn more about missing BASE report.
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2010   +/-   ##
=======================================
  Coverage        ?   61.05%           
=======================================
  Files           ?       89           
  Lines           ?     1361           
  Branches        ?      215           
=======================================
  Hits            ?      831           
  Misses          ?      381           
  Partials        ?      149           
Flag Coverage Δ
unittests 61.05% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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

Labels

R-Update(npm) Renovate: update npm T-@oreorebot2/common Type: OreOreBot2 Common (packages/common) T-@oreorebot2/docs Type: OreOreBot2 Docs (packages/docs)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant