Skip to content

Releases: cahilfoley/react-snowfall

v2.4.0

01 Dec 10:09

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.3.0...v2.4.0

v2.3.0

25 Jul 10:49

Choose a tag to compare

What's Changed

Features

  • Snowflake: Update opacity when snowflake is reset to top of canvas (9cc6669)

Bug Fixes

  • deprecated: Zustand changed create to named export (87f082e)
  • Snowflake: Fix decimal random number generation (e107861)
  • Snowflake: Update opacities to reflect new range when changed (d488dd2)

New Contributors

Full Changelog: v2.2.1...v2.3.0

v2.2.1

25 Jul 10:41

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.2.0...v2.2.1

v2.2.0

22 Nov 05:05

Choose a tag to compare

What's Changed

  • Snowflakes: Add support for using opacity values for image snowflakes (dbb6d51)

New Contributors

@Zeroverss made their first contribution in #79

Full Changelog: v2.1.2...v2.2.0

v2.1.2

22 Nov 04:18

Choose a tag to compare

2.1.2 (2024-11-22)

Bug Fixes

  • Snowflake: Update the snowflake initialization to use the correct speed and wind values for the target speed and wind values (8db1a66)

v2.1.1

06 Sep 10:40

Choose a tag to compare

What's Changed

  • ESM: Update the published library to include file extensions for proper ESM compatibility (a5d6a8f), closes #76 #73
  • [Perf] Use single path for all non-image snowflakes; use for..of loops over forEach; store Math.PI * 2 as a constant by @Tetramputechture in #71
  • Change demo playground to point to v1.1.2 tag by @igitur in #69

New Contributors

Full Changelog: v2.1.0...v2.1.1

Version 2.1.0 (07-02-2024)

07 Feb 06:29

Choose a tag to compare

2.1.0 (2024-02-07)

Bug Fixes

  • Add module type to package.json to properly indicate the ESM bundle (ce6b83d)
  • Switch from useLayoutEffect to useEffect for better SSR compatibility (400c0e6)

Version 2.0.0 (24-01-2024)

07 Feb 06:25

Choose a tag to compare

⚠ BREAKING CHANGES

  • Snowfall: Lots of internals have moved around - if you are only using the <Snowfall /> component then you shouldn't have to make any changes. If you were importing any of the library internals such as the custom hooks or some utilities then these have been reorganized and are now not exported from the root of the package - you will need to import them from the specific files.

Features

  • Snowfall: Abstract the snowflake rendering logic into the SnowfallCanvas class that is independent of React. (7cccc63)

Version 1.2.1 (2022-08-25)

25 Aug 09:32

Choose a tag to compare

What's Changed

  • Version bump to include the README in the npm package

Full Changelog: v1.2.0...v1.2.1

Version 1.2.0 (2022-08-25)

25 Aug 09:31

Choose a tag to compare

1.2.0 (2022-08-25)

Features

  • Add support for rendering images instead of circles for snowflake contents (d0d99e4)

Full Changelog: v1.1.2...v1.2.0