docs/releases/v1.37.0-next.1-changelog.md
Upgrade Helper: https://backstage.github.io/upgrade-helper/?to=1.37.0-next.1
32be48c: BREAKING: Removed support for the old backend system.
As part of this change the plugin export from /alpha as been removed. If you are currently importing @backstage/plugin-app-backend/alpha, please update your import to @backstage/plugin-app-backend.
kind parameters to replace the default Component kind for SubComponents cardcatalog.useUrlReadersSearch config.refreshByRefreshKeys2d8b0e4: BREAKING: Removed support for the old backend system.
As part of this change the plugin export from /alpha as been removed. If you are currently importing @backstage/plugin-proxy-backend/alpha, please update your import to @backstage/plugin-proxy-backend.
e202017: BREAKING: Removed support for the old backend system.
As part of this change the plugin export from /alpha as been removed. If you are currently importing @backstage/plugin-user-settings-backend/alpha, please update your import to @backstage/plugin-user-settings-backend.
migrate and version:* commands into a new migrate module.test commands to a separate module.info commands to a separate module.d34e0e5: Added a new convertLegacyAppOptions helper that converts many of the options passed to createApp in the old frontend system to a module with app overrides for the new system. The supported options are apis, icons, plugins, components, and themes.
For example, given the following options for the old createApp:
import { createApp } from '@backstage/app-deafults';
const app = createApp({
apis,
plugins,
icons: {
custom: MyIcon,
},
components: {
SignInPage: MySignInPage,
},
themes: [myTheme],
});
They can be converted to the new system like this:
import { createApp } from '@backstage/frontend-deafults';
import { convertLegacyAppOptions } from '@backstage/core-compat-api';
const app = createApp({
features: [
convertLegacyAppOptions({
apis,
plugins,
icons: {
custom: MyIcon,
},
components: {
SignInPage: MySignInPage,
},
themes: [myTheme],
}),
],
});
18faf65: The convertLegacyApp has received the following changes:
null routes will now be ignored.converted-orphan-routes plugin instead.app/root extension.compatWrapper.Updated dependencies
classNames prop to the Page component7956beb: Marked the remaining exports related to createRouter and the old backend system as deprecated.
For more information about migrating to the new backend system, see the migration guide.
Support for the old backend system will be removed in the next release of this plugin.
b6702ea: Deprecated getDefaultOwnershipEntityRefs in favor of the new .resolveOwnershipEntityRefs(...) method in the AuthResolverContext.
The following code in a custom sign-in resolver:
import { getDefaultOwnershipEntityRefs } from '@backstage/plugin-auth-backend';
// ...
const ent = getDefaultOwnershipEntityRefs(entity);
Can be replaced with the following:
const { ownershipEntityRefs: ent } = await ctx.resolveOwnershipEntityRefs(
entity,
);
Updated dependencies
AuthResolverContext.resolveOwnershipEntityRefs as a way of accessing the default ownership resolution logic in sign-in resolvers, replacing getDefaultOwnershipEntityRefs from @backstage/plugin-auth-backend.@backstage/backend-common usages@backstage/backend-common usages@backstage/backend-common usages@backstage/backend-common usages@backstage/backend-common@backstage/backend-common usages@backstage/backend-common usages@backstage/backend-common usages@backstage/backend-common usages