docs/releases/v1.38.0-changelog.md
Upgrade Helper: https://backstage.github.io/upgrade-helper/?to=1.38.0
@backstage/plugin-gateway-backendactor property to BackstageUserPrincipal containing the subject of the last service (if any) who performed authentication on behalf of the user.7c6740e: Implemented SRV lookup support in the default HostDiscovery. You can now specify internal URLs on the form http+srv://some-srv-name/api/{{pluginId}} and they will be resolved in real time.
939116c: Added an optional backend.trustProxy app config value, which sets the
corresponding Express.js trust proxy setting. This lets
you easily configure proxy trust without making a custom configure callback
for the rootHttpRouter service.
If you already are using a custom configure callback, and if that also does not call applyDefaults(), you may want to add the following to it:
const trustProxy = config.getOptional('backend.trustProxy');
if (trustProxy !== undefined) {
app.set('trust proxy', trustProxy);
}
175528c: Adds backend.auditor.severityLogLevelMappings to map severity levels to log levels.
Updated dependencies
actor property to BackstageUserPrincipal containing the subject of the last service (if any) who performed authentication on behalf of the user.actor property to BackstageUserPrincipal containing the subject of the last service (if any) who performed authentication on behalf of the user.6af7b16: Updated styles for the Menu component in Canon.
bcbc593: Fix Checkbox styles on dark theme in Canon.
e7efb7d: Add new breakpoint helpers up(), down() and current breakpoint to help you use our breakpoints in your React components.
f7cb538: Internal refactor and fixes to the prop extraction logic for layout components.
35b36ec: Add new Collapsible component for Canon.
a47fd39: Removes instances of default React imports, a necessary update for the upcoming React 19 migration.
https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html
513477f: Add global CSS reset for anchor tags.
24f0e08: Improved Container styles, changing our max-width to 120rem and improving padding on smaller screens.
851779d: Add new Avatar component to Canon.
ec5ebd1: Add new TableCellProfile component for Table and DataTable in Canon.
5e80f0b: Fix types on the Icon component.
0e654bf: Add new DataTable component and update Table component styles.
7ae28ba: Move styles to the root of the TextField component.
4fe5b08: We added a render prop to the Link component to make sure it can work with React Router.
74d463c: Fix Select styles on small sizes + with long option names in Canon.
f25a5be: Added a new gray scale for Canon for both light and dark theme.
5ee4fc2: Add support for column sizing in DataTable.
05a5003: Fix the Icon component when the name is not found to return null instead of an empty SVG.
a47fd39: Removes default React imports from template files, aligning with the requirements for the upcoming React 19 migration. Introduces a new ESLint rule to disallow import React from 'react' and import * as React from 'react'.
https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html
65b584c: Internal update to move the new and create-github-app to their own module.
c7254ae: Internal update to move the clean, pre/postpack and fix commands into their own separate module.
4ea76f7: Bump @module-federation/enhanced ^0.9.0 to fix GHSA-593f-38f6-jp5m
87a5cb4: Fixed an issue causing the repo lint command to fail when the --max-warnings option was used.
6969f79: Avoid trailing /* when automatically adding imports for package with multiple entry points.
98b7131: Update the to do plugin template to stop using the deprecated catalog alpha service reference.
If you start seeing the should create TODO item with catalog information test failing, you have two options to fix this:
Update the test to mock the legacy alpha catalog service, or migrate the TODO plugin backend to use the new catalog service reference.
We recommend the second option, see this pull request for an example of how to do the migration.
d5c4fed: make certificate strings optional for Dev environments
d83f3f4: Resolved a problem where the start command did not correctly handle multiple --require flags, ensuring all specified modules are now properly loaded.
d2091c6: Added a new repo start command to replace the existing pattern of using yarn dev scripts. The repo start command runs the app and/or backend package in the repo by default, but will also fall back to running other individual frontend or backend packages or even plugin dev entry points if the can be uniquely selected.
The goal of this change is to reduce the number of different necessary scripts and align on yarn start being the only command needed for local development, similar to how repo test handles testing in the repo. It also opens up for more powerful options, like the --plugin <pluginId> flag that runs the dev entry point of the selected plugin.
The new script is installed as follows, replacing the existing yarn start script:
{
"scripts": {
"start": "backstage-cli repo start"
}
}
In order to help users migrate in existing projects, it is recommended to add the following scripts to the root package.json:
{
"scripts": {
"dev": "echo \"Use 'yarn start' instead\"",
"start-backend": "echo \"Use 'yarn start backend' instead\""
}
}
For more information, run yarn start --help once the new command is installed.
918c883: Included a reference to the JSX transform guide in the warning about using the default React import.
Updated dependencies
frontend-dynamic-features-loader provides a frontend feature loader that dynamically
loads frontend features based on the new frontend system and exposed as module federation remotes.
This new frontend feature loader works hand-in-hand with a new server of frontend plugin module federation
remotes, which is added as part of backend dynamic feature service in package @backstage/backend-dynamic-feature-service.9454ef9: Added support of filtering based on system columns in catalog table
61d350f: BREAKING ALPHA: CatalogFilterBlueprint, used in the new frontend system, is now exported under plugin-catalog-react instead of plugin-catalog.
+ import { CatalogFilterBlueprint } from '@backstage/plugin-catalog-react/alpha';
- import { CatalogFilterBlueprint } from '@backstage/plugin-catalog/alpha';
09afd67: Adds EntityContextMenuItemBlueprint to enable extending the entity page's context menu with user defined items.
For example:
import { EntityContextMenuItemBlueprint } from '@backstage/plugin-catalog-react/alpha';
const myCustomHref = EntityContextMenuItemBlueprint.make({
name: 'test-href',
params: {
icon: <span>Example Icon</span>,
useProps: () => ({
title: 'Example Href',
href: '/example-path',
disabled: false,
component: 'a',
}),
},
});
const myCustomOnClick = EntityContextMenuItemBlueprint.make({
name: 'test-click',
params: {
icon: <span>Test Icon</span>,
useProps: () => ({
title: 'Example onClick',
onClick: () => window.alert('Hello world!'),
disabled: false,
}),
},
});
3f7e4f1: Fixed the layout of summary cards in the new frontend system, ensuring that the horizontal scroll grid doesn't grow too large as well as tweaked its scrolling parameters.
e655f62: Updated README.md to use yarn start instead of yarn dev.
a47fd39: Removes instances of default React imports, a necessary update for the upcoming React 19 migration.
https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html
3f7e4f1: The about, links, and labels card now all have the info card type by default in the new frontend system.
3f7e4f1: The overview content is now part of the overview group by default in the new frontend system.
Updated dependencies
f0c22eb: BREAKING: Explicitly rejects branch names containing a slash character.
The module now rejects any configuration that contains slashes in branch names. The reason for this is that the ingestion will run into downstream problems if they were let through. If you had configuration with a slash in the branch name in filters.branch, your application may fail to start up.
If you are affected by this, please move over to using branches that do not have slashes in them.
validateLocationsExist to the config definition where it was missing.0f37fa8: entityRouteParams now also accepts entity refs, and can help with encoding the resulting parameters.
61d350f: BREAKING ALPHA: CatalogFilterBlueprint, used in the new frontend system, is now exported under plugin-catalog-react instead of plugin-catalog.
+ import { CatalogFilterBlueprint } from '@backstage/plugin-catalog-react/alpha';
- import { CatalogFilterBlueprint } from '@backstage/plugin-catalog/alpha';
09afd67: Adds EntityContextMenuItemBlueprint to enable extending the entity page's context menu with user defined items.
For example:
import { EntityContextMenuItemBlueprint } from '@backstage/plugin-catalog-react/alpha';
const myCustomHref = EntityContextMenuItemBlueprint.make({
name: 'test-href',
params: {
icon: <span>Example Icon</span>,
useProps: () => ({
title: 'Example Href',
href: '/example-path',
disabled: false,
component: 'a',
}),
},
});
const myCustomOnClick = EntityContextMenuItemBlueprint.make({
name: 'test-click',
params: {
icon: <span>Test Icon</span>,
useProps: () => ({
title: 'Example onClick',
onClick: () => window.alert('Hello world!'),
disabled: false,
}),
},
});
a47fd39: Removes instances of default React imports, a necessary update for the upcoming React 19 migration.
https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html
3f7e4f1: Added a new overview entity content group for the new frontend system.
186d016: Add operation to alpha defaultEntityContentGroups.
221ddba: Fix offset pagination to reset when updating filters in useEntityList
Updated dependencies
events-backend-module-github and events-backend-module-gitlab are now exported as default instead of being a named export. In addition, they have been moved from aplha to public.webhookSecret for the GitHub and GitLab events backend. Instead, we don't add the ingress.events-backend-module-github and events-backend-module-gitlab are now exported as default instead of being a named export. In addition, they have been moved from aplha to public.webhookSecret for the GitHub and GitLab events backend. Instead, we don't add the ingress./authorize endpoint when a resourceRef is provided alongside a basic permission. Additionally, introduced a clearer error message for cases where users attempt to directly evaluate conditional permissions.76681a5: BREAKING ALPHA: Extract out schema rendering components into their own Component. This means that the translation keys have changed for actionsPage.content.tableCell.*. They have moved to their own root key renderSchema.* instead.
...
- tableCell: {
- name: 'Name',
- title: 'Title',
- description: 'Description',
- type: 'Type',
- },
- noRowsDescription: 'No schema defined',
...
+ renderSchema: {
+ tableCell: {
+ name: 'Name',
+ title: 'Title',
+ description: 'Description',
+ type: 'Type',
+ },
+ undefined: 'No schema defined',
+ },
5890016: add api to retrieve template extensions info from scaffolder-backend
a47fd39: Removes instances of default React imports, a necessary update for the upcoming React 19 migration.
https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html
407eba1: Tweaked template editor tooltip to mention HTTPS requirement.
Updated dependencies
template and step labels for scaffolder histogram metrics: scaffolder_task_duration and scaffolder_step_durationcreateTemplateFilter and createTemplateGlobalFunction from the zod schema.c761cf5: BREAKING The publish:github scaffolder action now defaults to initializing with a branch named "main" instead of "master" when creating new repositories.
If you or your organization have relied on all new github repositories having a default branch name of "master" you must set the defaultBranch: 'master' in your existing templates that feature the publish:github scaffolder action.
To keep using the name "master" for your new github repos, these are the required changes:
- id: publish
name: Publish
action: publish:github
input:
allowedHosts: ['github.com']
description: This is ${{ parameters.name }}
repoUrl: ${{ parameters.repoUrl }}
+ defaultBranch: 'master'
gitlab:group:ensureExists action to support also strings with multiple segments (e.g. group/subgroup)gitlab:repo:push commitAction property for the installed actions section in the scaffoldera47fd39: Removes instances of default React imports, a necessary update for the upcoming React 19 migration.
https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html
6ed42b7: Scaffolding - Template card - button to show template entity detail
7ae9996: Fixes the detail icon in light theme to be visible in proper color (same as favorite star).
Updated dependencies
a47fd39: Removes instances of default React imports, a necessary update for the upcoming React 19 migration.
https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html
Updated dependencies
frontend-dynamic-features-loader provides a frontend feature loader that dynamically
loads frontend features based on the new frontend system and exposed as module federation remotes.
This new frontend feature loader works hand-in-hand with a new server of frontend plugin module federation
remotes, which is added as part of backend dynamic feature service in package @backstage/backend-dynamic-feature-service.a47fd39: Removes instances of default React imports, a necessary update for the upcoming React 19 migration.
https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html
Updated dependencies
a47fd39: Removes instances of default React imports, a necessary update for the upcoming React 19 migration.
https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html
Updated dependencies
a47fd39: Removes instances of default React imports, a necessary update for the upcoming React 19 migration.
https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html
5d7bad4: Fixed the messaging in the AlertDisplay where it was claiming that there were older messages available rather than newer.
Updated dependencies
a47fd39: Removes instances of default React imports, a necessary update for the upcoming React 19 migration.
https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html
Updated dependencies
5590536: Bumped create-app version.
2fc663a: Bumped create-app version.
edabbd6: Updated the root package.json in the template to use the new backstage-cli repo start command.
The yarn dev command is now redundant and has been removed from the template. We recommend existing projects to add these or similar scripts to help redirect users:
{
"scripts": {
"dev": "echo \"Use 'yarn start' instead\"",
"start-backend": "echo \"Use 'yarn start backend' instead\""
}
}
a47fd39: Removes instances of default React imports, a necessary update for the upcoming React 19 migration.
https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html
c761cf5: BREAKING The publish:github scaffolder action now defaults to initializing with a branch named "main" instead of "master" when creating new repositories.
If you or your organization have relied on all new github repositories having a default branch name of "master" you must set the defaultBranch: 'master' in your existing templates that feature the publish:github scaffolder action.
To keep using the name "master" for your new github repos, these are the required changes:
- id: publish
name: Publish
action: publish:github
input:
allowedHosts: ['github.com']
description: This is ${{ parameters.name }}
repoUrl: ${{ parameters.repoUrl }}
+ defaultBranch: 'master'
Updated dependencies
a47fd39: Removes instances of default React imports, a necessary update for the upcoming React 19 migration.
https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html
Updated dependencies
a47fd39: Removes instances of default React imports, a necessary update for the upcoming React 19 migration.
https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html
Updated dependencies
a47fd39: Removes instances of default React imports, a necessary update for the upcoming React 19 migration.
https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html
3bee3c3: The new package frontend-dynamic-features-loader provides a frontend feature loader that dynamically
loads frontend features based on the new frontend system and exposed as module federation remotes.
This new frontend feature loader works hand-in-hand with a new server of frontend plugin module federation
remotes, which is added as part of backend dynamic feature service in package @backstage/backend-dynamic-feature-service.
Updated dependencies
a47fd39: Removes instances of default React imports, a necessary update for the upcoming React 19 migration.
https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html
Updated dependencies
a47fd39: Removes instances of default React imports, a necessary update for the upcoming React 19 migration.
https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html
Updated dependencies
webhookSecret config property as optional. A webhookSecret is not required when creating a GitHub App.a47fd39: Removes instances of default React imports, a necessary update for the upcoming React 19 migration.
https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html
5d10f99: Added scope project for Bitbucket Cloud.
Updated dependencies
createRouter has been declared and check if @deprecated tag exists. If it does not exist then only the message will appear.a47fd39: Removes instances of default React imports, a necessary update for the upcoming React 19 migration.
https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html
Updated dependencies
a47fd39: Removes instances of default React imports, a necessary update for the upcoming React 19 migration.
https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html
317bc3d: api-docs plugin support i18n
a47fd39: Removes instances of default React imports, a necessary update for the upcoming React 19 migration.
https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html
Updated dependencies
a47fd39: Removes instances of default React imports, a necessary update for the upcoming React 19 migration.
https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html
a47fd39: Removes instances of default React imports, a necessary update for the upcoming React 19 migration.
https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html
Updated dependencies
a47fd39: Removes instances of default React imports, a necessary update for the upcoming React 19 migration.
https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html
Updated dependencies
7495edf: Added custom timeout setting for oidc provider
Here is an example of how to use a custom timeout with the configuration:
auth:
oidc:
production:
clientId: ${AUTH_GOOGLE_CLIENT_ID}
clientSecret: ${AUTH_GOOGLE_CLIENT_SECRET}
timeout:
seconds: 30
Updated dependencies
a47fd39: Removes instances of default React imports, a necessary update for the upcoming React 19 migration.
https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html
Updated dependencies
queryEntities when providing an orderField parametera47fd39: Removes instances of default React imports, a necessary update for the upcoming React 19 migration.
https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html
Updated dependencies
a47fd39: Removes instances of default React imports, a necessary update for the upcoming React 19 migration.
https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html
5b9514f: Expose the UnpackNestedValue type as it's been removed from react-hook-form
f1d9a64: adding translation for Register an existing component text
Updated dependencies
ba88bfa: Added confirmation popup for delete entities in Catalog Unprocessed Entities plugin
a47fd39: Removes instances of default React imports, a necessary update for the upcoming React 19 migration.
https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html
2479827: Fixed the convertTimeToLocalTimezone function in the FailedEntities component to correctly parse ISO 8601 date strings and set the timezone to the current local timezone.
Updated dependencies
a47fd39: Removes instances of default React imports, a necessary update for the upcoming React 19 migration.
https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html
Updated dependencies
e655f62: Updated README.md to use yarn start instead of yarn dev.
a47fd39: Removes instances of default React imports, a necessary update for the upcoming React 19 migration.
https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html
Updated dependencies
a47fd39: Removes instances of default React imports, a necessary update for the upcoming React 19 migration.
https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html
Updated dependencies
a47fd39: Removes instances of default React imports, a necessary update for the upcoming React 19 migration.
https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html
2e4cb15: Fixes auto-hiding of content divider when title not specified
Updated dependencies
b877e46: Added New Frontend System filter for the Kubernetes tab to use isKubernetesAvailable to control its visibility
a47fd39: Removes instances of default React imports, a necessary update for the upcoming React 19 migration.
https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html
Updated dependencies
a47fd39: Removes instances of default React imports, a necessary update for the upcoming React 19 migration.
https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html
Updated dependencies
a47fd39: Removes instances of default React imports, a necessary update for the upcoming React 19 migration.
https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html
Updated dependencies
a47fd39: Removes instances of default React imports, a necessary update for the upcoming React 19 migration.
https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html
Updated dependencies
a47fd39: Removes instances of default React imports, a necessary update for the upcoming React 19 migration.
https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html
Updated dependencies
a47fd39: Removes instances of default React imports, a necessary update for the upcoming React 19 migration.
https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html
Updated dependencies
a47fd39: Removes instances of default React imports, a necessary update for the upcoming React 19 migration.
https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html
Updated dependencies
createTemplateFilter and createTemplateGlobalFunction from the zod schema.e655f62: Updated README.md to use yarn start instead of yarn dev.
a47fd39: Removes instances of default React imports, a necessary update for the upcoming React 19 migration.
https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html
Updated dependencies
a47fd39: Removes instances of default React imports, a necessary update for the upcoming React 19 migration.
https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html
Updated dependencies
a47fd39: Removes instances of default React imports, a necessary update for the upcoming React 19 migration.
https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html
Updated dependencies
a47fd39: Removes instances of default React imports, a necessary update for the upcoming React 19 migration.
https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html
Updated dependencies
a47fd39: Removes instances of default React imports, a necessary update for the upcoming React 19 migration.
https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html
9c12a76: Fixed rendering issues in ReportIssue addon for unsupported repository types and improved shadow DOM event handling. The addon now properly prevents initialization when encountering unsupported repository types and correctly handles selection events within the shadow DOM.
Updated dependencies
0e9f7fe: Fix catalog entity docs page not loading due to multiple addons data attachment in the New Frontend System.
a47fd39: Removes instances of default React imports, a necessary update for the upcoming React 19 migration.
https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html
Updated dependencies
a47fd39: Removes instances of default React imports, a necessary update for the upcoming React 19 migration.
https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html
Updated dependencies