Commit Graph

73378 Commits

Author SHA1 Message Date
Patrik Oldsberg a6bbb0ae2d Merge pull request #33930 from backstage/remove-portable-schema-deprecated-prop
frontend-plugin-api: remove deprecated PortableSchema .schema property
2026-04-16 21:51:39 +02:00
Patrik Oldsberg 264be8b5c1 Merge pull request #33649 from erikmiller-gusto/feat/slack-scoped-message-updates
feat(notifications-slack): add scope-based message update support
2026-04-16 21:51:23 +02:00
Patrik Oldsberg 8738203119 frontend-plugin-api: remove deprecated PortableSchema .schema property
Remove the deprecated property form of PortableSchema.schema, keeping
only the method form. The schema member is now a plain method that must
be called as schema() rather than accessed as a property.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
2026-04-16 20:56:02 +02:00
Patrik Oldsberg df1e14e369 Merge pull request #33949 from secustor/chore/migrate-module-federation-v2
chore: migrate module-federation to v2
2026-04-16 19:07:18 +02:00
Patrik Oldsberg 085133fde0 Bump zod dependency to v4 for packages using configSchema
These packages use `configSchema` with `zod/v4` imports and require the
full Zod v4 package for JSON Schema support. The dependency range is
narrowed from `^3.25.76 || ^4.0.0` to `^4.0.0`.

Also adds a `.patches` entry for the patch release.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
2026-04-16 18:44:51 +02:00
Patrik Oldsberg 72a552f0db frontend-plugin-api: clarify that zod v3 /v4 subpath does not support configSchema
Update error messages, deprecation warnings, migration docs, release
notes, and changelogs to reflect that the zod/v4 subpath export from
the Zod v3 package does not support JSON Schema conversion via the
Standard Schema interface. Users must fully migrate to the zod v4
package (zod@^4.0.0) to use configSchema.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
2026-04-16 17:23:54 +02:00
Patrik Oldsberg ebfa023123 Merge pull request #33916 from backstage/rugvip/remove-dead-actions-service-definitions
backend-plugin-api: 🧹
2026-04-16 17:02:44 +02:00
Fredrik Adelöw 7b4ea63b38 Merge pull request #33945 from backstage/freben/add-missing-deps
chore: add missing transitive dependencies
2026-04-16 16:54:33 +02:00
Patrik Oldsberg 7082b6f207 Remove patch entries released in v1.50.1
The patches for PRs #33913, #33914, and #33918 were included in
the v1.50.1 release and no longer need to be tracked.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
2026-04-16 16:40:02 +02:00
MT Lewis 36aff3305c ui: clean up prop spreading in Flex story DecorativeBox component
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2026-04-16 15:36:33 +01:00
MT Lewis c97b9e1f73 ui: add style prop to CardBaseProps
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2026-04-16 15:20:58 +01:00
MT Lewis a344f12bc7 ui: avoid passing component prop to rendered component in Flex story
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2026-04-16 15:14:43 +01:00
MT Lewis a2814693fa ui: add changeset for new flex-item props
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2026-04-16 15:10:08 +01:00
secustor 41070b89c5 chore: migrate module-federation to v2
Signed-off-by: secustor <sebastian@poxhofer.at>
2026-04-16 15:15:04 +02:00
MT Lewis 68cf3f113c ui: update api-report with new flex item props
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2026-04-16 14:09:43 +01:00
MT Lewis 60224fb0fd ui: add story for testing flex-item props to Flex storybook
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2026-04-16 14:09:43 +01:00
MT Lewis 058012eae8 ui: add support for flex item props to Box, Card, Flex, and Grid
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2026-04-16 14:09:42 +01:00
MT Lewis 753471e381 ui: add flex item related types and helper classes
Also includes a solution for transforming input
values for specific classes, to allow transforming
e.g. "flex: true" to "flex: 1".

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
2026-04-16 14:02:56 +01:00
Fredrik Adelöw db03264327 Revert "chore: unpin @rjsf/utils version ranges"
This reverts commit ad6c40e86a.

