Skip to content

Commit

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

## Alconna 1.7.20

### 改进:
- 当 shortcut 的 `command` 参数为 `$` 时,快捷指令将会使用源指令的命令名
- ShortcutArgs 的 `fuzzy` 参数为 `False` 时,快捷指令将是严格匹配(即不允许前缀匹配)
- ShortcutArgs 的 `fuzzy` 参数为 `True` 时,快捷指令将是模糊匹配(即允许前缀匹配),并且多余的字符会被作为参数写入
- shortcut 的参数中 `command` 现在的默认值是 `$` 而非 `_`

### 修复:
- 修改了文字拼写错误

## Alconna 1.7.19

### 新增:
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 @@ -49,7 +49,7 @@
from .typing import UnpackVar as UnpackVar
from .typing import Up as Up

__version__ = "1.7.19"
__version__ = "1.7.20"

# backward compatibility
Arpamar = Arparma
Expand Down

0 comments on commit b491cab

Please sign in to comment.