docs/releases/v1.19.0-next.2-changelog.md
8defbd5434: Update typescript-eslint to 6.7.x, adding compatibility with TypeScript 5.2.
This includes a major update on typescript-eslint, you can see the details in the release notes.
2ef6522552: Support for the .icon.svg extension has been deprecated and will be removed in the future. The implementation of this extension is too tied to a particular version of MUI and the SVGO, and it makes it harder to evolve the build system. We may introduce the ability to reintroduce this kind of functionality in the future through configuration for use in internal plugins, but for now we're forced to remove it.
To migrate existing code, rename the .icon.svg file to .tsx and replace the <svg> element with <SvgIcon> from MUI and add necessary imports. For example:
import React from 'react';
import SvgIcon from '@material-ui/core/SvgIcon';
import { IconComponent } from '@backstage/core-plugin-api';
export const CodeSceneIcon = (props: SvgIconProps) => (
<SvgIcon {...props}>
<g>
<path d="..." />
</g>
</SvgIcon>
);
Updated dependencies
RouteResolver (and therefore useRouteRef)<Suspense>, enabling support for using translations outside plugins.useRouteRef.toString() and toJSON() for extension instances.at -> attachTo refactor.attachTo: { id, input } instead of at: 'id/input'.useRouteRef.mkdocs.<yaml|yml> with the serve command using the --mkdocs-config-file-name` argumentgcpIapAuthenticator.initialize() is no longer async@backstage/plugin-auth-backend-module-microsoft-provider module package.ProxyAuthenticator.initialize() method is no longer async to match the way the OAuth equivalent is implemented.catalogModuleGithubOrgEntityProvider to ingest users and teams from multiple Github organizations.KubernetesObjectsProviderExtensionPoint is present. The kubernetes-backend plugin was modified to use this new extension point.d7eba6cab4: Changes in newrelic-dashboard plugin:
EntityNewRelicDashboardCarddea0aafda7: Updated publish:gitlab action properties to support additional Gitlab project settings:
settings property)branches property)projectVariables property)Marked existed properties repoVisibility and topics as deprecated, as they are covered by settings property.
github:issues:label scaffolder action & improve related testspublish:Azure scaffolder action.344cfbcfbc: Allow prepared directory clean up for custom preparers
When using custom preparer for TechDocs, the preparedDir might
end up taking disk space. This requires all custom preparers to
implement a new method shouldCleanPreparedDirectory which indicates
whether the prepared directory should be cleaned after generation.
344cfbcfbc: Allow prepared directory clean up for custom preparers
When using custom preparer for TechDocs, the preparedDir might
end up taking disk space. This requires all custom preparers to
implement a new method shouldCleanPreparedDirectory which indicates
whether the prepared directory should be cleaned after generation.
d06b30b050: Add possibility to use a mkdocs config file with a different name than mkdocs.<yaml|yml> with the serve command using the --mkdocs-config-file-name` argument
HostDiscovery from @backstage/backend-common.watch option to configuration loaders that can be used to disable file watching by setting it to false.HostDiscovery export has been deprecated, import it from @backstage/backend-app-api instead..readTree() responses./testUtils entry point, with a utility for mocking resolve package paths as returned by resolvePackagePath.mock-fs dev dependency.7c83975531: Adds new public utility types for common OpenAPI values, like request and response shapes and parameters available on an endpoint.
deprecated internal namespace
The internal namespace will continue to be exported but now uses OpenAPI format for path parameters. You should use the new utility types.
Updated dependencies
createMockDirectory() to help out with file system mocking in tests.HostDiscovery from @backstage/backend-app-api.typescript-json-schema to ^0.61.0.watch option to configuration loaders that can be used to disable file watching by setting it to false.WarningPanel.fontSize values (e.g. "2.5rem") in themes in addition to numbers. Also added an optional fontFamily prop for header typography variants to allow further customization.AdrSearchResultListItem@backstage/plugin-auth-backend-module-microsoft-provider module package.catalogModuleGithubOrgEntityProvider. Import from @backstage/plugin-catalog-backend-module-github-org instead.4f70fdfc93: fix: use REST API to get root group memberships for GitLab SaaS users listing
This API is the only one that shows email field for enterprise users and
allows to filter out bot users not using a license using the is_using_seat
field.
We also added the annotation gitlab.com/saml-external-uid taking the value
of group_saml_identity.extern_uid of the groups/:group-id/members endpoint
response. This is useful in case you want to create a SignInResolver that
references the user with the id of your identity provider (e.g. OneLogin).
ref:
https://docs.gitlab.com/ee/user/enterprise_user/#get-users-email-addresses-through-the-api https://docs.gitlab.com/ee/api/members.html#limitations
0b55f773a7: Removed some unused dependencies
Updated dependencies
.icon.svg extension..icon.svg extension./alpha exports to use new attachTo option..icon.svg extension.KubernetesObjectsProviderExtensionPoint is present. The kubernetes-backend plugin was modified to use this new extension point.RepoUrlPickerRepoName now correctly handles value changes in allowed repos./alpha exports to use new attachTo option.ScorecardInfo and ScorecardsList components to be able to use manually queried check results directly.DocsTable to display pagination controls dynamically, appearing only when needed.