# React Hot Toast v2.5.1 — v2.5.0 (+ v2.5.1) - Product: React Hot Toast (https://whatsnew.fyi/product/react-hot-toast) - Vendor: Timo Lins - Date: 2024-12-31 - Version: v2.5.1 - Original notes: https://github.com/timolins/react-hot-toast/releases/tag/v2.5.1 - Permalink: https://whatsnew.fyi/product/react-hot-toast/releases/v2.5.1 What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog. Reuse: the summaries, labels and curation here are © What's New. Quote freely with attribution and a link back; wholesale republication of the corpus is not permitted — terms: https://whatsnew.fyi/terms. The vendors' own release notes remain their publishers'. --- - **added** — Make messages optional in toast.promise() - **added** — Allow passing async function to toast.promise() - **added** — Add customizable removeDelay option - **changed** — Refactor removal of dismissed toasts - **fixed** — Make csstype a dependency to avoid warning ##### 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