docs/releases/v1.7.0-next.0-changelog.md
f368ad7279: BREAKING: Bumped jest, jest-runtime, and jest-environment-jsdom to v29. This is up from v27, so check out both the v28 and v29 (later here) migration guides.
Particular changes that where encountered in the main Backstage repo are:
jest.useFakeTimers('legacy') is now jest.useFakeTimers({ legacyFakeTimers: true }).withLogCollector from @backstage/test-utils are now objects with a detail property rather than a string.3e309107ca: Updated fallback versions of dependencies in all templates.
292a088807: Added a new repo test command.
ba63cae41c: Updated lockfile parsing to have better support for Yarn 3.
2dddb32fea: Switched the Jest transform for YAML files to use a custom one available at @backstage/cli/config/jestYamlTransform.js.
a541a3a78a: Switch to upfront resolution of swc-loader in Webpack config.
cfb3598410: Removed tsx and jsx as supported extensions in backend packages. For most
repos, this will not have any effect. But if you inadvertently had added some
tsx/jsx files to your backend package, you may now start to see code: 'MODULE_NOT_FOUND' errors when launching the backend locally. The reason for
this is that the offending files get ignored during transpilation. Hence, the
importing file can no longer find anything to import.
The fix is to rename any .tsx files in your backend packages to .ts instead,
or .jsx to .js.
Updated dependencies
5fa831ce55: CookieConfigurer can optionally return the SameSite cookie attribute.
CookieConfigurer now requires an additional argument appOrigin - the origin URL of the app - which is used to calculate the SameSite attribute.
defaultCookieConfigurer returns the SameSite attribute which defaults to Lax. In cases where an auth-backend is running on a different domain than the App, SameSite=None is used - but only for secure contexts. This is so that cookies can be included in third-party requests.
OAuthAdapterOptions has been modified to require additional arguments, baseUrl, and cookieConfigurer.
OAuthAdapter now resolves cookie configuration using its supplied CookieConfigurer for each request to make sure that the proper attributes always are set.
ad74723fbf: Update Bitbucket Cloud models to latest OAS version.
The latest specification contained some BREAKING CHANGES due to removed fields.
All of these fields are not used at other plugins, though. Therefore, this change has no impact on other modules here.
allowedOrganizations and allowedOwners to the AzureRepoPicker.additionalTemplateGlobals which allows you to add global functions to the scaffolder nunjucks templates.allowAutoMerge option for publish:github action5543e86660: BREAKING: The apiRef passed to ProviderSettingsItem now needs to
implement ProfileInfoApi & SessionApi, rather than just the latter. This is
unlikely to have an effect on most users though, since the builtin auth
providers generally implement both.
Fixed settings page showing providers as logged out when the user is using more than one provider, and displayed some additional login information.
rootLoggerFactory.startTestBackend.ajv compilation of schema validators to improve module-import performance58c2264325: Newly created Backstage repositories now use the stable version 6 of
react-router, just like the main repo does. Please let us know if you find any
issues with this.
Migrating to the stable version of react-router is optional for the time
being. But if you want to do the same for your existing repository, please
follow this guide.
e05e0f021b: Update versions of packages used in the create-app template, to match those in the main repo
52f25858a8: Added *.session.sql Visual Studio Code database functionality files to .gitignore in the default template. This is optional but potentially helpful if your developers use Visual Studio Code; you can add a line with that exact value to your own root .gitignore if you want the same.
6d00e80146: Updated the root test scripts to use backstage-cli repo test.
To apply this change to an existing app, make the following change to the root package.json:
- "test": "backstage-cli test",
- "test:all": "lerna run test -- --coverage",
+ "test": "backstage-cli repo test",
+ "test:all": "backstage-cli repo test --coverage",
Updated dependencies
0b2a30dead: fixing techdocs-cli Docker client creation
Docker client does not need to be created when --no-docker option is provided.
If you had DOCKER_CERT_PATH environment variable defined the Docker client was looking for certificates and breaking techdocs-cli generate command even with --no-docker option.
Updated dependencies
@material-ui/icons used, to ^4.9.1 like other packages in the main repo@asyncapi/react-component to 1.0.0-next.42.@backstage/plugin-app-backend/alpha.@material-ui/icons used, to ^4.9.1 like other packages in the main repoCostOverviewBreakdownChart component where some datasets caused the cost overview breakdown chart to tear.extraRequestHeaders configuration was ignored.useCustomResources hooknode-library.0b2a30dead: fixing techdocs-cli Docker client creation
Docker client does not need to be created when --no-docker option is provided.
If you had DOCKER_CERT_PATH environment variable defined the Docker client was looking for certificates and breaking techdocs-cli generate command even with --no-docker option.
Updated dependencies
README.md.