# @backstage/plugin-azure-devops ## 0.2.1-next.0 ### Patch Changes - Updated dependencies - @backstage/catalog-model@1.1.2-next.0 - @backstage/core-components@0.11.2-next.0 - @backstage/plugin-catalog-react@1.1.5-next.0 - @backstage/core-plugin-api@1.0.7-next.0 - @backstage/errors@1.1.2-next.0 - @backstage/theme@0.2.16 - @backstage/plugin-azure-devops-common@0.3.0 ## 0.2.0 ### Minor Changes - 6c1c59b96e: Added README card `EntityAzureReadmeCard` for Azure Devops. To get the README component working you'll need to do the following two steps: 1. First we need to add the @backstage/plugin-azure-devops package to your frontend app: ```bash # From your Backstage root directory yarn add --cwd packages/app @backstage/plugin-azure-devops ``` 2. Second we need to add the `EntityAzureReadmeCard` extension to the entity page in your app: ```tsx // In packages/app/src/components/catalog/EntityPage.tsx import { EntityAzureReadmeCard, isAzureDevOpsAvailable, } from '@backstage/plugin-azure-devops'; // As it is a card, you can customize it the way you prefer // For example in the Service section const overviewContent = ( ... ); ``` **Notes:** - You'll need to add the `EntitySwitch.Case` above from step 2 to all the entity sections you want to see Readme in. For example if you wanted to see Readme when looking at Website entities then you would need to add this to the `websiteEntityPage` section. - The `if` prop is optional on the `EntitySwitch.Case`, you can remove it if you always want to see the tab even if the entity being viewed does not have the needed annotation - The `maxHeight` property on the `EntityAzureReadmeCard` will set the maximum screen size you would like to see, if not set it will default to 100% ### Patch Changes - 817f3196f6: Updated React Router dependencies to be peer dependencies. - 3f739be9d9: Minor API signatures cleanup - 7d47def9c4: Removed dependency on `@types/jest`. - 667d917488: Updated dependency `msw` to `^0.47.0`. - 87ec2ba4d6: Updated dependency `msw` to `^0.46.0`. - bf5e9030eb: Updated dependency `msw` to `^0.45.0`. - Updated dependencies - @backstage/core-components@0.11.1 - @backstage/core-plugin-api@1.0.6 - @backstage/plugin-catalog-react@1.1.4 - @backstage/plugin-azure-devops-common@0.3.0 - @backstage/catalog-model@1.1.1 - @backstage/errors@1.1.1 ## 0.2.0-next.3 ### Patch Changes - 7d47def9c4: Removed dependency on `@types/jest`. - Updated dependencies - @backstage/plugin-catalog-react@1.1.4-next.2 - @backstage/catalog-model@1.1.1-next.0 - @backstage/core-components@0.11.1-next.3 - @backstage/core-plugin-api@1.0.6-next.3 - @backstage/errors@1.1.1-next.0 ## 0.2.0-next.2 ### Patch Changes - 667d917488: Updated dependency `msw` to `^0.47.0`. - 87ec2ba4d6: Updated dependency `msw` to `^0.46.0`. - Updated dependencies - @backstage/core-components@0.11.1-next.2 - @backstage/core-plugin-api@1.0.6-next.2 ## 0.2.0-next.1 ### Patch Changes - 817f3196f6: Updated React Router dependencies to be peer dependencies. - Updated dependencies - @backstage/core-components@0.11.1-next.1 - @backstage/core-plugin-api@1.0.6-next.1 - @backstage/plugin-catalog-react@1.1.4-next.1 ## 0.2.0-next.0 ### Minor Changes - 6c1c59b96e: Added README card `EntityAzureReadmeCard` for Azure Devops. To get the README component working you'll need to do the following two steps: 1. First we need to add the @backstage/plugin-azure-devops package to your frontend app: ```bash # From your Backstage root directory yarn add --cwd packages/app @backstage/plugin-azure-devops ``` 2. Second we need to add the `EntityAzureReadmeCard` extension to the entity page in your app: ```tsx // In packages/app/src/components/catalog/EntityPage.tsx import { EntityAzureReadmeCard, isAzureDevOpsAvailable, } from '@backstage/plugin-azure-devops'; // As it is a card, you can customize it the way you prefer // For example in the Service section const overviewContent = ( ... ); ``` **Notes:** - You'll need to add the `EntitySwitch.Case` above from step 2 to all the entity sections you want to see Readme in. For example if you wanted to see Readme when looking at Website entities then you would need to add this to the `websiteEntityPage` section. - The `if` prop is optional on the `EntitySwitch.Case`, you can remove it if you always want to see the tab even if the entity being viewed does not have the needed annotation - The `maxHeight` property on the `EntityAzureReadmeCard` will set the maximum screen size you would like to see, if not set it will default to 100% ### Patch Changes - 3f739be9d9: Minor API signatures cleanup - bf5e9030eb: Updated dependency `msw` to `^0.45.0`. - Updated dependencies - @backstage/plugin-azure-devops-common@0.3.0-next.0 - @backstage/core-plugin-api@1.0.6-next.0 - @backstage/core-components@0.11.1-next.0 - @backstage/plugin-catalog-react@1.1.4-next.0 ## 0.1.24 ### Patch Changes - Updated dependencies - @backstage/core-components@0.11.0 - @backstage/core-plugin-api@1.0.5 - @backstage/plugin-catalog-react@1.1.3 ## 0.1.24-next.1 ### Patch Changes - Updated dependencies - @backstage/plugin-catalog-react@1.1.3-next.2 - @backstage/core-components@0.11.0-next.2 ## 0.1.24-next.0 ### Patch Changes - Updated dependencies - @backstage/core-plugin-api@1.0.5-next.0 - @backstage/plugin-catalog-react@1.1.3-next.0 - @backstage/core-components@0.10.1-next.0 ## 0.1.23 ### Patch Changes - a70869e775: Updated dependency `msw` to `^0.43.0`. - 4e9a90e307: Updated dependency `luxon` to `^3.0.0`. - 8006d0f9bf: Updated dependency `msw` to `^0.44.0`. - e049e41048: Exporting azureDevOpsApiRef, AzureGitTagsIcon, and all hooks for the benefit of other plugins. - Updated dependencies - @backstage/core-components@0.10.0 - @backstage/catalog-model@1.1.0 - @backstage/core-plugin-api@1.0.4 - @backstage/plugin-catalog-react@1.1.2 - @backstage/theme@0.2.16 - @backstage/errors@1.1.0 - @backstage/plugin-azure-devops-common@0.2.4 ## 0.1.23-next.3 ### Patch Changes - a70869e775: Updated dependency `msw` to `^0.43.0`. - 4e9a90e307: Updated dependency `luxon` to `^3.0.0`. - Updated dependencies - @backstage/core-plugin-api@1.0.4-next.0 - @backstage/core-components@0.10.0-next.3 - @backstage/catalog-model@1.1.0-next.3 - @backstage/plugin-catalog-react@1.1.2-next.3 - @backstage/plugin-azure-devops-common@0.2.4-next.0 ## 0.1.23-next.2 ### Patch Changes - Updated dependencies - @backstage/core-components@0.10.0-next.2 - @backstage/catalog-model@1.1.0-next.2 - @backstage/theme@0.2.16-next.1 - @backstage/plugin-catalog-react@1.1.2-next.2 ## 0.1.23-next.1 ### Patch Changes - Updated dependencies - @backstage/core-components@0.9.6-next.1 - @backstage/catalog-model@1.1.0-next.1 - @backstage/errors@1.1.0-next.0 - @backstage/theme@0.2.16-next.0 - @backstage/plugin-catalog-react@1.1.2-next.1 ## 0.1.23-next.0 ### Patch Changes - e049e41048: Exporting azureDevOpsApiRef, AzureGitTagsIcon, and all hooks for the benefit of other plugins. - Updated dependencies - @backstage/catalog-model@1.1.0-next.0 - @backstage/core-components@0.9.6-next.0 - @backstage/plugin-catalog-react@1.1.2-next.0 ## 0.1.22 ### Patch Changes - 8f7b1835df: Updated dependency `msw` to `^0.41.0`. - Updated dependencies - @backstage/plugin-catalog-react@1.1.1 - @backstage/core-components@0.9.5 - @backstage/core-plugin-api@1.0.3 - @backstage/catalog-model@1.0.3 ## 0.1.22-next.1 ### Patch Changes - 8f7b1835df: Updated dependency `msw` to `^0.41.0`. - Updated dependencies - @backstage/core-components@0.9.5-next.1 - @backstage/core-plugin-api@1.0.3-next.0 - @backstage/catalog-model@1.0.3-next.0 - @backstage/plugin-catalog-react@1.1.1-next.1 ## 0.1.22-next.0 ### Patch Changes - Updated dependencies - @backstage/plugin-catalog-react@1.1.1-next.0 - @backstage/core-components@0.9.5-next.0 ## 0.1.21 ### Patch Changes - ac14fcaf38: Added entity view for Azure Git Tags, based on existing Pull Requests view - Updated dependencies - @backstage/core-components@0.9.4 - @backstage/core-plugin-api@1.0.2 - @backstage/plugin-catalog-react@1.1.0 - @backstage/plugin-azure-devops-common@0.2.3 - @backstage/catalog-model@1.0.2 ## 0.1.21-next.2 ### Patch Changes - ac14fcaf38: Added entity view for Azure Git Tags, based on existing Pull Requests view - Updated dependencies - @backstage/core-components@0.9.4-next.1 - @backstage/plugin-azure-devops-common@0.2.3-next.0 - @backstage/plugin-catalog-react@1.1.0-next.2 - @backstage/catalog-model@1.0.2-next.0 - @backstage/core-plugin-api@1.0.2-next.1 ## 0.1.21-next.1 ### Patch Changes - Updated dependencies - @backstage/core-components@0.9.4-next.0 - @backstage/core-plugin-api@1.0.2-next.0 - @backstage/plugin-catalog-react@1.1.0-next.1 ## 0.1.21-next.0 ### Patch Changes - Updated dependencies - @backstage/plugin-catalog-react@1.1.0-next.0 ## 0.1.20 ### Patch Changes - 24254fd433: build(deps): bump `@testing-library/user-event` from 13.5.0 to 14.0.0 - 230ad0826f: Bump to using `@types/node` v16 - Updated dependencies - @backstage/plugin-catalog-react@1.0.1 - @backstage/catalog-model@1.0.1 - @backstage/core-components@0.9.3 - @backstage/core-plugin-api@1.0.1 ## 0.1.20-next.1 ### Patch Changes - 24254fd433: build(deps): bump `@testing-library/user-event` from 13.5.0 to 14.0.0 - 230ad0826f: Bump to using `@types/node` v16 - Updated dependencies - @backstage/core-components@0.9.3-next.2 - @backstage/core-plugin-api@1.0.1-next.0 - @backstage/plugin-catalog-react@1.0.1-next.3 ## 0.1.20-next.0 ### Patch Changes - Updated dependencies - @backstage/catalog-model@1.0.1-next.0 - @backstage/plugin-catalog-react@1.0.1-next.0 - @backstage/core-components@0.9.3-next.0 ## 0.1.19 ### Patch Changes - a422d7ce5e: chore(deps): bump `@testing-library/react` from 11.2.6 to 12.1.3 - 4e6327ef7a: Updated readme - Updated dependencies - @backstage/core-components@0.9.2 - @backstage/core-plugin-api@1.0.0 - @backstage/plugin-catalog-react@1.0.0 - @backstage/catalog-model@1.0.0 - @backstage/errors@1.0.0 ## 0.1.18 ### Patch Changes - Updated dependencies - @backstage/plugin-catalog-react@0.9.0 - @backstage/core-components@0.9.1 - @backstage/catalog-model@0.13.0 ## 0.1.18-next.0 ### Patch Changes - Updated dependencies - @backstage/plugin-catalog-react@0.9.0-next.0 - @backstage/core-components@0.9.1-next.0 - @backstage/catalog-model@0.13.0-next.0 ## 0.1.17 ### Patch Changes - Updated dependencies - @backstage/catalog-model@0.12.0 - @backstage/core-components@0.9.0 - @backstage/plugin-catalog-react@0.8.0 - @backstage/core-plugin-api@0.8.0 ## 0.1.16 ### Patch Changes - Updated dependencies - @backstage/core-components@0.8.10 - @backstage/plugin-catalog-react@0.7.0 - @backstage/catalog-model@0.11.0 - @backstage/core-plugin-api@0.7.0 ## 0.1.15 ### Patch Changes - 1ed305728b: Bump `node-fetch` to version 2.6.7 and `cross-fetch` to version 3.1.5 - c77c5c7eb6: Added `backstage.role` to `package.json` - Updated dependencies - @backstage/core-components@0.8.9 - @backstage/core-plugin-api@0.6.1 - @backstage/errors@0.2.1 - @backstage/plugin-catalog-react@0.6.15 - @backstage/catalog-model@0.10.0 - @backstage/theme@0.2.15 - @backstage/plugin-azure-devops-common@0.2.1 ## 0.1.14 ### Patch Changes - Updated dependencies - @backstage/core-components@0.8.8 - @backstage/plugin-catalog-react@0.6.14 ## 0.1.14-next.0 ### Patch Changes - Updated dependencies - @backstage/core-components@0.8.8-next.0 - @backstage/plugin-catalog-react@0.6.14-next.0 ## 0.1.13 ### Patch Changes - Updated dependencies - @backstage/core-components@0.8.7 - @backstage/plugin-catalog-react@0.6.13 ## 0.1.13-next.0 ### Patch Changes - Updated dependencies - @backstage/core-components@0.8.7-next.0 - @backstage/plugin-catalog-react@0.6.13-next.0 ## 0.1.12 ### Patch Changes - 0f104ecc4d: Updated to support cases where only Azure Pipelines to see Builds. You can use this new feature by adding the `dev.azure.com/project` and `dev.azure.com/build-definition` annotations to your `catalog-info.yaml` files. The Azure DevOps plugin [README has more detailed instructions](https://github.com/backstage/backstage/tree/master/plugins/azure-devops#setup). - Updated dependencies - @backstage/core-components@0.8.6 ## 0.1.11 ### Patch Changes - 51fbedc445: Migrated usage of deprecated `IdentityApi` methods. - Updated dependencies - @backstage/core-components@0.8.5 - @backstage/core-plugin-api@0.6.0 - @backstage/plugin-catalog-react@0.6.12 - @backstage/catalog-model@0.9.10 ## 0.1.11-next.0 ### Patch Changes - 51fbedc445: Migrated usage of deprecated `IdentityApi` methods. - Updated dependencies - @backstage/core-components@0.8.5-next.0 - @backstage/core-plugin-api@0.6.0-next.0 - @backstage/plugin-catalog-react@0.6.12-next.0 - @backstage/catalog-model@0.9.10-next.0 ## 0.1.10 ### Patch Changes - a2ed2c2d69: - feat: Created PullRequestsDashboardProvider for resolving team and team member relations - feat: Created useUserTeamIds hook. - feat: Updated useFilterProcessor to provide teamIds for `AssignedToCurrentUsersTeams` and `CreatedByCurrentUsersTeams` filters. - 5333451def: Cleaned up API exports - Updated dependencies - @backstage/core-components@0.8.4 - @backstage/core-plugin-api@0.5.0 - @backstage/plugin-azure-devops-common@0.2.0 - @backstage/plugin-catalog-react@0.6.11 - @backstage/errors@0.2.0 - @backstage/catalog-model@0.9.9 ## 0.1.9 ### Patch Changes - 4ce51ab0f1: Internal refactor of the `react-use` imports to use `react-use/lib/*` instead. - Updated dependencies - @backstage/core-plugin-api@0.4.1 - @backstage/plugin-catalog-react@0.6.10 - @backstage/core-components@0.8.3 ## 0.1.8 ### Patch Changes - Updated dependencies - @backstage/core-plugin-api@0.4.0 - @backstage/plugin-catalog-react@0.6.8 - @backstage/core-components@0.8.2 ## 0.1.7 ### Patch Changes - daf32e2c9b: Created some initial filters that can be used to create pull request columns: - All - AssignedToUser - AssignedToCurrentUser - AssignedToTeam - AssignedToTeams - AssignedToCurrentUsersTeams - CreatedByUser - CreatedByCurrentUser - CreatedByTeam - CreatedByTeams - CreatedByCurrentUsersTeams Example custom column creation: ```tsx const COLUMN_CONFIGS: PullRequestColumnConfig[] = [ { title: 'Created by me', filters: [{ type: FilterType.CreatedByCurrentUser }], }, { title: 'Created by Backstage Core', filters: [ { type: FilterType.CreatedByTeam, teamName: 'Backstage Core', }, ], }, { title: 'Assigned to my teams', filters: [{ type: FilterType.AssignedToCurrentUsersTeams }], }, { title: 'Other PRs', filters: [{ type: FilterType.All }], simplified: true, }, ]; } />; ``` - Updated dependencies - @backstage/core-plugin-api@0.3.1 - @backstage/core-components@0.8.1 - @backstage/plugin-azure-devops-common@0.1.3 - @backstage/catalog-model@0.9.8 - @backstage/plugin-catalog-react@0.6.7 ## 0.1.6 ### Patch Changes - cd450844f6: Moved React dependencies to `peerDependencies` and allow both React v16 and v17 to be used. - Updated dependencies - @backstage/core-components@0.8.0 - @backstage/core-plugin-api@0.3.0 - @backstage/plugin-catalog-react@0.6.5 - @backstage/plugin-azure-devops-common@0.1.2 ## 0.1.5 ### Patch Changes - 0749dd0307: feat: Created pull request card component and initial pull request dashboard page. - 82cd709fdb: **Backend** - Created new `/dashboard-pull-requests/:projectName` endpoint - Created new `/all-teams` endpoint - Implemented pull request policy evaluation conversion **Frontend** - Refactored `PullRequestsPage` and added new properties for `projectName` and `pollingInterval` - Fixed spacing issue between repo link and creation date in `PullRequestCard` - Added missing condition to `PullRequestCardPolicy` for `RequiredReviewers` - Updated `useDashboardPullRequests` hook to implement long polling for pull requests - Updated dependencies - @backstage/plugin-azure-devops-common@0.1.1 - @backstage/core-components@0.7.6 - @backstage/theme@0.2.14 - @backstage/core-plugin-api@0.2.2 ## 0.1.4 ### Patch Changes - a125278b81: Refactor out the deprecated path and icon from RouteRefs - b5eac957f2: Added entity view for Azure Repo Pull Requests - 2b5ccd2964: Improved Date handling for the Azure DevOps set of plugins by using strings and letting the frontend handle the conversion to DateTime - Updated dependencies - @backstage/catalog-model@0.9.7 - @backstage/plugin-catalog-react@0.6.4 - @backstage/core-components@0.7.4 - @backstage/core-plugin-api@0.2.0 - @backstage/plugin-azure-devops-common@0.1.0 ## 0.1.3 ### Patch Changes - b85acc8c35: refactor(`@backstage/plugin-azure-devops`): Consume types from `@backstage/plugin-azure-devops-common`. Stop re-exporting types from `@backstage/plugin-azure-devops-backend`. Added new types to `@backstage/plugin-azure-devops-common`. - 84ace9a29c: Simplified queue time calculation in `BuildTable`. - Updated dependencies - @backstage/core-components@0.7.3 - @backstage/theme@0.2.13 - @backstage/plugin-azure-devops-common@0.0.2 - @backstage/core-plugin-api@0.1.13 - @backstage/plugin-catalog-react@0.6.3 ## 0.1.2 ### Patch Changes - 7359623e87: Azure DevOps frontend refactoring items from issue #7641 - Remove backend setup documentation and linked to the Azure DevOps backend plugin for these instructions - Improved documentation to be easier to expand with new features in the future - Removed Router based on feedback from maintainers - Added tests for `getBuildResultComponent` and `getBuildStateComponent` from the BuildTable - Updated dependencies - @backstage/theme@0.2.12 - @backstage/errors@0.1.4 - @backstage/core-components@0.7.2 - @backstage/plugin-catalog-react@0.6.2 - @backstage/catalog-model@0.9.6 - @backstage/core-plugin-api@0.1.12 ## 0.1.1 ### Patch Changes - Updated dependencies - @backstage/plugin-catalog-react@0.6.0 - @backstage/core-components@0.7.0 - @backstage/theme@0.2.11