You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Corrected name of the test file for `GitHubRepositoryForks`
166
-
* Ensured the `getParams` are used during execution of `Get-GitHubRepositoryFork`
180
+
- Minor static analysis issues fixed.
181
+
- Corrected name of the test file for `GitHubRepositoryForks`
182
+
- Ensured the `getParams` are used during execution of `Get-GitHubRepositoryFork`
167
183
168
184
More Info: [[pr]](https://github.com/PowerShell/PowerShellForGitHub/pull/42) | [[cl]](https://github.com/PowerShell/PowerHellForGitHub/commit/5703295d497f20fe8eec91d6ed47d126cc518592)
+ Added support for querying forks and creating new ones.
177
193
178
194
### Fixes:
179
-
* Will only perform a retry when receiving a `202` response on a `GET` request. Previously, it would
195
+
- Will only perform a retry when receiving a `202` response on a `GET` request. Previously, it would
180
196
retry regardless of the method of the request.
181
197
182
198
More Info: [[pr]](https://github.com/PowerShell/PowerShellForGitHub/pull/41) | [[cl]](https://github.com/PowerShell/PowerHellForGitHub/commit/1076239d7639497984a6e0b04df1e69019c4ec28)
+ Enhanced user query support as well as being able update information for the current user.
207
223
208
224
### Fixes:
209
-
* Made parameter ordering consistent across all functions (OwnerName is now first, then RepositoryName)
210
-
* Normalized all parameters to use SentenceCase
211
-
* All functions that can take a Uri or OwnerName/RepositoryName now support both options.
212
-
* Made all parameter names consistent across functions:
213
-
*`GitHubAccessToken` -> `AccessToken`
214
-
*`RepositoryUrl` -> `Uri`
215
-
*`Organization` -> `OrganizationName`
216
-
*`Repository` -> `RepositoryName`
217
-
*`Owner` -> `OwnerName`
218
-
* Normalized usage of Verbose, Info and Error streams
225
+
- Made parameter ordering consistent across all functions (OwnerName is now first, then RepositoryName)
226
+
- Normalized all parameters to use SentenceCase
227
+
- All functions that can take a Uri or OwnerName/RepositoryName now support both options.
228
+
- Made all parameter names consistent across functions:
229
+
-`GitHubAccessToken` -> `AccessToken`
230
+
-`RepositoryUrl` -> `Uri`
231
+
-`Organization` -> `OrganizationName`
232
+
-`Repository` -> `RepositoryName`
233
+
-`Owner` -> `OwnerName`
234
+
- Normalized usage of Verbose, Info and Error streams
219
235
220
236
### Functionality Modified from 0.1.0:
221
-
-`New-GitHubLabels` was renamed to `Set-GitHubLabel` and can now optionally take in the labels
237
+
*`New-GitHubLabels` was renamed to `Set-GitHubLabel` and can now optionally take in the labels
222
238
to apply to the Repository.
223
-
-`Get-GitHubIssueForRepository` has been removed and replaced with `Get-GitHubIssue`.
239
+
*`Get-GitHubIssueForRepository` has been removed and replaced with `Get-GitHubIssue`.
224
240
The key difference between these two is that it no longer accepts multiple repositories as single
225
241
input, and filtering on creation/closed date can be done after the fact piping the results into
226
242
`Where-Object` now that the returned objects from `Get-GitHubIssue` have actual `[DateTime]` values
227
243
for the date properties. For an updated example of doing this, refer to [example usage](USAGE.md#querying-issues).
228
-
-`Get-GitHubWeeklyIssueForRepository` has been removed and functionally replaced by `Group-GitHubIssue`.
244
+
*`Get-GitHubWeeklyIssueForRepository` has been removed and functionally replaced by `Group-GitHubIssue`.
229
245
For an updated example of using it, refer to [example usage](USAGE.md#querying-issues)
230
-
-`Get-GitHubTopIssueRepository` has been removed. We have [updated examples](USAGE.md#querying-issues)
246
+
*`Get-GitHubTopIssueRepository` has been removed. We have [updated examples](USAGE.md#querying-issues)
231
247
for how to accomplish the same scenario.
232
-
-`Get-GitHubPullRequestForRepository` has been removed and replaced with `Get-GitHubPullRequest`.
248
+
*`Get-GitHubPullRequestForRepository` has been removed and replaced with `Get-GitHubPullRequest`.
233
249
The key difference between these two is that it no longer accepts multiple repositories as single
234
250
input, and filtering on creation/merged date can be done after the fact piping the results into
235
251
`Where-Object` now that the returned objects from `Get-GitHubPullRequest` have actual `[DateTime]` values
236
252
for the date properties. For an updated example of doing this, refer to [example usage](USAGE.md#querying-pull-requests).
237
-
-`Get-GitHubWeeklyPullRequestForRepository` has been removed and functionally replaced by `Group-GitHubPullRequest`.
253
+
*`Get-GitHubWeeklyPullRequestForRepository` has been removed and functionally replaced by `Group-GitHubPullRequest`.
238
254
For an updated example of using it, refer to [example usage](USAGE.md#querying-pull-requests)
239
-
-`Get-GitHubTopPullRequestRepository` has been removed. We have [updated examples](USAGE.md#querying-pull-requests)
255
+
*`Get-GitHubTopPullRequestRepository` has been removed. We have [updated examples](USAGE.md#querying-pull-requests)
240
256
for how to accomplish the same scenario.
241
-
-`Get-GitHubRepositoryNameFromUrl` and `GitHubRepositoryOwnerFromUrl` have been removed and
257
+
*`Get-GitHubRepositoryNameFromUrl` and `GitHubRepositoryOwnerFromUrl` have been removed and
242
258
functionally replaced by `Split-GitHubUri`
243
-
-`Get-GitHubRepositoryUniqueContributor` has been removed. We have an
259
+
*`Get-GitHubRepositoryUniqueContributor` has been removed. We have an
244
260
[updated example](USAGE.md#querying-contributors) for how to accomplish the same scenario.
245
-
-`GitHubOrganizationRepository` has been removed. You can now retrieve repositories for an
261
+
*`GitHubOrganizationRepository` has been removed. You can now retrieve repositories for an
246
262
organization via `Get-GitHubRepository -OrganizationName <name>`.
247
-
-`Get-GitHubAuthenticatedUser` has been replaced with `Get-GitHubUser -Current`.
263
+
*`Get-GitHubAuthenticatedUser` has been replaced with `Get-GitHubUser -Current`.
248
264
249
265
More Info: [[pr]](https://github.com/PowerShell/PowerShellForGitHub/pull/39) | [[cl]](https://github.com/PowerShell/PowerHellForGitHub/commit/eb33688e5b8d688d28e8582b76b526da3c4428be)
0 commit comments