Merge remote-tracking branch 'upstream/master' into entra-rename

This commit is contained in:
Alex Crome
2023-10-28 10:39:42 +01:00
967 changed files with 28652 additions and 6839 deletions
+6
View File
@@ -0,0 +1,6 @@
---
'@backstage/plugin-catalog-backend': minor
'@backstage/plugin-catalog-node': minor
---
Support adding location analyzers in new catalog analysis extension point and move `AnalyzeOptions` and `ScmLocationAnalyzer` types to `@backstage/plugin-catalog-node`
+6
View File
@@ -0,0 +1,6 @@
---
'@backstage/cli-node': minor
'@backstage/cli': minor
---
Removed support for the `publishConfig.alphaTypes` and `.betaTypes` fields that were used together with `--experimental-type-build` to generate `/alpha` and `/beta` entry points. Use the `exports` field to achieve this instead.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-techdocs-node': patch
---
Switch to `@smithy/node-http-handler` instead of the `@aws-sdk/node-http-handler`
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-home': patch
---
Fix bug where `retrieveAll` method wasn't fetching visits
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/cli': patch
---
Switch from using deprecated `@esbuild-kit/*` packages to using `tsx`. This also switches to using the new module loader `register` API when available, avoiding the experimental warning when starting backends.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog': patch
---
Migrate catalog entity cards to new frontend system extension format.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-graphiql': minor
---
Upgrade to GraphiQL to 3.0.6
+6
View File
@@ -0,0 +1,6 @@
---
'@backstage/plugin-vault-node': minor
---
Initial version of the `plugin-vault-node`` package. It contains the extension point definitions
for the vault backend, as well as some types that will be deprecated in the backend plugin.
+6
View File
@@ -0,0 +1,6 @@
---
'@backstage/plugin-techdocs-module-addons-contrib': patch
'@backstage/plugin-techdocs': patch
---
Fixed navigation bug that caused users to not be scrolled to the top of a new page. Fixed navigation bug where using backwards and forwards browser navigation did not scroll users to the correct place on the TechDoc page.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-backend-module-gitlab': patch
---
Added try catch around fetching gitlab group users to prevent refresh from failing completely while only a select number of groups might not be able to load correctly.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-backend-module-backstage-openapi': minor
---
Adds a new catalog module for ingesting Backstage plugin OpenAPI specs into the catalog for display as an API entity.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-auth-backend-module-microsoft-provider': patch
---
Added support for specifying a domain hint on the Microsoft authentication provider configuration.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/frontend-app-api': patch
---
Refactor internal extension instance system into an app graph.
+33
View File
@@ -0,0 +1,33 @@
---
'@backstage/plugin-vault-backend': minor
---
Added support for the [new backend system](https://backstage.io/docs/backend-system/).
In your `packages/backend/src/index.ts` make the following changes:
```diff
import { createBackend } from '@backstage/backend-defaults';
const backend = createBackend();
// ... other feature additions
+ backend.add(import('@backstage/plugin-vault-backend');
backend.start();
```
If you use the new backend system, the token renewal task can be defined via configuration file:
```diff
vault:
baseUrl: <BASE_URL>
token: <TOKEN>
schedule:
+ frequency: ...
+ timeout: ...
+ # Other schedule options, such as scope or initialDelay
```
If the `schedule` is omitted or set to `false` no token renewal task will be scheduled.
If the value of `schedule` is set to `true` the renew will be scheduled hourly (the default).
In other cases (like in the diff above), the defined schedule will be used.
**DEPRECATIONS**: The interface `VaultApi` and the type `VaultSecret` are now deprecated. Import them from `@backstage/plugin-vault-node`.
+17
View File
@@ -0,0 +1,17 @@
---
'@backstage/plugin-catalog-react': minor
---
Added an `EntityPresentationApi` and associated `entityPresentationApiRef`. This
API lets you control how references to entities (e.g. in links, headings,
iconography etc) are represented in the user interface.
Usage of this API is initially added to the `EntityRefLink` and `EntityRefLinks`
components, so that they can render richer, more correct representation of
entity refs. There's also a new `EntityDisplayName` component, which works just like
the `EntityRefLink` but without the link.
Along with that change, the `fetchEntities` and `getTitle` props of
`EntityRefLinksProps` are deprecated and no longer used, since the same need
instead is fulfilled (and by default always enabled) by the
`entityPresentationApiRef`.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-bazaar': patch
---
Adding descending sort in a bazaar plugin
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-kubernetes-react': patch
---
Internal refactor to avoid a null pointer problem
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-code-coverage-backend': patch
---
Added support for new backend system
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-techdocs-backend': patch
---
Fix potential memory leak by not creating a build log transport if not given via `RouterOptions`.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-scaffolder-backend': patch
---
Add examples for `github:environment:create` scaffolder action & improve related tests
+16
View File
@@ -0,0 +1,16 @@
---
'@backstage/plugin-catalog-backend': minor
---
Introduce a new optional config parameter `catalog.stitchingStrategy.mode`,
which can have the values `'immediate'` (default) and `'deferred'`. The default
is for stitching to work as it did before this change, which means that it
happens "in-band" (blocking) immediately when each processing task finishes.
When set to `'deferred'`, stitching is instead deferred to happen on a separate
asynchronous worker queue just like processing.
Deferred stitching should make performance smoother when ingesting large amounts
of entities, and reduce p99 processing times and repeated over-stitching of
hot spot entities when fan-out/fan-in in terms of relations is very large. It
does however also come with some performance cost due to the queuing with how
much wall-clock time some types of task take.
+6
View File
@@ -0,0 +1,6 @@
---
'@backstage/repo-tools': minor
'@backstage/cli': minor
---
Remove support for the deprecated `--experimental-type-build` option for `package build`.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog': patch
---
Initial entity page implementation for new frontend system at `/alpha`, with an overview page enabled by default and the about card available as an optional card.
+6
View File
@@ -0,0 +1,6 @@
---
'@backstage/plugin-catalog-backend': patch
'@backstage/plugin-search-backend': patch
---
Update the OpenAPI spec with more complete error responses and request bodies using Optic. Also, updates the test cases to use the new `supertest` pass through from `@backstage/backend-openapi-utils`.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-techdocs': patch
---
Added entity page content for the new plugin exported via `/alpha`.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-react': patch
---
Added new APIs at the `/alpha` subpath for creating entity page cards and content for the new frontend system.
+7
View File
@@ -0,0 +1,7 @@
---
'@backstage/repo-tools': minor
---
Adds a new command `schema openapi test` that performs runtime validation of your OpenAPI specs using your test data. Under the hood, we're using Optic to perform this check, really cool work by them!
To use this new command, you will have to run `yarn add @useoptic/optic` in the root of your repo.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-bazaar': patch
---
Added alert popup in the bazaar plugin
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-bazaar': patch
---
Removed unnecessary dependency on `@backstage/cli`.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-azure-devops': patch
---
Consolidated getting the annotation values into a single function to help with future changes
+91 -2
View File
@@ -250,7 +250,96 @@
"@backstage/plugin-user-settings-backend": "0.2.4",
"@backstage/plugin-vault": "0.1.20",
"@backstage/plugin-vault-backend": "0.3.11",
"@backstage/plugin-xcmetrics": "0.2.44"
"@backstage/plugin-xcmetrics": "0.2.44",
"@backstage/core-compat-api": "0.0.0",
"@backstage/plugin-catalog-backend-module-backstage-openapi": "0.0.0",
"@backstage/plugin-search-backend-module-stack-overflow-collator": "0.0.0",
"@backstage/plugin-vault-node": "0.0.0"
},
"changesets": []
"changesets": [
"chatty-cobras-cheer",
"chilled-knives-rule",
"chilly-books-sneeze",
"chilly-terms-behave",
"dirty-ducks-behave",
"dry-days-invite",
"eighty-chairs-camp",
"fair-parrots-lick",
"fast-bears-lick",
"fifty-taxis-allow",
"flat-ducks-buy",
"fluffy-years-shake",
"four-files-behave",
"four-pears-swim",
"fresh-crews-promise",
"fresh-schools-thank",
"gentle-pears-camp",
"giant-cars-walk",
"giant-cycles-end",
"good-plums-confess",
"great-baboons-allow",
"healthy-shirts-fold",
"heavy-experts-accept",
"hip-mugs-camp",
"hungry-paws-dress",
"hungry-radios-play",
"large-forks-arrive",
"lazy-hotels-wait",
"long-turkeys-argue",
"loud-ghosts-deny",
"many-masks-smoke",
"mighty-crews-attack",
"modern-ducks-battle",
"nasty-colts-tickle",
"new-beers-drive",
"nice-apes-kneel",
"nice-pillows-poke",
"ninety-numbers-study",
"old-apricots-taste",
"old-chairs-switch",
"olive-paws-divide",
"plenty-tigers-argue",
"poor-seahorses-rush",
"popular-bikes-do",
"pretty-swans-worry",
"quick-pumpkins-shave",
"quick-roses-move",
"real-carrots-brake",
"real-jars-yawn",
"red-beers-roll",
"red-yaks-press",
"rich-pugs-chew",
"rude-tomatoes-itch",
"shaggy-beers-collect",
"shaggy-buses-beg",
"sharp-falcons-clean",
"shiny-geese-watch",
"sixty-tips-argue",
"small-buckets-roll",
"smart-dancers-watch",
"sour-toes-joke",
"stale-rice-count",
"strange-queens-deliver",
"strong-taxis-wait",
"sweet-buckets-fry",
"sweet-countries-share",
"swift-mice-care",
"tall-colts-roll",
"tender-lies-wonder",
"tender-maps-type",
"thick-dolphins-boil",
"thirty-stingrays-grin",
"three-moles-mix",
"tidy-camels-boil",
"tricky-cups-hammer",
"tricky-vans-behave",
"violet-lamps-appear",
"wet-cows-brake",
"wicked-ties-knock",
"wild-cows-watch",
"wild-geese-occur",
"wise-waves-approve",
"wise-weeks-design",
"young-days-talk"
]
}
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-auth-backend-module-microsoft-provider': patch
---
Correctly mark the client secret in configuration as secret
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-search-react': patch
---
Fixed a rare occurrence where a race in the search bar could throw away user input or cause the clear button not to work.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/create-app': patch
---
If create app installs dependencies, don't suggest to user that they also need to do it.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-search-backend-module-techdocs': patch
---
The process of adding or modifying fields in the techdocs search index has been simplified. For more details, see [How to customize fields in the Software Catalog or TechDocs index](https://backstage.io/docs/features/search/how-to-guides.md#how-to-customize-fields-in-the-software-catalog-or-techdocs-index).
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/core-app-api': patch
---
Add current and default scopes when refreshing session
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/cli': patch
---
The experimental package detection will now ignore packages that don't make `package.json` available.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-scaffolder': patch
---
Title and description in RepoUrlPicker are now correctly displayed.
+9
View File
@@ -0,0 +1,9 @@
---
'@backstage/plugin-catalog-react': minor
---
The `UserListPicker` component has undergone improvements to enhance its performance.
The previous implementation inferred the number of owned and starred entities based on the entities available in the `EntityListContext`. The updated version no longer relies on the `EntityListContext` for inference, allowing for better decoupling.
The component now loads the entities' count asynchronously, resulting in improved performance and responsiveness. For this purpose, some of the exported filters such as `EntityTagFilter`, `EntityOwnerFilter`, `EntityLifecycleFilter` and `EntityNamespaceFilter` have now the `getCatalogFilters` method implemented.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/backend-test-utils': patch
---
Ensure recursive deletion of temporary directories in tests
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/frontend-plugin-api': minor
---
Extensions now return their output from the factory function rather than calling `bind(...)`.
+23
View File
@@ -0,0 +1,23 @@
---
'@backstage/plugin-techdocs-module-addons-contrib': patch
'@backstage/plugin-microsoft-calendar': patch
'@backstage/plugin-scaffolder-react': patch
'@backstage/plugin-catalog-graph': patch
'@backstage/plugin-cost-insights': patch
'@backstage/plugin-tech-insights': patch
'@backstage/plugin-code-climate': patch
'@backstage/plugin-scaffolder': patch
'@backstage/plugin-gcalendar': patch
'@backstage/plugin-org-react': patch
'@backstage/plugin-sonarqube': patch
'@backstage/plugin-xcmetrics': patch
'@backstage/plugin-api-docs': patch
'@backstage/plugin-playlist': patch
'@backstage/plugin-catalog': patch
'@backstage/plugin-explore': patch
'@backstage/plugin-bazaar': patch
'@backstage/plugin-search': patch
'@backstage/plugin-org': patch
---
Internal theme type updates
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-home': patch
---
Temporarily pin the `react-grid-layout` sub-dependency to version `1.3.4` while the horizontal resizing of the latest version is not fixed. For more details, see [#20712](https://github.com/backstage/backstage/issues/20712).
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/core-plugin-api': minor
---
`IconComponent` can now have a `fontSize` of `inherit`, which is useful for in-line icons.
+13
View File
@@ -0,0 +1,13 @@
---
'@backstage/plugin-user-settings-backend': patch
'@backstage/plugin-scaffolder-backend': patch
'@backstage/plugin-periskop-backend': patch
'@backstage/plugin-scaffolder-node': patch
'@backstage/plugin-bazaar-backend': patch
'@backstage/plugin-kafka-backend': patch
'@backstage/plugin-proxy-backend': patch
'@backstage/plugin-sonarqube': patch
'@backstage/plugin-todo': patch
---
Switched to using `"exports"` field for `/alpha` subpath export.
+9
View File
@@ -0,0 +1,9 @@
---
'@backstage/frontend-app-api': patch
'@backstage/plugin-catalog': patch
'@backstage/plugin-catalog-react': patch
'@backstage/plugin-graphiql': patch
'@backstage/plugin-search-react': patch
---
Internal updates to match changes in the experimental `@backstage/frontend-plugin-api`.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-auth-backend': patch
---
Reverted the Microsoft auth provider to the previous implementation.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/backend-app-api': patch
---
Added a workaround for double `default` wrapping when dynamically importing CommonJS modules with default exports.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/cli': patch
---
Added `EXPERIMENTAL_VITE` flag for using [vite](https://vitejs.dev) as dev server instead of Webpack
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-scaffolder-backend': minor
---
Allow setting `update: true` in `publish:github:pull-request` scaffolder action
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-scaffolder-backend': patch
---
Add examples for `github:deployKey:create` scaffolder action & improve related tests
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-auth-backend': minor
---
Adds the StaticTokenIssuer and StaticKeyStore, an alternative token issuer that can be used to sign the Authorization header using a predefined public/private key pair.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/backend-openapi-utils': minor
---
Adds a new route, `/openapi.json` to validated routers for displaying their full OpenAPI spec in a standard endpoint.
+7
View File
@@ -0,0 +1,7 @@
---
'@backstage/plugin-scaffolder-backend': patch
'@backstage/plugin-scaffolder-common': patch
'@backstage/plugin-scaffolder-react': patch
---
Make it possible to define control buttons text (Back, Create, Review) per template
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/backend-openapi-utils': patch
---
Adds a new function `wrapInOpenApiTestServer` that allows for proxied requests at runtime. This will support the new `yarn backstage-repo-tools schema openapi test` command.
+6
View File
@@ -0,0 +1,6 @@
---
'@backstage/plugin-techdocs-backend': minor
'@backstage/plugin-techdocs-node': minor
---
Expose an extension point to set a custom build strategy. Also move `DocsBuildStrategy` type to `@backstage/plugin-techdocs-node` and deprecate `ShouldBuildParameters` type.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-backend-module-github': patch
---
Import `AnalyzeOptions` and `ScmLocationAnalyzer` types from `@backstage/plugin-catalog-node`
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-search-react': patch
---
Minor refactor of search bar analytics capture
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-scaffolder-backend-module-gitlab': patch
---
Add examples for `gitlab:projectAccessToken:create` scaffolder action & improve related tests
+10
View File
@@ -0,0 +1,10 @@
---
'@backstage/plugin-catalog': minor
---
Added the `DefaultEntityPresentationApi`, which is an implementation of the
`EntityPresentationApi` that `@backstage/plugin-catalog-react` exposes through
its `entityPresentationApiRef`. This implementation is also by default made
available automatically by the catalog plugin, unless you replace it with a
custom one. It batch fetches and caches data from the catalog as needed for
display, and is customizable by adopters to add their own rendering functions.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/cli': patch
---
Ignore `stdin` when spawning backend child process for the `start` command. Fixing an issue where backend startup would hang.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-scaffolder-backend': patch
---
Add examples for `publish:github:pull-request` scaffolder action & improve related tests