Skip to content

JSONPrism v1.4.3

Choose a tag to compare

@github-actions github-actions released this 14 May 07:10
v1.4.3
30f10cf

JSONPrism v1.4.3 — toast close-button fix + tested viewports doc

Patch release for the toast close-button regression reported after v1.4.2: clicking/tapping the × did nothing on both desktop and mobile.

Fixed

  • Toast close button (×) did not dismiss on click or tap. Reading sonner v1.7.4's bundled source, the toast root attached r.target.setPointerCapture(r.pointerId) unconditionally on pointerdown. Combined with React 19's new container-root event delegation, the pointer capture swallowed the synthetic click event on the close button — so the bundled dismiss() handler never ran. Affected both mouse and touch because PointerEvent is unified. Upgraded sonner ^1.7.0^2.0.7, which rewrote pointer/swipe handling and ships first-class React 19 support. No call-site changes needed — the <Toaster> props and toast.success/warning/error/info API are compatible between v1 and v2.

Added

  • docs/tested-viewports.md — the maintainer's manual device test matrix (BlackBerry Z30 / Galaxy S9+ / Pixel 3/4/7 / iPhone SE/12/14 Pro/XR/Pro Max / iPad / BlackBerry PlayBook). Documents Nokia Lumia 520 (320×533) as a known limitation below the recommended 360×640 minimum. README EN + VI link to it.
  • Touch hit-area expansion on the close button. A ::after pseudo gives an effective ~36–40px tap target (visible size stays at 20px), plus touch-action: manipulation to drop the 300ms tap delay on touch devices. Defensive — sonner v2 already fixes the underlying click — but a free mobile UX win.

Dependencies

  • Bumped sonner ^1.7.0^2.0.7 (MIT). THIRD-PARTY.md updated.

Downloads

  • WindowsJSONPrism_1.4.3_x64_en-US.msi (WiX MSI) or JSONPrism_1.4.3_x64-setup.exe (NSIS installer)
  • macOS (universal — Apple Silicon + Intel)JSONPrism_1.4.3_universal.dmg or JSONPrism_universal.app.tar.gz
  • LinuxJSONPrism_1.4.3_amd64.AppImage (universal), JSONPrism_1.4.3_amd64.deb (Debian/Ubuntu), or JSONPrism-1.4.3-1.x86_64.rpm (Fedora/RHEL)

Full changelog: CHANGELOG.md.

Try the web build at https://poli0981.github.io/jsonPrism/.