pyyaml breaking changes
pyyaml 6.0.4 (November 20, 2026) is its newest release with breaking changes. The first: PyYAML 6.0.4 drops support for Python 3.8 and 3.9. Every breaking API change we have recorded in pyyaml on PyPI: 19 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 6.0.4, released November 20, 2026. Source repository
Its 6.0.4 release drops Python 3.8 and 3.9. Python end of life dates.
pyyaml 6.0.4 breaking changes
- Removed
Python 3.8 and 3.9 are no longer supported. Users on those versions should stay on PyYAML 6.0.3 or upgrade their Python. github.com
pyyaml 6.0 breaking changes
- Removed
yaml.load_warning
yaml.load_warning was removed in PyYAML 6.0 pypi.org - Removed
yaml.YAMLLoadWarning
yaml.YAMLLoadWarning was removed in PyYAML 6.0 pypi.org - Signature changed
yaml.load
Was def load(stream, Loader=None); now def load(stream, Loader). pypi.org - Signature changed
yaml.load_all
Was def load_all(stream, Loader=None); now def load_all(stream, Loader). pypi.org
pyyaml 5.1 breaking changes
- Removed
Python 2.6 and 3.3 are no longer supported. Stop using them with this release. github.com - Removed
Python 3.3 is no longer supported. Stop using Python 3.3 with this release. github.com - Default changed
default_flow_style
The default value of default_flow_style is now False, so dumped output uses block style unless you set it. github.com - Signature changed
yaml.BaseDumper.__init__
Was def __init__(self, stream, default_style=None, default_flow_style=None, canonical=None, indent=None, width=None, allow_unicode=None, line_break=None, encoding=None, explicit_start=None, explicit_end=None, version=None, tags=None); now... pypi.org - Signature changed
yaml.CBaseDumper.__init__
Was def __init__(self, stream, default_style=None, default_flow_style=None, canonical=None, indent=None, width=None, allow_unicode=None, line_break=None, encoding=None, explicit_start=None, explicit_end=None, version=None, tags=None); now... pypi.org - Signature changed
yaml.CDumper.__init__
Was def __init__(self, stream, default_style=None, default_flow_style=None, canonical=None, indent=None, width=None, allow_unicode=None, line_break=None, encoding=None, explicit_start=None, explicit_end=None, version=None, tags=None); now... pypi.org - Signature changed
yaml.constructor.Constructor
Was class Constructor(SafeConstructor); now class Constructor(UnsafeConstructor). pypi.org - Signature changed
yaml.CSafeDumper.__init__
Was def __init__(self, stream, default_style=None, default_flow_style=None, canonical=None, indent=None, width=None, allow_unicode=None, line_break=None, encoding=None, explicit_start=None, explicit_end=None, version=None, tags=None); now... pypi.org - Signature changed
yaml.dump_all
Was def dump_all(documents, stream=None, Dumper=Dumper, default_style=None, default_flow_style=None, canonical=None, indent=None, width=None, allow_unicode=None, line_break=None, encoding=None, explicit_start=None, explicit_end=None... pypi.org - Signature changed
yaml.Dumper.__init__
Was def __init__(self, stream, default_style=None, default_flow_style=None, canonical=None, indent=None, width=None, allow_unicode=None, line_break=None, encoding=None, explicit_start=None, explicit_end=None, version=None, tags=None); now... pypi.org
And 4 more in this version. Sign up to see every change
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.