Skip to content

v7.0.0

Compare
Choose a tag to compare
@fkhadra fkhadra released this 25 Jan 14:48

Release Notes

πŸ’₯ Breaking changes

  • dependency to react-transition-group has been removed #514
  • the duration parameter has been removed from cssTransition. Css animations just works now out of the box. Check the codesanbox below
  • the border-radius has been increased a bit

πŸš€ Features

  • Css animation just works!
    View

  • add a way to load the CSS without a CSS loader
    Edit react-toastify-inject-style

  • specify swipe direction, close #512 . Thanks to @denydavy
    Edit react-toastify-drag-y

  • bundle size reduced from ~7k to ~5k!

  • remove the dependency on prop-types.

πŸ› Bugfix

  • fix #541 apply pauseOnFocusLoss on first render
  • fix #538 react-dom should be a peer dep
  • fix #530 change id generation
  • fix #534 #483 toastId cannot be reused
  • fix #511 by removing react-transition-group
  • fix #550 Unable to select text inside inputs when a toast is open
  • fix #555 The toast timer starts after you click on the toast