Releases: igoravl/TfsCmdlets
Release 2.1.0+2485.8
On the user-facing front, this release adds cmdlets to enable/disable Git repositories.
But another big change is a refactoring of the project structure to simplify the codebase. Now, instead of three projects (TfsCmdlets.Common, TfsCmdlets.PSDesktop, and TfsCmdlets.PSCore), there is only one project (TfsCmdlets), which leverages .NET SDK multi-targeting support to achieve what previously required separate projects for each target framework. This change will speed up the development process and make it easier to add new cmdlets in the future.
Improvements
- Enable-TfsGitRepository and Disable-TfsGitRepository: Adds cmdlets to enable/disable Git repositories. When a repository is disabled it cannot be accessed (including clones, pulls, pushes, builds, pull requests etc) but remains discoverable, with a warning message stating it is disabled. (fixes #131)
Release 2.0.1+2474.3
REQUIRED UPDATE: This update adds a missing directive to the manifest file so that cmdlets are properly exported/exposed.
Users with TfsCmdlets v2.0.0 must update to this version to use the module.
Release 2.0.0
First official release in the 2.0 series, it has a few improvements over the previous release.
Improvements
- New defaults in New-TfsTeamProject: New-TfsTeamProject now has default values for arguments
SourceControl
(defaults to Git) andProcessTemplate
(defaults to the default process template in the organization). With that, the only required argument to create a team project is its name. (fixes #116) - Iteration dates in New-TfsIteration: This cmdlet has two new arguments,
StartDate
andFinishDate
, so that iteration dates can be set during creation with a single command. Previously, it has needed to call Set-TfsIteration after creating an iteration. - Support for ErrorAction: Some cmdlets - namely Get-TfsTeamProject and Get-TfsWorkItem - now support
-ErrorAction
. This way, a script can continue running when there is an error fetching some of requested items .
Bug Fixes
Release 2.0.0-rc.5+2368.4
Replaces Azure DevOps CI pipeline with one based on GitHub Actions.
Improvements
- GitHub Actions workflow: Although Azure Pipelines has served us well throughout the years, the time has come to replace it with GitHub Actions. Now, the whole build/release pipeline is implemented as a GitHub Actions workflow.
New cmdlets
- Set-TfsTeamProject: This new cmdlet adds support to editing team project details. It is a work in progress, though; presently, it only supports setting the team project icon ("avatar").
Fixes
- Fix documentation site generation (cd8bc36)
Other changes
Version 2.0.0-rc.4+2355.2
Version 2.0.0-rc.4 (05/Apr/2021)
Improve work item link support.
Improvements
- Get Work Item by URL: Now
Get-TfsWorkItem
can receive a URL to a work item (in the form ofhttps://dev.azure.com/<org>/<proj>/_apis/wit/workItems/<id>
) as a parameter. This way, APIs that return URLs to work items (such as work item links) can be easily "rehydrated" by simply supplying the returned URL toGet-TfsWorkItem
. - Add filter by well-known link types (8a487b9): Now
Get-TfsWorkItemLink
has a LinkType argument, to retrieve only the links of the specified type. - Add format to WorkItemRelation (4b10ae4): Objects of type WorkItemRelation are now properly formatted when outputted - added to support
Get-TfsWorkItemLink
.
Fixes
- Fix bug in parameter override logic (fdba69a)
- Fix StructureGroup value in New-TfsIteration (f18609e)
BREAKING CHANGES
The pipeline input parameter for Get-TfsWorkItem
has changed from Project to WorkItem. Scripts that rely on piping projects to Get-TfsWorkItem
will stop working. This change was made to better support scenarios such as retrieving the work items referenced by the links returned by Get-TfsWorkItemLink
. A typical usage would be:
# Gets the parent of work item #123
Get-TfsWorkItemLink -WorkItem 123 -LinkType Parent | Get-TfsWorkItem
Version 2.0.0-rc.3+2310.2
TfsCmdlets Release Notes
Version 2.0.0-rc.3 (19/Feb/2021)
Add preliminary work item link / attachment support.
New cmdlets
- Export-TfsWorkItemAttachment: Downloads the file contents of work item attachments.
Migrated cmdlets
- Get-TfsWorkItemLink: To get links and attachment metadata from work items.
Updated cmdlets
- Get-TfsWorkItem: New switch
-IncludeLinks
to fetch link/attachment information
Version 2.0.0-rc.2+2230.5
TfsCmdlets Release Notes
Version 2.0.0-rc.2 (30/Nov/2020)
This release focuses mostly in documentation updates.
Version 2.0.0-rc.1
This is the first public release of the 2.0 branch. Expect a few more release candidate releases before the final 2.0 build. It also adds three new cmdlets for managing Wikis.
Improvements
- Adds Get-TfsWiki, New-TfsWiki and Remove-TfsWiki
Version 2.0.0-beta.16+2195.2
This release adds two new cmdlets for accessing the TFS Registry, and also turns Get-TfsConfigurationServer into a cross-platform cmdlet (previously it was Windows PowerShell-only).
Improvements
- Adds Get-TfsRegistryValue and Set-TfsRegistryValue.
- Get-TfsConfiguration can now be run in PowerShell Core.
- Updates Get-TfsVersion to recognize Azure DevOps Server 2020