All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
2.4.0 (2025-12-01)
- Add 3D rotation effect option for snowflakes (bd7f4db)
2.3.0 (2025-07-25)
- Snowflake: Update opacity when snowflake is reset to top of canvas (9cc6669)
- 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)
2.2.1 (2025-07-25)
- Dependencies: Update peer dependencies to enable support with React 19
2.2.0 (2024-11-22)
- Snowflakes: Add support using opacity for image snowflakes (dbb6d51)
2.1.2 (2024-11-22)
- Snowflake: Update the snowflake initialization to use the correct speed and wind values for the target speed and wind values (8db1a66)
2.1.1 (2024-09-06)
- ESM: Update the published library to include file extensions for proper ESM compatibility (a5d6a8f), closes #76 #73
2.1.0 (2024-02-07)
- Add module type to package.json to properly indicate the ESM bundle (ce6b83d)
- Switch from useLayoutEffect to useEffect for better SSR compatibility (400c0e6)
2.0.0 (2024-01-25)
- 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.
- Snowfall: Abstract the snowflake rendering logic into the SnowfallCanvas class that is independent of React. (7cccc63)
1.2.1 (2022-08-25)
1.2.0 (2022-08-25)
- Add support for rendering images instead of circles for snowflake contents (d0d99e4)
1.1.2 (2022-01-20)
1.1.1 (2021-11-29)
- next: remove unused config variable to prevent NextJS crashing on window being undefined (e4cb1f2)
1.1.0 (2021-02-23)
- SnowflakeConfig: allow additional snowflake properties to be overridden via the Snowfall props (5d7b3f5)
1.0.2 (2019-06-09)
1.0.1 (2019-06-09)
- color: read color from snowflake config (60676a9)
1.0.0 (2019-06-09)
- convert library to use hooks (0a45f70)
- now has a peer dependency on react and react-dom >16.8
0.3.0 (2018-12-12)
- add wrapping in translate calculations (62a16dd)
0.2.0 (2018-12-11)
- update snowflake location based on time between frames (49c2916)