docs/releases/v1.6.0-next.1-changelog.md
1fe6823bb5: Updated dependency eslint-plugin-jest to ^27.0.0.
Note that this major update to the Jest plugin contains some breaking changes. This means that some of your tests may start seeing some new lint errors. Read about them here.
These are mostly possible to fix automatically. You can try to run yarn backstage-cli repo lint --fix in your repo root to have most or all of them
corrected.
migrate react-router-deps command to aid in the migration to React Router v6 stable.@types/minimatch to ^5.0.0.FlatRoutes to be compatible with React Router v6 stable.Routes and Route element, as this is not compatible with React Router v6 stable.AtlassianAuthProvider. Please use providers.atlassian.create(...) instead.RedirectInfo type to OAuthStartResponseprojectId for gitlab projects to be displayed in the gitlab:publish outputf7e99ac1d8: Added the possibility to display check results of different types on a single scorecard.
getScorecardsDefinition method from the TechInsightsApi interface. Added the getCheckResultRenderers method that returns rendering components for given types.CheckResultRenderer type now exposes the component factory method that creates a React component used to display a result of a provided check result.TechInsightsClient constructor accepts now the optional renderers parameter that can be used to inject a custom renderer.title parameter in the EntityTechInsightsScorecardContent and EntityTechInsightsScorecardCard components is now mandatory.jsonRulesEngineCheckResultRenderer used to render json-rules-engine check results is exported.BooleanCheck component that can be used to render other check results types is also exported.If you were overriding the getScorecardsDefinition method to adjust the rendering of check results, you should now provide a custom renderer using renderers parameter in the TechInsightsClient class.
See the README for more details.
c3c90280be: Added a keep-alive refresh loop to the DatabaseManager, keeping the connection
pool up.
c3c90280be: The options part of DatabaseManager.fromConfig now accepts an optional logger
field.
60b85d8ade: Updated dependency helmet to ^6.0.0.
Please note that these policies are no longer applied by default:
helmet.contentSecurityPolicy no longer sets block-all-mixed-content directive by default helmet.expectCt is no longer set by default. It can, however, be explicitly enabled. It will be removed in Helmet 7.
RoutedTabs component has been updated to be compatible with React Router v6 stable.c1f1a4c760: The Backstage packages and plugins have all been updated to support React Router v6 stable. The create-app template has not been migrated yet, but if you want to migrate your own app or plugins, check out the migration guide.
c3c90280be: The options part of DatabaseManager.fromConfig now accepts an optional logger
field. You may want to supply that logger in your backend initialization code to
ensure that you can get relevant logging data when things happen related to the
connection pool.
In packages/backend/src/index.ts:
function makeCreateEnv(config: Config) {
const root = getRootLogger();
...
- const databaseManager = DatabaseManager.fromConfig(config);
+ const databaseManager = DatabaseManager.fromConfig(config, { logger: root });
d669d89206: Minor API signatures cleanup
60b85d8ade: Updated dependency helmet to ^6.0.0.
Please note that these policies are no longer applied by default:
helmet.contentSecurityPolicy no longer sets block-all-mixed-content directive by default helmet.expectCt is no longer set by default. It can, however, be explicitly enabled. It will be removed in Helmet 7.
Updated dependencies
GitHubEntityProvider to use against GitHub EnterpriseMicrosoftGraphEntityProvider that ignored the userExpand and groupExpand configuration parametersreact-query:3 to @tanstack/react-query:4pullRequestLimit prop to EntityTeamPullRequestsCard and EntityTeamPullRequestsContent to limit the number of PRs shown per repository. Excluding this prop will default the number of pull requests shown to 10 per repository (the existing functionality).d669d89206: Minor API signatures cleanup
60b85d8ade: Updated dependency helmet to ^6.0.0.
Please note that these policies are no longer applied by default:
helmet.contentSecurityPolicy no longer sets block-all-mixed-content directive by default helmet.expectCt is no longer set by default. It can, however, be explicitly enabled. It will be removed in Helmet 7.
Updated dependencies
jenkins to ^1.0.0.60b85d8ade: Updated dependency helmet to ^6.0.0.
Please note that these policies are no longer applied by default:
helmet.contentSecurityPolicy no longer sets block-all-mixed-content directive by default helmet.expectCt is no longer set by default. It can, however, be explicitly enabled. It will be removed in Helmet 7.
Updated dependencies
817f3196f6: Updated React Router dependencies to be peer dependencies.
817f3196f6: DEPRECATION: The PermissionedRoute component has been deprecated in favor of the new RequirePermission component. This is because the usage pattern of PermissionedRoute is not compatible with React Router v6 stable.
Embed the type from react-router instead of exporting it directly.
Updated dependencies
allowedOwnersmaxPage option on the collator.techdocsAnnotationFactName fact.TechDocsReaderPage to be compatible with React Router v6 stable.148568b5c2: Switched to using node-fetch instead of cross-fetch as is standard for our backend packages
60b85d8ade: Updated dependency helmet to ^6.0.0.
Please note that these policies are no longer applied by default:
helmet.contentSecurityPolicy no longer sets block-all-mixed-content directive by default helmet.expectCt is no longer set by default. It can, however, be explicitly enabled. It will be removed in Helmet 7.
Updated dependencies