fix(deps): update backstage monorepo#49
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
Conversation
e66f6d6 to
8b4447e
Compare
8b4447e to
6bbd769
Compare
6bbd769 to
180e34d
Compare
180e34d to
34a8476
Compare
34a8476 to
090e9ea
Compare
090e9ea to
50ee23a
Compare
50ee23a to
fa9f935
Compare
fa9f935 to
b5c3a9e
Compare
d835449 to
c934d36
Compare
0b942dc to
5caa7f7
Compare
f7d4b0b to
56fe49e
Compare
56fe49e to
a704ffb
Compare
eaf906b to
2adb98e
Compare
2adb98e to
751763d
Compare
751763d to
9437699
Compare
9437699 to
2a95cb2
Compare
2a95cb2 to
d195e38
Compare
d195e38 to
a8a4bd8
Compare
a8a4bd8 to
0df69b8
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^0.26.0→^0.34.01.14.2→1.20.0^0.14.3→^0.18.01.9.3→1.12.51.0.37→1.1.221.12.3→1.21.61.5.10→1.7.17^0.5.2→^0.7.0Release Notes
backstage/backstage (@backstage/cli)
v0.34.6Compare Source
Patch Changes
7fbac5c: Updated to use new utilities from@backstage/cli-common.v0.34.5Compare Source
Patch Changes
fc7cbfc: The templates executed with theyarn newcommand now supports templating filenames.da19cb5: Fix inconsistent behavior in thenewcommand for the@internalscope: it now consistently defaults to thebackstage-plugin-infix whether the--scopeoption is not set or it's set tointernal.fc7cbfc: Added a template for theyarn newcommand to create an catalog entity provider. To add this template to an explicit list in the rootpackage.json, use@backstage/cli/templates/catalog-provider-module.b2bef92: Convert all enums to erasable-syntax compliant patterns279279c: Fixes an issue where using thebackstage-cli new --scopecommand with a scope that already includes the@symbol (e.g.,@backstage-community) would result in a double@@​prefix in the generated package name, causing invalidpackage.jsonfiles.05f60e1: Refactored constructor parameter properties to explicit property declarations for compatibility with TypeScript'serasableSyntaxOnlysetting. This internal refactoring maintains all existing functionality while ensuring TypeScript compilation compatibility.v0.34.4Compare Source
Patch Changes
f2cf564: Removed the script transform cache from the default Jest configuration. The script cache provided a moderate performance boost, but it is incompatible with Jest 30.33faad2: Allow using custom manifest location in the yarn plugin and version bump.The Backstage yarn plugin and version bump allows two new environment variables to configure custom manifest location:
BACKSTAGE_VERSIONS_BASE_URL: The base URL for fetching the Backstage versionmanifest. Defaults to
https://versions.backstage.io/v1/releases/VERSION/manifest.json.Useful for running the plugin in environment without direct access to the internet,
for example by using a mirror of the versions API or a proxy.
Note that the environment variable is just the host name, and the path is appended by
the plugin. If you are using the yarn plugin, bump version command will also try
to fetch the new version of the yarn plugin from the same base URL (defaults to
https://versions.backstage.io/v1/releases/RELEASE/yarn-plugin)BACKSTAGE_MANIFEST_FILE: Path to a local manifest file. If set, the pluginwill not attempt to fetch the manifest from the network. Useful for running
the plugin in environment without internet access and without mirror of the
versions API.
6ebc1ea: Fixed module federation config by only settingimport: falseon shared libraries for remote.ab96bb7: Added a new--entrypointoption to thepackage startcommand, which allows you to specify a custom entry directory/file for development applications. This is particularly useful when maintaining separate dev apps for different versions of your plugin (e.g., stable and alpha).Example usage:
Consider the following plugin dev folder structure:
yarn package startcommand uses thedev/folder as the entry point and executesdev/index.tsxfile;yarn package start --entrypoint dev/alphawill instead usedev/alpha/as the entry point and executedev/alpha/index.tsfile.024645e: Remove unused @octokit modules from cli packaged14ef24: Added automatic detection and support for the Backstage Yarn plugin when generating new packages withyarn new. When the plugin is installed, new packages will automatically usebackstage:^ranges for@backstage/*dependencies.Updated dependencies
v0.34.3Compare Source
v0.34.2Compare Source
Patch Changes
e6f45dc: Updated the WebPack configuration to usecontenthash. This fixes an issue were builds would sometimes generate output files with the same name but different content across builds, leading to breakages when loading the frontend app.fffd434: Disallow import fallback of critical shared dependencies in module federation.080f252: Fixed thenew-frontend-plugintemplate that was incorrectly passingidinstead ofpluginIdtocreateFrontendPluginand unnecessarily importingReact.e0db9b8: Modify thebackstage.jsonalso for custom patterns if it extends the default pattern.Examples:
@backstage/*(default pattern)@{backstage,backstage-community}/*@{extra1,backstage,extra2}/*275bda8: Fixed an issue that could cause conflicts of detected modules in workspaces with multiple apps.e1adce4: Updated the backend plugin template to use a new pattern for theTodoListServicethat reduces boilerplate.Updated dependencies
v0.34.1Compare Source
Patch Changes
080f252: Fixed thenew-frontend-plugintemplate that was incorrectly passingidinstead ofpluginIdtocreateFrontendPluginand unnecessarily importingReact.275bda8: Fixed an issue that could cause conflicts of detected modules in workspaces with multiple apps.v0.34.0Compare Source
Minor Changes
38b4243: Added plugin and module templates for the new frontend system. These templates are not included by default, but can be included by adding@backstage/cli/templates/new-frontend-pluginand@backstage/cli/templates/new-frontend-plugin-moduleas custom templates.923ceb2: BREAKING: The new app build based on Rspack is now the default, and theEXPERIMENTAL_RSPACKflag has been removed. To revert to the old behavior, set theLEGACY_WEBPACK_BUILDenvironment flag and install the following optional dependencies:{ "dependencies": { "@​module-federation/enhanced": "^0.9.0", "@​pmmmwh/react-refresh-webpack-plugin": "^0.5.7", "esbuild-loader": "^4.0.0", "eslint-webpack-plugin": "^4.2.0", "fork-ts-checker-webpack-plugin": "^9.0.0", "mini-css-extract-plugin": "^2.4.2", "terser-webpack-plugin": "^5.1.3", "webpack": "^5.96.0", "webpack-dev-server": "^5.0.0" } }If you do encounter a blocking issue that forces you to use the old WebPack build, please open an issue explaining the problem. The WebPack build will be removed in a future release.
eda80c7: BREAKING: Removed support for.icon.svgimports, which have been deprecated since the 1.19 release.Patch Changes
2b8082a: Internal refactor of error handling8b1bf6e: Deprecated new frontend system config settingapp.experimental.packagesto justapp.packages. The old config will continue working for the time being, but may be removed in a future release.ead626f: The Node.js transform in@backstage/cli/config/nodeTransformHooks.mjsnow supports the built-in type stripping in Node.js, which is enabled by default from v22.18.0.a6af768: Allow js files to be processed by the nodeTransform loaderv0.33.1Compare Source
Patch Changes
50f0ce6: Fixes a module not found error when runningbackstage-cli info.v0.33.0Compare Source
Minor Changes
eef0e83: Internal update to promote the modular CLI entrypoint to stable.Patch Changes
d07fe35: Added user feedback when opening config docs in browser. The command now clearly indicates what it's doing and provides fallback instructions if the browser fails to open.ce70439: TheBACKSTAGE_CLI_EXPERIMENTAL_BUILD_CACHEflag has been removed. Existing users are encouraged to switch toEXPERIMENTAL_RSPACKinstead.1d8f00b: Switched to using theModuleFederationPluginfrom@module-federation/enhanced/rspackfor Rspack, rather than the built-in one.2b9633f: The experimentalFORCE_REACT_DEVELOPMENTflag has been removed.d8c4a54: Only use the caching Jest module loader for frontend packages in order to avoid breaking real ESM module imports.d6d63c7: Updating the scaffolder action boilerplate to use newzodschemae36e855: Addedbackstage.pluginIdfield inpackage.jsonto all default plugin package templates for thenewcommand.1bab255: Internal refactor to combine alphabuildandstartmodules.713e957: fix: merge eslint reports when using json format8a0164c: Fix an issue where some commands were not usable because of missing dist filesv0.32.1Compare Source
Patch Changes
674def9: fix: enablelazyCompilationandrefreshOptionsfor rspackd649df0: Internal code cleanupc2cae47: Add missing modules to the Backstage CLI alpha entrypoint.3f45861: Add a warning for React 17 deprecation that triggers when frontend packages and plugins start.9aaec54: Internal refactor of opaque type handling.9285385: Addedinfoobject to the context of the alpha CLI.6cc9507: Updated dependency@octokit/requestto^8.0.0.5cd3c54: Updated dependencyreact-refreshto^0.17.0.72d019d: Removed various typos19a4e7c: Internal refactor to move things closer to homev0.32.0Compare Source
Minor Changes
a47fd39: Removes default React imports from template files, aligning with the requirements for the upcoming React 19 migration. Introduces a new ESLint rule to disallowimport React from 'react'andimport * as React from 'react'.https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html
65b584c: Internal update to move thenewandcreate-github-appto their own module.c7254ae: Internal update to move theclean,pre/postpackandfixcommands into their own separate module.Patch Changes
4ea76f7: Bump @module-federation/enhanced ^0.9.0 to fix GHSA-593f-38f6-jp5m87a5cb4: Fixed an issue causing therepo lintcommand to fail when the--max-warningsoption was used.6969f79: Avoid trailing/*when automatically adding imports for package with multiple entry points.98b7131: Update theto doplugin template to stop using the deprecated catalog alpha service reference.If you start seeing the
should create TODO item with catalog informationtest failing, you have two options to fix this:Update the test to mock the legacy alpha catalog service, or migrate the
TODOplugin backend to use the new catalog service reference.We recommend the second option, see this pull request for an example of how to do the migration.
d5c4fed: make certificate strings optional for Dev environmentsd83f3f4: Resolved a problem where thestartcommand did not correctly handle multiple--requireflags, ensuring all specified modules are now properly loaded.d2091c6: Added a newrepo startcommand to replace the existing pattern of usingyarn devscripts. Therepo startcommand runs the app and/or backend package in the repo by default, but will also fall back to running other individual frontend or backend packages or even plugin dev entry points if the can be uniquely selected.The goal of this change is to reduce the number of different necessary scripts and align on
yarn startbeing the only command needed for local development, similar to howrepo testhandles testing in the repo. It also opens up for more powerful options, like the--plugin <pluginId>flag that runs the dev entry point of the selected plugin.The new script is installed as follows, replacing the existing
yarn startscript:{ "scripts": { "start": "backstage-cli repo start" } }In order to help users migrate in existing projects, it is recommended to add the following scripts to the root
package.json:{ "scripts": { "dev": "echo \"Use 'yarn start' instead\"", "start-backend": "echo \"Use 'yarn start backend' instead\"" } }For more information, run
yarn start --helponce the new command is installed.918c883: Included a reference to the JSX transform guide in the warning about using the default React import.Updated dependencies
v0.31.1Compare Source
v0.31.0Compare Source
Minor Changes
5b70679: BREAKING: ESLint warnings no longer trigger system exit codes like errors do.Set the max number of warnings to
-1during linting to enable the gradual adoption of new ESLint rules. To restore the previous behavior, include the--max-warnings 0flag in thebackstage-cli <repo|package> lintcommand.Patch Changes
0586d4c: Internal change to move themigrateandversion:*commands into a new migrate module.e0b226b: build(deps): bumpesbuildfrom 0.24.2 to 0.25.04d45498: Fixed the package prepack command so that it no longer produces unnecessaryindexentries in thetypesVersionsmap, which could cause/indexto be added when automatically adding imports.485b3ba: Internal update to movetestcommands to a separate module.a76c482: Internal change to migratelintto the new module system.8df78bf: Internal update to move build commands to a CLI module.d0fc357: Internal update to moveinfocommands to a separate module.f8bd342: Fix a bug in the translation of the deprecated--scopeoption for thenewcommand that could cause plugins to havebackstage-backstage-pluginin their name.v0.30.0Compare Source
Minor Changes
cb76663: BREAKING: Add support for native ESM in Node.js code. This changes the behavior of dynamic import expressions in Node.js code. Typically this can be fixed by replacingimport(...)withrequire(...), with anas typeof import(...)cast if needed for types. This is because dynamic imports will no longer be transformed torequire(...)calls, but instead be left as-is. This in turn allows you to load ESM modules from CommonJS code usingimport(...).This change adds support for the following in Node.js packages, across type checking, package builds, runtime transforms and Jest tests:
.mjsand.mtsfiles as explicit ESM files, as well as.cjsand.ctsas explicit CommonJS files."type": "module"field inpackage.jsonto indicate that the package is an ESM package.There are a few caveats to be aware of:
--experimental-vm-modulesflag enabled, typically viaNODE_OPTIONS='--experimental-vm-modules'."type": "module"inpackage.jsonis supported, but in tests it will cause all local transitive dependencies to also be treated as ESM, regardless of whether they declare"type": "module"or not..ctsor.cjsextension. This is because the interoperability layer is not fully compatible with the NPM ecosystem, and would break package if it was enabled for.jsfiles.require, or to use the explicit CommonJS extensions as mentioned above. If you do need to dynamically import CommonJS packages, avoid usingdefaultexports, as the shape of them vary across different environments and you would otherwise need to manually unwrap the import based on the shape of the module object.b30e788: Thenewcommand is now powered by a new template system that allows you to define your own templates in a declarative way, as well as import existing templates from external sources. See the CLI templates documentation for more information.The following flags for the
newcommand have been deprecated and will be removed in a future release:--license=<license>: Configure the globallicenseinstead.--no-private: Configure the globalprivateinstead.--baseVersion=<version>: Configure the globalversioninstead.--npmRegistry=<url>: Configure the globalpublishRegistryinstead.--scope=<scope>: Configure the globalnamePrefixand/ornamePluginInfixinstead.As part of this change the template IDs and their options have changed. The following backwards compatibility mappings for the
--selectand--optionflags are enabled when using the default set of templates, but they will also be removed in the future:--select=pluginis mapped to--select=frontend-plugininstead.--option=id=<id>is mapped to--option=pluginId=<id>instead.Patch Changes
f17ef61: Theversions:bumpcommand will now reject*as a pattern.86c72c1: The packing process when runningbuild-workspacewith the--alwaysYarnPackflag now respects theBACKSTAGE_CLI_BUILD_PARALLELenvironment variable, defaulting parallel work limits based on CPU availability.2167afc: Treat static file assets as always being free from side effects in package builds.f54eed0: Fixed an issue where default feature type information wasn't being added to package.json/exports before publishing if exports didn't exist beforehand90a1edf: Add check to make sure that the--linkoption for thestartcommand is a valid workspace.207f88f: Fixed the file path pattern of many static assets output as part of the frontend build process, where there was an extra.before the extension, leading to names likeimage-af7946b..png.9638f6d: Only allow pass through of.mjsin Jest transform if static ESM is supported.9d49e04: Replaced dependencynode-libs-browserwithnode-stdlib-browser2c14147: Corrected path when trying to add dependency to respectivepackage.jsonwhen usingyarn newtemplatesf21b125: Ensure that both global-agent and undici agents are enabled when proxying is enabled.v0.29.6Compare Source
v0.29.5Compare Source
Patch Changes
e937ce0: Fixed incompatible@typescript-eslintversions with currenteslint@8.x.x8557e09: Removed theEXPERIMENTAL_VITEflag for using Vite as a dev server. If you were using this feature, we recommend switching to Rspack via theEXPERIMENTAL_RSPACKflag.v0.29.4Compare Source
Patch Changes
2b6c1ea: If the Backstage yarn plugin is installed, it will now be automatically updated as part ofversions:bump.7dcff85: Remove special-casing for@typespackages when generating dependency entriesduring templating
3c3a7e6: Revertcss-loader@v7bump0aff006: Bumped the version range forhtml-webpack-pluginto fix thehtmlPluginExports.getCompilationHooks is not a functionerror when using experimental Rspack.583f3d4: Added@backstage/cli/config/prettieras a replacement for@spotify/prettier-config, but with the same configuration.62a9062: Updated dependency@module-federation/enhancedto^0.8.0.5f04976: Updaterollupto avoid issues with build output when runningbackstage-cli package build.5f04976: Fixed a bug that caused missing code in published packages.a49030a: Add support for--output-fileoption from ESLint topackage lintandrepo lintcommands.96331fa: Enhance the behavior of the experimental support for module federation in the backstage CLI,by using the
package.jsonexports (when present) to complete the list of exposed modules.This allows, for example, using exported
alphadefinitions through module federation.5c9cc05: Use native fetch instead of node-fetchdcd99d2: added experimental RSPack support for build command in the repo scopev0.29.3Compare Source
Patch Changes
62a9062: Updated dependency@module-federation/enhancedto^0.8.0.v0.29.2Compare Source
The
@backstage/corepackage has been split into the following three packages, all published as part of this release.@backstage/core-app-api@backstage/core-plugin-api@backstage/core-componentsThe main purpose of the split is to decouple the plugin API versioning from the app. It is now possible to bring in multiple plugins that depend on different versions of the core API, without any significant overhead.
The existing
@backstage/corepackage still works together with these new packages, meaning that there is no rush to migrate, and we do not recommend that projects are migrated just yet. In general migration will be done by simply replacing usages of@backstage/corewith either@backstage/core-plugin-api,@backstage/core-app-api, or@backstage/core-components, depending on what's being imported, but more information will follow!v0.29.1Compare Source
Published a new
@backstage/backend-test-utilspackage, which is a package for backend test utilities.v0.29.0Compare Source
Minor Changes
bc47b17: BREAKING: Updates ESLint config to ignore all generated source code undersrc/**/generated/**/*.ts.6819f8c: Added a new optimization to therepo testcommand that will filter out unused packages in watch mode if all provide filters are paths that point from the repo root. This significantly speeds up running individual tests from the repo root in a large workspace, for example:yarn test packages/app/src/App.test.tsxd849865: The package packing now populatestypesVersionsfor additional entry points rather than using additionalpackage.jsonfiles for type resolution. This improves auto completion of separate entry points when consuming published packages.bc71665: BREAKING: TheLEGACY_BACKEND_STARTflag has been removed, along with support forsrc/run.tsas the development entry point.Patch Changes
4046d53: Fixed an issue where the--successCacheoption for therepo testandrepo lintcommands would be include the workspace path in generated cache keys. This previously broke caching in environments where the workspace path varies across builds.4a378d3: Fix dev server reloads of plugin discovery for new frontend system.28b60ad: The check forreact-dom/clientin the Jest configuration will now properly always run from the target directory.6b2888c: Fixed an issue with the--successCacheflag forrepo testwhere the tree hash for the wrong package directory would sometimes be used to generate the cache key.e30b65d: Added--alwaysPackas a replacement for the now hidden--alwaysYarnPackflag for thebuild-workspacecommand.be0278e: Removed circular importa7f97e4: Added a new"rejectFrontendNetworkRequests"configuration flag that can be set in the"jest"field in the rootpackage.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.jsonand can not be overridden in individual package configurations.6c48ebd: Add--max-warnings -1support tobackstage-cli package lint04297a0: The--successCacheoption for therepo testandrepo lintcommands now use an additive store that keeps old entries around for a week before they are cleaned up automatically.a2f0559: When using the experimental Rspack flag the app build and dev server now injects configuration via a<script type="backstage.io/config">...</script>tag inindex.htmlrather than theprocess.env.APP_CONFIGdefinition, which will now be defined as an empty array instead.This requires the app to be using the config loader from the 1.31 release of Backstage. Make sure your app is using at least that version if you are upgrading to this version of the CLI.
If you have copied the implementation of the
defaultConfigLoader, make sure to update it to the new implementation. In particular the config loader needs to be able to read configuration fromscripttags with the typebackstage.io/config.b4627f2: Fixed an issue where theraw-loaderfor loading HTML templates was not resolved from the context of the CLI package.cd1ef2b: Updated dependencyviteto^5.0.0.23f1da2: Updated dependencyts-morphto^24.0.0.b533056: Updated dependencycss-loaderto^7.0.0.be008c3: Updated dependency@module-federation/enhancedto^0.7.0.6266ed3: Updated dependencydelto^8.0.0.4046d53: Fixed an issue with therepo lintcommand where the cache key for the--successCacheoption would not properly ignore files that should be ignored according to.eslintignores.e19c53c: Fix for the--linkflag forpackage startto deduplicatereact-routerandreact-router-dom.17850a5: Update upgrade-helper link inversions:bumpcommand to includeyarnPluginparameter when the yarn plugin is installed09ea093: Fixed an issue where.cssstyle injection would fail for published packages.702f41d: Bumped dev dependencies@types/node5d74716: Remove unused backend-common dependencyb084f5a: Bump the Webpack dependency range to^5.94.0, as our current configuration is not compatible with some older versions.e565f73: Added support for.webpfiles in the frontend tooling.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
v0.28.2Compare Source
v0.28.1Compare Source
v0.28.0[Compare Source](https://redirect.github.com/backstage/backstage/com
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.