Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jun 26, 2025

This PR contains the following updates:

Package Change Age Confidence
prettier (source) 3.5.33.7.4 age confidence

Release Notes

prettier/prettier (prettier)

v3.7.4

Compare Source

diff

LWC: Avoid quote around interpolations (#​18383 by @​kovsu)
<!-- Input -->
<div foo={bar}>   </div>

<!-- Prettier 3.7.3 (--embedded-language-formatting off) -->
<div foo="{bar}"></div>

<!-- Prettier 3.7.4 (--embedded-language-formatting off) -->
<div foo={bar}></div>
TypeScript: Fix comment inside union type gets duplicated (#​18393 by @​fisker)
// Input
type Foo = (/** comment */ a | b) | c;

// Prettier 3.7.3
type Foo = /** comment */ (/** comment */ a | b) | c;

// Prettier 3.7.4
type Foo = /** comment */ (a | b) | c;
TypeScript: Fix unstable comment print in union type comments (#​18395 by @​fisker)
// Input
type X = (A | B) & (
  // comment
  A | B
);

// Prettier 3.7.3 (first format)
type X = (A | B) &
  (// comment
  A | B);

// Prettier 3.7.3 (second format)
type X = (
  | A
  | B // comment
) &
  (A | B);

// Prettier 3.7.4
type X = (A | B) &
  // comment
  (A | B);

v3.7.3

Compare Source

diff

API: Fix prettier.getFileInfo() change that breaks VSCode extension (#​18375 by @​fisker)

An internal refactor accidentally broke the VSCode extension plugin loading.

v3.7.2

Compare Source

diff

JavaScript: Fix string print when switching quotes (#​18351 by @​fisker)
// Input
console.log("A descriptor\\'s .kind must be \"method\" or \"field\".")

// Prettier 3.7.1
console.log('A descriptor\\'s .kind must be "method" or "field".');

// Prettier 3.7.2
console.log('A descriptor\\\'s .kind must be "method" or "field".');
JavaScript: Preserve quote for embedded HTML attribute values (#​18352 by @​kovsu)
// Input
const html = /* HTML */ ` <div class="${styles.banner}"></div> `;

// Prettier 3.7.1
const html = /* HTML */ ` <div class=${styles.banner}></div> `;

// Prettier 3.7.2
const html = /* HTML */ ` <div class="${styles.banner}"></div> `;
TypeScript: Fix comment in empty type literal (#​18364 by @​fisker)
// Input
export type XXX = {
  // tbd
};

// Prettier 3.7.1
export type XXX = { // tbd };

// Prettier 3.7.2
export type XXX = {
  // tbd
};

v3.7.1

Compare Source

diff

API: Fix performance regression in doc printer (#​18342 by @​fisker)

Prettier 3.7.1 can be very slow when formatting big files, the regression has been fixed.

v3.7.0

Compare Source

diff

🔗 Release Notes

v3.6.2

Compare Source

diff

Markdown: Add missing blank line around code block (#​17675 by @​fisker)
<!-- Input -->
1. Some text, and code block below, with newline after code block

   ```yaml
   ---
   foo: bar
   ```

   1. Another
   2. List

<!-- Prettier 3.6.1 -->
1. Some text, and code block below, with newline after code block

   ```yaml
   ---
   foo: bar
   ```
   1. Another
   2. List

<!-- Prettier 3.6.2 -->
1. Some text, and code block below, with newline after code block

   ```yaml
   ---
   foo: bar
   ```

   1. Another
   2. List

v3.6.1

Compare Source

diff

TypeScript: Allow const without initializer (#​17650, #​17654 by @​fisker)
// Input
export const version: string;

// Prettier 3.6.0 (--parser=babel-ts)
SyntaxError: Unexpected token (1:21)
> 1 | export const version: string;
    |                     ^

// Prettier 3.6.0 (--parser=oxc-ts)
SyntaxError: Missing initializer in const declaration (1:14)
> 1 | export const version: string;
    |              ^^^^^^^^^^^^^^^

// Prettier 3.6.1
export const version: string;
Miscellaneous: Avoid closing files multiple times (#​17665 by @​43081j)

When reading a file to infer the interpreter from a shebang, we use the
n-readlines library to read the first line in order to get the shebang.

This library closes files when it reaches EOF, and we later try close the same
files again. We now close files only if n-readlines did not already close
them.

v3.6.0

Compare Source

diff

🔗 Release Notes


Configuration

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

🚦 Automerge: Enabled.

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.

@changeset-bot
Copy link

changeset-bot bot commented Jun 26, 2025

⚠️ No Changeset found

Latest commit: f4eceb3

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@renovate renovate bot force-pushed the renovate/prettier-3.x branch 3 times, most recently from dcc5885 to 1192e8c Compare June 28, 2025 10:59
@renovate renovate bot changed the title Update dependency prettier to v3.6.0 Update dependency prettier to v3.6.1 Jun 28, 2025
@renovate renovate bot force-pushed the renovate/prettier-3.x branch from 1192e8c to c5f065f Compare June 30, 2025 06:04
@renovate renovate bot changed the title Update dependency prettier to v3.6.1 Update dependency prettier to v3.6.2 Jun 30, 2025
@renovate renovate bot force-pushed the renovate/prettier-3.x branch 2 times, most recently from 4fd630e to 7d397da Compare July 5, 2025 00:39
@renovate renovate bot force-pushed the renovate/prettier-3.x branch 5 times, most recently from 0d2a149 to b1da66f Compare July 18, 2025 15:46
@renovate renovate bot force-pushed the renovate/prettier-3.x branch 3 times, most recently from a08e7b8 to 2de403c Compare July 22, 2025 14:52
@renovate renovate bot force-pushed the renovate/prettier-3.x branch 3 times, most recently from cc66e02 to e2dfac7 Compare August 4, 2025 16:36
@renovate renovate bot force-pushed the renovate/prettier-3.x branch 2 times, most recently from 20e3ffd to 13b64db Compare August 11, 2025 21:23
@renovate renovate bot force-pushed the renovate/prettier-3.x branch 2 times, most recently from e247c21 to 5d0ef72 Compare August 19, 2025 21:51
@renovate renovate bot force-pushed the renovate/prettier-3.x branch 2 times, most recently from 5fde57f to 95861df Compare September 3, 2025 01:59
@renovate renovate bot force-pushed the renovate/prettier-3.x branch 3 times, most recently from c4a2970 to 2fad7c0 Compare September 14, 2025 02:12
@renovate renovate bot force-pushed the renovate/prettier-3.x branch from 2fad7c0 to 684575d Compare September 16, 2025 17:55
@renovate renovate bot force-pushed the renovate/prettier-3.x branch from 684575d to a7f3164 Compare September 25, 2025 21:41
@renovate renovate bot force-pushed the renovate/prettier-3.x branch 2 times, most recently from 2f58e1a to 474aef8 Compare October 17, 2025 05:14
@renovate renovate bot force-pushed the renovate/prettier-3.x branch 2 times, most recently from 7cbf7fd to e30b317 Compare October 21, 2025 18:01
@renovate renovate bot force-pushed the renovate/prettier-3.x branch 2 times, most recently from 566b203 to b97c95a Compare November 23, 2025 20:28
@renovate renovate bot force-pushed the renovate/prettier-3.x branch from b97c95a to d45fd93 Compare November 30, 2025 09:06
@renovate renovate bot changed the title Update dependency prettier to v3.6.2 Update dependency prettier to v3.7.0 Nov 30, 2025
@renovate renovate bot force-pushed the renovate/prettier-3.x branch from d45fd93 to c3545b6 Compare November 30, 2025 13:59
@renovate renovate bot changed the title Update dependency prettier to v3.7.0 Update dependency prettier to v3.7.1 Nov 30, 2025
@renovate renovate bot force-pushed the renovate/prettier-3.x branch from c3545b6 to 0e18dc6 Compare December 2, 2025 02:00
@renovate renovate bot changed the title Update dependency prettier to v3.7.1 Update dependency prettier to v3.7.2 Dec 2, 2025
@renovate renovate bot force-pushed the renovate/prettier-3.x branch from 0e18dc6 to 6867a25 Compare December 2, 2025 22:07
@renovate renovate bot changed the title Update dependency prettier to v3.7.2 Update dependency prettier to v3.7.3 Dec 2, 2025
@renovate renovate bot force-pushed the renovate/prettier-3.x branch from 6867a25 to aa97939 Compare December 2, 2025 22:08
@renovate renovate bot force-pushed the renovate/prettier-3.x branch from aa97939 to f4eceb3 Compare December 6, 2025 05:36
@renovate renovate bot changed the title Update dependency prettier to v3.7.3 Update dependency prettier to v3.7.4 Dec 6, 2025
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