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

# psych breaking changes

psych 5.0.0 (December 5, 2022) is its newest release with breaking changes, 2 of them. The first: Bundled libyaml source is removed from the gem in psych 5.0.0. Every breaking API change we have recorded in psych on RubyGems: 9 breaking changes in 6 versions. Below, its 6 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `5.5.1`, released November 30, 2026. [Source repository](https://github.com/ruby/psych)

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

- From [4.0.0](#v-4-0-0) to [5.0.0](#v-5-0-0): 2 breaking changes in 1 version.
- From [3.0.0](#v-3-0-0) to [5.0.0](#v-5-0-0): 4 breaking changes in 3 versions.

## psych 5.0.0 breaking changes

psych 5.0.0, released December 5, 2022: 2 breaking changes.

- **Removed**  

The gem no longer bundles libyaml, so installs that compile from source need a system libyaml available. [github.com](https://github.com/ruby/psych/releases/tag/v5.0.0)
- **Behavior changed** `Psych.load`  

Psych.load is no longer an alias of unsafe_load, so its behavior differs. Code that needs the unsafe behavior must call unsafe_load explicitly. [github.com](https://github.com/ruby/psych/releases/tag/v5.0.0)

## psych 4.0.0 breaking changes

psych 4.0.0, released May 13, 2021: 1 breaking change.

- **Behavior changed** `Psych.load`  

The release makes safe loading the default, so code that relied on loading arbitrary objects through the default loader may now fail and must opt in to the unsafe behavior explicitly. [github.com](https://github.com/ruby/psych/releases/tag/v4.0.0)

## psych 3.0.2 breaking changes

psych 3.0.2, released December 19, 2017: 1 breaking change.

- **Signature changed** `Psych.safe_load`  

Passing fallback as a positional argument no longer works; pass it as a keyword argument instead. [github.com](https://github.com/ruby/psych/releases/tag/v3.0.2)

## psych 3.0.0 breaking changes

psych 3.0.0, released December 19, 2017: 3 breaking changes.

- **Removed**  

Deprecated method aliases kept for the syck gem were removed; code relying on them will fail. [github.com](https://github.com/ruby/psych/releases/tag/v3.0.0)
- **Behavior changed**  

Times loaded from YAML keep their time zone offset instead of being normalized, which can change returned values. [github.com](https://github.com/ruby/psych/releases/tag/v3.0.0)
- **Behavior changed**  

Strings produced by Psych's code are frozen, so code that mutates them will raise an error. [github.com](https://github.com/ruby/psych/releases/tag/v3.0.0)

## psych 3.0.0.beta4 breaking changes

psych 3.0.0.beta4, released December 19, 2017: 1 breaking change.

- **Behavior changed**  

YAML output for strings containing only single quotes is now double quoted, changing dumped text. [github.com](https://github.com/ruby/psych/releases/tag/v3.0.0.beta4)

## psych 3.0.0.beta2 breaking changes

psych 3.0.0.beta2, released December 19, 2017: 1 breaking change.

- **Removed**  

Deprecated methods were removed from Psych; code calling them must stop using them. [github.com](https://github.com/ruby/psych/releases/tag/v3.0.0.beta2)

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