Skip to content

Releases: fkhadra/react-toastify

v2.1.2

10 Aug 06:52
Compare
Choose a tag to compare

Changelog

  • Previous version was breaking compatibility with react < 16

v2.1.1

10 Aug 06:53
Compare
Choose a tag to compare

Changelog

  • Remove toast from react dom when not displayed. Because of that, the onClose callback on the toast was never called. Relate to issue #50

v2.1.0

10 Aug 06:53
Compare
Choose a tag to compare

Changelog

  • Can set a custom transition when the toat enter and exit the screen ✨
  • Upgrade to react v16
  • Upgrade to enzyme v3
  • Switched to react-app preset for eslint
  • Upgrade to webpack v3
  • Upgrade to react-transition-group v2

v2.0.0

10 Aug 06:55
Compare
Choose a tag to compare

Changelog

  • The default design has been reviewed. The component is now usable out of the box without the need to touch the css. Relate to issue #28
  • The toast timer can keep running on hover. issue #33
  • Added a possibility to check if a given toast is displayed or not. By using that method we can prevent duplicate. issue #3
  • Can decide to close the toast on click
  • Can show the newest toast on top
  • Can define additional className for toastissue #21
  • Much more mobile-ready than the past
  • The space in of left boxes from window & right boxes from the window is different.issue #25
  • Partial support of ie11. I still need to fix the animation but I need a computer with ie11 for that xD issue #26

v1.7.0

10 Aug 06:56
Compare
Choose a tag to compare

Changelog

  • Toast can now be positioned individually !

v1.6.0

10 Aug 06:57
Compare
Choose a tag to compare

Changelog

  • Can now remove a toast programmatically. When you display a toast, the function return a toastId. You can use it
    as follow to remove a given toast toast.dismiss(toastId)
  • If the container is not mounted, the notification will be added to a queue and dispatched as soon as the container is mounted.
    For more details check issue #4
  • Added --no-idents flag to cssnano to avoid animation name collision with others libs.
  • Tests are no longer transpiled

v1.5.0

10 Aug 06:58
Compare
Choose a tag to compare

Changelog

  • That version does not bring any features but it brings tests made with the amazing jest and aslo Travis CI integration.

v1.4.3

10 Aug 06:58
Compare
Choose a tag to compare

Changelog

  • React and react-dom are now peer dependencies

v1.4.2

10 Aug 07:00
Compare
Choose a tag to compare

Changelog

  • Don't try to pass down the props when we render a string like so : toast(<div>hello</div>)
  • Fixed the test to check if the toast can be rendered

v1.4.0

10 Aug 07:01
Compare
Choose a tag to compare

Changelog

  • React v16 ready : moving to prop-types and react-transition-group
  • Internal rewrite of components. The implementation wasn't bad but it wasn't good either. A better props validation has been added has well.
  • Removed useless dependencies. I was using the Object.values polyfill when a one line forEach can do the same is my case.
  • Now I believe it's even easier to style the components. The sass sources files are now included when you install the package via yarn or npm
  • The default close button has been replaced.
  • A progress bar is now visible to track the remaining time before the notification is closed. Of course if you don't like it, you are free to disable it.
  • You can choose to display a close button or not.
  • Event pointer is set to none to avoid losing pointer events on everything beneath the toast container when no toast are displayed
  • The closeToast callback is also passed down to your component.