Releases: timolins/react-hot-toast
Releases · timolins/react-hot-toast
v2.6.0-beta.0
What's new
- Adds support for multiple toasters
- Add first version of Multi toaster docs
- Add
dismissAll
andremoveAll
More ergonomic API when working with multiple toasters a1d0b02
Ready to try it out?
npm i react-hot-toast@beta
Other Changes
- Update pnpm version f6c867b
- Move timeouts inside a
useRef
cb1fe8e - Use data tag instead of id 1d5d3d3
- Fix dispatch to be id specific again fe934fd
- Merge branch 'main' into global-settings 0953822
- Add first version of multi toaster page 5b1ee55
- Merge branch 'main' into global-settings 4d43622
- Move toaster settings into state cf9ae4b
- Some experimentation with global settings API 2e0a4dd
v2.5.0 (+ v2.5.1)
v2.4.1
v2.4.0
v2.3.0
Better bundle setup
This release focuses on build and bundle improvements (faster, lighter & better).
- Expose
react-hot-toast/headless
- for headless environments like react-native - Bundle is now 15% (5% gzipped) smaller
- Bonus: 3x faster dev builds
What's Changed
- Improve dev setup (
pnpm
, update deps) by @timolins in #203 - New bundler setup (tsup instead of tsdx) with
react-hot-toast/headless
by @timolins in #205 - Website Example: Make snippet consistent with action by @diksown in #196
- Docs: update version 2 page custom render api code example by @AnishDe12020 in #175
- fix: csstype peer dep by @eeston in #183
- Site Docs: 'one' => 'once' :) by @cbserra in #201
- Website Example: Make snippet consistent with action by @diksown in #196
New Contributors
- @AnishDe12020 made their first contribution in #175
- @eeston made their first contribution in #183
- @cbserra made their first contribution in #201
- @diksown made their first contribution in #196
Full Changelog: v2.2.0...v2.3.0
v2.3.0-beta.1
Update package setup to be ESM compliant
- Use
.mjs
extension for ESM module - Update package.json according to #204 ae4a1eb - Use
main
in package.json de10f5c - Update entry file in tsup config e63de48
Clean Up
v2.3.0-beta
This version is focus on improving the build & bundle setup. It's now using tsup (powered by esbuild) instead of unmaintained tsdx
. Additionaly, npm v4 was replaced by pnpm.
Those changes gives us a way faster and simpler builds + should allows usage in headless environments again (react-native).
- Use pnpm instead of old NPM - Resolves dependency linking 🚀 #186 b46a386
- Remove
tsdx
& addprettier
hook * No more linting from tsdx. Should be okay to use prettier * Lot less dependencies * Prettify files 28d83a9 - Use
export type
for types 4f43ea3 - Use
tsup
instead oftsdx
This gives us more control about the build process * Exposereact-hot-toast/headless
- Fixes #39 * Bundle size is even smaller now d58cb35 - Add pnpm to size check action 9da3b6e
- Migrate docs to MDX 2 f776144
- Align site for React 18 & Tailwind 3 8b716de
- fix: missing csstype peer dep 30bdaf5
v2.2.0
v2.1.1
v2.1.0
Changes
Docs
- Prevent script from running twice f594e2e
- Rollback default icon exports made by release 2.0 e81cc38
- Add
position
option to toast docs 9b481f0 - Merge branch 'main' of https://github.com/timolins/hot-toast 69cd7fe
- Use proxy for realtime counter afe3405
- Add description to package.json 864a77c
- Merge pull request #87 from ruisaraiva19/main 81ec4e4
- fix(aria): use new ariaProps property 274dd7b
- Add realtime counter to website 25a0703