Viscalyx.GitHub
0.2.0
Common commands that adds or improves functionality in various scenarios.
Minimum PowerShell version
5.1
Installation Options
Owners
Copyright
Copyright the Viscalyx.GitHub contributors. All rights reserved.
Package Details
Author(s)
- Viscalyx
Tags
Common Utility Pester PSReadLine Sampler
Functions
Get-GitHubRelease Get-GitHubReleaseAsset Save-GitHubReleaseAsset
Dependencies
This module has no dependencies.
Release Notes
## [0.2.0] - 2025-10-04
### Added
- Initial release of the Viscalyx.GitHub PowerShell module.
- New command `Get-GitHubRelease` to retrieve releases from a GitHub repository
with options to filter by latest, prerelease, and draft statuses.
- New command `Get-GitHubReleaseAsset` to retrieve metadata information
about assets from GitHub repository releases.
- New command `Save-GitHubReleaseAsset` to download GitHub release assets with
asset filtering, SHA256 hash validation, retry logic, and progress indication.
- Private function `Convert-SecureStringAsPlainText` to safely handle secure
string conversions for GitHub authentication tokens.
- Private function `Invoke-UrlDownload` to handle file downloads with proper
error handling, user agent configuration, and verbose logging.
- Added pipeline input support to `Get-GitHubReleaseAsset` allowing release
objects from `Get-GitHubRelease` to be piped directly into the command.
- Added additional example to `Get-GitHubReleaseAsset` documentation showing
how to use the pipeline functionality for efficient workflow.
- Added integration tests for the new pipeline functionality.
- Added unit and integration tests for `Save-GitHubReleaseAsset` and
`Invoke-UrlDownload` with comprehensive coverage of download scenarios.
- Added localized strings and documentation for new download functionality.
### Changed
- Refactored `Get-GitHubReleaseAsset` to use parameter sets for better
distinction between direct repository queries and pipeline input scenarios.
- Enhanced `Get-GitHubReleaseAsset` with begin/process/end blocks for proper
pipeline handling of multiple release objects.
- Bump action Stale to v10.
- Bump action Checkout to v5.
- Enhanced `Save-GitHubReleaseAsset` with path validation, `SupportsShouldProcess`
for `-WhatIf` and `-Confirm`, `-Force` parameter, and improved error reporting.
- Enhanced `Invoke-UrlDownload` with `-Force` parameter, automatic directory
creation, file overwrite protection, and improved error handling.
### Fixed
- Fixed README badges.
- Fixed error message formatting in `Get-GitHubReleaseAsset` for asset name
validation errors.
- Prefixed all command invocations in integration tests with `Viscalyx.GitHub\`
to avoid accidentally invoking commands from other modules.
FileList
- Viscalyx.GitHub.nuspec
- Viscalyx.GitHub.psd1
- Modules\DscResource.Common\0.24.0\en-US\about_DscResource.Common.help.txt
- Modules\DscResource.Common\0.24.0\en-US\DscResource.Common.strings.psd1
- Viscalyx.GitHub.psm1
- Modules\Viscalyx.Common\0.7.0\en-US\about_Viscalyx.Common.help.txt
- en-US\about_Viscalyx.Common.help.txt
- Modules\Viscalyx.Common\0.7.0\en-US\Viscalyx.Common.strings.psd1
- en-US\Viscalyx.GitHub-help.xml
- Modules\Viscalyx.Common\0.7.0\en-US\Viscalyx.Common-help.xml
- en-US\Viscalyx.GitHub.strings.psd1
- Modules\Viscalyx.Common\0.7.0\Modules\DscResource.Common\0.24.0\DscResource.Common.psd1
- Modules\DscResource.Common\0.24.0\DscResource.Common.psd1
- Modules\Viscalyx.Common\0.7.0\Modules\DscResource.Common\0.24.0\DscResource.Common.psm1
- Modules\DscResource.Common\0.24.0\DscResource.Common.psm1
- Modules\Viscalyx.Common\0.7.0\Modules\DscResource.Common\0.24.0\en-US\DscResource.Common-help.xml
- Modules\Viscalyx.Common\0.7.0\Viscalyx.Common.psm1
- Modules\Viscalyx.Common\0.7.0\Modules\DscResource.Common\0.24.0\en-US\about_DscResource.Common.help.txt
- Modules\Viscalyx.Common\0.7.0\Viscalyx.Common.psd1
- Modules\Viscalyx.Common\0.7.0\Modules\DscResource.Common\0.24.0\en-US\DscResource.Common.strings.psd1
- Modules\DscResource.Common\0.24.0\en-US\DscResource.Common-help.xml
Version History
Version | Downloads | Last updated |
---|---|---|
0.2.0 (current version) | 5 | 10/4/2025 |
0.2.0-previe... | 3 | 10/4/2025 |
0.2.0-previe... | 3 | 10/2/2025 |
0.1.0-previe... | 5 | 5/13/2025 |
0.1.0-previe... | 4 | 5/11/2025 |