|
1 | 1 | # PowerShellForGitHub PowerShell Module
|
2 | 2 | # Changelog
|
3 | 3 |
|
| 4 | +## [0.17.0](https://github.com/PowerShell/PowerShellForGitHub/tree/0.17.0) - (2021/11/20) |
| 5 | + |
| 6 | +### Features |
| 7 | + |
| 8 | ++ Add support for `Invoke-GHGraphQl` which then allowed support for |
| 9 | + `Get-GitHubRepositoryBranchPatternProtectionRule`, `New-GitHubRepositoryBranchPatternProtectionRule`, |
| 10 | + and `Remove-GitHubRepositoryBranchPatternProtectionRule` |
| 11 | + [[pr]](https://github.com/PowerShell/PowerShellForGitHub/pull/313) | [[cl]](https://github.com/microsoft/PowerShellForGitHub/commit/f7efc4a03640cf292b0e6a256d6713a6f15145b2) |
| 12 | + |
| 13 | ++ Updated `Invoke-GHRestMethod` (and `Invoke-GHRestMethodMultipleResult`) to support versioned API's |
| 14 | + with the new (optional) `ApiVersion` parameter |
| 15 | + [[pr]](https://github.com/PowerShell/PowerShellForGitHub/pull/379) | [[cl]](https://github.com/microsoft/PowerShellForGitHub/commit/938896738c7a8c8b6d3b7b798c761798e4fce651) |
| 16 | + |
| 17 | ++ Added the `HasDiscussions` switch to `New-GitHubRepository` and `Set-GitHubRepository` to allow |
| 18 | + the control of whether discussions are supported in a repository |
| 19 | + [[pr]](https://github.com/PowerShell/PowerShellForGitHub/pull/382) | [[cl]](https://github.com/microsoft/PowerShellForGitHub/commit/3ccee43287e053a4ad9f9729a943e75ad12ce904) |
| 20 | + |
| 21 | ++ Added the `AllowAutoMerge` switch to `New-GitHubRepository` and `Set-GitHubRepository` (which is |
| 22 | + currently only supported on public repositories). |
| 23 | + [[pr]](https://github.com/PowerShell/PowerShellForGitHub/pull/383) | [[cl]](https://github.com/microsoft/PowerShellForGitHub/commit/b976e9515cd42d521bd3f4d7ab6fb2b870cd98ed) |
| 24 | + |
| 25 | ++ Added the `AllowUpdateBranch` switch to `New-GitHubRepository` and `Set-GitHubRepository`, which |
| 26 | + specifies whether to always allow a pull request head branch that is behind its base branch |
| 27 | + to be updated even if it is not required to be up-to-date before merging. |
| 28 | + [[pr]](https://github.com/PowerShell/PowerShellForGitHub/pull/387) | [[cl]](https://github.com/microsoft/PowerShellForGitHub/commit/9baf54e44cee7fb79dee74ae54306b1edbe6e7d0) |
| 29 | + |
| 30 | ++ Added the `WebCommitSignoffRequired` switch to `Set-GitHubRepository`, which |
| 31 | + specifies whether to require contributors to sign off on web-based commits. |
| 32 | + [[pr]](https://github.com/PowerShell/PowerShellForGitHub/pull/389) | [[cl]](https://github.com/microsoft/PowerShellForGitHub/commit/516be0b4cafafb334bca5951c057af0885e6976f) |
| 33 | + |
| 34 | ++ Added the `SecretScanning` parameter to `Set-GitHubRepository`, which |
| 35 | + specifies whether to enable or disable secret scanning for the repository. |
| 36 | + [[pr]](https://github.com/PowerShell/PowerShellForGitHub/pull/391) | [[cl]](https://github.com/microsoft/PowerShellForGitHub/commit/43d5392642cce2ec3d45fbbb1066f7b2efc3b8c4) |
| 37 | + |
| 38 | ++ Added support for Deployment environments with `New-GitHubDeploymentEnvironment`, |
| 39 | + `Get-GitHubDeploymentEnvironment`, `Set-GitHubDeploymentEnvironment` and |
| 40 | + `Remove-GitHubDeploymentEnvironment` |
| 41 | + [[pr]](https://github.com/PowerShell/PowerShellForGitHub/pull/395) | [[cl]](https://github.com/microsoft/PowerShellForGitHub/commit/dd844e5e4a2224e092c8d247f889f6ebabda1767) |
| 42 | + |
| 43 | ++ Added the ability to control how the title and message of a commit are handled during a merge |
| 44 | + and a squash merge with the new `SquashMergeCommitTitle`, `SquashMergeCommitMessage`, |
| 45 | + `MergeCommitTitle`, and `MergeCommitMessage` parameters on `New-GitHubRepository` and |
| 46 | + `Set-GitHubRepository` |
| 47 | + [[pr]](https://github.com/PowerShell/PowerShellForGitHub/pull/385) | [[cl]](https://github.com/microsoft/PowerShellForGitHub/commit/6f94a9b0a37ee466c2fb457299c78de1bd371f95) |
| 48 | + |
| 49 | ++ Added base support for GitHub Codespaces with `Get-GitHubCodespace`, `New-GitHubCodespace`, |
| 50 | + `Remove-GitHubCodespace`, `Start-GitHubCodespace` and `Stop-GitHubCodespace` |
| 51 | + [[pr]](https://github.com/PowerShell/PowerShellForGitHub/pull/407) | [[cl]](https://github.com/microsoft/PowerShellForGitHub/commit/9ec863b14277a524aa8f2931b742bb3dfed10d5a) |
| 52 | + |
| 53 | +### Fixes |
| 54 | + |
| 55 | ++ Fixed a documentation error with `DefaultRepositoryName` in `Set-GitHubConfiguration` |
| 56 | + [[pr]](https://github.com/PowerShell/PowerShellForGitHub/pull/341) | [[cl]](https://github.com/microsoft/PowerShellForGitHub/commit/8b46226ba5347155470c2d789ef2356e4aef118a) |
| 57 | + |
| 58 | ++ Fixed a bug that caused Telemetry to stop working when a PowerShell session was open for longer |
| 59 | + than a day |
| 60 | + [[pr]](https://github.com/PowerShell/PowerShellForGitHub/pull/355) | [[cl]](https://github.com/microsoft/PowerShellForGitHub/commit/4b48946d81924a8508be2b16c28d9842da7d5b37) |
| 61 | + |
| 62 | ++ Improved the error message displayed when an API returns with a 404 error code |
| 63 | + [[pr]](https://github.com/PowerShell/PowerShellForGitHub/pull/363) | [[cl]](https://github.com/microsoft/PowerShellForGitHub/commit/1466f1656b85e256917bc3057ba6dd6d1579a652) |
| 64 | + |
| 65 | ++ Was not properly forwarding the `AccessToken` to sub-commands for |
| 66 | + `Get-GitHubRepositoryTeamPermission`, `Set-GitHubRepositoryTeamPermission`, and |
| 67 | + `Remove-GitHubRepositoryTeamPermission` |
| 68 | + [[pr]](https://github.com/PowerShell/PowerShellForGitHub/pull/362) | [[cl]](https://github.com/microsoft/PowerShellForGitHub/commit/4d7667bcaf66523bf3b0194d847d8bfc3c6325f1) |
| 69 | + |
| 70 | ++ Fixed the logic that determined the simplified explanation of Team permissions exposed by a |
| 71 | + repository object |
| 72 | + [[pr]](https://github.com/PowerShell/PowerShellForGitHub/pull/361) | [[cl]](https://github.com/microsoft/PowerShellForGitHub/commit/d8ee50a7ad0fa1b12e3b5d7745aeed348a340708) |
| 73 | + |
| 74 | ++ Fixed support for PowerShell 7.4+ which removed support for `BinaryFormatter`. |
| 75 | + [[pr]](https://github.com/PowerShell/PowerShellForGitHub/pull/415) | [[cl]](https://github.com/microsoft/PowerShellForGitHub/commit/356350b22f47acf55e72380442c630e6c9591fbc) |
| 76 | + |
| 77 | +### Authors |
| 78 | + |
| 79 | ++ [**@HowardWolosky**](https://github.com/HowardWolosky) |
| 80 | ++ [**@X-Guardian**](https://github.com/X-Guardian) |
| 81 | ++ [**@matt9ucci**](https://github.com/matt9ucci) |
| 82 | ++ [**@variableresistor**](https://github.com/variableresistor) |
| 83 | ++ [**@vercellone**](https://github.com/vercellone) |
| 84 | ++ [**@andyleejordan**](https://github.com/andyleejordan) |
| 85 | + |
| 86 | +------ |
| 87 | + |
4 | 88 | ## [0.16.1](https://github.com/PowerShell/PowerShellForGitHub/tree/0.16.1) - (2021/05/26)
|
5 | 89 |
|
6 | 90 | ### Features
|
|
0 commit comments