docs/releases/v1.3.0-next.2-changelog.md
ServerTokenManager now must have an exp claim that has not expired. Tokens where the exp claim is in the past or missing are considered invalid and will throw an error. This is a followup to the deprecation from the 1.2 release of Backstage where perpetual tokens were deprecated. Be sure to update any usage of the getToken() method to have it be called every time a token is needed. Do not store tokens for later use./create/tasks to show tasks that have been run by the Scaffolder.
ScaffolderApi interface called listTasks to get tasks with an required filterByOwnership parameter.MultistepJsonForm to work as documented. show: true no longer needed when mask is set.ce0d8d7eb1: Fixed a bug in publish:github action that didn't permit to add users as collaborators.
This fix required changing the way parameters are passed to the action.
In order to add a team as collaborator, now you must use the team field instead of username.
In order to add a user as collaborator, you must use the user field.
It's still possible to use the field username but is deprecated in favor of team.
- id: publish
name: Publish
action: publish:github
input:
repoUrl: ...
collaborators:
- access: ...
team: my_team
- access: ...
user: my_username
582003a059: - Added an optional list method on the TaskBroker and TaskStore interface to list tasks by an optional userEntityRef
list method on the DatabaseTaskStore class to list tasks by an optional userEntityRef/v2/tasks to list tasks by a userEntityRef using the createdBy query parameter/ is always appended when needed.@rollup/plugin-commonjs to ^22.0.0.minimatch to 5.1.0.rc-progress to 3.3.3.aaf7652084: Bump version of cypress in newly scaffolded Backstage Applications. To apply this change to your own instance, please make the following change to packages/app/package.json under devDependencies.
- "cypress": "^7.3.0",
+ "cypress": "^9.7.0",
cypress to ^10.0.0.passport to ^0.6.0.b8884fd579: Add a new provider AzureDevOpsEntityProvider as replacement for AzureDevOpsDiscoveryProcessor.
In order to migrate from the AzureDevOpsDiscoveryProcessor you need to apply
the following changes:
Before:
# app-config.yaml
catalog:
locations:
- type: azure-discovery
target: https://dev.azure.com/myorg/myproject/_git/service-*?path=/catalog-info.yaml
/* packages/backend/src/plugins/catalog.ts */
import { AzureDevOpsDiscoveryProcessor } from '@backstage/plugin-catalog-backend-module-azure';
const builder = await CatalogBuilder.create(env);
/** ... other processors ... */
builder.addProcessor(new AzureDevOpsDiscoveryProcessor(env.reader));
After:
# app-config.yaml
catalog:
providers:
azureDevOps:
anyProviderId:
host: selfhostedazure.yourcompany.com # This is only really needed for on-premise user, defaults to dev.azure.com
organization: myorg # For on-premise this would be your Collection
project: myproject
repository: service-*
path: /catalog-info.yaml
/* packages/backend/src/plugins/catalog.ts */
import { AzureDevOpsEntityProvider } from '@backstage/plugin-catalog-backend-module-azure';
const builder = await CatalogBuilder.create(env);
/** ... other processors and/or providers ... */
builder.addEntityProvider(
AzureDevOpsEntityProvider.fromConfig(env.config, {
logger: env.logger,
schedule: env.scheduler.createScheduledTaskRunner({
frequency: { minutes: 30 },
timeout: { minutes: 3 },
}),
}),
);
Visit https://backstage.io/docs/integrations/azure/discovery for more details and options on configuration.
Updated dependencies
@backstage/search-common with @backstage/plugin-search-commonrc-progress to 3.3.3.306d0b4fdd: Added the ability to use an additional filter when fetching groups in MyGroupsSidebarItem component. Example:
// app/src/components/Root/Root.tsx
<SidebarPage>
<Sidebar>
//...
<SidebarGroup label="Menu" icon={<MenuIcon />}>
//...
<SidebarItem icon={HomeIcon} to="catalog" text="Home" />
<MyGroupsSidebarItem
singularTitle="My Squad"
pluralTitle="My Squads"
icon={GroupIcon}
+ filter={{ 'spec.type': 'team' }}
/>
//...
</SidebarGroup>
</ Sidebar>
</SidebarPage>
Updated dependencies
RouterOptions and createRouter now marked as public exports7d8acfc32e: Additional types now exported publicly:
Updated dependencies
@beta exports with @public exports@beta exports now replaced with @public exportsrc-progress to 3.3.3.techdocs.builder set to local, the number of concurrent builds has been limited to 10. Any additional builds requested concurrently will be queued and handled as prior builds complete. In the unlikely event that you need to handle more concurrent builds, consider scaling out your TechDocs backend deployment or using the external option for techdocs.builder.