--------------------
Added
^^^^^
- ``CLI`` support for callable class instances (`238
<https://github.com/omni-us/jsonargparse/issues/238>`__).
- ``add_dataclass_arguments`` now supports the ``fail_untyped`` parameter (`241
<https://github.com/omni-us/jsonargparse/issues/241>`__).
Fixed
^^^^^
- ``add_subcommands`` fails when parser has required argument and default config
available (`232 <https://github.com/omni-us/jsonargparse/issues/232>`__).
Changed
^^^^^^^
- When parsing fails, now ``argparse.ArgumentError`` is raised instead of
``ParserError``.
- Improved error messages when ``fail_untyped=True`` (`137
<https://github.com/omni-us/jsonargparse/issues/137>`__).
- ``CLI`` no longer uses the module's docstring as main parser description (`245
<https://github.com/omni-us/jsonargparse/issues/245>`__).
Deprecated
^^^^^^^^^^
- Path ``skip_check`` parameter is deprecated and will be removed in v5.0.0.
Instead use as type ``str`` or ``os.PathLike``.
- Modifying Path attributes is deprecated. In v5.0.0 they will be properties
without a setter and two renamed: ``rel_path -> relative`` and
``abs_path -> absolute``.
- ``ActionPathList`` is deprecated and will be removed in v5.0.0. Instead use as
type ``List[<path_type>]`` with ``enable_path=True``.
- ``ArgumentParser.error_handler`` is deprecated and will be removed in v5.0.0.
Instead use the new exit_on_error parameter from argparse.