Jsonargparse

Latest version: v4.34.0

Safety actively analyzes 682251 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 17 of 18

3.6.0

Not secure
-------------------

Added
^^^^^
- Function to register additional types for use in parsers.
- Type hint support for complex and UUID classes.

Changed
^^^^^^^
- PositiveInt and NonNegativeInt now gives error instead of silently truncating
when given float.
- Types created with restricted_number_type and restricted_string_type now share
a common TypeCore base class.

Fixed
^^^^^
- ActionOperators not give error if type already registered.
- List[Tuple] types not working correctly.
- Some nested dicts kept as Namespace by dump.

3.5.1

Not secure
-------------------

Fixed
^^^^^
- Parsing of relative paths in default_config_files not working.
- Description of tuple type in the readme.

3.5.0

Not secure
-------------------

Added
^^^^^
- Tuples with ellipsis are now supported (`40
<https://github.com/omni-us/jsonargparse/issues/40>`__).

Fixed
^^^^^
- Using dict as type incorrectly considered as class requiring class_path.
- Nested tuples were not working correctly (`40
<https://github.com/omni-us/jsonargparse/issues/40>`__).

3.4.1

Not secure
-------------------

Fixed
^^^^^
- CLI crashed for class method when zero args given after subcommand.
- Options before subcommand provided in config file gave subcommand not given.
- Arguments in groups without help not showing required, type and default.
- Required arguments help incorrectly showed null default value.
- Various improvements and fixes to the readme.

3.4.0

Not secure
-------------------

Added
^^^^^
- Save with multifile=True now creates original jsonnet file for ActionJsonnet.
- default_config_files is now a property of parser objects.
- Table in readme to ease understanding of extras requires for optional features
(`38 <https://github.com/omni-us/jsonargparse/issues/38>`__).

Changed
^^^^^^^
- Save with multifile=True uses file extension to choose json or yaml format.

Fixed
^^^^^
- Better exception message when using ActionJsonSchema and jsonschema not
installed (`38 <https://github.com/omni-us/jsonargparse/issues/38>`__).

3.3.2

Not secure
-------------------

Fixed
^^^^^
- Changed actions so that keyword arguments are visible in API.
- Fixed save method short description which was copy paste of dump.
- Added missing docstring in instantiate_subclasses method.
- Fixed crash when using ``--help`` and ActionConfigFile not given help string.
- Standardized capitalization and punctuation of: help, config, version.

Page 17 of 18

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.