Update dependency prettier-plugin-astro to v1 #28
Loading…
Reference in a new issue
No description provided.
Delete branch "renovate/prettier-plugin-astro-1.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
^0.14.1→^1.0.0Release Notes
withastro/prettier-plugin-astro (prettier-plugin-astro)
v1.1.0Compare Source
Minor Changes
bfbb6c5: Adds support for threeastroAllowShorthandformatting modes:undefined, the attributes stay as written, i.e<Comp value={value} />and<Comp {value} />can co-exist in the same file.true, attributes that can be written in the shorthand form will automatically be transformed.<Comp value={value} />will become<Comp {value} />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.1Compare 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 withastroCompressHTMLset to'html'or'none'.v1.0.0Compare 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
astroCompressHTMLoption has been added to match Astro'scompressHTMLsetting. If you setcompressHTMLin your Astro config, also setastroCompressHTMLin 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)
🚦 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.
This PR has been generated by Mend Renovate.
fa0c7762adtob1b5c56709