---
title: "dockerfmt 1.0.0 Breaking Changes on Homebrew | Since.dev"
description: "What each dockerfmt release removed, renamed or changed: 21 breaking changes in 2 versions on Homebrew, each with its source."
canonical_url: https://since.dev/packages/homebrew/dockerfmt
last_updated: 2026-12-04
---

# dockerfmt breaking changes

dockerfmt 1.0.0 is its newest release with breaking changes, 19 of them. The first: dockerfmt 1.0.0 requires Node.js 20 or later. Every breaking API change we have recorded in dockerfmt on Homebrew: 21 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `1.0.0`. MIT license. [Source repository](https://github.com/reteps/dockerfmt)

Its 1.0.0 release requires [Node.js 20](https://since.dev/calendar/nodejs/20.md) or later. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [0.6.0](#v-0-6-0) to [1.0.0](#v-1-0-0): 19 breaking changes in 1 version.

## dockerfmt 1.0.0 breaking changes

dockerfmt 1.0.0: 19 breaking changes.

- **Removed**  

The npm package now requires Node.js 20 or later. [github.com](https://github.com/reteps/dockerfmt/releases/tag/v1.0.0)
- **Removed** `lib.BuildExtendedNode`  

The Go lib package now exposes only Format, Config and the indent size constants. [github.com](https://github.com/reteps/dockerfmt/releases/tag/v1.0.0)
- **Removed** `lib.ExtendedNode`  

The Go lib package now exposes only Format, Config and the indent size constants. [github.com](https://github.com/reteps/dockerfmt/releases/tag/v1.0.0)
- **Removed** `lib.FormatComments`  

The Go lib package now exposes only Format, Config and the indent size constants. [github.com](https://github.com/reteps/dockerfmt/releases/tag/v1.0.0)
- **Removed** `lib.FormatFileLines`  

The Go lib package now exposes only Format, Config and the indent size constants. [github.com](https://github.com/reteps/dockerfmt/releases/tag/v1.0.0)
- **Removed** `lib.FormatNode`  

The Go lib package now exposes only Format, Config and the indent size constants. [github.com](https://github.com/reteps/dockerfmt/releases/tag/v1.0.0)
- **Removed** `lib.FormatOnBuild`  

The Go lib package now exposes only Format, Config and the indent size constants. [github.com](https://github.com/reteps/dockerfmt/releases/tag/v1.0.0)
- **Removed** `lib.GetFileLines`  

The Go lib package now exposes only Format, Config and the indent size constants. [github.com](https://github.com/reteps/dockerfmt/releases/tag/v1.0.0)
- **Removed** `lib.GetHeredoc`  

The Go lib package now exposes only Format, Config and the indent size constants. [github.com](https://github.com/reteps/dockerfmt/releases/tag/v1.0.0)
- **Removed** `lib.IndentFollowingLines`  

The Go lib package now exposes only Format, Config and the indent size constants. [github.com](https://github.com/reteps/dockerfmt/releases/tag/v1.0.0)
- **Removed** `lib.ParseState`  

The Go lib package now exposes only Format, Config and the indent size constants. [github.com](https://github.com/reteps/dockerfmt/releases/tag/v1.0.0)
- **Removed** `lib.StripWhitespace`  

The Go lib package now exposes only Format, Config and the indent size constants. [github.com](https://github.com/reteps/dockerfmt/releases/tag/v1.0.0)
- **Behavior changed**  

Help is printed only when no files are given and stdin is a terminal; empty piped input is now an error. [github.com](https://github.com/reteps/dockerfmt/releases/tag/v1.0.0)
- **Behavior changed** `--indent`  

Values outside 1 to 16 are now rejected. [github.com](https://github.com/reteps/dockerfmt/releases/tag/v1.0.0)
- **Behavior changed** `--write`  

Using --write together with --check or --diff is no longer allowed. [github.com](https://github.com/reteps/dockerfmt/releases/tag/v1.0.0)
- **Behavior changed** `lib.Format`  

Format now returns an error on failure rather than exiting the process, so callers must handle the returned error. [github.com](https://github.com/reteps/dockerfmt/releases/tag/v1.0.0)
- **Default changed** `--space-redirects`  

Redirects are written as "> file" by default; pass --space-redirects=false to turn this off. [github.com](https://github.com/reteps/dockerfmt/releases/tag/v1.0.0)
- **Default changed** `trailingNewline`  

Without --newline or EditorConfig insert_final_newline, output now ends with a newline if the input does. Use --newline=false or trailingNewline: false to remove it. [github.com](https://github.com/reteps/dockerfmt/releases/tag/v1.0.0)
- **Configuration changed** `indent_size`  

With indent_size = tab, the width is now read from tab_width; property names are case-insensitive. [github.com](https://github.com/reteps/dockerfmt/releases/tag/v1.0.0)

## dockerfmt 0.6.0 breaking changes

dockerfmt 0.6.0: 2 breaking changes.

- **Behavior changed**  

Files that are not UTF-8, such as UTF-16 written by PowerShell's redirect, now fail with an error and a non-zero exit code. Previously they produced an empty output file with exit code 0, so scripts that relied on that must handle the... [github.com](https://github.com/reteps/dockerfmt/releases/tag/v0.6.0)
- **Behavior changed**  

When formatting invalid input from JavaScript, the call now rejects with an Error object. Code that handled the previous failure differently needs to be updated. [github.com](https://github.com/reteps/dockerfmt/releases/tag/v0.6.0)

## 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.
