@backstage/core-app-api 1.11.2-next.0 → 1.11.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,28 @@
1
1
  # @backstage/core-app-api
2
2
 
3
+ ## 1.11.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 3e358b0: Added deprecation warning for React Router v6 beta, please make sure you have migrated your apps to use React Router v6 stable as support for the beta version will be removed. See the [migration tutorial](https://backstage.io/docs/tutorials/react-router-stable-migration) for more information.
8
+ - 0cbb03b: Fixing regular expression ReDoS with zod packages. Upgrading to latest. ref: https://security.snyk.io/vuln/SNYK-JS-ZOD-5925617
9
+ - Updated dependencies
10
+ - @backstage/core-plugin-api@1.8.1
11
+ - @backstage/config@1.1.1
12
+ - @backstage/types@1.1.1
13
+ - @backstage/version-bridge@1.0.7
14
+
15
+ ## 1.11.2-next.1
16
+
17
+ ### Patch Changes
18
+
19
+ - 3e358b0dff: Added deprecation warning for React Router v6 beta, please make sure you have migrated your apps to use React Router v6 stable as support for the beta version will be removed. See the [migration tutorial](https://backstage.io/docs/tutorials/react-router-stable-migration) for more information.
20
+ - Updated dependencies
21
+ - @backstage/core-plugin-api@1.8.1-next.1
22
+ - @backstage/config@1.1.1
23
+ - @backstage/types@1.1.1
24
+ - @backstage/version-bridge@1.0.7
25
+
3
26
  ## 1.11.2-next.0
4
27
 
5
28
  ### Patch Changes
package/dist/index.esm.js CHANGED
@@ -3771,11 +3771,19 @@ class AppManager {
3771
3771
  []
3772
3772
  );
3773
3773
  const { routing, featureFlags, routeBindings } = useMemo(() => {
3774
+ const usesReactRouterBeta = isReactRouterBeta();
3775
+ if (usesReactRouterBeta) {
3776
+ console.warn(`
3777
+ DEPRECATION WARNING: React Router Beta is deprecated and support for it will be removed in a future release.
3778
+ Please migrate to use React Router v6 stable.
3779
+ See https://backstage.io/docs/tutorials/react-router-stable-migration
3780
+ `);
3781
+ }
3774
3782
  const result = traverseElementTree({
3775
3783
  root: children,
3776
3784
  discoverers: [childDiscoverer, routeElementDiscoverer],
3777
3785
  collectors: {
3778
- routing: isReactRouterBeta() ? routingV1Collector : routingV2Collector,
3786
+ routing: usesReactRouterBeta ? routingV1Collector : routingV2Collector,
3779
3787
  collectedPlugins: pluginCollector,
3780
3788
  featureFlags: featureFlagCollector
3781
3789
  }