prettier breaking changes
prettier 4.0.0 (July 6, 2023) is its newest release with breaking changes. The first: Now requires prettier v3.0.0 or later. Every breaking API change we have recorded in prettier on RubyGems: 24 breaking changes in 11 versions. Below, its 11 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 4.0.4. Source repository
Packages on RubyGems run on Ruby. Ruby end of life dates.
- From 3.0.0 to 4.0.0: 1 breaking change in 1 version.
- From 0.14.0 to 4.0.0: 22 breaking changes in 10 versions.
prettier 4.0.0 breaking changes
- Behavior changed
The plugin now requires prettier 3.0.0 or later, so projects still on an older prettier must upgrade prettier before using this version. github.com
prettier 3.0.0 breaking changes
- Removed
The plugin's own configuration options were removed. Configure formatting by modifying Syntax Tree instead. github.com - Behavior changed
The formatting backend now uses Syntax Tree, which may change how code is formatted. github.com
prettier 2.0.0 breaking changes
- Configuration changed
The shipped rubocop configuration no longer enables the Style/MultilineBlockChain rule, so code relying on that rule from the shipped config will see different results. github.com
prettier 2.0.0-rc1 breaking changes
- Removed
rubyNetcatCommand
The rubyNetcatCommand option was removed because it should no longer be necessary. Stop setting it. github.com
prettier 1.0.0 breaking changes
- Behavior changed
Formatting now keeps backslash-escaped double quotes inside single-quoted string literals as written. github.com
prettier 1.0.0-rc1 breaking changes
- Renamed
addTrailingCommas
Update configuration that sets addTrailingCommas to use trailingComma instead; "es5" now means true. github.com - Renamed
inlineConditionals
Update configuration that sets inlineConditionals to use rubyModifier instead. github.com - Renamed
inlineLoops
Update configuration that sets inlineLoops to use rubyModifier instead. github.com - Renamed
preferHashLabels
Update configuration that sets preferHashLabels to use rubyHashLabel instead. github.com - Renamed
preferSingleQuotes
Update configuration that sets preferSingleQuotes to use rubySingleQuote instead. github.com - Renamed
toProcTransform
Update configuration that sets toProcTransform to use rubyToProc instead. github.com
Older versions
5 older versions, each with its first changes. Sign up to see every change
Show 5 older versions
prettier 0.22.0 breaking changes
- Behavior changed
The way comments are handled during formatting was rewritten, so comment placement in formatted output may change. github.com - Behavior changed
Formatted output for method chains changes by one indentation. Code formatted by earlier versions will be reformatted on the next run. github.com
prettier 0.21.0 breaking changes
- Behavior changed
The formatter no longer rewrites lambda {} as -> {} or the reverse, because that can change program semantics. Code formatted by this version will keep its original lambda style. github.com - Default changed
Symbol.to_proc
The Symbol#to_proc transform is now disabled by default. Users who relied on it being applied automatically must enable it explicitly. github.com
prettier 0.20.0 breaking changes
- Behavior changed
The encoding setting now only sets its own variable instead of replacing all environment variables. Code relying on the previous overwrite behavior may need review. github.com
prettier 0.18.0 breaking changes
- Behavior changed
Bodies of singleton method definitions are re-indented by the formatter, so output for existing code changes. github.com - Behavior changed
The formatter now inserts underscores in numeric literals after every 4 digits rather than every 3, so formatted code will differ from earlier output. github.com
And 3 more in this version.
prettier 0.14.0 breaking changes
- Behavior changed
An if/else that is turned into a ternary and has a method call on its end is now wrapped in parens, so formatted output changes for such code. github.com - Behavior changed
If a variable is assigned inside the predicate of a conditional, the formatter now keeps the block as it is instead of converting it to the single-line form. github.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.