---
title: "yaml Breaking Changes on npm | Since.dev"
description: "What each yaml release removed, renamed or changed: 15 breaking changes in 2 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/yaml
last_updated: 2026-03-21
---

# yaml breaking changes

Every breaking API change we have recorded in yaml on npm: 15 breaking changes in 2 versions. Below are its newest 2 versions, removals and renames first, each with its source.

Newest change March 21, 2026

## 2.8.3

8 breaking changes, first published March 21, 2026.

- **Removed** `Alias.__@NODE_TYPE@5236991`  

Alias.\_\_@NODE_TYPE@5236991 was removed in yaml 2.8.3 [npmjs.com](https://www.npmjs.com/package/yaml/v/2.8.3)
- **Removed** `Pair.__@NODE_TYPE@5236991`  

Pair.\_\_@NODE_TYPE@5236991 was removed in yaml 2.8.3 [npmjs.com](https://www.npmjs.com/package/yaml/v/2.8.3)
- **Removed** `Schema.__@MAP@5237127`  

Schema.\_\_@MAP@5237127 was removed in yaml 2.8.3 [npmjs.com](https://www.npmjs.com/package/yaml/v/2.8.3)
- **Removed** `Schema.__@SCALAR@5237130`  

Schema.\_\_@SCALAR@5237130 was removed in yaml 2.8.3 [npmjs.com](https://www.npmjs.com/package/yaml/v/2.8.3)
- **Removed** `Schema.__@SEQ@5237133`  

Schema.\_\_@SEQ@5237133 was removed in yaml 2.8.3 [npmjs.com](https://www.npmjs.com/package/yaml/v/2.8.3)
- **Removed** `YAMLMap.__@NODE_TYPE@5236991`  

YAMLMap.\_\_@NODE_TYPE@5236991 was removed in yaml 2.8.3 [npmjs.com](https://www.npmjs.com/package/yaml/v/2.8.3)
- **Signature changed** `ErrorCode`  

Was type ErrorCode = 'ALIAS_PROPS' | 'BAD_ALIAS' | 'BAD_DIRECTIVE' | 'BAD_DQ_ESCAPE' | 'BAD_INDENT' | 'BAD_PROP_ORDER' | 'BAD_SCALAR_START' | 'BLOCK_AS_IMPLICIT_KEY' | 'BLOCK_IN_FLOW' | 'DUPLICATE_KEY' | 'IMPOSSIBLE' |... [npmjs.com](https://www.npmjs.com/package/yaml/v/2.8.3)
- **Signature changed** `ToStringOptions`  

Was type ToStringOptions = {blockQuote?: boolean | 'folded' | 'literal'; collectionStyle?: 'any' | 'block' | 'flow'; commentString?: (comment: string) => string; defaultKeyType?: Scalar.Type | null; defaultStringType?: Scalar.Type... [npmjs.com](https://www.npmjs.com/package/yaml/v/2.8.3)

## 2.8.2

7 breaking changes, first published November 30, 2025.

- **Removed** `Alias.__@NODE_TYPE@5234745`  

Alias.\_\_@NODE_TYPE@5234745 was removed in yaml 2.8.2 [npmjs.com](https://www.npmjs.com/package/yaml/v/2.8.2)
- **Removed** `Pair.__@NODE_TYPE@5234745`  

Pair.\_\_@NODE_TYPE@5234745 was removed in yaml 2.8.2 [npmjs.com](https://www.npmjs.com/package/yaml/v/2.8.2)
- **Removed** `Schema.__@MAP@5234881`  

Schema.\_\_@MAP@5234881 was removed in yaml 2.8.2 [npmjs.com](https://www.npmjs.com/package/yaml/v/2.8.2)
- **Removed** `Schema.__@SCALAR@5234884`  

Schema.\_\_@SCALAR@5234884 was removed in yaml 2.8.2 [npmjs.com](https://www.npmjs.com/package/yaml/v/2.8.2)
- **Removed** `Schema.__@SEQ@5234887`  

Schema.\_\_@SEQ@5234887 was removed in yaml 2.8.2 [npmjs.com](https://www.npmjs.com/package/yaml/v/2.8.2)
- **Removed** `YAMLMap.__@NODE_TYPE@5234745`  

YAMLMap.\_\_@NODE_TYPE@5234745 was removed in yaml 2.8.2 [npmjs.com](https://www.npmjs.com/package/yaml/v/2.8.2)
- **Behavior changed**  

Negative zero is now written as -0 instead of 0, and empty map values no longer produce doubled newlines in the output. [github.com](https://github.com/eemeli/yaml/releases/tag/v2.8.2)

## 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, not only the newest. On Team and up, a fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous management.

Scan a public repository now, or give your agent one line.

### See how out of date your code is.

[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`

---

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