Skip to content

Commit

Permalink
🔖 version 1.8.27
Browse files Browse the repository at this point in the history
  • Loading branch information
RF-Tar-Railt committed Aug 16, 2024
1 parent 60130f0 commit aeae5d2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# 更新日志

## 1.8.27

### 改进

- `Option``Subcommand` 在传入 `OptionResult/SubcommandResult` 以外的 `default` 时, 如果其 Args 不为空, 则 `default` 会自动作为 `Result.args` 的值
-`Option``Subcommand` 未传入 `default`, 并且其 Args 不为空, 则其 `Result.args` 会被设置为 Args 上所有参数的默认值(如果有的话)

## 1.8.26

### 改进
Expand Down
2 changes: 1 addition & 1 deletion src/arclet/alconna/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
from .typing import Up as Up
from .typing import StrMulti as StrMulti

__version__ = "1.8.26"
__version__ = "1.8.27"

# backward compatibility
AnyOne = ANY

0 comments on commit aeae5d2

Please sign in to comment.