244 Commits

Author SHA1 Message Date
github-actions[bot] 68db890456 Version Packages (next) 2026-05-26 15:26:38 +00:00
github-actions[bot] b97fcb0a93 Version Packages 2026-05-19 18:28:24 +00:00
github-actions[bot] 42a2f56e61 Version Packages (next) 2026-05-12 18:28:01 +00:00
Rickard Dybeck e68cb8ac0f feat(kubernetes-react): add optional getClusters() cache to KubernetesBackendClient (#34136)
fix(kubernetes-react): coalesce concurrent getClusters() fetches and validate TTL input

Signed-off-by: Rickard Dybeck <dybeck@spotify.com>
2026-05-06 09:16:24 -04:00
github-actions[bot] 1cc86bee1c Version Packages (next) 2026-04-21 15:07:43 +00:00
github-actions[bot] 93e643d142 Version Packages 2026-04-14 14:57:31 +00:00
github-actions[bot] 6c10d88c13 Version Packages (next) 2026-04-07 15:30:58 +00:00
github-actions[bot] c1b510cabb Version Packages (next) 2026-03-24 14:54:00 +00:00
github-actions[bot] 5725b5fcfa Version Packages 2026-03-17 21:39:07 +00:00
Patrik Oldsberg 717bbaf075 Fix alpha entry point translation ref re-exports to use @alpha instead of @public
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
2026-03-17 17:50:25 +01:00
Patrik Oldsberg 0be2541b5c Promote translation refs from alpha to stable entry points
Add each plugin and package translation ref to the corresponding stable
entry point, changing the JSDoc tag from @alpha to @public. The alpha
entry points now re-export with a @deprecated annotation so existing
consumers continue to work.

Affected packages: core-components, api-docs, catalog, catalog-graph,
catalog-import, catalog-react, home, home-react, kubernetes,
kubernetes-cluster, kubernetes-react, notifications, org, scaffolder,
scaffolder-react, search, search-react, user-settings.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
2026-03-17 17:50:25 +01:00
github-actions[bot] 4bd6a3a1af Version Packages (next) 2026-02-24 19:24:06 +00:00
Andre Wanlin 4541817031 Updated API reports due to the package change
Signed-off-by: Andre Wanlin <awanlin@spotify.com>
2026-02-23 06:29:04 -06:00
github-actions[bot] e6df5d52ce Version Packages 2026-02-17 16:06:18 +00:00
github-actions[bot] 7c41134684 Version Packages (next) 2026-02-10 16:14:59 +00:00
Patrik Oldsberg 95759066ad chore: update API reports
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-10 14:30:16 +01:00
renovate[bot] d56542cd70 fix(deps): update xterm monorepo
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-05 00:20:09 +00:00
Paul Schultz a7e0d506a2 feat: enable react router feature flags for v7
Signed-off-by: Paul Schultz <pschultz@pobox.com>
2026-02-03 09:37:11 -06:00
github-actions[bot] 1ea737c1e2 Version Packages (next) 2026-02-03 14:24:29 +00:00
KoB ce3639c588 feat(kubernetes-plugin): add pv and pvc rendering (#31355)
* feat: add persistent volumes rendering

Signed-off-by: 김병준 <kingbj0429@gmail.com>
Signed-off-by: KoB <63000843+kingbj940429@users.noreply.github.com>

* feat: add pv status

Signed-off-by: 김병준 <kingbj0429@gmail.com>
Signed-off-by: KoB <63000843+kingbj940429@users.noreply.github.com>

* feat: add volume status and volume type

Signed-off-by: 김병준 <kingbj0429@gmail.com>
Signed-off-by: KoB <63000843+kingbj940429@users.noreply.github.com>

* feat: add test for pv

Signed-off-by: 김병준 <kingbj0429@gmail.com>
Signed-off-by: KoB <63000843+kingbj940429@users.noreply.github.com>

* feat: add persistent volume claims

Signed-off-by: 김병준 <kingbj0429@gmail.com>
Signed-off-by: KoB <63000843+kingbj940429@users.noreply.github.com>

* feat: add persistent volume status pending

Signed-off-by: 김병준 <kingbj0429@gmail.com>
Signed-off-by: KoB <63000843+kingbj940429@users.noreply.github.com>

* feat: add persistent volume metadata

Signed-off-by: 김병준 <kingbj0429@gmail.com>
Signed-off-by: KoB <63000843+kingbj940429@users.noreply.github.com>

* feat: add persistent volume claims metadata

Signed-off-by: 김병준 <kingbj0429@gmail.com>
Signed-off-by: KoB <63000843+kingbj940429@users.noreply.github.com>

* feat: add persistent volume claims test code

Signed-off-by: 김병준 <kingbj0429@gmail.com>
Signed-off-by: KoB <63000843+kingbj940429@users.noreply.github.com>

* chore: changeset

Signed-off-by: 김병준 <kingbj0429@gmail.com>
Signed-off-by: KoB <63000843+kingbj940429@users.noreply.github.com>

* chore: remove gcp and gke.io

Signed-off-by: 김병준 <kingbj0429@gmail.com>
Signed-off-by: KoB <63000843+kingbj940429@users.noreply.github.com>

* chore: yarn build:api-reports

Signed-off-by: 김병준 <kingbj0429@gmail.com>
Signed-off-by: KoB <63000843+kingbj940429@users.noreply.github.com>

* feat: update pv to table drawer like pod

Signed-off-by: 김병준 <kingbj0429@gmail.com>
Signed-off-by: KoB <63000843+kingbj940429@users.noreply.github.com>

* feat: update pvc to table drawer like pod

Signed-off-by: 김병준 <kingbj0429@gmail.com>
Signed-off-by: KoB <63000843+kingbj940429@users.noreply.github.com>

* chore: remove user event at test code

Signed-off-by: 김병준 <kingbj0429@gmail.com>
Signed-off-by: KoB <63000843+kingbj940429@users.noreply.github.com>

* chore: exclude pv,pvc from default objects

Signed-off-by: 김병준 <kingbj0429@gmail.com>
Signed-off-by: KoB <63000843+kingbj940429@users.noreply.github.com>

* chore: remove duplication import for pv

Signed-off-by: 김병준 <kingbj0429@gmail.com>
Signed-off-by: KoB <63000843+kingbj940429@users.noreply.github.com>

* chore: yarn build:api-reports

Signed-off-by: 김병준 <kingbj0429@gmail.com>
Signed-off-by: KoB <63000843+kingbj940429@users.noreply.github.com>

* chore: retrigger required checks

Signed-off-by: KoB <63000843+kingbj940429@users.noreply.github.com>

* chore: retrigger required checks

Signed-off-by: KoB <63000843+kingbj940429@users.noreply.github.com>

* chore: retrigger required checks

Signed-off-by: KoB <63000843+kingbj940429@users.noreply.github.com>

* chore: retrigger required checks

Signed-off-by: KoB <63000843+kingbj940429@users.noreply.github.com>

---------

Signed-off-by: 김병준 <kingbj0429@gmail.com>
Signed-off-by: KoB <63000843+kingbj940429@users.noreply.github.com>
2026-01-28 14:31:01 -05:00
github-actions[bot] d4b85dddee Version Packages (next) 2026-01-27 15:51:11 +00:00
Fredrik Adelöw 7455dae884 require the use of node prefix on native imports
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2026-01-26 13:22:53 +01:00
github-actions[bot] 2e902e7b43 Version Packages 2026-01-20 16:40:05 +00:00
github-actions[bot] e237d65cdc Version Packages (next) 2026-01-05 22:23:51 +00:00
github-actions[bot] c24788d5bb Version Packages 2025-12-16 14:08:20 +00:00
Johan Persson e70ff47db3 chore: migrate three packages to MSW v2
Migrates test files in config-loader, events-node and kubernetes-react
packages from MSW 1.x to MSW 2.x API to fix compatibility issues with
Jest 30 and JSDOM v26.

Changes:
- Updated msw dependency from ^1.0.0 to ^2.0.0
- Changed imports from `rest` to `http` and `HttpResponse`
- Converted handler syntax from `res(ctx.*)` to `HttpResponse.*`
- Changed `toStrictEqual` to `toEqual` for response assertions

Affected packages:
- @backstage/config-loader
- @backstage/plugin-events-node
- @backstage/plugin-kubernetes-react

Signed-off-by: Johan Persson <johanopersson@gmail.com>
2025-12-11 18:07:00 +01: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
Patrik Oldsberg 2c6ea33a74 Merge pull request #31946 from backstage/rugvip/tsbumps
cli: switch tsconfig to default to bundler resolution
2025-12-02 23:31:11 +01:00
Patrik Oldsberg f85dafa7f2 update API reports for moduleResolution: bundler
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-12-02 22:25:00 +01:00
github-actions[bot] 336db00d21 Version Packages (next) 2025-12-02 15:37:41 +00:00
KoB 8fa8d87e3b feat(kubernetes-plugin): add secrets rendering (#31415)
* feat: mask secret datas

Signed-off-by: 김병준 <kingbj0429@gmail.com>

* feat: add secrets accordion

Signed-off-by: 김병준 <kingbj0429@gmail.com>

* feat: add test code for secrets accordion

Signed-off-by: 김병준 <kingbj0429@gmail.com>

* feat: add test code for secrets fetch

Signed-off-by: 김병준 <kingbj0429@gmail.com>

* chore: changeset

Signed-off-by: 김병준 <kingbj0429@gmail.com>

* chore: yarn build:api-reports

Signed-off-by: 김병준 <kingbj0429@gmail.com>

* chore: remove secrets from default object and rollback test code

Signed-off-by: 김병준 <kingbj0429@gmail.com>

* chore: extract to helper function

Signed-off-by: 김병준 <kingbj0429@gmail.com>

* chore: add test code for helper function

Signed-off-by: 김병준 <kingbj0429@gmail.com>

---------

Signed-off-by: 김병준 <kingbj0429@gmail.com>
2025-12-01 19:35:34 -05:00
KoB f966a8557f feat(kubernetes-plugin): enable a pod terminal at GCP GKE (#31915)
* chore: remove google for enabling pod terminal at gke

Signed-off-by: 김병준 <kingbj0429@gmail.com>

* chore: add chageset

Signed-off-by: 김병준 <kingbj0429@gmail.com>

* chore: update test code for enabling a pod terminal at gke

Signed-off-by: 김병준 <kingbj0429@gmail.com>

---------

Signed-off-by: 김병준 <kingbj0429@gmail.com>
2025-12-01 19:34:10 -05:00
github-actions[bot] 756986e5e7 Version Packages (next) 2025-11-25 16:21:32 +00:00
Fredrik Adelöw dd65c2bb7e fix forgotten api report
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2025-11-25 13:14:15 +01:00
Ben Lambert b877a56871 Merge pull request #31674 from its-mitesh-kumar/feat/kubernetes-localization
fix(kubernetes): add missing i18n support for kubernetes and kubernetes-react plugin
2025-11-25 10:42:46 +01:00
its-mitesh-kumar 0afbd91822 updating api report
Signed-off-by: its-mitesh-kumar <itsmiteshkumar98@gmail.com>
2025-11-19 14:02:00 +05:30
its-mitesh-kumar bb42830a77 address remaining comments
Signed-off-by: its-mitesh-kumar <itsmiteshkumar98@gmail.com>
2025-11-18 20:17:39 +05:30
its-mitesh-kumar ff28f897c4 addressing review comments
Signed-off-by: its-mitesh-kumar <itsmiteshkumar98@gmail.com>
2025-11-18 19:37:25 +05:30
github-actions[bot] 792f4d7e3d Version Packages 2025-11-18 12:23:09 +00:00
github-actions[bot] 20fae88bdf Version Packages (next) 2025-11-11 21:45:56 +00:00
renovate[bot] 1906d3712b fix(deps): update dependency @kubernetes/client-node to v1.4.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-10 14:25:08 +00:00
its-mitesh-kumar c623e3d80d updating the tests
Signed-off-by: its-mitesh-kumar <itsmiteshkumar98@gmail.com>
2025-11-06 18:25:21 +05:30
its-mitesh-kumar 93cd34b403 updating the api report
Signed-off-by: its-mitesh-kumar <itsmiteshkumar98@gmail.com>
2025-11-06 18:14:32 +05:30
its-mitesh-kumar b3c58d8a68 adding api report
Signed-off-by: its-mitesh-kumar <itsmiteshkumar98@gmail.com>
2025-11-06 16:00:07 +05:30
its-mitesh-kumar 9d5d9cb73a feat(kubernetes): adding localization support
Signed-off-by: its-mitesh-kumar <itsmiteshkumar98@gmail.com>
2025-11-06 15:34:46 +05:30
github-actions[bot] 807af8ce0e Version Packages (next) 2025-10-21 16:14:43 +00:00
Patrik Oldsberg b436f73803 Merge pull request #31166 from schultzp2020/constructor-parameters
refactor: convert constructor parameter properties for erasableSyntaxOnly compatibility
2025-10-15 18:56:42 +02:00
github-actions[bot] d6ce2db9ca Version Packages 2025-10-14 15:29:54 +00:00
Paul Schultz 05f60e1e0a refactor: convert constructor parameter properties for erasableSyntaxOnly compatibility
Signed-off-by: Paul Schultz <pschultz@pobox.com>
2025-10-14 08:29:21 -05:00
github-actions[bot] ffb5b44d86 Version Packages (next) 2025-09-30 14:42:12 +00:00