Skip to content

Commit

Permalink
Bump version: 4.24.1 → 4.25.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mauvilsa committed Sep 25, 2023
1 parent 7b207e7 commit dfc8507
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 4.24.1
current_version = 4.25.0
commit = True
tag = True
tag_name = v{new_version}
Expand Down
14 changes: 0 additions & 14 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,20 +88,6 @@ repos:
pass_filenames: false
verbose: true

- id: circleci-config-validate
name: circleci config validate -c .circleci/config.yml
entry: bash -c '
set -e;
if [ "$(which circleci)" = "" ]; then
echo "$(tput setaf 6) Skipped, circleci command not found $(tput sgr0)";
else
circleci config validate -c .circleci/config.yml;
fi'
language: system
files: .circleci/config.yml
pass_filenames: false
verbose: true

- id: mypy
name: mypy jsonargparse*/*.py
entry: bash -c "mypy jsonargparse*/*.py"
Expand Down
2 changes: 1 addition & 1 deletion .sonarcloud.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
sonar.sources=jsonargparse
sonar.projectVersion=4.24.1
sonar.projectVersion=4.25.0
sonar.python.version=3.7, 3.8, 3.9, 3.10, 3.11, 3.12
7 changes: 4 additions & 3 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ The semantic versioning only considers the public API as described in
paths are considered internals and can change in minor and patch releases.


v4.25.0 (2023-09-??)
v4.25.0 (2023-09-25)
--------------------

Added
Expand All @@ -33,13 +33,14 @@ Fixed
- ``--print_config`` fails when parser has shallow links.
- Argument links unnecessarily applied when ``--print_config`` used and parser
has subcommands (`#311 <https:/omni-us/jsonargparse/issue/311>`__).
- ``parse_args`` fails to parse arguments when data type is a ``Callable`` with multiple input arguments
- Parsing fails when data type is a ``Callable`` with multiple input arguments
(`#372 <https:/omni-us/jsonargparse/issues/372>`__).
- Postponed annotations not working for dataclasses.
- Pydantic models and dataclasses not working for ``pydantic>=2.0.0``.
- Unsupported pop/get default incorrectly sets default as ``None``
(`lightning#18616
<https:/Lightning-AI/lightning/issues/18616>`__).
- Pydantic models and dataclasses not working for ``pydantic>=2.0.0`` (`#361
<https:/omni-us/jsonargparse/issue/361>`__).

Changed
^^^^^^^
Expand Down
5 changes: 4 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ coverage.
Although ``jsonargparse`` might not be widely recognized yet, it already boasts
a `substantial user base
<https:/omni-us/jsonargparse/network/dependents>`__. Most notably,
it serves as the engine behind `LightningCLI
it serves as the framework behind pytorch-lightning's `LightningCLI
<https://lightning.ai/docs/pytorch/stable/cli/lightning_cli.html>`__.


Expand Down Expand Up @@ -70,6 +70,9 @@ Other notable features include:
<https://peps.python.org/pep-0604>`__/`585
<https://peps.python.org/pep-0585>`__).

- **Keyword arguments introspection:** resolving of parameters used via
``**kwargs``.

- **Dependency injection:** support types that expect a class instance and
callables that return a class instance.

Expand Down
2 changes: 1 addition & 1 deletion jsonargparse/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@
__all__ += _deprecated.__all__


__version__ = "4.24.1"
__version__ = "4.25.0"

0 comments on commit dfc8507

Please sign in to comment.