Skip to content

Releases: ryanseddon/react-frame-component

v5.3.2

29 Mar 02:04
3f4cb97

Choose a tag to compare

Patch Changes

  • f191d58: Add types condition to package.json exports to fix TypeScript resolution with TSGo and modern ESM tools

  • 1820bc3: ## Fix race condition in getMountTarget() (issue #250)

    Fixed "Cannot read properties of null" errors when initialContent changes rapidly by adding null checks for doc and doc.body in getMountTarget().

    Changes

    • src/Frame.jsx: Added null check in getMountTarget() to handle cases when iframe document is temporarily unavailable during rapid rerenders

v5.3.0

22 Mar 04:36

Choose a tag to compare

What's Changed

Add fallback to document.write() for initial frame rendering via dangerouslyUseDocWrite prop to support libraries like Repcaptcha and Google Maps that depend on the frame's location/origin.

PR #248: Add document.write() fallback (@andrewpye)


Previous releases: https://github.com/ryanseddon/react-frame-component/releases

v5.2.7

30 May 05:51

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v5.2.6...v5.2.7

v5.2.6

15 Jan 04:43

Choose a tag to compare

v5.2.5...v5.2.6

v5.2.5

31 Dec 03:26

Choose a tag to compare

Note: Please use 5.2.4, this version has a bug and will be superseded when a fix is rolled out. See #234

This release uses DOMContentLoaded as a better strategy over onload when more complex intitialContent payloads are provided.
This also accounts for timing issues and uses setInterval to account for cold cache timing issues on resource intensive frames.

  • Rely on DOMContentLoaded instead of onload (#207) 334d0ef
  • Fallback to setInterval if DOMContentLoaded fails 28584e8

v5.2.4...v5.2.5

v5.2.4

19 Dec 03:56

Choose a tag to compare

  • fix: change default export away from React.Component (#227) e4cd1ca
  • Bump shell-quote from 1.6.1 to 1.7.4 (#233) d5c25a3
  • Bump decode-uri-component from 0.2.0 to 0.2.2 (#232) bb2c04e
  • Bump engine.io from 6.2.0 to 6.2.1 (#231) d5235ba
  • Bump socket.io-parser from 4.0.4 to 4.0.5 (#230) 73f0fb5
  • Bump minimatch and wallaby-webpack (#229) b841e81
  • Bump css-what from 2.1.0 to 2.1.3 (#228) e725602

v5.2.3...v5.2.4

v5.2.3-alpha.0

06 Jul 06:47

Choose a tag to compare

v5.2.3-alpha.0 Pre-release
Pre-release

Building on v5.2.2-alpha.1 if DOMContentLoaded never fires we fallback with a setInterval

  • Fallback to setInterval if DOMContentLoaded fails 28584e8

v5.2.2-alpha.1...v5.2.3-alpha.0

v5.2.3

24 May 02:31

Choose a tag to compare

  • fix: use correct value type for ref prop (#215) eafe14a

v5.2.2...v5.2.3

Add types to package

16 May 23:48

Choose a tag to compare

This adds types directly to the package. You'll no longer need to rely on @types/react-frame-component

v5.2.1...v5.2.2

Rely on DOMContentLoaded to avoid timing issues - take 2

01 Feb 03:59

Choose a tag to compare

Building on v5.2.2-alpha.0 to try removing forceUpdate, guarding against a double state update and re-introducing the onLoad attribute.

  • Seems to still have issues on chrome for some apps trying something else ae128fd

v5.2.2-alpha.0...v5.2.2-alpha.1