Download Latest Version v11.1.0 source code.tar.gz (131.4 kB)
Email in envelope

Get an email when there's a new version of React-Toastify

Home / v11.1.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2026-04-19 1.5 kB
v11.1.0 source code.tar.gz 2026-04-19 131.4 kB
v11.1.0 source code.zip 2026-04-19 157.9 kB
Totals: 3 Items   290.8 kB 2

# Release Notes

## Features

  • CSP nonce support. <ToastContainer nonce={...}> applies the nonce to the injected <style> tag. Closes #1209.

## Fixes

  • onChange fires status: 'removed' synchronously on toast.dismiss() instead of after the exit animation — observers (incl. useNotificationCenter) now see correctly ordered events. Also guards against double-onClose. Closes #1275.
  • Touch drag no longer re-pauses the toast on release — the old check compared a PointerEvent against 'touchend', which never matched. Closes #1217.
  • Vertical drag now visually moves the toast (--y gets a unit). Thanks @janpaepke, #1277.
  • Stacked scale is clamped at 0.5, preventing zero/negative scale in deep stacks. Closes #1171, #1174.
  • Stacked container respects mobile 100vw again. Closes [#1234].

## Accessibility

  • role="progressbar" now includes aria-valuenow, aria-valuemin, aria-valuemax. Thanks @singhankit001, #1283. Closes #1259.

## Internal

  • Migrated to a pnpm workspace (pnpm link . no longer required for contributors). Publish layout unchanged — addon still ships inside the main package.
  • CSS now injected at mount via useStyleSheet (prerequisite for nonce).
  • Dep bumps: TypeScript 6, Vite 8, Cypress 15, React 19.2, plus the rest.
  • CI: upload-artifact v3 → v4.

Thanks to @janpaepke, @singhankit001, and reporters of the fixed issues.

Source: README.md, updated 2026-04-19