Packages

rrweb-snapshot

2.2.0 · 24 Oct 2026MIT4.1M / weekRepositoryHomepagenpmAtom feed

Your version

93 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 2.x · latest line
  2. 2.2.0

    24 Oct 2026
    • Release removed shadow trees from the mirror

      Removing a shadow host from DOM was leaving references to shadow descendants, so e.g. repeatedly replacing web components mem-leaked their detached trees. Fix by recursing into shadow roots during removal, including nested hosts and releasing strong references from the mirror.

  3. 2.1.4 – 2.1.74 releases without a noteShow each
  4. 2.1.3

    8 Sep 2026
    • Ignore autoplay attribute mutations on <video>/<audio> regardless of tag-name case.

    • Disable autocomplete on input fields during replay

  5. 2.1.2

    8 Sep 2026
    • Use the provided logger from player config instead of directly calling console.warn

  6. 2.1.1

    21 Jul 2026
  7. 2.1.0

    27 Jun 2026
    • Fix conversion of absolute to relative urls if url contains a hash

  8. 2.0.1

    3 Jun 2026
    • Fix broken MutationObserver in Webkit/Safari when a webpage has been monkey patched by a 3rd party library

  9. 2.0.0

    1 Jun 2026
    • breaking

      Thanks @Juice10 & @rotemreiss! - Require rrweb-snapshot.rebuild() to use a trusted sandboxed iframe document by default.

      New function rebuildIntoSandboxedIframe() adds a safe sandboxed iframe environment, preventing untrusted DOM snapshots from escaping their iframe and executing malicious code. If you need to manage the iframe separately, you can create it with createSandboxedIframe() before calling rebuild().

      In cases where the recorded DOM is 100% trusted or running in a clean environment without meaningful escape risk - for example, a throwaway Playwright-style environment or code recorded from a test suite on CI - we've added an explicit escape hatch: pass UNSAFE_allowUnprotectedRebuild: true to rebuild().

      rrweb now marks UNSAFE_replayCanvas rebuilds as an explicit unsafe path because canvas replay adds script permission to the replay iframe.

    • breaking

      Distributed files have new filenames, paths and extensions. Important: If you reference distributed files or types directly, you might have to update your paths/filenames. E.g. you import from rrweb/typings/... or rrdom/es. However you run import rrweb from 'rrweb' you won't notice a difference with this change. If you include rrweb files directly in a script tag, you might have to update that path to include a the .umd.cjs files instead. All .js files now use ES modules which can be used in modern browsers, node.js and bundlers that support ES modules. All npm packages now also ship .cjs and .umd.cjs files. The .umd.cjs files are CommonJS modules that bundle all files together to make it easy to ship one file to browser environments (similar to the previous .js files). The .cjs files are CommonJS modules that can be used in older Node.js environments. Types should be better defined in package.json and if you need specific types they might be exported from new packages (for example PlayerMachineState and SpeedMachineState are now exported from @rrweb/replay). Check the package.json's main and exports field for the available files.

    • breaking

      NodeType enum was moved from rrweb-snapshot to @rrweb/types
      The following types where moved from rrweb-snapshot to @rrweb/types: documentNode, documentTypeNode, legacyAttributes, textNode, cdataNode, commentNode, elementNode, serializedNode, serializedNodeWithId, serializedElementNodeWithId, serializedTextNodeWithId, IMirror, INode, mediaAttributes, attributes and DataURLOptions

  10. 1.x
  11. 1.1.14

    4 Apr 2022

    Reading the note…

  12. 1.1.13

    26 Feb 2022

    Reading the note…

  13. 1.1.12

    23 Jan 2022

    Reading the note…

  14. 1.1.11

    23 Dec 2021

    Reading the note…

  15. 1.1.10

    15 Nov 2021

    Reading the note…

  16. 1.1.9

    12 Oct 2021

    Reading the note…

  17. 1.1.8

    29 Aug 2021

    Reading the note…

  18. 1.1.7

    17 Jul 2021

    Reading the note…

  19. 1.1.6

    30 Jun 2021

    Reading the note…

  20. 1.1.5

    29 Jun 2021

    Reading the note…

  21. 1.1.4

    10 Jun 2021

    Reading the note…

  22. 1.1.3

    12 May 2021

    Reading the note…

  23. 1.1.2

    22 Apr 2021

    Reading the note…

  24. 1.1.1

    28 Mar 2021

    Reading the note…

  25. 1.1.0

    21 Mar 2021

    Reading the note…

  26. 1.0.7

    18 Feb 2021

    Reading the note…

  27. 1.0.6

    10 Feb 2021

    Reading the note…

  28. 1.0.5

    7 Feb 2021

    Reading the note…

  29. 1.0.4

    4 Feb 2021

    Reading the note…

  30. 1.0.3

    16 Jan 2021

    Reading the note…

  31. 1.0.2

    2 Jan 2021

    Reading the note…

  32. 1.0.1

    29 Nov 2020

    Reading the note…

  33. 1.0.0

    29 Nov 2020

    Reading the note…

  34. 0.8.x
  35. 0.8.4

    24 Oct 2020

    Reading the note…

  36. 0.8.3

    4 Oct 2020

    Reading the note…

  37. 0.8.2

    6 Sep 2020

    Reading the note…

  38. 0.8.1

    22 Aug 2020

    Reading the note…

  39. 0.8.0

    18 Jul 2020

    Reading the note…

  40. 0.7.x
  41. 0.7.29

    18 Jul 2020

    Reading the note…

  42. 0.7.28

    18 Jul 2020

    Reading the note…

  43. 0.7.27

    15 Jun 2020

    Reading the note…

  44. 0.7.26

    14 Mar 2020

    Reading the note…

  45. 0.7.25

    26 Feb 2020

    Reading the note…

  46. 0.7.24

    12 Jan 2020

    Reading the note…

  47. 0.7.23

    30 Nov 2019

    Reading the note…

  48. 0.7.22

    30 Nov 2019

    Reading the note…

  49. 0.7.21

    9 Nov 2019

    Reading the note…

  50. 0.7.20

    4 Oct 2019

    Reading the note…

  51. 0.7.19

    19 Sep 2019

    Reading the note…