-------------------
Added
^^^^^
- ``capture_parser`` function to get the parser object from a cli function.
- ``dump_header`` property to set header for yaml/jsonnet dumpers (`79
<https://github.com/omni-us/jsonargparse/issues/79>`__).
- ``Callable`` type now supports callable classes (`110
<https://github.com/omni-us/jsonargparse/issues/110>`__).
Fixed
^^^^^
- Bug in check for ``class_path``, ``init_args`` dicts.
- Module mocks in cli_tests.py.
Changed
^^^^^^^
- Moved argcomplete code from core to optionals module.
- ``Callable`` no longer a simple registered type.
- Import paths are now serialized as its shortest form.
- ``Callable`` default now shown in help as full import path.
- Moved typehint code from core to typehint module.
- Ignore argument links when source/target subclass does not have parameter
(`129 <https://github.com/omni-us/jsonargparse/issues/129>`__).
- Swapped order of argument links in help to ``source --> target``.
Deprecated
^^^^^^^^^^
- ``CLI``'s ``return_parser`` parameter will be removed in v5.0.0.