Skip to content

Conversation

@github-actions
Copy link

@github-actions github-actions bot commented Apr 20, 2025

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.

⚠️⚠️⚠️⚠️⚠️⚠️

master is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, run changeset pre exit on master.

⚠️⚠️⚠️⚠️⚠️⚠️

Releases

@rrweb/[email protected]

Patch Changes

@rrweb/[email protected]

Patch Changes

@rrweb/[email protected]

Patch Changes

@rrweb/[email protected]

Patch Changes

@rrweb/[email protected]

Patch Changes

@rrweb/[email protected]

Patch Changes

@rrweb/[email protected]

Patch Changes

@rrweb/[email protected]

Patch Changes

@rrweb/[email protected]

Patch Changes

@rrweb/[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

@rrweb/[email protected]

Patch Changes

@rrweb/[email protected]

@rrweb/[email protected]

Patch Changes

Summary by Sourcery

Prepare and publish version 2.0.0-alpha.19 of rrweb packages with various performance improvements and bug fixes

Bug Fixes:

  • Fix CSS processing for postcss when splitting content
  • Resolve issue with inlined CSS from remotely loaded links
  • Fix handling of modulepreload links

Enhancements:

  • Improve performance of splitCssText for large CSS content
  • Enhance CSS processing and handling

Chores:

  • Move patch function to @rrweb/utils to improve bundling
  • Update package versions to 2.0.0-alpha.19

@sourcery-ai
Copy link

sourcery-ai bot commented Apr 20, 2025

Reviewer's Guide by Sourcery

This PR updates multiple packages to version 2.0.0-alpha.19. Key changes include performance improvements for CSS processing, a fix for inlined CSS from remotely loaded <link> elements, masking innerText mutations on textarea elements, improved web extension stability, and dependency updates across various packages.

Updated class diagram for rrweb-snapshot

classDiagram
    class rrweb-snapshot {
        -adaptCssForReplay()
        -splitCssText()
    }
    note for rrweb-snapshot "Improves performance of splitCssText and handles exceptions from postcss"
Loading

Updated class diagram for rrweb

classDiagram
    class rrweb {
        -splitCssText()
    }
    note for rrweb "Improves performance of splitCssText and fixes CSS processing issues"
Loading

File-Level Changes

Change Details Files
Improved performance of splitCssText for <style> elements with large CSS content. packages/rrweb/CHANGELOG.md
packages/rrweb-snapshot/CHANGELOG.md
Fixed an issue where postcss could fail when processing CSS content split arbitrarily. packages/rrweb/CHANGELOG.md
packages/rrweb-snapshot/CHANGELOG.md
Moved the patch function into @rrweb/utils to improve bundling.
  • Relocated the patch function to the @rrweb/utils package.
  • Improved bundling by centralizing the patch function.
packages/rrweb/CHANGELOG.md
packages/plugins/rrweb-plugin-console-record/CHANGELOG.md
packages/record/CHANGELOG.md
packages/utils/CHANGELOG.md
Fixed an issue where inlined CSS from a remotely loaded <link> was not applied properly due to object reference mutation.
  • Resolved an issue with inlined CSS from remotely loaded <link> elements.
  • Prevented object reference mutation to ensure proper application of inlined CSS.
packages/rrweb/CHANGELOG.md
Changed to ignore all link[rel="modulepreload"] instead of including only those with as="script".
  • Modified the behavior to ignore all link[rel="modulepreload"] elements.
  • Removed the restriction of only ignoring those with as="script".
packages/rrweb/CHANGELOG.md
packages/rrweb-snapshot/CHANGELOG.md
Added masking for innerText mutations on textarea elements. packages/rrweb/CHANGELOG.md
Handled exceptions thrown from postcss when calling adaptCssForReplay.
  • Implemented error handling for exceptions thrown by postcss in adaptCssForReplay.
packages/rrweb-snapshot/CHANGELOG.md
Improved recording stability across tabs and enabled session import for the web extension.
  • Enhanced recording stability across different tabs in the web extension.
  • Enabled the ability to import sessions within the web extension.
packages/web-extension/CHANGELOG.md
Removed unnecessary permission and updated the player style link in the web extension.
  • Removed a permission that was not required by the web extension.
  • Updated the link to the player style within the web extension.
packages/web-extension/CHANGELOG.md
Updated dependencies of multiple packages to version 2.0.0-alpha.19. packages/all/CHANGELOG.md
packages/plugins/rrweb-plugin-canvas-webrtc-record/CHANGELOG.md
packages/plugins/rrweb-plugin-canvas-webrtc-replay/CHANGELOG.md
packages/plugins/rrweb-plugin-console-replay/CHANGELOG.md
packages/plugins/rrweb-plugin-sequential-id-record/CHANGELOG.md
packages/plugins/rrweb-plugin-sequential-id-replay/CHANGELOG.md
packages/replay/CHANGELOG.md
packages/rrdom-nodejs/CHANGELOG.md
packages/rrweb-player/CHANGELOG.md
packages/rrvideo/CHANGELOG.md

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!
  • Generate a plan of action for an issue: Comment @sourcery-ai plan on
    an issue to generate a plan of action for it.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have skipped reviewing this pull request. It seems to have been created by a bot (hey, github-actions[bot]!). We assume it knows what it's doing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant