Skip to content

Commit

Permalink
Merge pull request #29 from abgox/module
Browse files Browse the repository at this point in the history
fix(module): update version to 4.3.3
  • Loading branch information
abgox authored Aug 27, 2024
2 parents de9b15f + 4df267f commit c2e0332
Show file tree
Hide file tree
Showing 8 changed files with 36 additions and 4 deletions.
4 changes: 4 additions & 0 deletions module/CHANGELOG-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
<a href="./CHANGELOG-CN.md">简体中文</a>
</p>

## 4.3.3 (2024/8/27)

- 当启用 `menu_is_prefix_match` 时,公共前缀提取后的输入可能会导致错误,现在已修复

## 4.3.2 (2024/8/18)

- 修复一个方法(`show_module_menu`)的参数类型转换错误
Expand Down
13 changes: 13 additions & 0 deletions module/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
[
{
"version": "4.3.3",
"info": {
"zh-CN": [
"修复(2024/8/27)\n",
"- 当启用 <@Magenta>menu_is_prefix_match<@Blue> 时,公共前缀提取后的输入可能会导致错误,现在已修复\n"
],
"en-US": [
"Fix(2024/8/27)\n",
"- Fix an error that occurred when <@Magenta>menu_is_prefix_match<@Blue> was enabled, due to the input after public prefix extraction.\n"
]
}
},
{
"version": "4.3.2",
"info": {
Expand Down
4 changes: 4 additions & 0 deletions module/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
<a href="./CHANGELOG.md">English</a>
</p>

## 4.3.3 (2024/8/27)

- Fix an error that occurred when `menu_is_prefix_match` was enabled, due to the input after public prefix extraction.

## 4.3.2 (2024/8/18)

- Fix a method(`show_module_menu`) parameter type conversion error.
Expand Down
2 changes: 1 addition & 1 deletion module/PSCompletions.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

RootModule = 'PSCompletions.psm1'

ModuleVersion = '4.3.2'
ModuleVersion = '4.3.3'

GUID = '00929632-527d-4dab-a5b3-21197faccd05'

Expand Down
4 changes: 2 additions & 2 deletions module/core/init.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
New-Variable -Name PSCompletions -Value @{} -Option ReadOnly

# 模块版本
$PSCompletions.version = '4.3.2'
$PSCompletions.version = '4.3.3'
$PSCompletions.path = @{}
$PSCompletions.path.root = Split-Path $PSScriptRoot -Parent
$PSCompletions.path.completions = Join-Path $PSCompletions.path.root 'completions'
Expand Down Expand Up @@ -807,7 +807,7 @@ if ($PSCompletions.config.module_update -match "^\d+\.\d.*") {
$PSCompletions.wc.DownloadFile("$($PSCompletions.url)/module/CHANGELOG.json", (Join-Path $PSCompletions.path.core 'CHANGELOG.json'))
$null = $PSCompletions.confirm_do($PSCompletions.info.module.update, {
$PSCompletions.write_with_color($PSCompletions.replace_content($PSCompletions.info.module.updating))
Update-Module PSCompletions -Force -ErrorAction Stop
Update-Module PSCompletions -RequiredVersion $PSCompletions.version_list[0] -Force -ErrorAction Stop
})
}
else {
Expand Down
1 change: 1 addition & 0 deletions module/core/menu/win.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -695,6 +695,7 @@ Add-Member -InputObject $PSCompletions.menu -MemberType ScriptMethod show_module
$this.new_filter_buffer($this.filter)
$this.new_status_buffer()
$this.set_selection()
$old_filter_list = $this.filter_list
:loop while (($PressKey = $host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown,AllowCtrlC')).VirtualKeyCode) {
$shift_pressed = 0x10 -band [int]$PressKey.ControlKeyState
if ($PressKey.ControlKeyState -like "*CtrlPressed*") {
Expand Down
10 changes: 10 additions & 0 deletions module/log.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
{
"4.3.3": {
"zh-CN": [
"修复(2024/8/27)\n",
"- 当启用 <@Magenta>menu_is_prefix_match<@Blue> 时,公共前缀提取后的输入可能会导致错误,现在已修复\n"
],
"en-US": [
"Fix(2024/8/27)\n",
"- Fix an error that occurred when <@Magenta>menu_is_prefix_match<@Blue> was enabled, due to the input after public prefix extraction.\n"
]
},
"4.3.2": {
"zh-CN": [
"修复(2024/8/18)\n",
Expand Down
2 changes: 1 addition & 1 deletion module/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.3.2
4.3.3

0 comments on commit c2e0332

Please sign in to comment.