Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jun 24, 2025

This PR contains the following updates:

Package Change Age Confidence
prettier (source) 3.5.3 β†’ 3.8.0 age confidence

Release Notes

prettier/prettier (prettier)

v3.8.0

Compare Source

diff

πŸ”— Release note

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.

@renovate renovate bot changed the title chore(deps): update dependency prettier to v3.6.0 chore(deps): update dependency prettier to v3.6.1 Jun 25, 2025
@renovate renovate bot force-pushed the renovate/prettier-3.x-lockfile branch 3 times, most recently from 963806b to 0239421 Compare June 27, 2025 05:06
@renovate renovate bot changed the title chore(deps): update dependency prettier to v3.6.1 chore(deps): update dependency prettier to v3.6.2 Jun 27, 2025
@renovate renovate bot force-pushed the renovate/prettier-3.x-lockfile branch 2 times, most recently from 7871a58 to 227d917 Compare July 3, 2025 02:28
@renovate renovate bot force-pushed the renovate/prettier-3.x-lockfile branch from 227d917 to 478c0a8 Compare July 13, 2025 05:06
@renovate renovate bot force-pushed the renovate/prettier-3.x-lockfile branch 3 times, most recently from aa59be3 to 6e85e68 Compare July 26, 2025 21:37
@renovate renovate bot force-pushed the renovate/prettier-3.x-lockfile branch 2 times, most recently from 032b6c1 to 6097054 Compare August 10, 2025 04:46
@renovate renovate bot force-pushed the renovate/prettier-3.x-lockfile branch from 6097054 to 9eff0ca Compare August 24, 2025 01:14
@renovate renovate bot force-pushed the renovate/prettier-3.x-lockfile branch from 9eff0ca to e42f72a Compare September 7, 2025 01:22
@renovate renovate bot force-pushed the renovate/prettier-3.x-lockfile branch from e42f72a to cd74d1c Compare September 20, 2025 21:33
@renovate renovate bot force-pushed the renovate/prettier-3.x-lockfile branch from cd74d1c to 6c9631b Compare October 5, 2025 09:55
@renovate renovate bot force-pushed the renovate/prettier-3.x-lockfile branch from 6c9631b to d19e41d Compare October 19, 2025 12:42
@renovate renovate bot force-pushed the renovate/prettier-3.x-lockfile branch 2 times, most recently from e99b1ff to 3015820 Compare November 5, 2025 07:54
@renovate renovate bot changed the title chore(deps): update dependency prettier to v3.6.2 chore(deps): update dependency prettier to v3.7.0 Nov 27, 2025
@renovate renovate bot force-pushed the renovate/prettier-3.x-lockfile branch from 3015820 to d62d3a1 Compare November 27, 2025 08:52
@renovate renovate bot changed the title chore(deps): update dependency prettier to v3.7.0 chore(deps): update dependency prettier to v3.7.1 Nov 27, 2025
@renovate renovate bot force-pushed the renovate/prettier-3.x-lockfile branch from d62d3a1 to 5c54fb7 Compare November 27, 2025 15:15
@renovate renovate bot changed the title chore(deps): update dependency prettier to v3.7.1 chore(deps): update dependency prettier to v3.7.2 Nov 28, 2025
@renovate renovate bot force-pushed the renovate/prettier-3.x-lockfile branch from 5c54fb7 to 2912bec Compare November 28, 2025 21:00
@renovate renovate bot changed the title chore(deps): update dependency prettier to v3.7.2 chore(deps): update dependency prettier to v3.7.3 Nov 29, 2025
@renovate renovate bot force-pushed the renovate/prettier-3.x-lockfile branch 2 times, most recently from 7703faf to 8c87d33 Compare December 3, 2025 10:31
@renovate renovate bot changed the title chore(deps): update dependency prettier to v3.7.3 chore(deps): update dependency prettier to v3.7.4 Dec 3, 2025
@renovate renovate bot force-pushed the renovate/prettier-3.x-lockfile branch from 8c87d33 to 1b5dce2 Compare December 14, 2025 06:00
@renovate renovate bot force-pushed the renovate/prettier-3.x-lockfile branch from 1b5dce2 to ffba24d Compare January 15, 2026 03:05
@renovate renovate bot changed the title chore(deps): update dependency prettier to v3.7.4 chore(deps): update dependency prettier to v3.8.0 Jan 15, 2026
@renovate renovate bot force-pushed the renovate/prettier-3.x-lockfile branch from ffba24d to c1439f6 Compare January 15, 2026 17:15
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