Signed-off-by: Fredrik Adelöw <freben@spotify.com>
Made-with: Cursor
2026-04-16 14:18:25 +02:00
Fredrik Adelöw ad6c40e86a chore: unpin @rjsf/utils version ranges
Signed-off-by: Fredrik Adelöw <freben@spotify.com>
Made-with: Cursor
2026-04-16 14:17:17 +02:00
Fredrik Adelöw ac69d4cc00 chore: use caret range for @rjsf/utils in app-legacy
Signed-off-by: Fredrik Adelöw <freben@spotify.com>
Made-with: Cursor
2026-04-16 14:15:05 +02:00
Johan Persson 8d1e093ae8 feat(techdocs): make sidebar positioning configurable via CSS custom properties (#33908)
* feat(techdocs): make sidebar positioning configurable via CSS custom properties

Replace hardcoded Backstage app sidebar widths (224px/72px) in the
TechDocs layout CSS with CSS custom properties that inherit through
the shadow DOM boundary, allowing apps with custom sidebar widths
to override the defaults.

- `--techdocs-sidebar-closed-offset-pinned` (default: 224px)
- `--techdocs-sidebar-closed-offset-collapsed` (default: 72px)
- `--techdocs-sidebar-open-translate` (default: 16rem)

Also extract all magic values into named constants.

Signed-off-by: Johan Persson <johanopersson@gmail.com>

* Add PR #33908 to patch release

Signed-off-by: Johan Persson <johanopersson@gmail.com>

---------

Signed-off-by: Johan Persson <johanopersson@gmail.com>
2026-04-16 08:02:54 -04:00
Fredrik Adelöw 3846774beb chore: add missing transitive dependencies
Add dependencies that were only available transitively through other
packages but were being imported directly:

- csstype and copy-to-clipboard in @backstage/core-components
- @storybook/react-vite in @backstage/ui
- react-aria-components in @backstage/plugin-notifications
- @octokit/core in @backstage/plugin-scaffolder-backend-module-github
- @rjsf/utils in example-app-legacy

Signed-off-by: Fredrik Adelöw <freben@spotify.com>
Made-with: Cursor
2026-04-16 13:28:21 +02:00
Fredrik Adelöw a9b556d70d Merge pull request #33941 from backstage/freben/remove-unused-deps
chore: remove unused dependencies
2026-04-16 12:57:45 +02:00
Fredrik Adelöw 5d841af5d0 chore: add 'unregisters' to Vale vocabulary
Signed-off-by: Fredrik Adelöw <freben@spotify.com>
Made-with: Cursor
2026-04-16 12:15:49 +02:00
Fredrik Adelöw 8e7f7249e7 chore: regenerate knip reports
Signed-off-by: Fredrik Adelöw <freben@spotify.com>
Made-with: Cursor
2026-04-16 12:14:47 +02:00
Fredrik Adelöw 0c5e41f984 chore: remove unused dependencies
Remove 30 dependencies across 18 packages that have no imports in
source code and are not peer dependencies of any other dependency.

Signed-off-by: Fredrik Adelöw <freben@spotify.com>
Made-with: Cursor
2026-04-16 11:52:59 +02:00
Fredrik Adelöw 62c16341ba Merge pull request #33936 from backstage/freben/fix-duplicate-deps
chore: remove duplicate dependencies/devDependencies entries
2026-04-16 11:23:46 +02:00
Patrik Oldsberg 63c4c2da38 Merge pull request #33940 from backstage/rugvip/fix-v1.50-release-notes-zod-comment
docs: fix v1.50 release notes zod version comment
2026-04-16 11:08:28 +02:00
Patrik Oldsberg e456249d9f docs: add zod version requirement to v4 import comment in v1.50 release notes
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
2026-04-16 10:58:11 +02:00
Patrik Oldsberg f152a60dd9 Merge pull request #33938 from backstage/rugvip/remove-shipped-patches
docs: improve v1.50 release notes for Standard Schema section
2026-04-16 10:48:56 +02:00
Fredrik Adelöw 744fa1fb8b chore: remove duplicate dependencies/devDependencies entries
Remove duplicated entries that appeared in both dependencies and
devDependencies across 10 packages. Also remove zod entirely from
core-compat-api as it is unused.

Signed-off-by: Fredrik Adelöw <freben@spotify.com>
Made-with: Cursor
2026-04-16 10:43:07 +02:00
Patrik Oldsberg 2ffddef1dd docs: improve v1.50 release notes for Standard Schema section
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
2026-04-16 10:30:23 +02:00
Fredrik Adelöw ead0ca27e5 chore: add changesets for duplicate dependency cleanup
Signed-off-by: Fredrik Adelöw <freben@spotify.com>
Made-with: Cursor
2026-04-16 10:27:10 +02:00
Fredrik Adelöw f0c27227cf chore: remove duplicate dependencies/devDependencies entries
Several packages had the same dependency listed in both `dependencies`
and `devDependencies`. This removes the duplicate from whichever section
is incorrect based on actual usage in the source code.

Signed-off-by: Fredrik Adelöw <freben@spotify.com>
Made-with: Cursor
2026-04-16 10:22:01 +02:00
Johan Persson d3dbbe57e1 docs-ui: add missing aria-labels to toolbar controls
Add aria-labels to the theme select, color scheme toggle group,
and the individual light/dark toggle buttons.

Signed-off-by: Johan Persson <johanopersson@gmail.com>
2026-04-16 09:26:39 +02:00
Johan Persson 88119c21c8 docs-ui: use matching casing for changelog component badges
Change changelog badge labels from spaced title case (e.g.
"Button Link") to PascalCase (e.g. "ButtonLink") so they match
the actual component names and are searchable. Hook slugs
starting with `use-` display as camelCase (e.g. "useTable").

Signed-off-by: Johan Persson <johanopersson@gmail.com>
2026-04-16 09:26:39 +02:00
Johan Persson 00078b3179 docs-ui: sync changelog for v0.14.0
Generated changelog entries for @backstage/ui v0.14.0 release.

Signed-off-by: Johan Persson <johanopersson@gmail.com>
2026-04-16 09:26:39 +02:00
Johan Persson 552e4b2d43 docs-ui: add missing component slugs and fix changelog sync
Add `badge`, `slider`, and `use-table` to the Component type so
the changelog sync script recognizes them. Add `useTable` special
case mapping in the sync script, and include `use-table` in the
Table docs page changelog.

Also fix CHANGELOG.md to use `Slider` instead of `RangeSlider`
as the affected component name.

Signed-off-by: Johan Persson <johanopersson@gmail.com>
2026-04-16 09:26:39 +02:00
backstage-goalie[bot] 951ee25105 Merge pull request #33934 from backstage/renovate/npm-dompurify-vulnerability
Update dependency dompurify to v3.4.0 [SECURITY]
2026-04-16 05:04:42 +00:00
renovate[bot] dc868864df Update dependency dompurify to v3.4.0 [SECURITY]
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-16 03:53:12 +00:00
Patrik Oldsberg e0dc6f98de Simplify changeset message
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
2026-04-15 23:03:41 +02:00
Fredrik Adelöw b0f39adb37 Merge pull request #33927 from backstage/freben/ts6-migration-test
frontend-test-utils: fix implicit any types for TypeScript 6 compatibility
2026-04-15 22:38:38 +02:00
Patrik Oldsberg 0cdcf748eb Merge pull request #33926 from backstage/rugvip/remove-shipped-patches
patches: 🧹
2026-04-15 22:27:16 +02:00
Fredrik Adelöw 9279ea8366 frontend-test-utils: fix implicit any types for TypeScript 6 compatibility
Add explicit type annotations to `.map()` callback parameters in
`renderInTestApp` to prevent TS7006 errors with TypeScript 6, and
update `@mswjs/interceptors` to 0.39.8 within the existing version
range.

Signed-off-by: Fredrik Adelöw <freben@spotify.com>
Made-with: Cursor
2026-04-15 22:02:18 +02:00
Patrik Oldsberg b62781fc82 Add changeset for integration package
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
2026-04-15 21:03:52 +02:00
Patrik Oldsberg d57f36e2b8 chore: remove shipped .patches entries
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
2026-04-15 20:12:12 +02:00
Fredrik Adelöw 04dea64eb7 Merge pull request #33897 from backstage/freben/fix-irreversible-migration
fix(catalog-backend): fix irreversible database migration down functions
2026-04-15 17:44:09 +02:00
Patrik Oldsberg 5f1d32b415 Merge pull request #33892 from backstage/rugvip/remove-cached-entity-loader-options-export
techdocs-backend: 🧹
2026-04-15 16:24:53 +02:00
Patrik Oldsberg 927c0039d7 repo-tools, create-app: replace duplicate error utilities with cli-common imports (#33893)
* Replace duplicate error utilities with @backstage/cli-common imports

Remove dead CustomError and ExitCodeError classes from repo-tools and
create-app, replacing them with the ExitCodeError import from
@backstage/cli-common. This fixes the instanceof check in exitWithError
so it actually catches errors thrown by cli-common's run().

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor

* Add changeset for repo-tools and create-app

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor

---------

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2026-04-15 12:39:42 +00:00