---
title: "@herb-tools/formatter 0.11.2 Breaking Changes on npm"
description: "What each @herb-tools/formatter release removed, renamed or changed: 8 breaking changes in 3 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@herb-tools/formatter
last_updated: 2026-12-04
---

# @herb-tools/formatter breaking changes

@herb-tools/formatter 0.11.2 (November 6, 2026) is its newest release with breaking changes. The first: Default changed ruby_version. Every breaking API change we have recorded in @herb-tools/formatter on npm: 8 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.11.3`, released December 2, 2026. [Source repository](https://github.com/marcoroth/herb)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [0.11.0](#v-0-11-0) to [0.11.2](#v-0-11-2): 2 breaking changes in 2 versions.

## @herb-tools/formatter 0.11.2 breaking changes

@herb-tools/formatter 0.11.2, released November 6, 2026: 1 breaking change.

- **Default changed** `ruby_version`  

The default ruby_version changed to 4.0, so code relying on the previous default may parse differently. Set ruby_version explicitly to keep the old syntax. [github.com](https://github.com/marcoroth/herb/releases/tag/v0.11.2)

## @herb-tools/formatter 0.11.1 breaking changes

@herb-tools/formatter 0.11.1, released October 20, 2026: 1 breaking change.

- **Behavior changed** `data-herb-set`  

The erb and html linter rule that checks data-herb-set now rejects comma-separated action lists. Code using comma action lists in data-herb-set must switch to a supported form. [github.com](https://github.com/marcoroth/herb/releases/tag/v0.11.1)

## @herb-tools/formatter 0.11.0 breaking changes

@herb-tools/formatter 0.11.0, released September 24, 2026: 6 breaking changes.

- **Behavior changed**  

The formatter wraps attributes based on maxLineLength alone, so formatted output for existing templates may change. [github.com](https://github.com/marcoroth/herb/releases/tag/v0.11.0)
- **Behavior changed**  

The formatter no longer inserts a blank line before a trailing comment, so formatted output for existing templates may change. [github.com](https://github.com/marcoroth/herb/releases/tag/v0.11.0)
- **Behavior changed**  

The formatter preserves newlines the user wrote around inline elements, so formatted output for existing templates may change. [github.com](https://github.com/marcoroth/herb/releases/tag/v0.11.0)
- **Signature changed** `FormatPrinter.renderERBAsString`  

Was renderERBAsString(node: ERBContentNode): string; now renderERBAsString(node: ERBContentNode | ERBCommentNode): string. [npmjs.com](https://www.npmjs.com/package/@herb-tools/formatter/v/0.11.0)
- **Signature changed** `FormatPrinter.visitERBBlockNode`  

Was visitERBBlockNode(node: ERBBlockNode): void; now visitERBBlockNode(node: ERBBlockNode | ERBIterationBlockNode): void. [npmjs.com](https://www.npmjs.com/package/@herb-tools/formatter/v/0.11.0)
- **Signature changed** `FormatPrinter.visitERBCommentNode`  

Was visitERBCommentNode(node: ERBContentNode): void; now visitERBCommentNode(node: ERBCommentNode | ERBContentNode): void. [npmjs.com](https://www.npmjs.com/package/@herb-tools/formatter/v/0.11.0)

## Related packages

- [@herb-tools/linter](https://since.dev/packages/npm/@herb-tools/linter.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.
