jsonargparse breaking changes
jsonargparse 4.0.0 (November 16, 2021) is its newest release with breaking changes, 27 of them. The first: jsonargparse 4.0.0 drops support for Python 3.5. Every breaking API change we have recorded in jsonargparse on PyPI: 51 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
On this page
Latest version 4.53.0, released October 23, 2026.
Its 4.0.0 release drops Python 3.5. Python end of life dates.
jsonargparse 4.0.0 breaking changes
- Removed
Python 3.5 is no longer supported; users on Python 3.5 must stay on an earlier release or upgrade Python. github.com - Behavior changed
Deprecations are now emitted as JsonargparseDeprecationWarning, so code filtering warning categories may need updating. github.com - Behavior changed
Parsed values from ActionJsonSchema and ActionJsonnet are dict instead of Namespace; code relying on Namespace attributes must adapt. github.com - Signature changed
jsonargparse.ActionConfigFile.__call__
Was def __call__(self, parser, namespace, values, option_string=None); now def __call__(self, parser, cfg, values, option_string=None). pypi.org - Signature changed
jsonargparse.ActionJsonnet.parse
Was def parse(self, jsonnet: Union[str, Path], ext_vars: Union[Dict[str, Any], Namespace] = None, with_meta: bool = False) -> Namespace; now def parse(self, jsonnet: Union[str, Path], ext_vars: Optional[Dict[str, Any]] = None, with_meta... pypi.org - Signature changed
jsonargparse.ActionJsonnet.split_ext_vars
Was @staticmethod def split_ext_vars(ext_vars: Optional[Union[Dict[str, Any], Namespace]]) -> Tuple[Dict[str, Any], Dict[str, Any]]; now @staticmethod def split_ext_vars(ext_vars: Optional[Dict[str, Any]]) -> Tuple[Dict[str, Any]... pypi.org - Signature changed
jsonargparse.ActionParser.__init__
Was def __init__(self, parser: argparse.ArgumentParser = None); now def __init__(self, parser: ArgumentParser = None). pypi.org - Signature changed
jsonargparse.ArgumentParser.__init__
Was def __init__(self, *args, env_prefix: str = None, error_handler: Optional[Callable[[Type, str], None]] = usage_and_exit_error_handler, formatter_class: Type[argparse.HelpFormatter] = DefaultHelpFormatter, logger: Union[bool, Dict[str... pypi.org - Signature changed
jsonargparse.ArgumentParser.add_subcommands
Was def add_subcommands(self, required: bool = True, dest: str = 'subcommand', **kwargs) -> Action; now def add_subcommands(self, required: bool = True, dest: str = 'subcommand', **kwargs) -> _ActionSubCommands. pypi.org - Signature changed
jsonargparse.ArgumentParser.check_config
Was def check_config(self, cfg: Union[Namespace, Dict[str, Any]], skip_none: bool = True, skip_required: bool = False, branch: str = None); now def check_config(self, cfg: Namespace, skip_none: bool = True, skip_required: bool = False... pypi.org - Signature changed
jsonargparse.ArgumentParser.dump
Was def dump(self, cfg: Union[Namespace, Dict[str, Any]], format: str = 'parser_mode', skip_none: bool = True, skip_check: bool = False, yaml_comments: bool = False) -> str; now def dump(self, cfg: Namespace, format: str = 'parser_mode'... pypi.org - Signature changed
jsonargparse.ArgumentParser.get_config_files
Was def get_config_files(self, cfg: Union[Namespace, Dict[str, Any]]) -> List[str]; now def get_config_files(self, cfg: Namespace) -> List[str]. pypi.org - Signature changed
jsonargparse.ArgumentParser.get_defaults
Was def get_defaults(self, nested: bool = True, skip_check: bool = False) -> Namespace; now def get_defaults(self, skip_check: bool = False) -> Namespace. pypi.org - Signature changed
jsonargparse.ArgumentParser.instantiate_classes
Was def instantiate_classes(self, cfg: Union[Namespace, Dict[str, Any]], instantiate_groups: bool = True) -> Dict[str, Any]; now def instantiate_classes(self, cfg: Namespace, instantiate_groups: bool = True) -> Namespace. pypi.org - Signature changed
jsonargparse.ArgumentParser.parse_args
Was def parse_args(self, args: List[str] = None, namespace: Namespace = None, env: bool = None, defaults: bool = True, nested: bool = True, with_meta: bool = None, _skip_check: bool = False) -> Union[Namespace, Dict[str, Any]]; now def... pypi.org - Signature changed
jsonargparse.ArgumentParser.parse_env
Was def parse_env(self, env: Dict[str, str] = None, defaults: bool = True, nested: bool = True, with_meta: bool = None, _skip_check: bool = False, _skip_subcommands: bool = False) -> Union[Namespace, Dict[str, Any]]; now def... pypi.org - Signature changed
jsonargparse.ArgumentParser.parse_object
Was def parse_object(self, cfg_obj: Dict[str, Any], cfg_base=None, env: bool = None, defaults: bool = True, nested: bool = True, with_meta: bool = None, _skip_check: bool = False, _skip_required: bool = False) -> Union[Namespace, Dict[str... pypi.org - Signature changed
jsonargparse.ArgumentParser.parse_path
Was def parse_path(self, cfg_path: str, ext_vars: dict = None, env: bool = None, defaults: bool = True, nested: bool = True, with_meta: bool = None, _skip_check: bool = False, _fail_no_subcommand: bool = True, _base=None) ->... pypi.org - Signature changed
jsonargparse.ArgumentParser.parse_string
Was def parse_string(self, cfg_str: str, cfg_path: str = '', ext_vars: dict = None, env: bool = None, defaults: bool = True, nested: bool = True, with_meta: bool = None, _skip_check: bool = False, _fail_no_subcommand: bool = True) ->... pypi.org - Signature changed
jsonargparse.ArgumentParser.save
Was def save(self, cfg: Union[Namespace, Dict[str, Any]], path: str, format: str = 'parser_mode', skip_none: bool = True, skip_check: bool = False, overwrite: bool = False, multifile: bool = True, branch: str = None); now def save(self... pypi.org - Signature changed
jsonargparse.ArgumentParser.strip_unknown
Was def strip_unknown(self, cfg: Union[Namespace, Dict[str, Any]]) -> Namespace; now def strip_unknown(self, cfg: Namespace) -> Namespace. pypi.org - Signature changed
jsonargparse.DefaultHelpFormatter.set_yaml_argument_comment
Was def set_yaml_argument_comment(self, text: str, cfg: ruyaml.comments.CommentedMap, key: str, depth: int); now def set_yaml_argument_comment(self, text: str, cfg: ruyamlCommentedMap, key: str, depth: int). pypi.org - Signature changed
jsonargparse.DefaultHelpFormatter.set_yaml_group_comment
Was def set_yaml_group_comment(self, text: str, cfg: ruyaml.comments.CommentedMap, key: str, depth: int); now def set_yaml_group_comment(self, text: str, cfg: ruyamlCommentedMap, key: str, depth: int). pypi.org - Signature changed
jsonargparse.DefaultHelpFormatter.set_yaml_start_comment
Was def set_yaml_start_comment(self, text: str, cfg: ruyaml.comments.CommentedMap); now def set_yaml_start_comment(self, text: str, cfg: ruyamlCommentedMap). pypi.org - Signature changed
jsonargparse.namespace_to_dict
Was def namespace_to_dict(cfg_ns: Namespace) -> Dict[str, Any]; now def namespace_to_dict(namespace: Namespace) -> Dict[str, Any]. pypi.org - Signature changed
jsonargparse.strip_meta
Was def strip_meta(cfg: Union[Namespace, Dict[str, Any]]) -> Dict[str, Any]; now def strip_meta(cfg). pypi.org - Signature changed
jsonargparse.usage_and_exit_error_handler
Was def usage_and_exit_error_handler(self, message: str); now def usage_and_exit_error_handler(parser: ArgumentParser, message: str) -> None. pypi.org
jsonargparse 3.0.0 breaking changes
- Renamed
SimpleNamespace
SimpleNamespace was changed to Namespace to match argparse. Code importing or using SimpleNamespace must switch to Namespace. github.com - Behavior changed
error_handler
Passing a string as error_handler or formatter_class is no longer accepted; pass the callable or class itself instead. github.com - Default changed
ArgumentParser
ArgumentParsers by default now use usage_and_exit_error_handler as their error handler. Code relying on the previous default error handling must set error_handler explicitly. github.com - Signature changed
jsonargparse.ActionConfigFile
Was class ActionConfigFile(Action); now class ActionConfigFile(Action, FilesCompleterMethod). pypi.org - Signature changed
jsonargparse.ActionJsonnet.parse
Was def parse(self, jsonnet, ext_vars={}, with_meta=False); now def parse(self, jsonnet: Union[str, Path], ext_vars: Union[Dict[str, Any], Namespace] = None, with_meta: bool = False) -> Namespace. pypi.org - Signature changed
jsonargparse.ActionOperators
Was class ActionOperators(Action); now class ActionOperators. pypi.org - Signature changed
jsonargparse.ActionPath
Was class ActionPath(Action); now class ActionPath(Action, FilesCompleterMethod). pypi.org - Signature changed
jsonargparse.ActionPathList
Was class ActionPathList(Action); now class ActionPathList(Action, FilesCompleterMethod). pypi.org - Signature changed
jsonargparse.ArgumentParser
Was class ArgumentParser(_ActionsContainer, argparse.ArgumentParser, LoggerProperty); now class ArgumentParser(SignatureArguments, _ActionsContainer, argparse.ArgumentParser, LoggerProperty). pypi.org - Signature changed
jsonargparse.ArgumentParser.__init__
Was def __init__(self, *args, env_prefix=None, error_handler=None, formatter_class='default', logger=None, version=None, parser_mode='yaml', default_config_files: List[str] = [], default_env: bool = False, default_meta: bool = True... pypi.org
And 14 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.