Releases: davidjbradshaw/iframe-resizer
v5.3.3
What's Changed
- Add: New child method
getParentOrigin()
in #1352 - Add: Warning if Quirks Mode is detected in #1381
- Fix: Parent types to include
disconnect
,id
andlog
by @dackmin in #1379 - Fix: Null Reference error in perfObserver in #1376
Thank you to @dackmin for submitting a fix for the parent types.
Full Changelog: v5.3.2...v5.3.3
v5.3.2
What's Changed
- Fixed: Return typing of
parentIframe.getParentProps()
tofunction void
by @MarekBodingerBA in #1351
Full Changelog: v5.3.1...v5.3.2
v5.3.1
What's Changed
- Enable scroll methods to scroll uncontrolled parent iframe in #1334
- Improved performance of observed changes in OverflowObserver in #1335
- Log overflow/tagged node every time it is used to calculate size in #1336
Full Changelog: v5.3.0...v5.3.1
v5.3.0
What's Changed
This release of iframe-resizer has focused on the final few areas where performance could be further improved, with the aim that, even with the most complex pages; size changes are detected, calculated and dispatched from the iframe in under 1ms. Setting the log: true
option will now measure and display this time.
In tests with Google Chrome on an M1 Mac, the examples page of the iframe-resizer website average around 0.3ms. The logging has been left on if you would like to see the results on your own system.
Performance
- Moved resize event throttle to capture all triggering events in #1326
- Refactored several
forEach()
statements tofor...of
in #1329 - Prevent
pageInfo
being double fired on parent page in #1321 - Optimised
resizerObservers
setup in #1325 - Display content size calculation time in #1332
Changed
- Isolate parent/child when messages passed via same-domain in #1319
- Use
setTimeout(0)
on event callbacks with void return type in #1324 - Added Sandbox settings check to timeout warning in #1328
React
- Remove npm dependency for
Warning
package in #1327
Angular
- Created Angular Directive in #1323
Fixes
- Corrected case of child settings object in #1318
- Disable
parentProps
when requested to turn off stream in #1331
Huge thanks to @bjornoss for his work on the new Angular Directive.
Full Changelog: v5.2.6...v5.3.0
v5.2.6
v5.2.5
What's Changed
- Add: Check for child script being loaded more than once in #1312
- Fix: Detection of inserted elements flowed outside of document body in #1315
- Fix: False positive hidden iframe detection when HTML element is zero height in #1313
Thanks to @Gamerweazel for help with this release.
Full Changelog: v5.2.3...v5.2.5
v5.2.4
What's Changed
This release fixes a couple of bugs listed below and also provides a further performance improvement when handling observed mutations in the iframe's contents.
Thanks to @Smoles and @KhoiUna for help with testing this release.
Full Changelog: v5.2.3...v5.2.4
v5.2.3
What's Changed
- Fix: Babel config for React build in #1301
- Fix: Allow React to set
log: true
in #1300 - Added: Legacy wrapper package in #1290
Full Changelog: v5.2.1...v5.2.3
v5.2.2
v5.2.1
What's Changed
Full Changelog: v5.2.0...v5.2.1