Releases: fkhadra/react-toastify
Releases Β· fkhadra/react-toastify
v6.0.6
v6.0.5
v6.0.1
v6.0.0
Release notes
π Features
- possibility to limit the number of toast displayed #298
- support strict mode πͺ
- can define inline style on toast
- HTML ids can be set for ToastContainer and Toast components(containerId, toastId are used as id)
- 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) - new documentation powered by docusaurus2 and algolia search π₯
π·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
- upgrade to latest react-transition-group to support strictmode. This impact your custom transition
π§ Internal
- fully rewritten in typescript
- switch from enzyme to react-testing-library
- bundled by tsdx
- smaller bundle size π
v6.0.0-rc.3
Release notes
Features
- extend
cssTransition
api, 2 new parameters have been added,collapse
,collapseDuration
Chore
- add tests...
v6.0.0-rc.2-1
Release notes
Bugfix
- bump react-transition-group to latest version, they broke SSR π©
- monkey patch exit transition for single toast. It was broken...
v6.0.0-rc.2
Release notes
Feature
- bump react-transition-group to latest to support strict mode
- support strict mode
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 ! π