Skip to content

Release 2.0.0

Choose a tag to compare

@github-actions github-actions released this 04 Apr 19:02
91b621d

Add functions for managing Dashboards and Queries (#12)

  • Add Get-AzDODashboard function to retrieve Azure DevOps dashboards

  • Enhance Get-AzDODashboard function to support multiple names and IDs for dashboard retrieval

  • Add detailed documentation for Get-AzDODashboard function parameters and usage

  • Update build.ps1

  • Add Set-AzDODashboard function to create or update Azure DevOps dashboards

  • Add error handling to Get-AzDODashboard for dashboard retrieval

  • Improve logging messages in Set-AzDODashboard for clarity on dashboard creation and updates

  • Add support for a team parameter

  • Add Get-AzDOTeam function to retrieve Azure DevOps team information

  • add missing param

  • fix endpoint

  • output all teams if no name is specified

  • Enhance Get-AzDODashboard function to filter dashboards by team parameter and improve name matching logic

  • Add Team parameter to Set-AzDODashboard function for dashboard creation and updates

  • Check whether dashboard exists

  • Add logic to retrieve destination dashboard if not found and handle multiple dashboards warning

  • Enhance Get-AzDODashboard function to include team information in dashboard retrieval

  • Enhance Get-AzDODashboard function to include CollectionUri and Pat parameters for team retrieval

  • fix output

  • Refactor Get-AzDODashboard to use Add-Member for adding team information

  • Add New-AzDODashboard function to create or update dashboards in Azure DevOps

  • Change New-AzDODashboard method from 'Put' to 'Post' for dashboard creation

  • Fix New-AzDODashboard function to set default value for Widget parameter

  • Add IncludeTeam parameter to Get-AzDODashboard and refactor Set-AzDODashboard for improved dashboard handling

  • Refactor Set-AzDODashboard to dynamically set HTTP method and endpoint based on dashboard ID

  • Enhance Set-AzDODashboard to handle dashboard retrieval on update failure

  • Fix Set-AzDODashboard to return updated dashboard object on successful update

  • Add Get-AzDODashboardWidget and Set-AzDODashboardWidget functions for managing dashboard widgets in Azure DevOps

  • Downgrade API version in Get-AzDODashboardWidget and Set-AzDODashboardWidget to '7.1-preview.2'

  • Downgrade API version in Get-AzDODashboard, New-AzDODashboard, and Set-AzDODashboard to '7.1-preview.2'

  • Revert "Downgrade API version in Get-AzDODashboard, New-AzDODashboard, and Set-AzDODashboard to '7.1-preview.2'"

This reverts commit db29514.

  • Fix Set-AzDODashboardWidget to correctly format the request body for widget updates

  • Refactor Set-AzDODashboardWidget to handle individual widget updates and improve request processing

  • remove unused function

  • Enhance Set-AzDODashboardWidget to dynamically set endpoint based on widget ID for improved widget management

  • Add logging for widget updates in Set-AzDODashboardWidget function

  • Add Get-AzDOQuery function to retrieve Azure DevOps queries via REST API

  • Add Set-AzDOQuery function to create or update Azure DevOps queries with support for Id and Path parameters

  • Enhance Get-AzDOQuery function to set default parameter set and improve parameter handling in Set-AzDOQuery function

  • add depth range

  • Enhance Set-AzDOQuery function to set default parameter set to 'Path' and add support for 'Name' and 'Type' parameters

  • Enhance Get-AzDOQuery and Set-AzDOQuery functions to support folder queries and improve parameter handling

  • Update Set-AzDOQuery function to use Id parameter instead of Name for query retrieval

  • Refactor Set-AzDOQuery function to update parameter sets for folder and child queries

  • Fix endpoint construction in Set-AzDOQuery function to correctly reference Id parameter

  • Refactor Set-AzDOQuery function to simplify parameter handling and update endpoint construction for query retrieval

  • Refactor Set-AzDOQuery function to enhance parameter handling and support folder queries

  • Refactor Set-AzDOQuery function to streamline parameter sets and improve handling of Id and Path parameters

  • Refactor Set-AzDOQuery function to adjust Path handling by removing the leaf component if it matches the Name

  • Add check to skip creation of existing root folders in Set-AzDOQuery function

  • Refactor Set-AzDOQuery function to remove unnecessary conditional checks after invoking the API method

  • Fix typo in folder name check within Set-AzDOQuery function

  • Add error handling to Set-AzDOQuery for name conflict during API calls

  • Add query path handling and update request body in Set-AzDOQuery for name conflict resolution

  • Update Set-AzDOQuery to always use 'Post' method and add query retrieval after API call

  • Encode query parameters in Set-AzDOQuery to handle special characters and improve path handling

  • Add NoRetry parameter to Set-AzDOQuery for improved API call control

  • Refactor Set-AzDOQuery to remove URL encoding for name and path, and adjust HTTP method handling for query updates

  • Replace URL encoding with Uri.EscapeDataString for query path handling in Set-AzDOQuery

  • Add Export-EncodedUri function for URI encoding in API calls

  • Enhance Set-AzDOQuery to handle existing queries gracefully and skip updates for non-folder queries

  • Add ErrorAction parameter to Set-AzDOQuery for improved error handling

  • Add warning for skipping updates on existing queries in Set-AzDOQuery

  • Add error logging for query setting failures in Set-AzDOQuery

  • Improve error message in Set-AzDOQuery to include the new query path on failure

  • Refactor Set-AzDOQuery to simplify JSON body creation by removing unnecessary URL replacement

  • rev to v2

  • CLean up

https://www.powershellgallery.com/packages/AzDOCmd/2.0.0