Skip to content

Releases: fkhadra/react-toastify

v6.0.5

20 May 06:08
Compare
Choose a tag to compare

Release note

Bugfix

  • fix onClose was not called. #476

v6.0.1

11 May 12:51
Compare
Choose a tag to compare

Release notes

Bug fix

  • fix #468 regression. Aria-label was missing on close button

v6.0.0

10 May 15:21
Compare
Choose a tag to compare

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 πŸ’…
    darl-theme
  • 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

09 May 20:59
Compare
Choose a tag to compare
v6.0.0-rc.3 Pre-release
Pre-release

Release notes

Features

  • extend cssTransition api, 2 new parameters have been added, collapse, collapseDuration

Chore

  • add tests...

v6.0.0-rc.2-1

09 May 20:49
Compare
Choose a tag to compare
v6.0.0-rc.2-1 Pre-release
Pre-release

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

09 May 20:47
Compare
Choose a tag to compare
v6.0.0-rc.2 Pre-release
Pre-release

Release notes

Feature

  • bump react-transition-group to latest to support strict mode
  • support strict mode

v6.0.0-rc.1

04 May 14:34
Compare
Choose a tag to compare
v6.0.0-rc.1 Pre-release
Pre-release

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

21 Apr 20:13
Compare
Choose a tag to compare
v6.0.0-rc.0 Pre-release
Pre-release

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 πŸ’…
    darl-theme
  • 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

30 Dec 23:07
Compare
Choose a tag to compare

Changelog

πŸš€Feature

  • toast.onChange pass the containerId as second argument. Useful when working with multiple containers #403

🐞 Bugfix

πŸ› Misc

  • Correct some typos in the readme [@BrianDV]
  • bump dependencies

Thanks to all contributors for this release!

πŸŽ‰ Happy new year ! πŸŽ‰

v5.4.1

10 Nov 07:19
Compare
Choose a tag to compare

Changelog

🐞 Bugfix

  • Cleanup events when no containers left #378
  • toast.isActive now works with multi containers #379

πŸ› Misc

  • Add a monospace font stack and slightly modified styles for the code blocks
  • bump dependencies

Before:

Screenshot 2019-10-09 12 35 53

After:

Screenshot 2019-10-09 12 36 47

Special thanks to @kennethormandy and @seanparmelee for this release