---
title: "yaml 0.4.0 Breaking Changes on Hex | Since.dev"
description: "What each yaml release removed, renamed or changed: 9 breaking changes in 2 versions on Hex, each with its source."
canonical_url: https://since.dev/packages/hex/yaml
last_updated: 2026-12-04
---

# yaml breaking changes

yaml 0.4.0 (December 1, 2026) is its newest release with breaking changes, 8 of them. The first: yaml 0.4.0 requires Elixir 1.16 or later. Every breaking API change we have recorded in yaml on Hex: 9 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 `0.5.1`, released December 5, 2026. MIT license. [Source repository](https://github.com/sruplex/yaml-elixir)

Its 0.4.0 release requires Elixir 1.16 or later. [Elixir end of life dates](https://since.dev/calendar/elixir.md).

- From [0.3.0](#v-0-3-0) to [0.4.0](#v-0-4-0): 8 breaking changes in 1 version.

## yaml 0.4.0 breaking changes

yaml 0.4.0, released December 1, 2026: 8 breaking changes.

- **Removed**  

The package now requires Elixir 1.16 or later. On Elixir 1.14 or 1.15, stay on the 0.3.x release. [github.com](https://github.com/sruplex/yaml-elixir/blob/v0.4.0/CHANGELOG.md)
- **Renamed** `:yamerl_opts`  

Change yamerl_opts: \[schema: :yaml11\] to schema: :yaml11. [github.com](https://github.com/sruplex/yaml-elixir/blob/v0.4.0/CHANGELOG.md)
- **Behavior changed**  

Code that matches on parse error message text may need updating. [github.com](https://github.com/sruplex/yaml-elixir/blob/v0.4.0/CHANGELOG.md)
- **Behavior changed**  

Decoding now uses a Rust parser instead of yamerl. Code that depends on yamerl behavior may see different results. [github.com](https://github.com/sruplex/yaml-elixir/blob/v0.4.0/CHANGELOG.md)
- **Behavior changed**  

Input that is UTF-16 or UTF-32 is no longer accepted. Convert input to UTF-8 first. [github.com](https://github.com/sruplex/yaml-elixir/blob/v0.4.0/CHANGELOG.md)
- **Behavior changed** `YAML.decode_stream`  

Long documents are yielded in pieces of about 256 KB instead of whole. To get a whole document, use YAML.decode/2 or YAML.decode_file/2. [github.com](https://github.com/sruplex/yaml-elixir/blob/v0.4.0/CHANGELOG.md)
- **Signature changed** `YAML.Parser.parse`  

Pass a schema atom such as :yaml11 instead of a keyword list of yamerl options. [github.com](https://github.com/sruplex/yaml-elixir/blob/v0.4.0/CHANGELOG.md)
- **Signature changed** `YAML.Parser.parse!`  

Pass a schema atom such as :yaml11 instead of a keyword list of yamerl options. [github.com](https://github.com/sruplex/yaml-elixir/blob/v0.4.0/CHANGELOG.md)

## yaml 0.3.0 breaking changes

yaml 0.3.0, released November 14, 2026: 1 breaking change.

- **Signature changed** `YAML.decode.2`  

YAML.decode/2 now returns the document directly, and nil for empty input. Code matching {:ok, \[doc\]} must match {:ok, doc} instead. [github.com](https://github.com/sruplex/yaml-elixir/releases/tag/v0.3.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.
