React Hot Toast v2.5.1

v2.5.1

v2.5.0 (+ v2.5.1)

Added 3
  • Make messages optional in toast.promise()
  • Allow passing async function to toast.promise()
  • Add customizable removeDelay option
Changed 1
  • Refactor removal of dismissed toasts
Fixed 1
  • Make csstype a dependency to avoid warning

From React Hot Toast

What's new
toast.promise() improvements
  • Make messages optional
    • #179 from n33pm/feat/promiseOptionalMsg) 25bd873
  • Allow to pass async function
    • #301 from kagurazaka-0/feat-toast-promise-async-func c80d57f
Other
  • A bunch of docs improvements
  • Add customizable removeDelay
    • #89 from heyfuaad/main c3d6739
  • Refactor removal of dismissed toasts
    • Fixes #370
  • Make csstype a dependency to avoid warning. d695daf

https://github.com/timolins/react-hot-toast/compare/v2.4.1...v2.5.0

View original

Upgraded? How did it go?

Discussion