Skip to content

Releases: cahilfoley/react-snowfall

v2.2.0

22 Nov 05:05
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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

Version 1.1.2 (2022-01-20)

20 Jan 01:54
Compare
Choose a tag to compare

Bug Fixes

  • Types: Remove labeled tuple elements (30dbfa7), closes #33

Full Changelog: v1.1.1...v1.1.2

Version 1.1.1 (2021-11-29)

29 Nov 02:36
Compare
Choose a tag to compare

What's Changed

  • Add support for React 17 by @selbekk in #21
  • Remove unused config variable reference to requestAnimationFrame by @cahilfoley

New Contributors

Full Changelog: v1.1.0...v1.1.1

Version 1.1.0 (2021-02-23)

23 Feb 16:35
Compare
Choose a tag to compare

Features

  • SnowflakeConfig: allow additional snowflake properties to be overridden via the Snowfall props (5d7b3f5)