Releases: davidjbradshaw/iframe-resizer
Releases · davidjbradshaw/iframe-resizer
v5.5.7
What's Fixed
- Fix: (Vue) Ensure log prop accepts the same values as the core library by @mthaip in #1535
- Fix: Lazy loading timeout in #1536
- Fix: Use
pagehideinstead ofbeforeunloadto avoid busting bfCache in #1540 - Fix: Mobile Safari navigation fails to update page in #1541
New Contributors
Full Changelog: v5.5.6...v5.5.7
v5.5.6
What's Changed
- If an iframe has neither
srcorsrcdoc, then delay initialisation untilloadevent from the iframe in #1530
What's fixed
- Fix: Add missing type
waitForLoadto React version in #1527 - Fix: Ensure
offsetcan not lead to size less than 1 in #1528 - Fix: Prevent
initbeing unnecessarily sent multiple times to iframe in #1529
Full Changelog: v5.5.5...v5.5.6
v5.5.5
What's Changed
- Use
targetOrigin, if set, when sendingreadymessage from iframe in #1517 - Convert reused strings to consts in #1521
What's fixed
- Fix: Only send
initto iframe that sentreadymessage in #1518 - Fix: Console message defaults in #1519
- Fix: Reset
sameOriginon new page in #1520 - Fix: Parent console, when message not related to an iframe, fails to log output in #1522
- Fix: Race condition when handling
overflowObserverin #1525
Full Changelog: v5.5.4...v5.5.5
v5.5.4
What's Changed
- Set log default state to
collapsedin #1515
What's Fixed
- Fix: Attach
readystataechangelistener todocumentinstead ofwindowin #1514 - Fix: Only send child ready message once in #1516
Full Changelog: v5.5.3...v5.5.4
v5.5.3
What's Changed
- Added support for
loading="lazy"iframe attribute in #1503 - Improved filtering of false positives from overflowObserver in #1508
- Reset ready state on parent page when navigating to new page in the iframe in #1511
- Tear down observers when leaving page in iframe in #1511
What's fixed
- Fix: Process INIT from parent, before dispatching READY from child in #1500
- Fix: Remove console.debug from production builds in #1501
- Fix: Exclude
<body>elements from observer list in #1502 - Fix: Cancel paused timeouts when iframe is hidden in #1504
- Fix: Cross origin initialisation of hidden iframes fails in #1505
- Fix: Backwards compatibility with older versions running on parent page in #1510
- Fix: Size calculation timer reset in #1512
Full Changelog: v5.5.2...v5.5.3
v5.5.2
What's Changed
- Add: Improved filtering of page mutations in #1489
- Add: Improved warning on unexpected duplicate observers in #1494
- Add: Isolate startup processes from each other in #1487
- Add: Group log messages in #1496
What's Fixed
- Fix: MutationThrottle can cause duplicate elements to observer in #1495
- Fix:
data-iframe-ignoreblocked observers when used at page load in #1492 - Fix: Prevent erroneous error message when width resizing with no tags or overflow in #1497
Thanks to @djsaturn for help with this release
Full Changelog: v5.5.1...v5.5.2
v5.5.1
What's Fixed
- Fix: Mutating text node blocks adding Observers in #1486
Full Changelog: v5.5.0...v5.5.1
v5.5.0
What's Changed
This release now allows you to add the license field on the child page instead of the parent page. If different keys are found on the parent and child pages, then the highest level key will be used by both pages.
window.iframeResizer = { license: "xxxx" }- Add: Direction
bothoption in #1454 - Add: Timeout warning to catch errors caused by
waitForLoad: truein #1480 - Add: Detach Observers from removed elements in #1483
- Alias:
onBeforeClose->onClosein #1474 - Alias:
onAfterClose->onClosedin #1474
What's fixed
- Fix: Unify behavior between browsers when iframe is scrolled out of view in #1478
- Fix: Parent types export in #1475
- Fix: Missing log group event for
mutationDelayin #1484
Full Changelog: v5.4.6...v5.5.0
v5.4.7
What's Changed
- Added: Warn if min/max height/width styles detected on either
<html>or<body>in #1472 - Removed: Redundant check on element visibility in #1457
What's Fixed
- Fixed: Delay
onReadyin child until browser readyState iscompletein #1471 - Fixed: Filter descendants of ignored nodes in #1465
Full Changelog: v5.4.6...v5.4.7
v5.4.6
What's Changed
- Added
onBeforeResize()method to child page in #1445 - Recommend setting
automode when parent page is running legacy version in #1450 - Added warning when
autoResize()is called, whendirectionis set tononein #1451 - Log list of overflown elements when overflow observed in #1452
What's Fixed
- Fixed Vue import of auto-console-group in #1448
- Fixed child page
resize()method whenautoResizeis set tofalsein #1449
Full Changelog: v5.4.5...v5.4.6