fix(deps): update rhdh x2a dependencies (minor)
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| @backstage-community/plugin-rbac-backend (source) | 7.6.2 → 7.13.0 |
||
| @playwright/test (source) | 1.59.1 → 1.60.0 |
[!WARNING] Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
backstage/community-plugins (@backstage-community/plugin-rbac-backend)
v7.13.0
Minor Changes
6a916a1: Backstage version bump to v1.50.4
Patch Changes
- Updated dependencies [
6a916a1]
v7.12.5
Patch Changes
-
39a3942: Hardens RBAC policy handling to prevent Casbin CSV poisoning and improve error visibility.Key fixes:
- Rejects permission policy
permissionvalues containing"before persistence (prevents known CSV parse failures). - Rethrows
loadPolicyfailures after audit logging so mutation/read paths surface the root cause instead of secondary errors. - Improves policy API request validation and missing-role handling (
400/404where appropriate). - Validates default configured permissions/admin refs with the same stricter checks used by runtime write paths.
- Strengthens conditional and plugin-id payload validation and aligns owner filtering behavior for default roles.
Compatibility notes:
- Requests/config entries using
permissionvalues with embedded"are now rejected. - Conditional policy payloads and conditional YAML ingestion now enforce limits.
- Conditional
permissionMappingmust list distinct Backstage permission actions (no duplicates); at most one entry per supported action (create,read,update,delete,use). - Plugin ID registration payloads now enforce count/length/duplicate checks.
- For larger existing payloads, limits are configurable via:
permission.rbac.validation.conditionalPolicies.maxConditionDepthpermission.rbac.validation.conditionalPolicies.maxConditionNodeCountpermission.rbac.validation.conditionalPolicies.maxCriteriaItemspermission.rbac.validation.conditionalPoliciesFile.maxBytespermission.rbac.validation.conditionalPoliciesFile.maxDocuments
Operational note:
- CSV policy files are parsed line-by-line; malformed lines are skipped with warnings instead of aborting the entire file load.
- Rejects permission policy
v7.12.4
Patch Changes
170f85d: Migrate to Jest 30 and fix backend test assertion compatibility- Updated dependencies [
170f85d]
v7.12.3
Patch Changes
fb2a770: Made postgres username and password optional in casbin adapter factory to support passwordless authentication
v7.12.2
Patch Changes
39272f8: Updated dependencycsv-parseto^6.0.0.70e6333: Updated dependency@dagrejs/graphlibto^4.0.0.a559dfb: Updated dependency@types/nodeto22.19.17.8846adf: Updated dependencyqsto6.15.1.
v7.12.1
Patch Changes
40e44bb: Updated dependencyqsto6.14.2.
v7.12.0
Minor Changes
8993474: Backstage version bump to v1.49.2
Patch Changes
- Updated dependencies [
8993474]
v7.11.0
Minor Changes
-
50e194d: Add support for a default role and permissions for authenticated users in RBAC backend-
Introduced a new
defaultRoleandbasicPermissionsconfiguration options to assign a default role to all authenticated users.permission: rbac: + defaultPermissions: + defaultRole: role:default/my-default-role + basicPermissions: + - permission: catalog.entity.read + action: read -
Updated the RBAC permission policy to include the default role in user roles if not already present.
-
Patch Changes
- Updated dependencies [
50e194d]
v7.10.0
Minor Changes
Patch Changes
- Updated dependencies [
133eae6]
v7.9.1
Patch Changes
v7.9.0
Minor Changes
da170a1: Add support for group reference in superUsers list, using direct membership only
Patch Changes
8a6b81c: Updated dependency@types/supertestto^7.0.0.
v7.8.0
Minor Changes
843bbe2: Backstage version bump to v1.48.4
Patch Changes
- Updated dependencies [
843bbe2]
v7.7.2
Patch Changes
v7.7.1
Patch Changes
b133c9d: Updated dependency@types/supertestto^6.0.0.497d5c6: Updated dependency@types/nodeto22.19.11.9c7ae87: Fix - stop error on upgrade v1.47.x - allow all plugins in the arry to show
v7.7.0
Minor Changes
e6dbf70: Backstage version bump to v1.47.2
Patch Changes
microsoft/playwright (@playwright/test)
v1.60.0
🌐 HAR recording on Tracing
tracing.startHar() / tracing.stopHar() expose HAR recording as a first-class tracing API, with the same content, mode and urlFilter options as recordHar. The returned Disposable makes it easy to scope a recording with await using:
await using har = await context.tracing.startHar('trace.har');
const page = await context.newPage();
await page.goto('https://playwright.dev');
// HAR is finalized when `har` goes out of scope.
🪝 Drop API
New locator.drop() simulates an external drag-and-drop of files or clipboard-like data onto an element. Playwright dispatches dragenter, dragover, and drop with a synthetic [DataTransfer] in the page context — works cross-browser and is great for testing upload zones:
await page.locator('#dropzone').drop({
files: { name: 'note.txt', mimeType: 'text/plain', buffer: Buffer.from('hello') },
});
await page.locator('#dropzone').drop({
data: {
'text/plain': 'hello world',
'text/uri-list': 'https://example.com',
},
});
🎯 Aria snapshots
- expect(page).toMatchAriaSnapshot() now works on a Page, in addition to a Locator — equivalent to asserting against
page.locator('body'). - New
boxesoption on locator.ariaSnapshot() / page.ariaSnapshot() appends each element's bounding box as[box=x,y,width,height], useful for AI consumption.
🛑 test.abort()
New test.abort() aborts the currently running test from a fixture, hook, or route handler with an optional message. Use it when you have detected an unrecoverable misuse and want to fail the test right away:
test('does not publish to the shared page', async ({ page }) => {
await page.route('**/publish', route => {
test.abort('Tests must not publish to the shared page. Use the `clone` option.');
return route.abort();
});
// ...
});
New APIs
Browser, Context and Page
- Event browser.on('context') — fired when a new context is created on the browser.
- BrowserContext now mirrors lifecycle events from its pages: browserContext.on('download'), browserContext.on('frameattached'), browserContext.on('framedetached'), browserContext.on('framenavigated'), browserContext.on('pageclose'), browserContext.on('pageload').
Locators and Assertions
- New option
descriptionin page.getByRole() / locator.getByRole() / frame.getByRole() / frameLocator.getByRole() for matching the accessible description. - New option
pseudoin expect(locator).toHaveCSS() reads computed styles from::beforeor::after. - New option
stylein locator.highlight() applies extra inline CSS to the highlight overlay, plus new page.hideHighlight() to clear all highlights.
Network
- webSocketRoute.protocols() returns the WebSocket subprotocols requested by the page.
- New option
noDefaultsin browserType.connectOverCDP() disables Playwright's default overrides on the default context (download behavior, focus emulation, media emulation), so attaching to a user's daily-driver browser doesn't disturb its state.
Errors and Reporting
- New webError.location() mirrors consoleMessage.location().
- consoleMessage.location() now exposes
line/columnproperties (lineNumber/columnNumberare deprecated). - New testInfoError.errorContext surfaces additional diagnostic context, such as the aria snapshot of the receiver at the time of an
expect(...)matcher failure. - reporter.onError() now receives a
workerInfoargument with details about the worker for fixture teardown errors.
Test runner
- New
{testFileBaseName}token in testProject.snapshotPathTemplate — file name without extension. - Test runner now errors when a config tries to override a non-option fixture, and rejects
workers: 0or negative values.
🛠️ Other improvements
- HTML reporter:
npx playwright show-reportaccepts.zipfiles directly — no need to unzip first.- Steps that contain attachments inside nested children show an indicator on the parent step.
- The
repeatEachIndexis shown in the test header when non-zero.
- Trace Viewer adds a pretty-print toggle for JSON / form request and response bodies in the network details panel.
Breaking Changes ⚠️
- Removed long-deprecated APIs:
Locator.ariaRef()— use the standard locator.ariaSnapshot() pipeline.handleoption onBrowserContext.exposeBindingandPage.exposeBinding.loggeroption onBrowserType.connectandBrowserType.connectOverCDP— use tracing instead.- Context options
videosPath/videoSize— userecordVideoinstead.
Browser Versions
- Chromium 148.0.7778.96
- Mozilla Firefox 150.0.2
- WebKit 26.4
This version was also tested against the following stable channels:
- Google Chrome 147
- Microsoft Edge 147
Configuration
📅 Schedule: (UTC)
- Branch creation
- At any time (no schedule defined)
- Automerge
- At any time (no schedule defined)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.
Changed Packages
| Package Name | Package Path | Changeset Bump | Current Version |
|---|---|---|---|
| app | workspaces/x2a/packages/app | none | v0.0.0 |
| backend | workspaces/x2a/packages/backend | none | v0.0.0 |
Codecov Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 54.19%. Comparing base (381f36a) to head (c035111).
:white_check_mark: All tests successful. No failed tests found.
Additional details and impacted files
@@ Coverage Diff @@
## main #2791 +/- ##
=======================================
Coverage 54.19% 54.19%
=======================================
Files 2303 2303
Lines 88305 88305
Branches 24590 24590
=======================================
Hits 47858 47858
+ Misses 40238 40165 -73
- Partials 209 282 +73
| Flag | Coverage Δ | *Carryforward flag | |
|---|---|---|---|
| adoption-insights | 83.70% <ø> (ø) |
Carriedforward from 381f36a | |
| ai-integrations | 67.95% <ø> (ø) |
Carriedforward from 381f36a | |
| app-defaults | 69.79% <ø> (ø) |
Carriedforward from 381f36a | |
| augment | 46.39% <ø> (ø) |
Carriedforward from 381f36a | |
| boost | 74.05% <ø> (ø) |
Carriedforward from 381f36a | |
| bulk-import | 72.46% <ø> (ø) |
Carriedforward from 381f36a | |
| cost-management | 14.10% <ø> (ø) |
Carriedforward from 381f36a | |
| dcm | 61.79% <ø> (ø) |
Carriedforward from 381f36a | |
| extensions | 61.53% <ø> (ø) |
Carriedforward from 381f36a | |
| global-floating-action-button | 71.18% <ø> (ø) |
Carriedforward from 381f36a | |
| global-header | 59.71% <ø> (ø) |
Carriedforward from 381f36a | |
| homepage | 49.84% <ø> (ø) |
Carriedforward from 381f36a | |
| install-dynamic-plugins | 56.77% <ø> (ø) |
Carriedforward from 381f36a | |
| konflux | 91.49% <ø> (ø) |
Carriedforward from 381f36a | |
| lightspeed | 68.55% <ø> (ø) |
Carriedforward from 381f36a | |
| mcp-integrations | 85.46% <ø> (ø) |
Carriedforward from 381f36a | |
| orchestrator | 38.30% <ø> (ø) |
Carriedforward from 381f36a | |
| quickstart | 63.76% <ø> (ø) |
Carriedforward from 381f36a | |
| sandbox | 79.56% <ø> (ø) |
Carriedforward from 381f36a | |
| scorecard | 83.96% <ø> (ø) |
Carriedforward from 381f36a | |
| theme | 61.26% <ø> (ø) |
Carriedforward from 381f36a | |
| translations | 7.25% <ø> (ø) |
Carriedforward from 381f36a | |
| x2a | 78.68% <ø> (ø) |
*This pull request uses carry forward flags. Click here to find out more.
Continue to review full report in Codecov by Harness.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing dataPowered by Codecov. Last update 381f36a...c035111. Read the comment docs.
:rocket: New features to boost your workflow:
- :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
Partial fix: https://github.com/redhat-developer/rhdh-plugins/pull/3108
The @backstage-community/plugin-rbac-backend update must wait.
Quality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
Quality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
Quality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
Quality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code