Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚀 [Feature]: Update required version of Context module to 7.0.2 #306

Merged
merged 6 commits into from
Feb 10, 2025

Conversation

MariusStorhaug
Copy link
Member

@MariusStorhaug MariusStorhaug commented Feb 10, 2025

Description

This pull request updates the dependency on Context to 7.0.2 which no longer relies on SecretStore and SecretManagement PowerShell modules, but contains its own local vault logic.

Module Version Updates:

  • Updated the required version of the Context module from 6.0.0 to 7.0.2 across multiple files, including examples/Connecting.ps1, src/functions/private/Auth/Context/Remove-GitHubContext.ps1, src/functions/private/Auth/Context/Set-GitHubContext.ps1, src/functions/private/Auth/DeviceFlow/Update-GitHubUserAccessToken.ps1, src/functions/private/Config/Initialize-GitHubConfig.ps1, src/functions/public/Auth/Context/Get-GitHubContext.ps1, src/functions/public/Config/Remove-GitHubConfig.ps1, and src/functions/public/Config/Set-GitHubConfig.ps1.

Code Cleanup:

  • Removed references to Microsoft.PowerShell.SecretManagement from examples/Connecting.ps1, tests/GitHub.Tests.ps1, and tools/utilities/Local-Testing.ps1.
  • Cleaned up unused or redundant code in tests/GitHub.Tests.ps1 by removing Get-SecretInfo and Get-SecretVault commands.

Type of change

  • 📖 [Docs]
  • 🪲 [Fix]
  • 🩹 [Patch]
  • ⚠️ [Security fix]
  • 🚀 [Feature]
  • 🌟 [Breaking change]

Checklist

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas

@MariusStorhaug MariusStorhaug self-assigned this Feb 10, 2025
@MariusStorhaug MariusStorhaug requested a review from a team as a code owner February 10, 2025 17:32
@MariusStorhaug MariusStorhaug changed the title 🚀 [Feature]: Update required version of Context module to 7.0.0 🚀 [Feature]: Update required version of Context module to 7.0.2 Feb 10, 2025
@MariusStorhaug MariusStorhaug merged commit 58ad447 into main Feb 10, 2025
20 checks passed
@MariusStorhaug MariusStorhaug deleted the sodiumContext branch February 10, 2025 19:40
Copy link
Contributor

Module GitHub - v0.14.3 published to the PowerShell Gallery.

Copy link
Contributor

GitHub release for GitHub v0.14.3 has been created.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant