Commit Graph

2406 Commits

Author SHA1 Message Date
Fredrik Adelöw bcc6cf0d8c bump version packages memory limits
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2026-01-29 13:26:48 +01:00
Patrik Oldsberg 23916a0b5c Merge pull request #32548 from backstage/rugvip/patch-refinement
.patches: ignore already applied patches, remove broken cleanup workflow
2026-01-28 15:20:00 +01:00
Patrik Oldsberg 90e8283458 .patches: ignore already applied patches, remove broken cleanup workflow
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2026-01-28 11:25:10 +01:00
Andre Wanlin 6c5be07d36 Revert quote change
Signed-off-by: Andre Wanlin <awanlin@spotify.com>
2026-01-27 19:22:11 -06:00
Andre Wanlin 4977f58b9a Refactored into a script using zod based on feedback
Signed-off-by: Andre Wanlin <awanlin@spotify.com>
2026-01-27 19:14:44 -06:00
Andre Wanlin ed3bcf377c Plugins - Added plugin directory validation
Signed-off-by: Andre Wanlin <awanlin@spotify.com>

Correct file check

Signed-off-by: Andre Wanlin <awanlin@spotify.com>

Correct file extension

Signed-off-by: Andre Wanlin <awanlin@spotify.com>

Minor corrections

Signed-off-by: Andre Wanlin <awanlin@spotify.com>

Corrected ldap-auth file

Signed-off-by: Andre Wanlin <awanlin@spotify.com>

Added pattern to npmPackageName

Signed-off-by: Andre Wanlin <awanlin@spotify.com>

Removing pattern

Signed-off-by: Andre Wanlin <awanlin@spotify.com>

Ran prettier

Signed-off-by: Andre Wanlin <awanlin@spotify.com>

Changes based on feedback

