rhdh-plugins icon indicating copy to clipboard operation
rhdh-plugins copied to clipboard

fix(deps): update rhdh x2a dependencies (minor)

Open renovate[bot] opened this issue 7 months ago • 6 comments

This PR contains the following updates:

Package Change Age Confidence
@backstage-community/plugin-rbac-backend (source) 7.6.2 → 7.13.0 age confidence
@playwright/test (source) 1.59.1 → 1.60.0 age confidence

[!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

Compare Source

Minor Changes
  • 6a916a1: Backstage version bump to v1.50.4
Patch Changes

v7.12.5

Compare Source

Patch Changes
  • 39a3942: Hardens RBAC policy handling to prevent Casbin CSV poisoning and improve error visibility.

    Key fixes:

    • Rejects permission policy permission values containing " before persistence (prevents known CSV parse failures).
    • Rethrows loadPolicy failures 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/404 where 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 permission values with embedded " are now rejected.
    • Conditional policy payloads and conditional YAML ingestion now enforce limits.
    • Conditional permissionMapping must 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.maxConditionDepth
    • permission.rbac.validation.conditionalPolicies.maxConditionNodeCount
    • permission.rbac.validation.conditionalPolicies.maxCriteriaItems
    • permission.rbac.validation.conditionalPoliciesFile.maxBytes
    • permission.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.

v7.12.4

Compare Source

Patch Changes

v7.12.3

Compare Source

Patch Changes
  • fb2a770: Made postgres username and password optional in casbin adapter factory to support passwordless authentication

v7.12.2

Compare Source

Patch Changes
  • 39272f8: Updated dependency csv-parse to ^6.0.0.
  • 70e6333: Updated dependency @dagrejs/graphlib to ^4.0.0.
  • a559dfb: Updated dependency @types/node to 22.19.17.
  • 8846adf: Updated dependency qs to 6.15.1.

v7.12.1

Compare Source

Patch Changes
  • 40e44bb: Updated dependency qs to 6.14.2.

v7.12.0

Compare Source

Minor Changes
  • 8993474: Backstage version bump to v1.49.2
Patch Changes

v7.11.0

Compare Source

Minor Changes
  • 50e194d: Add support for a default role and permissions for authenticated users in RBAC backend

    • Introduced a new defaultRole and basicPermissions configuration 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

v7.10.0

Compare Source

Minor Changes
  • 133eae6: Add support for loading conditional permissions from a remote provider (fix #​6412)
Patch Changes

v7.9.1

Compare Source

Patch Changes

v7.9.0

Compare Source

Minor Changes
  • da170a1: Add support for group reference in superUsers list, using direct membership only
Patch Changes
  • 8a6b81c: Updated dependency @types/supertest to ^7.0.0.

v7.8.0

Compare Source

Minor Changes
  • 843bbe2: Backstage version bump to v1.48.4
Patch Changes

v7.7.2

Compare Source

Patch Changes
  • 8c7bddb: Added NFS support
  • af998b7: Updated dependency supertest to 7.2.2.

v7.7.1

Compare Source

Patch Changes
  • b133c9d: Updated dependency @types/supertest to ^6.0.0.
  • 497d5c6: Updated dependency @types/node to 22.19.11.
  • 9c7ae87: Fix - stop error on upgrade v1.47.x - allow all plugins in the arry to show

v7.7.0

Compare Source

Minor Changes
  • e6dbf70: Backstage version bump to v1.47.2
Patch Changes
microsoft/playwright (@​playwright/test)

v1.60.0

Compare Source

🌐 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

🛑 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
Locators and Assertions
Network
  • webSocketRoute.protocols() returns the WebSocket subprotocols requested by the page.
  • New option noDefaults in 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
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: 0 or negative values.

🛠️ Other improvements

  • HTML reporter:
    • npx playwright show-report accepts .zip files directly — no need to unzip first.
    • Steps that contain attachments inside nested children show an indicator on the parent step.
    • The repeatEachIndex is 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.
    • handle option on BrowserContext.exposeBinding and Page.exposeBinding.
    • logger option on BrowserType.connect and BrowserType.connectOverCDP — use tracing instead.
    • Context options videosPath / videoSize — use recordVideo instead.

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.

renovate[bot] avatar Apr 16 '26 09:04 renovate[bot]

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

rhdh-gh-app[bot] avatar Apr 28 '26 17:04 rhdh-gh-app[bot]

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 data Powered 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.

codecov[bot] avatar Apr 29 '26 19:04 codecov[bot]

Partial fix: https://github.com/redhat-developer/rhdh-plugins/pull/3108

The @backstage-community/plugin-rbac-backend update must wait.

mareklibra avatar May 12 '26 06:05 mareklibra