docs/releases/v1.32.0-next.2-changelog.md
Upgrade Helper: https://backstage.github.io/upgrade-helper/?to=1.32.0-next.2
repo schema openapi test.profileEmailMatchingUserEntityEmail sign-in resolver has been removed as it was using an insecure fallback for resolving user identities. See https://backstage.io/docs/auth/identity-resolver#sign-in-without-users-in-the-catalog for how to create a custom sign-in resolver if needed as a replacement.allowedDomains option for the emailLocalPartMatchingUserEntityName sign-in resolver.6343c8d: Fixes the event-based updates at BitbucketCloudEntityProvider.
Previously, this entity provider had optional event support for legacy backends
that could be enabled by passing catalogApi, events, and tokenManager.
For the new/current backend system, the catalogModuleBitbucketCloudEntityProvider
(catalog.bitbucket-cloud-entity-provider), event support was enabled by default.
A recent change removed tokenManager as a dependency from the module as well as removed it as input.
While this didn't break the instantiation of the module, it broke the event-based updates,
and led to a runtime misbehavior, accompanied by an info log message.
This change will replace the use of tokenManager with the use of auth (AuthService).
Additionally, to simplify, it will make catalogApi and events required dependencies.
For the current backend system, this change is transparent and doesn't require any action.
For the legacy backend system, this change will require you to pass those dependencies
if you didn't do it already.
BREAKING CHANGES:
(For legacy backend users only.)
Previously optional catalogApi, and events are required now.
A new required dependency auth was added.
0801db6: Add catalog service mocks under the /testUtils subpath export.
You can now use e.g. const catalog = catalogApiMock.mock() in your test and then do assertions on catalog.getEntities without awkward type casting.
limit query parameter in visits API .list() functiongit-url-parse to ^15.0.0.cookie from 0.6.0 to 0.7.0cookie from 0.6.0 to 0.7.0git-url-parse to ^15.0.0.cookie from 0.6.0 to 0.7.0ea16633: Preserve directory structure for CommonJS build output, just like ESM. This makes the build output more stable and easier to browse, and allows for more effective tree shaking and lazy imports.
7955f9b: Tweaked the new package feature detection to not be active when building backend packages.
720a2f9: Updated dependency git-url-parse to ^15.0.0.
2c5ecf5: Support --max-warnings flag for package linting
8fe740d: Added a new --successCache option to the backstage-cli repo test and backstage-cli repo lint commands. The cache keeps track of successful runs and avoids re-running for individual packages if they haven't changed. This option is intended only to be used in CI.
In addition a --successCacheDir <path> option has also been added to be able to override the default cache directory.
f0514c7: Disabled parsing of input source maps in the SWC transform for Jest.
Updated dependencies
lockfile.getDependencyTreeHash(name) utility.@material-ui/data-gridApiMock, analogous to ServiceMock from the backend test utils.git-url-parse to ^15.0.0.APP_CONFIG_* environment variables where not filtered by the configuration schema.allowedDomains option for the emailLocalPartMatchingUserEntityName sign-in resolver.allowedDomains option for the emailLocalPartMatchingUserEntityName sign-in resolver.allowedDomains option for the emailLocalPartMatchingUserEntityName sign-in resolver.allowedDomains option for the emailLocalPartMatchingUserEntityName sign-in resolver.allowedDomains option for the emailLocalPartMatchingUserEntityName sign-in resolver.allowedDomains option for the emailLocalPartMatchingUserEntityName sign-in resolver.allowedDomains option for the emailLocalPartMatchingUserEntityName sign-in resolver.allowedDomains option for the emailLocalPartMatchingUserEntityName sign-in resolver.allowedDomains option for the emailLocalPartMatchingUserEntityName sign-in resolver.skipUserProfile config flag to Microsoft authenticatorallowedDomains option for the emailLocalPartMatchingUserEntityName sign-in resolver.allowedDomains option for the emailLocalPartMatchingUserEntityName sign-in resolver.allowedDomains option for the emailLocalPartMatchingUserEntityName sign-in resolver.allowedDomains option for the emailLocalPartMatchingUserEntityName sign-in resolver.allowedDomains option for the common emailLocalPartMatchingUserEntityName sign-in resolver.git-url-parse to ^15.0.0.git-url-parse to ^15.0.0.4d9f39e: Added InfoCard action attribute for CatalogGraphCard
const action = <Button title="Action Button" onClick={handleClickEvent()} />
<CatalogGraphCard action={action} />
Updated dependencies
git-url-parse to ^15.0.0.testUtils named export@kubernetes-models/apimachinery to ^2.0.0.@kubernetes-models/apimachinery to ^2.0.0.@kubernetes-models/apimachinery to ^2.0.0.TemplateEditorToolbarTemplatesMenu component.git-url-parse to ^15.0.0.useTemplateDirectory hook.TemplateEditorToolbarFilesMenu component.azure-devops-node-api to ^14.0.0.reviewers input parameter to publish:bitbucketServer:pull-requestgit-url-parse to ^15.0.0.8ce0c4c: Add github:branch-protection:create scaffolder action to set branch protection on an existing repository. Example usage:
- id: set-branch-protection
name: Set Branch Protection
action: github:branch-protection:create
input:
repoUrl: 'github.com?repo=backstage&owner=backstage'
branch: master
enforceAdmins: true # default
requiredApprovingReviewCount: 1 # default
requireBranchesToBeUpToDate: true # default
requireCodeOwnerReviews: true
dismissStaleReviews: true
requiredConversationResolution: true
Updated dependencies
branch function instead of checkout function when creating branch@backstage-community/plugin-explore-common to ^0.0.6.git-url-parse to ^15.0.0.@smithy/node-http-handler to ^3.0.0.git-url-parse to ^15.0.0.useUserProfile will now use the user's picture stored in the catalog as a fallback if the identity provider doesn't return a picture.