Skip to content

Releases: mCodex/react-native-sized-webview

Release 1.0.14

14 Nov 13:10

Choose a tag to compare

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

05 Nov 17:36

Choose a tag to compare

Release Notes

🚀 What’s New

  • 📐 Reworked the bridge measurement pipeline to trust the dedicated wrapper first, eliminating runaway heights from documentElement scroll math.
  • 🖼 Media now registers with a shared ResizeObserver and uses decode()/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

05 Nov 14:00

Choose a tag to compare

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

05 Nov 13:49

Choose a tag to compare

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

04 Nov 14:28

Choose a tag to compare

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

03 Nov 19:46

Choose a tag to compare

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

Release 1.0.0

03 Nov 19:13

Choose a tag to compare

1.0.0 (2025-11-03)

  • Add full test coverage and testing setup (647fb69)
  • Introduce auto-sizing WebView and update package naming (f12e269)
  • docs: remove maintainer section from README (bb05480)
  • chore: initial commit (1978896)