Releases: mCodex/react-native-sized-webview
Releases · mCodex/react-native-sized-webview
Release 1.0.14
1.0.14 (2025-11-14)
- Improve auto height bridge logic and update dependencies (17cdecd)
Full Changelog: v1.0.14...v1.0.14
Release 1.0.13
Release Notes
🚀 What’s New
- 📐 Reworked the bridge measurement pipeline to trust the dedicated wrapper first, eliminating runaway heights from
documentElementscroll math. - 🖼 Media now registers with a shared
ResizeObserverand usesdecode()/load events so late-loading images, iframes, and videos snap to the correct height without extra network fetches. - 🛡️ Added a sanity guard that retries and then clamps extreme height spikes (>120 000 px), keeping layout safe even when third-party markup misbehaves.
🔧 Quality & Stability
- 🔁 Fallback loop now resets gracefully—the bridge retries a few times, then falls back to the last good measurement instead of spamming
postMessage. - 🧼 Trailing
<br>/empty<p>trimming remains in place, but paired with smarter wrapper rebuilds so DOM rewrites stay rock solid. - 📄 README refreshed to document the new safety checks, media pipeline, and overall sizing strategy.
📚 Docs & DX
- ✍️ Updated highlights and architecture notes to match the modernized bridge so the README sells the current behavior clearly.
- 🧪 Example app stays focused on real-world scenarios after removing the temporary debug toggle.
Thanks to these changes, react-native-sized-webview now handles dynamic, rich content (and the occasional flaky CMS export) with a whole lot more confidence. Enjoy the smoother sizing! 💪
Full Changelog: v1.0.12...v1.0.13
Release 1.0.4
1.0.4 (2025-11-05)
- fix(autoHeightBridge): simplify height measurement, ensure body/html sizing, and extend update timeo (463b5e2)
Full Changelog: v1.0.3...v1.0.4
Release 1.0.3
1.0.3 (2025-11-05)
- fix(autoHeightBridge): use getMaxHeight for measurement and account for devicePixelRatio (cadfb67)
Full Changelog: v1.0.2...v1.0.3
Release 1.0.2
1.0.2 (2025-11-04)
- chore: improve JSDoc, tighten typings and update package keywords (99588fa)
Full Changelog: v1.0.1...v1.0.2
Release 1.0.1
1.0.1 (2025-11-03)
- chore(example): move react-native-safe-area-context dependency into example package.json (3c320fa)
- chore(package.json): remove src from packaged files and ignore .map artifacts (677726c)
- ci: add yarn prepare step to build-web job before exporting web example (f3c0915)
Full Changelog: v1.0.0...v1.0.1