Skip to content

Commit

Permalink
🔖 0.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
osdaf committed May 17, 2022
1 parent 099dc9d commit 1bb9320
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 3 deletions.
21 changes: 20 additions & 1 deletion docs/changeLog.md → docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.5.3

- 💥 Use "%" to format description and usage.

## 0.5.2

- 🩹 Fix newline lost of section title in help (Textualize/rich#2274)
Expand Down Expand Up @@ -36,37 +40,47 @@

- 🩹 Allow ParamJson to have python object values, not only strings


## 0.4.11

- 🐛Fix the same param not allowed to add

## 0.4.10

- ✨Add _to_dict for parsed Namespace object

## 0.4.8

- Add kwargs to `to` and `copy` for Param

## 0.4.7

- Use basename in help for prog name by default
- Fix ignore_errors not ignoring the non-PyParamException errors

## 0.4.6

- Make sure switching # arugments of callbacks correctly
- Only print errors with help for callbaks to return exceptions, otherwise, raise them
- Make clean logger level name

## 0.4.5

- Change help_cmd to choice

-

## 0.4.4

- Don't use shared console for logging
- Allow command to be not provided.

## 0.4.3

- Allow default value of other types to be None
- Fix None value conversion at runtime

## 0.4.2

- Don't use `hasattr` for `__contains__` for Namespace, which allows override of `__getattr__`
- Move help_modifier to params construct
- Update HelpAssembler when command is reused.
Expand All @@ -80,21 +94,26 @@
- Fix decendents of ns parameter are hidden from completions if the ns parameter is hidden.

## 0.4.1

- Add help_modifier argument for `params.parse` to modify help parameters and commands
- Add `params.to_file` to dump `params`
- Allow command reuse
- Add `force` for `params.from_file`, `params.from_dict` to force adding parameters and commands

## 0.4.0

- Allow parameter reuse
- Add shell completions support
- Add dir parameter type. It is not different as path parameter, but it show different complete candidate for shell completions.

## 0.3.2

- Fix required list parameter not raise error when on value provided

## 0.3.1

- Add default to from_arg

## 0.3.0

- Remodel the package with better APIs.
2 changes: 1 addition & 1 deletion pyparam/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
from .params import Params
from .utils import Namespace

__version__ = "0.5.2"
__version__ = "0.5.3"
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "poetry.masonry.api"

[tool.poetry]
name = "pyparam"
version = "0.5.2"
version = "0.5.3"
description = "Powerful parameter processing."
authors = [ "pwwang <pwwang@pwwang.com>",]
license = "MIT"
Expand Down

0 comments on commit 1bb9320

Please sign in to comment.