Skip to content

Releases: fkhadra/react-toastify

v5.1.1

22 May 15:45
Compare
Choose a tag to compare

Changelog

🐞 Bugfix

  • Fix typescript definition for multi-container. Issue #351
  • Fix z-index in safari thanks to @micalgenus. PR #339

πŸ›  Misc

  • Upgrade packages

v5.1.0

16 Apr 19:32
Compare
Choose a tag to compare

Changelog

πŸ”₯Features

v5.0.1

11 Apr 15:49
Compare
Choose a tag to compare

Changelog

  • fix issue regarding webpack side effects. #334

v5.0.0

11 Apr 15:48
Compare
Choose a tag to compare

Changelog

πŸ”₯Features

  • toast are now animated on position change #303
  • The ToastContainer is now optional, if user opt-in. It will be mounted if none is present 😲 #319
  • Add a new api to configure the ToastContainer if it's lazy mounted
  • Display the default CloseButton when closeButton option is set to true #313 (credit @alanlima)
  • Add an option to delay toast rendering #304

πŸ•·Bugfixes

  • toast.dismiss work when the id is 0 #316 (credit @alanlima)
  • The timer pause when hovering the close icon #237

πŸ› Misc

  • Update dependencies
  • Fix Readme typos (credit @naclcaleb)
  • @babel/runtime is a new dependency. This help reduce bundle size (credit @NeoLegends)
  • Single file build just like react and react-router.
  • Add a pre-optimized production builds.
  • Add esm modules. The lib is now "tree-shakable"
  • Reduced size of the production build from 8Kb to 5Kb

v4.5.2

02 Jan 21:04
Compare
Choose a tag to compare

Changelog

  • Fix: use window.parseFloat instead of Number.parseFloat to support ie #297

v4.5.1

18 Dec 19:31
Compare
Choose a tag to compare

Changelog

  • First toast update was triggering toast destruction. Isse #294

Thanks to @PhilipGarnero for the finding

v4.5.0

15 Dec 20:22
Compare
Choose a tag to compare

Changelog

New features:

  • progress bar can be controlled @Ugzuzg
  • add a done method to toast when working with controlled progress bar. This close the notification after the last progress tick see example in Readme here
  • toastId can now be updated too when calling toast.update @evansjohnson

Changes:

  • Fix typos in Readme!
  • Add Issue and PR template
  • Add Code of Conduct and Contributing guide
  • Default toastId are now random string
  • Better redux example @levino

Fixes:

  • Fix typescript definition. toastId was accepting only number instead of number | string

v4.4.3

15 Dec 19:56
Compare
Choose a tag to compare

Changelog

  • Fix type type in ToastOptions interface to be TypeOptions

v4.4.2

10 Nov 21:09
Compare
Choose a tag to compare

Changelog

  • Replace enum by an object:
import {ToastPosition, ToastType} from 'react-toastify';

// usage
ToastPositon.TOP_LEFT
ToastType.INFO;
  • 60fps progress bar animation

screen shot 2018-09-10 at 21 50 06

  • Some typo fix

v4.4.1

09 Nov 11:46
Compare
Choose a tag to compare

Changelog

  • Fix typescript definition. More details here