Commit Graph

2301 Commits

Author SHA1 Message Date
github-actions[bot] 7c41134684 Version Packages (next) 2026-02-10 16:14:59 +00:00
Patrik Oldsberg fca2ff6e38 Merge pull request #32741 from backstage/rugvip/promote-app-next
repo: promote app-next to main example app
2026-02-10 16:31:34 +01:00
Fredrik Adelöw 1107812a0f Merge pull request #32631 from backstage/freben/predicates-2
Introduce the `@backstage/filter-predicates` package
2026-02-10 16:17:35 +01: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
Patrik Oldsberg 36fb574fff use new mockApis
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2026-02-05 23:50:28 +01: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
Mitesh Kumar 4e581a66e5 fix(scaffolder): show template-specific title in browser tab (#32343)
* fix(scaffolder): show template-specific title in browser tab

Signed-off-by: its-mitesh-kumar <itsmiteshkumar98@gmail.com>

* adding changeset

Signed-off-by: its-mitesh-kumar <itsmiteshkumar98@gmail.com>

* updating api report

Signed-off-by: its-mitesh-kumar <itsmiteshkumar98@gmail.com>

* prefixing  Create new

Signed-off-by: its-mitesh-kumar <itsmiteshkumar98@gmail.com>

* updating the report

Signed-off-by: its-mitesh-kumar <itsmiteshkumar98@gmail.com>

---------

Signed-off-by: its-mitesh-kumar <itsmiteshkumar98@gmail.com>
2026-02-03 15:03:02 +01:00
Fredrik Adelöw 7feb83b586 introduce the @backstage/filter-predicates package
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2026-02-03 14:47:13 +01:00
github-actions[bot] d4b85dddee Version Packages (next) 2026-01-27 15:51:11 +00:00
Fredrik Adelöw f02219a054 Merge pull request #32516 from backstage/freben/nodecolon
Add a rule for the use of `node:` prefix on native imports
2026-01-27 14:17:14 +01:00
Patrik Oldsberg 3b488a071e Merge pull request #32521 from backstage/rugvip/no-multi
frontend-plugin-api: deprecate support for multiple attachment points
2026-01-27 13:52:57 +01:00
Patrik Oldsberg 2eeca031c4 scaffolder: migrate nfs form fields to utility API
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2026-01-26 16:53:04 +01:00
Fredrik Adelöw 69d880e171 Bump to latest zod
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2026-01-26 13:52:02 +01: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
Patrik Oldsberg 7edb810248 frontend-plugin-api: add new internal option for extension inputs
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2026-01-23 11:41:15 +01:00
github-actions[bot] 2e902e7b43 Version Packages 2026-01-20 16:40:05 +00:00
Jon Koops 872eb91313 Upgrade zod-to-json-schema to latest version
Signed-off-by: Jon Koops <jonkoops@gmail.com>
2026-01-14 12:03:47 +01:00
github-actions[bot] 880310b797 Version Packages (next) 2026-01-13 12:10:45 +00:00
martina-equinix 9d75495644 Fix autocomplete in scaffolder RepoUrlPickerRepoName (#32106)
* Fix autocomplete in scaffolder RepoUrlPickerRepoName

... since it was not filtering the list as the user types.

Signed-off-by: martina-equinix <martina.iglesias@eu.equinix.com>

* Add changeset

Signed-off-by: martina-equinix <martina.iglesias@eu.equinix.com>

* Update .changeset/tricky-tips-invite.md

Co-authored-by: Benjamin Janssens <benji.janssens@gmail.com>
Signed-off-by: martina-equinix <161837167+martina-equinix@users.noreply.github.com>

---------

Signed-off-by: martina-equinix <martina.iglesias@eu.equinix.com>
Signed-off-by: martina-equinix <161837167+martina-equinix@users.noreply.github.com>
Co-authored-by: Benjamin Janssens <benji.janssens@gmail.com>
2026-01-12 15:59:20 +01:00
github-actions[bot] e237d65cdc Version Packages (next) 2026-01-05 22:23:51 +00:00
Backstage Service Account 9f1ee3e667 Version Packages (next) (#32222)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-12-30 16:06:20 +01:00
github-actions[bot] c24788d5bb Version Packages 2025-12-16 14:08:20 +00:00
Ben Lambert 08f8a58f82 Merge pull request #32105 from benjidotsh/scaffolder/repo-owner-picker
feat(scaffolder): add RepoOwnerPicker
2025-12-16 15:00:10 +01:00
Benjamin Janssens cdca772097 test: update tests
Signed-off-by: Benjamin Janssens <benji.janssens@gmail.com>
2025-12-16 10:53:44 +01:00
Benjamin Janssens 49579170e9 refactor: remove coupling with form context
Signed-off-by: Benjamin Janssens <benji.janssens@gmail.com>
2025-12-16 09:49:35 +01:00
Benjamin Janssens 014791a0d2 test: use renderInTestApp instead of render in tests for GitHubRepoOwnerPicker as well
Signed-off-by: Benjamin Janssens <benji.janssens@gmail.com>
2025-12-12 11:47:56 +01:00
Benjamin Janssens 7acc84623e test: use renderInTestApp instead of render
Signed-off-by: Benjamin Janssens <benji.janssens@gmail.com>
2025-12-12 11:23:48 +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
Benjamin Janssens 2cb930fe8e chore: update api reports
Signed-off-by: Benjamin Janssens <benji.janssens@gmail.com>
2025-12-11 14:53:50 +01:00
Benjamin Janssens 2a8a10a87f feat: use translations for RepoOwnerPicker title and description fallback
Signed-off-by: Benjamin Janssens <benji.janssens@gmail.com>
2025-12-11 14:48:40 +01:00
Benjamin Janssens 6c5a34ebf8 feat: add RepoOwnerPicker
Signed-off-by: Benjamin Janssens <benji.janssens@gmail.com>
2025-12-10 17:10:12 +01:00
github-actions[bot] e08f48a9b5 Version Packages (next) 2025-12-09 15:00:09 +00:00
renovate[bot] be21c5c822 fix(deps): update rjsf monorepo to v5.24.13
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-08 13:05:02 +00: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] 756986e5e7 Version Packages (next) 2025-11-25 16:21:32 +00:00
Patrik Oldsberg 395ff1c43b plugins: remove unused dependencies on core-compat-api
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-11-23 14:36:02 +01:00
Patrik Oldsberg 1c7ea4a3e8 plugins: remove unnecessary use of convertLegacyRouteRef(s)
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-11-23 14:36:02 +01:00
Patrik Oldsberg d02db50b42 plugins: cleanup unnecessary use of compatWrapper
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-11-23 12:56:54 +01:00
Patrik Oldsberg ebe5538d55 update API reports for core/frontend inversion
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-11-23 01:59:07 +01:00
github-actions[bot] 792f4d7e3d Version Packages 2025-11-18 12:23:09 +00:00
Patrik Oldsberg a1c58124a7 sync API reports
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-11-17 10:35:43 +01:00
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 161999e837 fix tsc issues
Signed-off-by: Paul Schultz <pschultz@pobox.com>
2025-10-14 08:29:22 -05: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] 316d0774b8 Version Packages (next) 2025-10-07 15:00:59 +00:00
Fredrik Adelöw acac5b81e4 Merge pull request #31312 from OSfrog/disable-owned-entity-picker
fix(OwnedEntityPicker): forward ui:disabled prop to EntityPicker
2025-10-06 15:15:45 +02:00
Tommy Le 90496fe472 fix: forward disabled prop
Signed-off-by: Tommy Le <tommy_le@outlook.com>
2025-09-30 17:10:30 +02:00