@backstage/integration@0.7.0
Minor Changes
-
7d4b4e9: Create an interface for the GitHub credentials provider in order to support providing implementations.
We have changed the name of the
GithubCredentialsProvider
toSingleInstanceGithubCredentialsProvider
.GithubCredentialsProvider
is now an interface that maybe implemented to provide a custom mechanism to retrieve GitHub credentials.In a later release we will support configuring URL readers, scaffolder tasks, and processors with customer GitHub credentials providers.
If you want to uptake this release, you will need to replace all references to
GithubCredentialsProvider.create
withSingleInstanceGithubCredentialsProvider.create
.
Patch Changes
- cf2e20a: Added
endpoint
ands3ForcePathStyle
as optional configuration for AWS S3 integrations.
@backstage/plugin-auth-backend@0.6.0
Minor Changes
-
c88cdac: Avoid ever returning OAuth refresh tokens back to the client, and always exchange refresh tokens for a new one when available for all providers.
This comes with a breaking change to the TypeScript API for custom auth providers. The
refresh
method ofOAuthHandlers
implementation must now return a{ response, refreshToken }
object rather than a direct response. Existingrefresh
implementations are typically migrated by changing an existing return expression that looks like this:return await this.handleResult({ fullProfile, params, accessToken, refreshToken, });
Into the following:
return { response: await this.handleResult({ fullProfile, params, accessToken, }), refreshToken, };
Patch Changes
- f0f81f6: Replaces the usage of
got
withnode-fetch
in thegetUserPhoto
method of the Microsoft provider - 2f26120: Update
auth0
andonelogin
providers to allow forauthHandler
andsignIn.resolver
configuration. - a9abafa: Fixed bug on refresh token on Okta provider, now it gets the refresh token and it sends it into providerInfo
- eb48e78: Enforce cookie SSL protection when in production for auth-backend sessions
- Updated dependencies
- @backstage/test-utils@0.2.1
- @backstage/backend-common@0.10.1
@backstage/backend-common@0.10.1
Patch Changes
- 94cdf5d: In-memory cache clients instantiated from the same cache manager now share the same memory space.
- 916b2f1: Use the default CSP policy provided by
helmet
directly rather than a copy. - 7d4b4e9: Uptake changes to the GitHub Credentials Provider interface.
- 995e4c7: Added support for non-"amazonaws.com" hosts (for example when testing with LocalStack) in AwsS3UrlReader.
- Updated dependencies
- @backstage/integration@0.7.0
- @backstage/config-loader@0.9.1
@backstage/backend-test-utils@0.1.12
Patch Changes
- 130b7aa: Lazy-load
testcontainers
module in order to avoid side-effects. - Updated dependencies
- @backstage/backend-common@0.10.1
- @backstage/cli@0.10.4
@backstage/cli@0.10.4
Patch Changes
- 1d26017: Fix issue with plugin:serve for Plugins not using Lerna monorepo.
- 9c3aaf3: Bump
@typescript-eslint/eslint-plugin
to4.33.0
- 808828e: remove inline CSS from serve_index.html
- 6e4080d: Add option to build command for minifying the generated code
- Updated dependencies
- @backstage/config-loader@0.9.1
@backstage/config-loader@0.9.1
Patch Changes
- 84663d5: Bump
typescript-json-schema
from^0.51.0
to^0.52.0
.
@backstage/create-app@0.4.10
Patch Changes
-
79b342b: removed inline and internal CSS from index.html
To make this change to an existing app, apply the following changes to the
packages/app/public/index.html
file:Remove internal style
- <style> - #root { - min-height: 100%; - } - </style>
Remove inline style from the body tag
- <body style="margin: 0"> + <body>
-
d33b65d: Removed unused templating asset.
-
613ad12: Add a comment to the default backend about the fallback 404 handler.
-
20af5a7: The
<SearchType />
filter in the composedSearchPage.tsx
was replaced with the<SearchType.Accordion />
variant.This is an entirely optional change; if you wish to display a control surface for search
types
as a single-select accordion (as opposed to the current multi-select of checkboxes), you can make the following (or similar) changes to your search page layout:--- a/packages/app/src/components/search/SearchPage.tsx +++ b/packages/app/src/components/search/SearchPage.tsx @@ -11,7 +11,7 @@ import { SearchType, DefaultResultListItem, } from '@backstage/plugin-search'; -import { Content, Header, Page } from '@backstage/core-components'; +import { CatalogIcon, Content, DocsIcon, Header, Page } from '@backstage/core-components'; const useStyles = makeStyles((theme: Theme) => ({ bar: { @@ -19,6 +19,7 @@ const useStyles = makeStyles((theme: Theme) => ({ }, filters: { padding: theme.spacing(2), + marginTop: theme.spacing(2), }, filter: { '& + &': { @@ -41,12 +42,23 @@ const SearchPage = () => { </Paper> </Grid> <Grid item xs={3}> + <SearchType.Accordion + name="Result Type" + defaultValue="software-catalog" + types={[ + { + value: 'software-catalog', + name: 'Software Catalog', + icon: <CatalogIcon />, + }, + { + value: 'techdocs', + name: 'Documentation', + icon: <DocsIcon />, + }, + ]} + /> <Paper className={classes.filters}> - <SearchType - values={['techdocs', 'software-catalog']} - name="type" - defaultValue="software-catalog" - /> <SearchFilter.Select className={classes.filter} name="kind"
-
0dcd1dd: Add a
scheduler
to the plugin environment, which can schedule collaborative tasks across backends. To apply the same change in your backend, follow the steps below.First install the package:
# From the Backstage repository root cd packages/backend yarn add @backstage/backend-tasks
Add the scheduler to your plugin environment type:
// In packages/backend/src/types.ts +import { PluginTaskScheduler } from '@backstage/backend-tasks'; export type PluginEnvironment = { + scheduler: PluginTaskScheduler;
And finally make sure to add such an instance to each plugin's environment:
// In packages/backend/src/index.ts +import { TaskScheduler } from '@backstage/backend-tasks'; function makeCreateEnv(config: Config) { // ... + const taskScheduler = TaskScheduler.fromConfig(config); return (plugin: string): PluginEnvironment => { // ... + const scheduler = taskScheduler.forPlugin(plugin); return { + scheduler, // ...
@backstage/integration-react@0.1.17
Patch Changes
- Updated dependencies
- @backstage/integration@0.7.0
@techdocs/cli@0.8.10
Patch Changes
- 8fbc988: remove internal and inline CSS from index.html
- Updated dependencies
- @backstage/techdocs-common@0.11.2
- @backstage/backend-common@0.10.1
@backstage/techdocs-common@0.11.2
Patch Changes
- c2c8768: Bump
@azure/identity
from^1.5.0
to^2.0.1
. - Updated dependencies
- @backstage/backend-common@0.10.1
- @backstage/integration@0.7.0
@backstage/test-utils@0.2.1
Patch Changes
- c36b779: JSON serialize and freeze values stored by the
MockStorageApi
.
@backstage/plugin-api-docs@0.6.20
Patch Changes
- de81b74: Display entity title on
ApiDefinitionCard
if defined - Updated dependencies
- @backstage/plugin-catalog@0.7.6
- @backstage/plugin-catalog-react@0.6.9
@backstage/plugin-app-backend@0.3.21
Patch Changes
- 9d9cfc1: Set
X-Frame-Options: deny
rather than the defaultsameorigin
for all content served by theapp-backend
.` - Updated dependencies
- @backstage/backend-common@0.10.1
- @backstage/config-loader@0.9.1
@backstage/plugin-catalog@0.7.6
Patch Changes
- 7d4b4e9: Uptake changes to the GitHub Credentials Provider interface.
- Updated dependencies
- @backstage/plugin-catalog-react@0.6.9
- @backstage/integration-react@0.1.17
@backstage/plugin-catalog-backend@0.19.4
Patch Changes
- 7d4b4e9: Uptake changes to the GitHub Credentials Provider interface.
- 3a63491: Filter out projects with missing
default_branch
from GitLab Discovery. - Updated dependencies
- @backstage/backend-common@0.10.1
- @backstage/integration@0.7.0
@backstage/plugin-catalog-import@0.7.7
Patch Changes
- Updated dependencies
- @backstage/plugin-catalog-react@0.6.9
- @backstage/integration@0.7.0
- @backstage/integration-react@0.1.17
@backstage/plugin-catalog-react@0.6.9
Patch Changes
- c6fddde: When a user has zero owned entities when viewing an entity kind in the catalog
page, it will be automatically redirected to see all the entities. Furthermore,
for the kind User and Group there are no longer the owned selector. - Updated dependencies
- @backstage/integration@0.7.0
@backstage/plugin-code-coverage-backend@0.1.18
Patch Changes
- Updated dependencies
- @backstage/backend-common@0.10.1
- @backstage/integration@0.7.0
@backstage/plugin-cost-insights@0.11.15
Patch Changes
- 7858c2a: Fixed an accidental re-export of
@backstage/test-utils
that broke this plugin in the most recent release.
@backstage/plugin-git-release-manager@0.3.6
Patch Changes
- Updated dependencies
- @backstage/integration@0.7.0
@backstage/plugin-github-actions@0.4.29
Patch Changes
- Updated dependencies
- @backstage/plugin-catalog-react@0.6.9
- @backstage/integration@0.7.0
@backstage/plugin-github-deployments@0.1.24
Patch Changes
- Updated dependencies
- @backstage/plugin-catalog-react@0.6.9
- @backstage/integration@0.7.0
- @backstage/integration-react@0.1.17
@backstage/plugin-permission-backend@0.2.3
Patch Changes
- Updated dependencies
- @backstage/plugin-auth-backend@0.6.0
- @backstage/backend-common@0.10.1
- @backstage/plugin-permission-node@0.2.3
@backstage/plugin-permission-node@0.2.3
Patch Changes
- Updated dependencies
- @backstage/plugin-auth-backend@0.6.0
- @backstage/backend-common@0.10.1
@backstage/plugin-rollbar-backend@0.1.18
Patch Changes
- 152bd9b: Moved
@backstage/test-utils
todevDependencies
. - c5e175c: Replace the usage of
axios
withnode-fetch
in the Rollbar API - Updated dependencies
- @backstage/backend-common@0.10.1
@backstage/plugin-scaffolder@0.11.16
Patch Changes
- 9c25894: Implement a
EntityTagsPicker
field extension - 7d4b4e9: Uptake changes to the GitHub Credentials Provider interface.
- d078377: Support navigating back to pre-filled templates to update inputs of scaffolder tasks for resubmission
- Updated dependencies
- @backstage/plugin-catalog-react@0.6.9
- @backstage/plugin-scaffolder-common@0.1.2
- @backstage/integration@0.7.0
- @backstage/integration-react@0.1.17
@backstage/plugin-scaffolder-backend@0.15.19
Patch Changes
- 7d4b4e9: Uptake changes to the GitHub Credentials Provider interface.
- d078377: Support navigating back to pre-filled templates to update inputs of scaffolder tasks for resubmission
- 5f8ceba: Support custom file name for
catalog:write
action - Updated dependencies
- @backstage/backend-common@0.10.1
- @backstage/plugin-catalog-backend@0.19.4
- @backstage/plugin-scaffolder-common@0.1.2
- @backstage/integration@0.7.0
- @backstage/plugin-scaffolder-backend-module-cookiecutter@0.1.7
@backstage/plugin-scaffolder-backend-module-cookiecutter@0.1.7
Patch Changes
- Updated dependencies
- @backstage/backend-common@0.10.1
- @backstage/plugin-scaffolder-backend@0.15.19
- @backstage/integration@0.7.0
@backstage/plugin-scaffolder-backend-module-rails@0.2.2
Patch Changes
- Updated dependencies
- @backstage/backend-common@0.10.1
- @backstage/plugin-scaffolder-backend@0.15.19
- @backstage/integration@0.7.0
@backstage/plugin-scaffolder-common@0.1.2
Patch Changes
- d078377: Support navigating back to pre-filled templates to update inputs of scaffolder tasks for resubmission
@backstage/plugin-search@0.5.3
Patch Changes
-
6d8e3a9: Internal cleanup of the exports structure
-
8b532a6: Introduces a
<SearchType.Accordion />
variant, which operates on the same part of a search query as the existing<SearchType />
, but in a more opinionated way (as a single-select control surface suitable for faceted search UIs).Check the search plugin storybook to see how it can be used.
-
af4980f: Captures the search term entered in the SearchBarBase as a
search
event. -
Updated dependencies
- @backstage/plugin-catalog-react@0.6.9
@backstage/plugin-tech-insights@0.1.3
Patch Changes
- a86f5c1: Fixed API auth in tech-insights plugin
- d83079f: Export
techInsightsApiRef
and associated types. - Updated dependencies
- @backstage/plugin-catalog-react@0.6.9
@backstage/plugin-tech-insights-backend-module-jsonfc@0.1.4
Patch Changes
- 8d00dc4: ability to add custom operators
- Updated dependencies
- @backstage/backend-common@0.10.1
@backstage/plugin-techdocs@0.12.12
Patch Changes
- aa8f764: Add the techdocs.sanitizer.allowedIframeHosts config.
This config allows all iframes which have the host of the attribute src in the 'allowedIframehosts' list to be displayed in the documentation. - Updated dependencies
- @backstage/plugin-search@0.5.3
- @backstage/plugin-catalog@0.7.6
- @backstage/plugin-catalog-react@0.6.9
- @backstage/integration@0.7.0
- @backstage/integration-react@0.1.17
@backstage/plugin-techdocs-backend@0.12.2
Patch Changes
- da676a4: Add support for API auth in DefaultTechDocsCollator
- Updated dependencies
- @backstage/techdocs-common@0.11.2
- @backstage/backend-common@0.10.1
- @backstage/integration@0.7.0
@backstage/plugin-todo-backend@0.1.17
Patch Changes
- Updated dependencies
- @backstage/backend-common@0.10.1
- @backstage/integration@0.7.0
example-backend@0.2.59
Patch Changes
- Updated dependencies
- @backstage/plugin-rollbar-backend@0.1.18
- @backstage/plugin-auth-backend@0.6.0
- @backstage/backend-common@0.10.1
- @backstage/plugin-app-backend@0.3.21
- @backstage/plugin-catalog-backend@0.19.4
- @backstage/plugin-scaffolder-backend@0.15.19
- @backstage/integration@0.7.0
- @backstage/plugin-techdocs-backend@0.12.2
- @backstage/plugin-tech-insights-backend-module-jsonfc@0.1.4
- @backstage/plugin-permission-backend@0.2.3
- @backstage/plugin-permission-node@0.2.3
- @backstage/plugin-code-coverage-backend@0.1.18
- @backstage/plugin-scaffolder-backend-module-rails@0.2.2
- @backstage/plugin-todo-backend@0.1.17