All Versions
9
Latest Version
Avg Release Cycle
51 days
Latest Release
79 days ago

Changelog History

  • v2.4.0

    March 14, 2020
    • 🛠 Fixed issue #56 - Removed random generator for id, instead rely on counter property from store as id
    • 🛠 Fixed #52 - Swipe was not working properly
    • Implemented #46 - Added center container. Did some changes to top and bottom containers as Chrome blurred content at the beginning of the animation due to the transform property.
    • 🔄 Changed notifications to take 100% width of the container instead of auto.
  • v2.3.0

    🛠 Fixes

    • 🛠 Fixed issue #52 - Swipe not working on touch devices
    • 🛠 Fixes issue #42 - title and message accept now custom content (a React node or a functional component)
    • 🛠 Fixed issue #41 - pauseOnHover was not taken into consideration when used together with content

    🔄 Changes

    • 🔄 Changed containers to have fixed width of 325px instead of auto which had different results across different test cases. Mobile containers have not changed, they're full width as before.
  • v2.2.1

    November 06, 2019
    • 🔀 Merged pull request #31 to pass className to component
    • 🛠 Fixed issue #33 - Unsubscribe from resize once component was unmounted
    • 🛠 Fixed issue #35 - content now gets id supplied as a prop
  • v2.2.0

    🛠 Fixes

    • 🔀 Merged pull request #31 to pass className to component
    • 🛠 Fixed issue #33 - Unsubscribe from resize once component was unmounted
    • 🛠 Fixed issue #35 - content now gets id supplied as a prop
  • v2.1.0

    September 23, 2019

    💥 Breaking changes

    • ✂ Removed prop onNotificationRemoval as it was rather hard to know which particular notification has been removed.

    👌 Improvements

    • ➕ Added option onRemoval directly to the notification object. Each notification will have its own onRemoval, making it easier to track removals.
    • ✂ Removed style-loader from webpack dev config
  • v2.0.7

    August 29, 2019

    🔖 Version 2 of react-notifications-component

    • 🗄 Deprecated ref usage
    • touchSlidingBack has been renamed to touchRevert
    • cubicBezier has been renamed to timingFunction
    • 🏗 validators removed from prod build
    • 0️⃣ defaults for transitions have been slightly adjusted
    • 🚚 dismissIcon has been removed
    • ➕ added showIcon as a semi-replacement for dismissIcon
  • v2.0.0

    💥 Breaking changes

    • 🗄 Ref usage has been deprecated. Import store from library and use it for adding and removing notifications
    • touchSlidingBack has been renamed to touchRevert
    • 🚚 dismissIcon has been removed. Use showIcon instead. If you rely on customized close icon, then stick to custom content.
    • cubicBezier has been renamed to timingFunction

    👌 Improvements

    • 🏗 Validators are now no longer included in the prod build, they are only included in the dev build. If you inspect the npm package you will see that the component has 2 builds - dev and prod - and relies on ENV variable when importing.
    • 0️⃣ Default values for transitions have been slightly changed
    • 👍 dismiss supports now more options

    ✂ Removed

    • 🚚 Test coverage has been removed as library's been almost fully rewritten in 2.0.0
  • v1.0.0

    November 18, 2018

    🚀 Stable and production ready release of react-notifications-component

    • ➕ added support for server side rendering
    • ➕ added center containers - top-center, bottom-center
    • ➕ added callback for notification removal
    • ⚡️ updated test coverage to 100%
  • v0.1.0

    September 02, 2018

    🚀 First release of react-notifications-component published as v0.1.0