Signed-off-by: Andre Wanlin <awanlin@spotify.com>
2026-01-27 18:26:47 -06:00
Patrik Oldsberg c94a5005ca Merge pull request #32423 from backstage/rugvip/nopr
workflows/sync_patch-release: stop running on PR branches
2026-01-26 19:48:05 +01:00
Aramis Sennyey f7ad4051c2 fix: add missing file for docsite builds (#32526)
* fix: add missing file for docsite builds

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>

* create directory

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>

---------

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
2026-01-26 11:31:14 -05:00
renovate[bot] 57d75c90df chore(deps): update actions/checkout action to v6.0.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-22 17:19:35 +00:00
Patrik Oldsberg 1a3b4bccec Merge pull request #31690 from backstage/sennyeya/disable-ref-build
chore: disable old api reference generation
2026-01-22 15:14:13 +01:00
Fredrik Adelöw fc02375ff3 Merge pull request #32427 from backstage/renovate/github-codeql-action-3.x
chore(deps): update github/codeql-action action to v3.31.10
2026-01-22 11:52:08 +01:00
renovate[bot] 4cbd3f9d98 chore(deps): update actions/setup-node action to v6.2.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-21 17:13:51 +00:00
renovate[bot] 026195494b chore(deps): update github/codeql-action action to v3.31.10
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-21 14:04:28 +00:00
Patrik Oldsberg 9166885552 workflows/sync_patch-release: stop running on PR branches
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2026-01-21 13:27:07 +01:00
renovate[bot] 7066609075 chore(deps): update stefanbuck/github-issue-parser digest to 10dcc54
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-20 21:03:40 +00:00
Andre Wanlin bfe2219e1a codeowners - Adjusted so that Vale/Microsite PRs aren't blocked by Docs Maintainers
Signed-off-by: Andre Wanlin <awanlin@spotify.com>
2026-01-12 07:47:28 -06:00
renovate[bot] 59a9f81f82 chore(deps): update actions/setup-python action to v6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-11 11:53:48 +00:00
Aramis Sennyey bafdd028ab fix(api-breaking-changes): add better comment identifier (#32268)
* fix(api-breaking-changes): add better comment identifier

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>

* only update workflow

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>

* test change

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>

* add breaking change

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>

* revert schema changes

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>

---------

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
2026-01-08 09:51:44 -07:00
Patrik Oldsberg 6bd375fd93 Merge pull request #32050 from backstage/bui-table-update
feat(ui)!: redesign Table component with new useTable hook API
2026-01-08 12:52:30 +01:00
Aramis Sennyey 64ea0d20c1 Merge pull request #32225 from backstage/sennyeya/fix-breaking-changes-comment-master 2026-01-06 11:14:57 -05:00
Andre Wanlin 95a5f625fb Update .github/vale/config/vocabularies/Backstage/accept.txt
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Signed-off-by: Andre Wanlin <67169551+awanlin@users.noreply.github.com>
2026-01-05 13:50:28 -06:00
Andre Wanlin abdbc9ad31 Added Trixie to Vale
Signed-off-by: Andre Wanlin <awanlin@spotify.com>
2026-01-05 12:31:28 -06:00
Fredrik Adelöw 790a77c418 Merge pull request #32039 from backstage/renovate/actions-setup-node-6.x
chore(deps): update actions/setup-node action to v6
2026-01-05 14:14:27 +01:00
Patrik Oldsberg 0fe2a23ad9 Merge pull request #32015 from schultzp2020/ai-contrib
feat: add AI Use Policy and Guidelines
2026-01-02 13:22:27 +01:00
renovate[bot] 3db7157061 chore(deps): update actions/setup-node action to v6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-31 12:43:49 +00:00
aramissennyeydd 4171b4e7e3 fix: use correct PR ID to post comments
Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
2025-12-30 12:39:09 -07:00
aramissennyeydd 3c8a824bb6 add back strict build
Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
2025-12-20 20:36:39 -07:00
aramissennyeydd 14a8190e16 fix verify workflow too
Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>

add back prebuild script

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>

fix script location

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>

skip techdocs

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>

make references/index tracked in git

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>

don't try to build with new reference docs

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>

fix redirect

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>

disable redirect

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
2025-12-20 20:36:07 -07:00
aramissennyeydd 97a726e0bb chore: disable old api reference generation
Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
2025-12-20 20:36:07 -07:00
Charles de Dreuille 243e5e7139 feat(ui)!: redesign Table component with new useTable hook API
Redesigns the Table component to provide a better developer
experience with a new useTable hook supporting three pagination
modes: complete (all data loaded upfront), offset (server-side),
and cursor (server-side).

BREAKING CHANGES:

- Table component (React Aria wrapper) is renamed to TableRoot
- New high-level Table component handles data display, pagination,
  sorting, and selection
- useTable hook completely redesigned with new API

New features:

- Unified useTable hook with mode discriminator for all
  pagination patterns (complete, offset, cursor)
- Custom page caching for server-side pagination with
  bidirectional navigation and request cancellation
- Debounced query changes to reduce backend load
- Stale data preservation with visual indicator during reloads
- Row selection with toggle/replace behaviors
- Per-row disable control via getIsDisabled

MIGRATION GUIDE:

1. Update imports and use the new useTable hook:

   ```diff
   -import { Table, useTable } from '@backstage/ui';
   -const { data, paginationProps } = useTable({ data: items, pagination: {...} });
   +import { Table, useTable, type ColumnConfig } from '@backstage/ui';
   +const { tableProps } = useTable({
   +  mode: 'complete',
   +  getData: () => items,
   +});
   ```

2. Define columns and render with the new Table API:

   ```diff
   -<Table aria-label="My table">
   -  <TableHeader>...</TableHeader>
   -  <TableBody items={data}>...</TableBody>
   -</Table>
   -<TablePagination {...paginationProps} />
   +const columns: ColumnConfig<Item>[] = [
   +  { id: 'name', label: 'Name', isRowHeader: true, cell: item => <CellText title={item.name} /> },
   +  { id: 'type', label: 'Type', cell: item => <CellText title={item.type} /> },
   +];
   +
   +<Table columnConfig={columns} {...tableProps} />
   ```

Signed-off-by: Johan Persson <johanopersson@gmail.com>
2025-12-19 12:48:03 +01:00
Fredrik Adelöw 1c341e19f2 use node 22 in the patch flow
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2025-12-17 09:39:59 +01:00
Patrik Oldsberg a0de7cf2b7 Merge pull request #31933 from backstage/upgrade-jsdom
chore: upgrade jsdom to v27 and Jest to v30
2025-12-15 16:01:01 +01:00
Fredrik Adelöw caf47623b3 Merge pull request #32090 from backstage/renovate/jamesives-github-pages-deploy-action-4.x
chore(deps): update jamesives/github-pages-deploy-action action to v4.7.6
2025-12-15 09:29:52 +01:00
Fredrik Adelöw ada1857fb7 Merge pull request #32088 from backstage/renovate/github-codeql-action-3.x
chore(deps): update github/codeql-action action to v3.31.8
2025-12-15 09:29:38 +01:00
Paul Schultz 7df97b54b3 feat: add AI Use Policy and Guidelines
Signed-off-by: Paul Schultz <pschultz@pobox.com>

Address review comments: simplify cursor rules and clarify AI PR marking

- Simplify .cursor/rules/general.mdc to reference /.github/copilot-instructions.md
- Add clarification that AI-generated PRs should be clearly marked

Signed-off-by: Paul Schultz <pschultz@pobox.com>
2025-12-12 17:15:07 -06:00
renovate[bot] 4f9a6f8a1f chore(deps): update github/codeql-action action to v3.31.8
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-12 10:23:27 +00:00
Johan Persson cd0b8a11a3 chore: make jest a peer dependency with v29/v30 support
Move jest from dependencies to peer dependencies, allowing users to
choose between Jest 29 and Jest 30.

The CLI now detects the Jest version at runtime and uses the
appropriate environment:
- Jest 29: Uses standard jest-environment-jsdom
- Jest 30: Uses a custom environment based on @jest/environment-jsdom-abstract
  with fixes for Web API globals (fetch, streams, Error, etc.)

The cross-fetch polyfill is only injected for Jest 29, as with Jest 30+
our patched Jest environment is used. The network request blocker is made
MSW-compatible by checking if fetch was wrapped before blocking.

Jest 30 (with jsdom v27) fixes `Could not parse CSS stylesheet`
warnings/errors when testing components from @backstage/ui or other
packages using CSS `@layer` declarations.

New peer dependencies (install based on your Jest version):
- jest (required, ^29 or ^30)
- Jest 29 requires: jest-environment-jsdom
- Jest 30 requires: @jest/environment-jsdom-abstract, jsdom

Production code changes for jsdom 27 testability:
- AppIdentityProxy: extract navigateToUrl method for spying
- LiveReloadAddon: export utils.reloadPage for spying
- collect.ts: export internal.resolvePackagePath for mocking

MockFetchApi: evaluate global.fetch at call time instead of construction
time, allowing MSW to patch fetch after MockFetchApi is constructed.

Test adaptations for jsdom 27:
- Use RGB values instead of named colors in CSS assertions
- Update error format expectations (hyphenated type names, SyntaxError
  instead of FetchError for JSON parse errors)
- Simplify URL error assertions for cross-version compatibility
- Fix accessible name whitespace handling for external links
- Use history.replaceState for location mocking (non-configurable)
- Use fireEvent.blur for contentEditable elements
- Move async assertions inside waitFor for race conditions
- Remove Blob.prototype.text polyfill (now native)
- Remove test case using credentials in plugin:// URLs

Test adaptations for Jest 30:
- Replace `expect.objectContaining([...])` with direct array equality
- Replace `expect.objectContaining({ length: N })` with
  `expect.any(Array)` + separate `toHaveLength()` assertions
- Use child process for native Node.js module resolution in
  collect.test.ts to work around Jest 30's resolver behavior
- Update snapshot headers for new Jest format

Also removes the jest-haste-map patch which is no longer needed.

Signed-off-by: Johan Persson <johanopersson@gmail.com>
2025-12-11 18:06:55 +01:00
renovate[bot] 7fd171ee38 chore(deps): update jamesives/github-pages-deploy-action action to v4.7.6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-10 00:20:51 +00:00
aramissennyeydd 0def824b4d remove --no-node-snapshots flag
Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
2025-12-08 17:28:19 -05:00
Fredrik Adelöw ec476bcb47 Merge pull request #32037 from backstage/renovate/actions-github-script-8.x
chore(deps): update actions/github-script action to v8
2025-12-08 16:05:18 +01:00
Fredrik Adelöw 40d8e94bd8 Merge pull request #32038 from backstage/renovate/actions-labeler-6.x
chore(deps): update actions/labeler action to v6
2025-12-08 16:04:21 +01:00
Fredrik Adelöw 13b3085450 Merge pull request #32045 from backstage/renovate/actions-stale-10.x
chore(deps): update actions/stale action to v10
2025-12-08 16:04:10 +01:00
Fredrik Adelöw 68e1cd1d17 add explicit node version to version packages flow
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2025-12-08 14:37:04 +01:00
Fredrik Adelöw 2bae83ab2e Version Policy Update - Node 22 to 24
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2025-12-08 10:53:38 +01:00
renovate[bot] ae8d79cd30 chore(deps): update actions/stale action to v10
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-06 11:15:29 +00:00
renovate[bot] 98884553e0 chore(deps): update actions/labeler action to v6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-05 16:06:05 +00:00
renovate[bot] b72cec522f chore(deps): update actions/github-script action to v8
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-05 16:05:57 +00:00
renovate[bot] f08ef4c73c chore(deps): update actions/checkout action to v6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-05 15:06:16 +00:00
Fredrik Adelöw 2d0665d3dd Merge pull request #31994 from backstage/renovate/github-codeql-action-3.x
chore(deps): update github/codeql-action action to v3.31.6
2025-12-05 10:59:25 +01:00
Fredrik Adelöw f5888f1a59 Merge pull request #31988 from backstage/renovate/docker-login-action-3.x
chore(deps): update docker/login-action action to v3.6.0
2025-12-05 10:59:10 +01:00