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
On this page
Latest version 5.5.1, released November 30, 2026. Source repository
Packages on RubyGems run on Ruby. Ruby end of life dates.
- From 4.0.0 to 5.0.0: 2 breaking changes in 1 version.
- From 3.0.0 to 5.0.0: 4 breaking changes in 3 versions.
psych 5.0.0 breaking changes
- Removed
The gem no longer bundles libyaml, so installs that compile from source need a system libyaml available. github.com - 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
psych 4.0.0 breaking changes
- 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
psych 3.0.2 breaking changes
- Signature changed
Psych.safe_load
Passing fallback as a positional argument no longer works; pass it as a keyword argument instead. github.com
psych 3.0.0 breaking changes
- Removed
Deprecated method aliases kept for the syck gem were removed; code relying on them will fail. github.com - Behavior changed
Times loaded from YAML keep their time zone offset instead of being normalized, which can change returned values. github.com - Behavior changed
Strings produced by Psych's code are frozen, so code that mutates them will raise an error. github.com
psych 3.0.0.beta4 breaking changes
- Behavior changed
YAML output for strings containing only single quotes is now double quoted, changing dumped text. github.com
psych 3.0.0.beta2 breaking changes
- Removed
Deprecated methods were removed from Psych; code calling them must stop using them. github.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.