Skip to content

Releases: fkhadra/react-toastify

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

v5.4.0

23 Sep 11:04
Compare
Choose a tag to compare

Changelog

πŸš€ Features

  • Add RT_Namespace support for customize css selectors namespace #385 @

🐞 Bugfix

  • Fix use closeButton from props when toastClose is true #377

πŸ› Misc

  • Upgrade dependencies

Special thanks to @alireza-mh and @dozoisch for this release

v5.3.2

15 Jul 10:32
Compare
Choose a tag to compare

Changelog

πŸ› Misc

  • Fix in documentation thanks to contributor
  • Lodash security fix

v5.3.1

20 Jun 09:11
Compare
Choose a tag to compare

Changelog

πŸ› Misc

  • Update typescript definition to include onClick
  • Update documentation to include onClick

Special thanks to @GLuchtenberg for this release

v5.3.0

18 Jun 08:32
Compare
Choose a tag to compare

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

30 May 13:08
Compare
Choose a tag to compare

Changelog

πŸ›  Misc

  • Allow toast update to be called without passing options. #354

v5.2.0

29 May 20:09
Compare
Choose a tag to compare

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