Skip to content

Commit 68dc3c5

Browse files
🩹 [Patch]: Bump Sodium dependency to version 2.2.2 (#102)
This patch updates the Sodium module dependency requirement from version 2.2.0 to 2.2.2 across the Context module. ## Changes Made Updated the `#Requires` statements in two PowerShell functions: - `src/functions/public/Get-Context.ps1` - `src/functions/public/Set-Context.ps1` Both files now specify: ```powershell #Requires -Modules @{ ModuleName = 'Sodium'; RequiredVersion = '2.2.2' } ``` ## Why This Change This ensures the Context module uses the latest patch version of the Sodium cryptographic library, which likely includes bug fixes and security improvements while maintaining API compatibility. ## Verification - ✅ Only 2 lines changed (minimal and surgical update) - ✅ PowerShell syntax validation passed - ✅ No other version references remain in the codebase Fixes #101. <!-- START COPILOT CODING AGENT TIPS --> --- 💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more [Copilot coding agent tips](https://gh.io/copilot-coding-agent-tips) in the docs. --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: MariusStorhaug <[email protected]>
1 parent 2f471e2 commit 68dc3c5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/functions/public/Get-Context.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#Requires -Modules @{ ModuleName = 'Sodium'; RequiredVersion = '2.2.0' }
1+
#Requires -Modules @{ ModuleName = 'Sodium'; RequiredVersion = '2.2.2' }
22

33
function Get-Context {
44
<#

src/functions/public/Set-Context.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#Requires -Modules @{ ModuleName = 'Sodium'; RequiredVersion = '2.2.0' }
1+
#Requires -Modules @{ ModuleName = 'Sodium'; RequiredVersion = '2.2.2' }
22

33
function Set-Context {
44
<#

0 commit comments

Comments
 (0)