diff --git a/module/CHANGELOG-CN.md b/module/CHANGELOG-CN.md index bbe763c..1a99dad 100644 --- a/module/CHANGELOG-CN.md +++ b/module/CHANGELOG-CN.md @@ -3,6 +3,10 @@ 简体中文

+## 4.2.2 (2024/8/9) + +- 当使用 `psc update *` 更新补全后,不再立即检查更新 + ## 4.2.1 (2024/8/9) - 修复新版本迁移时的一个小问题 diff --git a/module/CHANGELOG.md b/module/CHANGELOG.md index c0f6844..246e79e 100644 --- a/module/CHANGELOG.md +++ b/module/CHANGELOG.md @@ -3,6 +3,10 @@ English

+## 4.2.2 (2024/8/9) + +- No longer checks for updates immediately after using `psc update *` update completion. + ## 4.2.1 (2024/8/9) - Fix a small issue when migrating to the new version. diff --git a/module/PSCompletions.psd1 b/module/PSCompletions.psd1 index 1226258..3b790a9 100644 --- a/module/PSCompletions.psd1 +++ b/module/PSCompletions.psd1 @@ -10,7 +10,7 @@ RootModule = 'PSCompletions.psm1' - ModuleVersion = '4.2.1' + ModuleVersion = '4.2.2' GUID = '00929632-527d-4dab-a5b3-21197faccd05' diff --git a/module/PSCompletions.psm1 b/module/PSCompletions.psm1 index 0eb4f27..f267dbc 100644 --- a/module/PSCompletions.psm1 +++ b/module/PSCompletions.psm1 @@ -184,7 +184,6 @@ function PSCompletions { } } } - check_update } } function _search { diff --git a/module/core/init.ps1 b/module/core/init.ps1 index 12353c8..973bddb 100644 --- a/module/core/init.ps1 +++ b/module/core/init.ps1 @@ -3,7 +3,7 @@ using namespace System.Management.Automation New-Variable -Name PSCompletions -Value @{} -Option Constant # 模块版本 -$PSCompletions.version = '4.2.1' +$PSCompletions.version = '4.2.2' $PSCompletions.path = @{} $PSCompletions.path.root = Split-Path $PSScriptRoot -Parent $PSCompletions.path.completions = Join-Path $PSCompletions.path.root 'completions' diff --git a/module/log.json b/module/log.json index a056077..fc35fe7 100644 --- a/module/log.json +++ b/module/log.json @@ -1,4 +1,14 @@ { + "4.2.2": { + "zh-CN": [ + "修复(2024/8/9)\n", + " - 当使用 <@Magenta>psc update *<@Blue> 更新补全后,不再立即检查更新\n" + ], + "en-US": [ + "Fix(2024/8/9)\n", + " - No longer checks for updates immediately after using <@Magenta>psc update *<@Blue> update completion.\n" + ] + }, "4.2.1": { "zh-CN": ["修复(2024/8/9)\n", " - 修复新版本迁移时的一个小问题\n"], "en-US": [ diff --git a/module/version.txt b/module/version.txt index fae6e3d..af8c8ec 100644 --- a/module/version.txt +++ b/module/version.txt @@ -1 +1 @@ -4.2.1 +4.2.2