docs/releases/v1.2.0-next.1-changelog.md
renderWithEffects, which if forwarded to the render function from @testling-library/react. Initially only the wrapper option is supported.createTestAppWrapper, which returns a component that can be used as the wrapper option for render or renderWithEffects.renderInTestApp so that it is able to re-render the result without removing the app wrapping.bdbe620797: BREAKING: SearchContextProviderForStorybook and SearchApiProviderForStorybook has been deleted. New mock implementation of the SearchApi introduced. If you need to mock the api we recommend you to do the following:
import {
searchApiRef,
MockSearchApi,
SearchContextProvider,
} from '@backstage/plugin-search-react';
import { TestApiProvider } from '@backstage/test-utils';
<TestApiProvider apis={[[searchApiRef, new MockSearchApi()]]}>
<SearchContextProvider>
<Component />
</SearchContextProvider>
</TestApiProvider>;
3333e20b27: BREAKING: The buildTechInsightsContext function now takes an additional
field in its options argument: tokenManager. This is an instance of
TokenManager, which can be found in your backend initialization code's
env.
const builder = buildTechInsightsContext({
logger: env.logger,
config: env.config,
database: env.database,
discovery: env.discovery,
scheduler: env.scheduler,
+ tokenManager: env.tokenManager,
factRetrievers: [ /* ... */ ],
});
FactRetrieverContext type now contains an additional
field: tokenManager.@keyv/redisBACKSTAGE_NEXT_TESTS.css,
scss, sass, svg, eot, woff, woff2 and ttf files.<main> to Page component and added ARIA landmark <nav> to DesktopSidebar and Sidebar components@alpha. Since the @backstage/core-plugin-api has no /alpha entrypoint, the only effect of marking the APIs as @alpha was to hide them in documentation. They are still expected to be widely used and there will be a migration path if they are changed in the future.7b253072c6: Tweaked template to provide an example and guidance for how to configure sign-in in packages/backend/src/plugins/auth.ts. There is no need to add this to existing apps, but for more information about sign-in configuration, see https://backstage.io/docs/auth/identity-resolver.
00fa0dada0: Removed the database choice from the create-app command.
This reduces the step from development to production by always installing the dependencies and templating the production configuration in app-config.production.yaml.
Added app-config.local.yaml to allow for local configuration overrides.
To replicate this behavior in an existing installation simply touch app-config.local.yaml in the project root and apply your local configuration.
better-sqlite3 has been moved to devDependencies, for existing installations using postgres in production and SQLite in development it's recommended to move SQLite into the devDependencies section to avoid unnecessary dependencies during builds.
in packages/backend/package.json
"dependencies": {
...
"pg": "^8.3.0",
- "better-sqlite3": "^7.5.0",
"winston": "^3.2.1"
},
"devDependencies": {
...
"@types/luxon": "^2.0.4",
+ "better-sqlite3": "^7.5.0"
}
d41f19ca2a: Bumped the typescript version in the template to ~4.6.4.
To apply this change to an existing app, make the following change to the root package.json:
dependencies: {
...
- "typescript": "~4.5.4"
+ "typescript": "~4.6.4"
},
@backstage/plugin-techdocs-react package.graphiql to ^1.8.8.@asyncapi/react-component to 1.0.0-next.37.@asyncapi/react-component to 1.0.0-next.38.cac3ba68a2: Fixed a bug that was introduced in 0.13.1-next.0 which caused the ent claim of issued tokens to be dropped.
5d268623dd: Updates the OAuth2 Proxy provider to require less infrastructure configuration.
The auth result object of the OAuth2 Proxy now provides access to the request headers, both through the headers object as well as getHeader method. The existing logic that parses and extracts the user information from ID tokens is deprecated and will be removed in a future release. See the OAuth2 Proxy provider documentation for more details.
The OAuth2 Proxy provider now also has a default authHandler implementation that reads the display name and email from the incoming request headers.
Updated dependencies
publishConfig@types/codemirror to ^0.0.109.@codemirror/legacy-modes to ^0.20.0.EntityTechInsightsScorecardCard, which can be used in the overview of the EntityPage page or display multiple individual EntityTechInsightsScorecardCard in EntityLayout.Route.buildTechInsightsContext in README.use to adopt, to reflect Zalando Tech Radar regarding quadrants and add link to Zalando explanation.TechDocsStorageApi and its associated ref are now exported by @backstage/plugin-techdocs-react. The API interface, ref, and types are now deprecated in @backstage/plugin-techdocs and will be removed in a future release.TechDocsStorageApi and its associated ref are now exported by @backstage/plugin-techdocs-react. The API interface, ref, and types are now deprecated in @backstage/plugin-techdocs and will be removed in a future release.