Skip to content

Releases: igoravl/TfsCmdlets

Release 2.10.0+4172.10

27 Mar 20:41
dbcb95f

Choose a tag to compare

Added

  • -AzureLogin switch parameter for all credential-bearing cmdlets (e.g. Connect-TfsTeamProjectCollection, Connect-TfsOrganization, and all cmdlets that accept credential parameters). Uses DefaultAzureCredential from the Azure.Identity SDK to authenticate to Azure DevOps by inheriting the current Azure authentication context (Azure CLI, Managed Identity, Visual Studio, Environment Variables, etc.). Tokens are short-lived (~1 hour) and are automatically renewed when they expire.
  • Azure.Identity NuGet package dependency for Azure credential support.

Release 2.9.2+3932.5

30 Jul 05:25
8b4903b

Choose a tag to compare

This release fixes a bug in Get-TfsGitItem cmdlet.

Fixes

  • Get-TfsGitItem: Fixed an issue where the cmdlet would fail when specifying a commit SHA.

Release 2.9.1+3877.9

05 Jun 15:03
9e096ed

Choose a tag to compare

This release fixes a critical bug in Set-TfsWorkItem, among other improvements.

Fixes

  • Get-TfsVersion: Adds support for Azure DevOps Services version "20" (currently mapped to 2022)
  • Remove-TfsTeamProject: Removes a double-confirmation prompt when using the -Hard switch, simplifying the deletion process
  • Set-TfsWorkItem: Fixed an issue where the actual work item ID wasn't being used when retrieving work item type information, causing some field updates to fail

Release 2.9.0+3583.93

15 Aug 17:02
4b27cde

Choose a tag to compare

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.

Release 2.8.2+3561.26

24 Jul 17:44
073ff45

Choose a tag to compare

This release brings some fixes and enhancements.

Enhancements

  • Add-TfsWorkItemLink: Added support for specifying the arguments -SuppressNotification and -BypassRules to suppress notifications and bypass rules when adding a work item link.
  • Now when when a cmdlet fails, a full exception dump will be sent to the verbose output stream in addition to the short error message sent to the error stream. So, if your script is failing and you don't know why, you can enable the verbose output to get more information about the error.

Fixes

  • Fixed an issue where the Get-TfsTeam cmdlet would not work when specifying the -Default parameter.
  • Fixed an issue where Invoke-TfsRestApi would ignore the parameters passed via the -Parameters argument [#228]

Release 2.8.1+3553.1

16 Jul 15:08
ca2d168

Choose a tag to compare

This release fixes an issue with the New-TfsUser cmdlet.

Fixes

  • Fixed an issue where the New-TfsUser cmdlet could throw an error when not supplying project entitlements via the -Project argument.

Release 2.8.0+3546.2

09 Jul 06:58
645b1fd

Choose a tag to compare

This release adds two new cmdlets: New-TfsUser and Remove-TfsUser.

New cmdlets

  • New-TfsUser: Creates a new user in the organization and optionally adds them to projects.
  • Remove-TfsUser: Removes a user from the organization.

Release 2.7.1+3540.1

03 Jul 19:27
4e35fb0

Choose a tag to compare

This release fixes an issue with the Chocolatey publishing process. No changes have been made to the cmdlets.

Release 2.7.0+3540.2

03 Jul 17:46
e570b7d

Choose a tag to compare

This release adds support for suppressing notifications when creating or updating work items.

New features

  • Adds -SuppressNotifications switch to New-TfsWorkItem and Set-TfsWorkItem to suppress notifications when creating or updating work items. This is useful when you are creating or updating a large number of work items and don't want to flood the notification feed of team members.

Release 2.6.1+3491.1

15 May 16:10
a8ad84b

Choose a tag to compare

Ouch! It's been a while since the last release! Sometimes life gets in the way, but I'm back!

This release fixes bugs in Get-TfsWorkItem, Get-TfsArea, Get-TfsIteration, Invoke-TfsRestApi, New-TfsTeam and Set-TfsTeam.

Fixes

  • Fixes #211, where Get-TfsWorkItem would throw an error when the -Fields parameter was "*".
  • Fixes a bug in Invoke-TfsRestApi where Azure DevOps APIs whose responses were missing the content-type header would throw an error.
  • Fixes a bug in Get-TfsArea and Get-TfsIteration where team projects containing Regex-reserved characters (such as parentheses) would throw an error. This bug would indirectly affect New-TfsTeam and Set-TfsTeam due to their reliance on the same underlying class to handle area and iteration paths when creating/updating teams.
  • Fixes a bug in Get-TfsWorkItem where the -AreaPath and -IterationPath parameters would not work when the specified path either started with a backslash or did not contain the team project name.
  • Adds the installed module version to the Azure DevOps Shell startup command to prevent loading an older version of the module when the PSModulePath variable contains an older version of the module listed earlier in the search path.