Releases: fkhadra/react-toastify
Releases Β· fkhadra/react-toastify
v6.0.0-rc.1
Release notes
π·Bug fixes
- fix #460. Respect the limit even if spamming toast like a bot !
π Features
- add
toast.ClearWaitingQueue
to remove all toast that are in the waiting queue.
v6.0.0-rc.0
Release notes
Hey, the v6 is finally out. You can find shiny new documentation here. If you are not able to see it, you must clear the service worker.
You can provide your feedback here
π Features
- possibility to limit the number of toast displayed #298
- can define inline style on toast
- HTML ids can be set for ToastContainer and Toast components
- better close button icon
- possibility to unsubscribe to
onChange
event #450 - dark toast π
- expose hook to create your own
ToastContainer
(NOT DOCUMENTED YET) - expose hook to create your own
Toast
(NOT DOCUMENTED YET)
π·Bug fixes
- progress style from toast not being used
- fix some tests
π₯ Breaking changes
className
only support string now.- π₯ require react v16.8 due to the introduction of hook
- calculate center position using transform instead of using margin-left = toast size /2
π§ Internal
- fully rewritten in typescript
- switch from enzyme to react-testing-library
- bundled by tsdx
- new documentation!
v5.5.0
Changelog
πFeature
toast.onChange
pass the containerId as second argument. Useful when working with multiple containers #403
π Bugfix
- Notifications will be displayed on route change. #402 [@tundraray]
- Prevent unmounted nodes from having their state updated. #357 [@mattcarlotta]
- Prevent cross button to be an emoji. #259 [@Haroenv]
π Misc
- Correct some typos in the readme [@BrianDV]
- bump dependencies
Thanks to all contributors for this release!
π Happy new year ! π
v5.4.1
Changelog
π Bugfix
π Misc
- Add a monospace font stack and slightly modified styles for the code blocks
- bump dependencies
Before:
After:
Special thanks to @kennethormandy and @seanparmelee for this release
v5.4.0
v5.3.2
v5.3.1
v5.3.0
Changelog
π Features
- Include the bare minimun stylesheet. #359
- Add onClick event handler to toast and ToastContainer #253
π Bugfix
- Ensure only one container is mounted when using lazy mounting #364
- Make toast.update with multi-containers #362
Special thanks to @alexluong, @ramospedro and @nicolasletoublon for this release
v5.2.1
v5.2.0
Changelog
π Features
- Allow user to override default ARIA role #348. Thanks to @ameem91
- Prevent duplicate toast when same id is used
π Bugfix
- Prevent duplicate toast when same id is used FOR REAL π
toast.update({progress: 1})
will close the toast a la nprogress. #347
π₯ Breaking Changes
- It's no more possible to define the progress percentage when calling
toast.done
. This was inconsistent