ansible-core breaking changes
ansible-core 2.22.0 (November 2, 2026) is its newest release with breaking changes, 18 of them. The first: Removed ansible.cli.pull.run_cmd. Every breaking API change we have recorded in ansible-core on PyPI: 21 breaking changes in 4 versions. Below, its 4 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 2.22.1, released November 30, 2026. Source repository
Packages on PyPI run on Python. Python end of life dates.
ansible-core 2.22.0 breaking changes
- Removed
ansible.cli.pull.run_cmd
ansible.cli.pull.run_cmd was removed in ansible-core 2.22.0 pypi.org - Removed
ansible.cli.pull.safe_output_env
ansible.cli.pull.safe_output_env was removed in ansible-core 2.22.0 pypi.org - Removed
ansible.cli.pull.SAFE_OUTPUT_ENV
ansible.cli.pull.SAFE_OUTPUT_ENV was removed in ansible-core 2.22.0 pypi.org - Removed
ansible.module_utils.urls.set_multipart_encoding
ansible.module_utils.urls.set_multipart_encoding was removed in ansible-core 2.22.0 pypi.org - Removed
ansible.modules.uri.NO_MODIFY_KEYS
ansible.modules.uri.NO_MODIFY_KEYS was removed in ansible-core 2.22.0 pypi.org - Removed
ansible.modules.uri.prepare_multipart
ansible.modules.uri.prepare_multipart was removed in ansible-core 2.22.0 pypi.org - Removed
ansible.modules.uri.sanitize_keys
ansible.modules.uri.sanitize_keys was removed in ansible-core 2.22.0 pypi.org - Removed
ansible.plugins.action.fetch.AnsibleActionSkip
ansible.plugins.action.fetch.AnsibleActionSkip was removed in ansible-core 2.22.0 pypi.org - Signature changed
ansible.cli.doc.get_docstring
Was def get_docstring(filename, fragment_loader, verbose=False, ignore_errors=False, collection_name=None, is_module=None, plugin_type=None); now def get_docstring(filename, fragment_loader, verbose=False, ignore_errors=False... pypi.org - Signature changed
ansible.executor.process.worker.WorkerProcess.__init__
Was def __init__(self, *, final_q: FinalQueue, task_vars: dict, host: Host, task: Task, play_context: PlayContext, loader: DataLoader, variable_manager: VariableManager, shared_loader_obj: types.SimpleNamespace, worker_id: int, cliargs... pypi.org - Signature changed
ansible.galaxy.collection.FilesManifestType
Was FilesManifestType; now class FilesManifestType(t.TypedDict). pypi.org - Signature changed
ansible.module_utils.common.collections.ImmutableDict
Was class ImmutableDict(Hashable, Mapping); now class ImmutableDict(_c.Hashable, _c.Mapping[_KT, _VT], _t.Generic[_KT, _VT]). pypi.org - Signature changed
ansible.module_utils.common.network.is_mac
Was def is_mac(mac_address); now def is_mac(mac_address, *, strict=False). pypi.org - Signature changed
ansible.modules.git.switch_version
Was def switch_version(git_path, module, dest, remote, version, verify_commit, depth, gpg_allowlist); now def switch_version(git_path, module, dest, remote, version, verify_commit, depth, gpg_allowlist, force=False). pypi.org - Signature changed
ansible.plugins.filter.core.subelements
Was def subelements(obj, subelements, skip_missing=False); now def subelements(obj, subelement_obj, skip_missing=False). pypi.org - Signature changed
ansible.utils.cmd_functions.run_cmd
Was def run_cmd(cmd, live=False, readsize=10); now def run_cmd(cmd, live=Sentinel, readsize=10). pypi.org - Signature changed
ansible.utils.context_objects.ImmutableDict
Was class ImmutableDict(Hashable, Mapping); now class ImmutableDict(_c.Hashable, _c.Mapping[_KT, _VT], _t.Generic[_KT, _VT]). pypi.org - Signature changed
ansible.utils.plugin_docs.get_docstring
Was def get_docstring(filename, fragment_loader, verbose=False, ignore_errors=False, collection_name=None, is_module=None, plugin_type=None); now def get_docstring(filename, fragment_loader, verbose=False, ignore_errors=False... pypi.org
ansible-core 2.21.5 breaking changes
- Removed
ansible.cli.scripts.ansible_connection_cli_stub.makedirs_safe
ansible.cli.scripts.ansible_connection_cli_stub.makedirs_safe was removed in ansible-core 2.21.5 pypi.org
ansible-core 2.21.4 breaking changes
- Removed
ansible.plugins.lookup.url.to_native
ansible.plugins.lookup.url.to_native was removed in ansible-core 2.21.4 pypi.org
ansible-core 2.21.3 breaking changes
- Signature changed
ansible.plugins.callback.oneline.CallbackModule.__init__
Was def __init__(self, *args, **kwargs); now def __init__(self, display: Display | None = None, options: dict[str, t.Any] | None = None) -> None. pypi.org
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.