Packages

react-smooth

4.0.4 · 16 Dec 2024MIT25.2M / weekRepositoryHomepagenpmAtom feed

Upgrading react-smooth From 2.0.2 to 4.0.4

9 releases in betweennotes for 7

Reading releases, release notes and advisories…

Other targets from 2.0.2Newest 2.x2.0.5
  1. 2.0.2yours
  2. 3 releases
  3. 3.0.0major
  4. 4.0.0major
  5. 3 releases
  6. 4.0.4target
4+
changes to make
0
advisories fixed
1+
new
4+
fixes

Counted from 7 of 9 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • breaking4.0.0
  • breaking4.0.0
  • breaking4.0.0
  • breaking3.0.0

Release by release

  1. 4.0.4

    16 Dec 20241 new
    • new

      Add "sideEffects": false to package.json for better code splitting

  2. 4.0.2 – 4.0.32 releases, no release note

  3. 4.0.1

    21 Mar 20241 fix
    • fixed

      Fix new object comparison logic bug

  4. 4.0.0

    Migration needed29 Jan 2024
    • breaking

      react-smooth v4 "breaking changes"

    • breaking

      Upgrade prop-types

    • breaking

      Upgrade some dev dependencies

  5. 3.0.0

    Migration needed18 Oct 2023
    • breaking

      Remove translateStyle function and export

  6. 2.0.5

    10 Oct 20231 fix
    • fixed

      Check if requestAnimationFrame is defined in shouldUpdate

  7. 2.0.4

    13 Sep 20231 fix
    • fixed

      Call onAnimationEnd on unmount

  8. 2.0.3

    17 May 20231 fix
    • fixed

      Treat duration={0} as if animation is not active by doing a check and returning early. This fixes a bug where NaN can cause a crash in the browser.

1 other line we could not sort, mostly version bumps
  • Update peerDependencies to React 19 - (added 4.0.4)

    4.0.4

1 internal line (docs, tests, tooling) left out.