Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.12.0 #5071

Merged
merged 35 commits into from
Aug 4, 2023
Merged

2.12.0 #5071

merged 35 commits into from
Aug 4, 2023

Conversation

matteobruni
Copy link
Collaborator

@matteobruni matteobruni commented Jul 16, 2023

tsParticles v2.12.0 Changelog

Bug Fixes

  • Fixed pool on particles destroyed by updaters
  • Fixed out modes, bounce was not checking the direction of the update request
  • Fixed issue with change theme when an existing canvas is used
  • Fixed updates on particles destroyed by updaters, that section wasn't using the memory pool for reusing old particles instead of creating new ones.
  • Fixed memory leak in destroyed particles by updaters, the z array wasn't filtered, thanks to @longnguyen2004, closes [Bug]: _array and _zArray leaking when particles are destroyed by life updater #5101
  • Fixed light interaction, particle shadow wasn't calculated correctly

New Features

  • Added range values to life duration and delay of emitters
  • Added two new bundles
    • tsparticles-basic: minimum plugins for having circular dots moving in the canvas, common package for all bundles, and presets after this is released. Packages included:
      • tsparticles-engine
      • tsparticles-move-base
      • tsparticles-shape-circle
      • tsparticles-updater-color
      • tsparticles-updater-opacity
      • tsparticles-updater-out-modes
      • tsparticles-updater-size
    • tsparticles-all: a package that includes all the plugins, it's not a best practice to use this, but the easiest way for trying every feature available for sure. It will be used mainly in the website.

demo/vanilla/app.ts Dismissed Show dismissed Hide dismissed
demo/vanilla/app.ts Dismissed Show dismissed Hide dismissed
@github-actions
Copy link

github-actions bot commented Jul 16, 2023

Visit the preview URL for this PR (updated for commit 0a2199b):

https://tsparticles--pr5071-v2-h14zildt.web.app

(expires Fri, 11 Aug 2023 00:10:32 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: e17bd496b60228ff29decb25faf769dcbde931d6

matteobruni and others added 24 commits July 17, 2023 20:33
…up-2.x

chore(deps): update pnpm/action-setup action to v2.3.0 (v2)
…up-2.x

chore(deps): update pnpm/action-setup action to v2.4.0 (v2)
@matteobruni matteobruni merged commit f9da865 into main Aug 4, 2023
11 of 13 checks passed
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: _array and _zArray leaking when particles are destroyed by life updater
1 participant