From 32408ae7964905911464ea9dca7fe338bf48bee5 Mon Sep 17 00:00:00 2001
From: abgox
Date: Sun, 18 Aug 2024 19:33:18 +0800
Subject: [PATCH] fix(module): update version to 4.3.2
---
module/CHANGELOG-CN.md | 4 ++++
module/CHANGELOG.json | 13 +++++++++++++
module/CHANGELOG.md | 4 ++++
module/PSCompletions.psd1 | 2 +-
module/core/init.ps1 | 2 +-
module/core/menu/win.ps1 | 2 +-
module/log.json | 10 ++++++++++
module/version.txt | 2 +-
8 files changed, 35 insertions(+), 4 deletions(-)
diff --git a/module/CHANGELOG-CN.md b/module/CHANGELOG-CN.md
index f61009a..ebd78cc 100644
--- a/module/CHANGELOG-CN.md
+++ b/module/CHANGELOG-CN.md
@@ -3,6 +3,10 @@
简体中文
+## 4.3.2 (2024/8/18)
+
+- 修复一个方法(`show_module_menu`)的参数类型转换错误
+
## 4.3.1 (2024/8/18)
- 添加一个配置项 `menu_is_loop`, 控制是否循环显示菜单,默认值为 `1`
diff --git a/module/CHANGELOG.json b/module/CHANGELOG.json
index 0e3b739..22b6b3f 100644
--- a/module/CHANGELOG.json
+++ b/module/CHANGELOG.json
@@ -1,4 +1,17 @@
[
+ {
+ "version": "4.3.2",
+ "info": {
+ "zh-CN": [
+ "修复(2024/8/18)\n",
+ "- 修复一个方法(show_module_menu)的参数类型转换错误\n"
+ ],
+ "en-US": [
+ "Fix(2024/8/18)\n",
+ "- Fix a method(show_module_menu) parameter type conversion error.\n"
+ ]
+ }
+ },
{
"version": "4.3.1",
"info": {
diff --git a/module/CHANGELOG.md b/module/CHANGELOG.md
index e23f640..5231cf2 100644
--- a/module/CHANGELOG.md
+++ b/module/CHANGELOG.md
@@ -3,6 +3,10 @@
English
+## 4.3.2 (2024/8/18)
+
+- Fix a method(`show_module_menu`) parameter type conversion error.
+
## 4.3.1 (2024/8/18)
- Add a configuration item `menu_is_loop`, controlling whether the menu is looped, with a default value of `1`.
diff --git a/module/PSCompletions.psd1 b/module/PSCompletions.psd1
index 511e30c..1bb621e 100644
--- a/module/PSCompletions.psd1
+++ b/module/PSCompletions.psd1
@@ -10,7 +10,7 @@
RootModule = 'PSCompletions.psm1'
- ModuleVersion = '4.3.1'
+ ModuleVersion = '4.3.2'
GUID = '00929632-527d-4dab-a5b3-21197faccd05'
diff --git a/module/core/init.ps1 b/module/core/init.ps1
index 4b2f4aa..bed4dee 100644
--- a/module/core/init.ps1
+++ b/module/core/init.ps1
@@ -3,7 +3,7 @@
New-Variable -Name PSCompletions -Value @{} -Option ReadOnly
# 模块版本
-$PSCompletions.version = '4.3.1'
+$PSCompletions.version = '4.3.2'
$PSCompletions.path = @{}
$PSCompletions.path.root = Split-Path $PSScriptRoot -Parent
$PSCompletions.path.completions = Join-Path $PSCompletions.path.root 'completions'
diff --git a/module/core/menu/win.ps1 b/module/core/menu/win.ps1
index b219106..0bbb8ff 100644
--- a/module/core/menu/win.ps1
+++ b/module/core/menu/win.ps1
@@ -629,7 +629,7 @@ Add-Member -InputObject $PSCompletions.menu -MemberType ScriptMethod reset {
}
}
Add-Member -InputObject $PSCompletions.menu -MemberType ScriptMethod show_module_menu {
- param([array]$filter_list, [bool]$is_menu_enhance)
+ param($filter_list, [bool]$is_menu_enhance)
if (!$filter_list) { return }
diff --git a/module/log.json b/module/log.json
index aa8a87d..8e2cd00 100644
--- a/module/log.json
+++ b/module/log.json
@@ -1,4 +1,14 @@
{
+ "4.3.2": {
+ "zh-CN": [
+ "修复(2024/8/18)\n",
+ "- 修复一个方法(show_module_menu)的参数类型转换错误\n"
+ ],
+ "en-US": [
+ "Fix(2024/8/18)\n",
+ "- Fix a method(show_module_menu) parameter type conversion error.\n"
+ ]
+ },
"4.3.1": {
"zh-CN": [
"更新(2024/8/18)\n",
diff --git a/module/version.txt b/module/version.txt
index f77856a..cc2fbe8 100644
--- a/module/version.txt
+++ b/module/version.txt
@@ -1 +1 @@
-4.3.1
+4.3.2