Skip to content

Release 2.9.0+3583.93

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 15 Aug 17:02
· 91 commits to e428cbd11a1c99bae0f219824e5eb539f3148fb2 since this release
4b27cde

This release adds new process-related cmdlets along with some fixes, enhancements and a couple minor but potentially breaking changes.

New cmdlets

  • Get-ProcessFieldDefinition: Gets information from one or more organization-wide work item fields
  • New-ProcessFieldDefinition: Creates a new organization-wide work item field
  • Remove-ProcessFieldDefinition: Removes an organization-wide work item field

Fixes

  • Get-TfsArtifact: Fixed an issue where it wouldn't list deleted packages.
  • Get-TfsArtifactFeed: Fixed an issue where it would ignore the -Project argument and thus not filter feeds by project.
  • Get-TfsWorkItemTag: Fixed an issue where it would fail when given a list of tags as input.
  • Get-TfsWorkItemType: Fixed an issue where it would throw a "Parameter count mismatch" error when trying to get the work item type of a given work item.

Changes and enhancements

  • Get-TfsGitBranch: Added a new -Compare argument to to get the "Compare" (base) branch of a given repository.
  • Connect-TfsTeamProjectCollection, Connect-TfsOrganization: Now it throws an error when trying to connect with invalid credentials instead of silently going into "anonymous mode". That help preventing subtle script errors where the lack of authorization would only be noticed later in the script, when trying to actually perform some command that required valid credentials. Now you get the warning that something is wrong as early in the script as possible.

Breaking changes

  • Get-TfsGitBranch: -Repository parameter is now mandatory. This is to reduce the ambiguity of the command when omitting that argument. Scripts that rely on the old behavior may need to be updated.
  • Get-TfsGitBranchPolicy: Both -Branch and -Repository parameters are now mandatory. This is to reduce the ambiguity of the command when omitting those arguments. Scripts that rely on the old behavior may need to be updated.