docs/releases/v1.33.0-next.0-changelog.md
Upgrade Helper: https://backstage.github.io/upgrade-helper/?to=1.33.0-next.0
getEntitiesByRefs calls into several smaller requests behind the scenes when needed. This ensures that each individual request does not exceed common Express.js request body limits or overload the server.catalogApiMock being case sensitive.LEGACY_BACKEND_START flag has been removed, along with support for src/run.ts as the development entry point.28b60ad: The check for react-dom/client in the Jest configuration will now properly always run from the target directory.
e30b65d: Added --alwaysPack as a replacement for the now hidden --alwaysYarnPack flag for the build-workspace command.
a7f97e4: Added a new "rejectFrontendNetworkRequests" configuration flag that can be set in the "jest" field in the root package.json:
{
"jest": {
"rejectFrontendNetworkRequests": true
}
}
This flag causes rejection of any form of network requests that are attempted to be made in frontend or common package tests. This flag can only be set in the root package.json and can not be overridden in individual package configurations.
04297a0: The --successCache option for the repo test and repo lint commands now use an additive store that keeps old entries around for a week before they are cleaned up automatically.
b4627f2: Fixed an issue where the raw-loader for loading HTML templates was not resolved from the context of the CLI package.
17850a5: Update upgrade-helper link in versions:bump command to include yarnPlugin parameter when the yarn plugin is installed
b084f5a: Bump the Webpack dependency range to ^5.94.0, as our current configuration is not compatible with some older versions.
946fa34: Added a new --link <workspace-path> option for frontend builds that allow you to override module resolution to link in an external workspace at runtime.
As part of this change the Webpack linked workspace resolution plugin for frontend builds has been removed. It was in place to support the old workspace linking where it was done by Yarn, which is no longer a working option.
Updated dependencies
af9097e: Adds the ability to mock a media query per break point and to change the active break point during a test. Usage example:
const { set } = mockBreakpoint({
initialBreakpoint: 'md',
queryBreakpointMap: {
'(min-width:1500px)': 'xl',
'(min-width:1000px)': 'lg',
'(min-width:700px)': 'md',
'(min-width:400px)': 'sm',
'(min-width:0px)': 'xs',
},
});
// assertions for when the active break point is "md"
set('lg');
// assertions for when the active break point is "lg"
Updated dependencies
--watch mode to the schema openapi generate command for a better local schema writing experience.fullProfile will no longer have the its username or email converted to lowercase. This is to ensure unique handling of the users. You may need to update and configure a custom sign-in resolver or profile transform as a result.fullProfile will no longer have the its username or email converted to lowercase. This is to ensure unique handling of the users. You may need to update and configure a custom sign-in resolver or profile transform as a result.bc13b42: The catalogServiceRef now has its own accompanying CatalogService interface that requires Backstage credentials objects to be passed. This new version of the catalogServiceRef has been promoted and is now available via the main @backstage/plugin-catalog-node entry point.
The old catalogServiceRef with the old CatalogApi type is still available from the /alpha entry point.
rootLoggerServiceFactory doc string.ScannedPluginPackage descriptor of dynamic backend plugins loaded from their alpha package.json now contain both the main package manifest and the alpha manifest. Previously it used to contain only the content of the alpha package.json, which is nearly empty.
This will make it easier to use or display metadata of loaded dynamic backend plugins, which is contained in the main manifest.mockServices.discovery.factory() factory now uses the mocked discovery service as its implementation, avoid the need for configuration.msw dependency.@asyncapi/react-component to latest 2.xdnCaseSensitive flag to support LDAP servers with mixed-case attributes.events.useEventBus by propagating config to DefaultEventsService4501631: Fixed an issue where subscribing to events threw an error and gave up too easily. Calling the subscribe method will cause the background polling loop to keep trying to connect to the events backend, even if the initial request fails.
By default the events service will attempt to publish and subscribe to events from the events bus API in the events backend, but if it fails due to the events backend not being installed, it will bail and never try calling the API again. There is now a new events.useEventBus configuration and option for the DefaultEventsService that lets you control this behavior. You can set it to 'never' to disabled API calls to the events backend completely, or 'always' to never allow it to be disabled.
e02a02b: Fix events.useEventBus by propagating config to DefaultEventsService
Updated dependencies
8b1b2cf: Improve Starred Entities UI to reduce whitespace and provide more context on the entities:
<EntityDisplayName>) to display the entity's namekind and spec.type are displayed as a secondary textUpdated dependencies
onInputChange in RepoUrlPicker to fix issue with the value not updating properlyEntityPickerStepper and trying to trim additional properties. This is now all behind liveOmit and omitExtraData instead.filter setting of the collator was not permitted to be an array.@short.io/opensearch-mock to ^0.4.0.@backstage-community/plugin-explore-common to ^0.0.7.canvas dev dependency.