---
title: "prettier 4.0.0 Breaking Changes on RubyGems | Since.dev"
description: "What each prettier release removed, renamed or changed: 24 breaking changes in 11 versions on RubyGems, each with its source."
canonical_url: https://since.dev/packages/gem/prettier
last_updated: 2026-12-04
---

# 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

Latest version `4.0.4`. [Source repository](https://github.com/prettier/plugin-ruby)

Packages on RubyGems run on Ruby. [Ruby end of life dates](https://since.dev/calendar/ruby.md).

- From [3.0.0](#v-3-0-0) to [4.0.0](#v-4-0-0): 1 breaking change in 1 version.
- From [0.14.0](#v-0-14-0) to [4.0.0](#v-4-0-0): 22 breaking changes in 10 versions.

## prettier 4.0.0 breaking changes

prettier 4.0.0, released July 6, 2023: 1 breaking change.

- **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](https://github.com/prettier/plugin-ruby/blob/v4.0.0/CHANGELOG.md)

## prettier 3.0.0 breaking changes

prettier 3.0.0, released May 5, 2022: 2 breaking changes.

- **Removed**  

The plugin's own configuration options were removed. Configure formatting by modifying Syntax Tree instead. [github.com](https://github.com/prettier/plugin-ruby/blob/v3.0.0/CHANGELOG.md)
- **Behavior changed**  

The formatting backend now uses Syntax Tree, which may change how code is formatted. [github.com](https://github.com/prettier/plugin-ruby/blob/v3.0.0/CHANGELOG.md)

## prettier 2.0.0 breaking changes

prettier 2.0.0, released October 28, 2021: 1 breaking change.

- **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](https://github.com/prettier/plugin-ruby/blob/v2.0.0/CHANGELOG.md)

## prettier 2.0.0-rc1 breaking changes

prettier 2.0.0-rc1, released October 28, 2021: 1 breaking change.

- **Removed** `rubyNetcatCommand`  

The rubyNetcatCommand option was removed because it should no longer be necessary. Stop setting it. [github.com](https://github.com/prettier/plugin-ruby/blob/v2.0.0/CHANGELOG.md)

## prettier 1.0.0 breaking changes

prettier 1.0.0, released December 11, 2020: 1 breaking change.

- **Behavior changed**  

Formatting now keeps backslash-escaped double quotes inside single-quoted string literals as written. [github.com](https://github.com/prettier/plugin-ruby/blob/v1.0.0/CHANGELOG.md)

## prettier 1.0.0-rc1 breaking changes

prettier 1.0.0-rc1, released December 11, 2020: 6 breaking changes.

- **Renamed** `addTrailingCommas`  

Update configuration that sets addTrailingCommas to use trailingComma instead; "es5" now means true. [github.com](https://github.com/prettier/plugin-ruby/blob/v1.0.0/CHANGELOG.md)
- **Renamed** `inlineConditionals`  

Update configuration that sets inlineConditionals to use rubyModifier instead. [github.com](https://github.com/prettier/plugin-ruby/blob/v1.0.0/CHANGELOG.md)
- **Renamed** `inlineLoops`  

Update configuration that sets inlineLoops to use rubyModifier instead. [github.com](https://github.com/prettier/plugin-ruby/blob/v1.0.0/CHANGELOG.md)
- **Renamed** `preferHashLabels`  

Update configuration that sets preferHashLabels to use rubyHashLabel instead. [github.com](https://github.com/prettier/plugin-ruby/blob/v1.0.0/CHANGELOG.md)
- **Renamed** `preferSingleQuotes`  

Update configuration that sets preferSingleQuotes to use rubySingleQuote instead. [github.com](https://github.com/prettier/plugin-ruby/blob/v1.0.0/CHANGELOG.md)
- **Renamed** `toProcTransform`  

Update configuration that sets toProcTransform to use rubyToProc instead. [github.com](https://github.com/prettier/plugin-ruby/blob/v1.0.0/CHANGELOG.md)

## Older versions

5 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### prettier 0.22.0 breaking changes

prettier 0.22.0, released December 8, 2020: 2 breaking changes.

- **Behavior changed**  

The way comments are handled during formatting was rewritten, so comment placement in formatted output may change. [github.com](https://github.com/prettier/plugin-ruby/blob/v0.22.0/CHANGELOG.md)
- **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](https://github.com/prettier/plugin-ruby/blob/v0.22.0/CHANGELOG.md)

### prettier 0.21.0 breaking changes

prettier 0.21.0, released December 2, 2020: 2 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](https://github.com/prettier/plugin-ruby/blob/v0.21.0/CHANGELOG.md)
- **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](https://github.com/prettier/plugin-ruby/blob/v0.21.0/CHANGELOG.md)

### prettier 0.20.0 breaking changes

prettier 0.20.0, released August 28, 2020: 1 breaking change.

- **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](https://github.com/prettier/plugin-ruby/blob/v0.20.0/CHANGELOG.md)

### prettier 0.18.0 breaking changes

prettier 0.18.0, released March 17, 2020: 5 breaking changes.

- **Behavior changed**  

Bodies of singleton method definitions are re-indented by the formatter, so output for existing code changes. [github.com](https://github.com/prettier/plugin-ruby/blob/v0.18.0/CHANGELOG.md)
- **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](https://github.com/prettier/plugin-ruby/blob/v0.18.0/CHANGELOG.md)

And 3 more in this version.

### prettier 0.14.0 breaking changes

prettier 0.14.0, released July 17, 2019: 2 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](https://github.com/prettier/plugin-ruby/blob/v0.14.0/CHANGELOG.md)
- **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](https://github.com/prettier/plugin-ruby/blob/v0.14.0/CHANGELOG.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
