DEV Community

Cover image for tsParticles 1.37.0 Released
Matteo Bruni for tsParticles

Posted on • Updated on

tsParticles 1.37.0 Released

tsParticles 1.37.0 Changelog

last post was 1.34.0 so every missing version will be detailed


1.34.1

Bug Fixes

  • Fixed themes and emitters interoperability, themes were not loaded correctly when the window is resized.

1.35.0

Internal updates

  • Split some polygon-mask files, nothing affecting output
  • Updated code to work with TypeScript 4.4 (except angular and svelte for now)
  • Moved some code out from particle constructor to updaters

New Features

  • Added roll mode to use only horizontal, vertical or both rolling
  • Added auto options to theme default to change theme automatically
  • Created a custom pathseg for now with some removed types in TypeScript 4.4, sent PR to the original project to add them in the polyfill. It's nomore required when using PolygonMask since is dynamically imported if needed

1.35.1

Bug Fixes

  • Fixed issue #2241

1.35.2

Bug Fixes

  • Added try catch in the pathseg polyfill to avoid crashes when server side (fixes #2264)
  • Improved isSsr utility

1.35.3

New Features

  • Removed id constraint on tsParticles.load/set methods, a random one will be generated if not specified.

Example

The following syntax is now valid:

tsParticles.load({ /* options */ });
Enter fullscreen mode Exit fullscreen mode

1.36.0

Bug Fixes

  • Fixed missing file in cdnjs
  • Fixed lazy loading of custom pathseg polyfill
  • Fixed issue with responsive not refreshing when changing options

1.37.0

Bug Fixes

  • Refreshing all tsParticles instances when adding a plugin, fixes an issue with polygon mask and chrome

New Features

  • Added responsive mode (canvas or screen) from dev branch, closes #2358

Features Changed

  • FullScreen mode is now active by default with a z index of 0, and the interactivity mode is "window" so everything still works as expected.

GitHub logo matteobruni / tsparticles

tsParticles - Easily create highly customizable JavaScript particles effects, confetti explosions and fireworks animations and use them as animated backgrounds for your website. Ready to use components available for React.js, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Inferno, Solid, Riot and Web Components.

Top comments (0)