Skip to content

Releases: ryanseddon/react-frame-component

v5.3.2

Choose a tag to compare

@github-actions github-actions released this 29 Mar 02:04
3f4cb97

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

Choose a tag to compare

@ryanseddon ryanseddon released this 22 Mar 04:36

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

Choose a tag to compare

@ryanseddon ryanseddon released this 30 May 05:51

What's Changed

New Contributors

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

v5.2.6

Choose a tag to compare

@ryanseddon ryanseddon released this 15 Jan 04:43

v5.2.5...v5.2.6

v5.2.5

Choose a tag to compare

@ryanseddon ryanseddon released this 31 Dec 03:26

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

Choose a tag to compare

@ryanseddon ryanseddon released this 19 Dec 03:56
  • 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

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

Choose a tag to compare

@ryanseddon ryanseddon released this 06 Jul 06:47

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

Choose a tag to compare

@ryanseddon ryanseddon released this 24 May 02:31
  • fix: use correct value type for ref prop (#215) eafe14a

v5.2.2...v5.2.3

Add types to package

Choose a tag to compare

@ryanseddon ryanseddon released this 16 May 23:48

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

Choose a tag to compare

@ryanseddon ryanseddon released this 01 Feb 03:59

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