---
title: "@tsparticles/engine 4.6.0 Breaking Changes on npm"
description: "What each @tsparticles/engine release removed, renamed or changed: 146 breaking changes in 5 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@tsparticles/engine
last_updated: 2026-12-04
---

# @tsparticles/engine breaking changes

@tsparticles/engine 4.6.0 (November 13, 2026) is its newest release with breaking changes, 5 of them. The first: Signature changed Container.particleCreatedPlugins. Every breaking API change we have recorded in @tsparticles/engine on npm: 146 breaking changes in 5 versions. Below, its 5 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `4.6.0`, released November 13, 2026. [Source repository](https://github.com/tsparticles/tsparticles)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [4.2.0](#v-4-2-0) to [4.6.0](#v-4-6-0): 36 breaking changes in 4 versions.

## @tsparticles/engine 4.6.0 breaking changes

@tsparticles/engine 4.6.0, released November 13, 2026: 5 breaking changes.

- **Signature changed** `Container.particleCreatedPlugins`  

Was readonly particleCreatedPlugins: IContainerPlugin\[\]; now readonly particleCreatedPlugins: readonly IContainerPlugin\[\]. [npmjs.com](https://www.npmjs.com/package/@tsparticles/engine/v/4.6.0)
- **Signature changed** `Container.particleDestroyedPlugins`  

Was readonly particleDestroyedPlugins: IContainerPlugin\[\]; now readonly particleDestroyedPlugins: readonly IContainerPlugin\[\]. [npmjs.com](https://www.npmjs.com/package/@tsparticles/engine/v/4.6.0)
- **Signature changed** `Container.particlePositionPlugins`  

Was readonly particlePositionPlugins: IContainerPlugin\[\]; now readonly particlePositionPlugins: readonly IContainerPlugin\[\]. [npmjs.com](https://www.npmjs.com/package/@tsparticles/engine/v/4.6.0)
- **Signature changed** `Container.plugins`  

Was readonly plugins: IContainerPlugin\[\]; now readonly plugins: readonly IContainerPlugin\[\]. [npmjs.com](https://www.npmjs.com/package/@tsparticles/engine/v/4.6.0)
- **Signature changed** `PluginManager.plugins`  

Was readonly plugins: IPlugin\[\]; now readonly plugins: readonly IPlugin\[\]. [npmjs.com](https://www.npmjs.com/package/@tsparticles/engine/v/4.6.0)

## @tsparticles/engine 4.5.0 breaking changes

@tsparticles/engine 4.5.0, released October 25, 2026: 16 breaking changes.

- **Removed** `PluginManager.clearPlugins`  

PluginManager.clearPlugins was removed in @tsparticles/engine 4.5.0 [npmjs.com](https://www.npmjs.com/package/@tsparticles/engine/v/4.5.0)
- **Removed** `PluginManager.effectDrawers`  

PluginManager.effectDrawers was removed in @tsparticles/engine 4.5.0 [npmjs.com](https://www.npmjs.com/package/@tsparticles/engine/v/4.5.0)
- **Removed** `PluginManager.getEffectDrawers`  

PluginManager.getEffectDrawers was removed in @tsparticles/engine 4.5.0 [npmjs.com](https://www.npmjs.com/package/@tsparticles/engine/v/4.5.0)
- **Removed** `PluginManager.getShapeDrawers`  

PluginManager.getShapeDrawers was removed in @tsparticles/engine 4.5.0 [npmjs.com](https://www.npmjs.com/package/@tsparticles/engine/v/4.5.0)
- **Removed** `PluginManager.getUpdaters`  

PluginManager.getUpdaters was removed in @tsparticles/engine 4.5.0 [npmjs.com](https://www.npmjs.com/package/@tsparticles/engine/v/4.5.0)
- **Removed** `PluginManager.loadParticlesOptions`  

PluginManager.loadParticlesOptions was removed in @tsparticles/engine 4.5.0 [npmjs.com](https://www.npmjs.com/package/@tsparticles/engine/v/4.5.0)
- **Removed** `PluginManager.shapeDrawers`  

PluginManager.shapeDrawers was removed in @tsparticles/engine 4.5.0 [npmjs.com](https://www.npmjs.com/package/@tsparticles/engine/v/4.5.0)
- **Removed** `PluginManager.updaters`  

PluginManager.updaters was removed in @tsparticles/engine 4.5.0 [npmjs.com](https://www.npmjs.com/package/@tsparticles/engine/v/4.5.0)
- **Removed** `SpatialHashGrid.setCellSize`  

SpatialHashGrid.setCellSize was removed in @tsparticles/engine 4.5.0 [npmjs.com](https://www.npmjs.com/package/@tsparticles/engine/v/4.5.0)
- **Signature changed** `getItemMapFromInitializer`  

Was function getItemMapFromInitializer\<TItem, TInitializer extends GenericInitializer\<TItem>>(container: Container, map: Map\<Container, Map\<string, TItem>>, initializers: Map\<string, TInitializer>, force?: boolean): Promise\<Map\<string... [npmjs.com](https://www.npmjs.com/package/@tsparticles/engine/v/4.5.0)

And 6 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## @tsparticles/engine 4.4.0 breaking changes

@tsparticles/engine 4.4.0, released August 31, 2026: 8 breaking changes.

- **Signature changed** `colorMix`  

Was function colorMix(color1: IRgb | IHsl, color2: IRgb | IHsl, size1: number, size2: number): IRgb; now function colorMix(color1: IRgb | IHsl, color2: IRgb | IHsl, size1: number, size2: number, hdr?: boolean): IRgb. [npmjs.com](https://www.npmjs.com/package/@tsparticles/engine/v/4.4.0)
- **Signature changed** `getLinkColor`  

Was function getLinkColor(p1: Particle, p2?: Particle, linkColor?: string | IRgb): IRgb | undefined; now function getLinkColor(p1: Particle, p2?: Particle, linkColor?: string | IRgb, hdr?: boolean): IRgb | undefined. [npmjs.com](https://www.npmjs.com/package/@tsparticles/engine/v/4.4.0)
- **Signature changed** `getStyleFromHsl`  

Was function getStyleFromHsl(color: IHsl, hdr: boolean, opacity?: number): string; now function getStyleFromHsl(color: IHsl, hdr: boolean, opacity?: number, peakNits?: number, mode?: HdrMode): string. [npmjs.com](https://www.npmjs.com/package/@tsparticles/engine/v/4.4.0)
- **Signature changed** `getStyleFromRgb`  

Was function getStyleFromRgb(color: IRgb, hdr: boolean, opacity?: number): string; now function getStyleFromRgb(color: IRgb, hdr: boolean, opacity?: number, peakNits?: number, mode?: HdrMode): string. [npmjs.com](https://www.npmjs.com/package/@tsparticles/engine/v/4.4.0)
- **Signature changed** `IOptions.hdr`  

Was hdr: boolean; now hdr: RecursivePartial\<IHDROptions> | boolean. [npmjs.com](https://www.npmjs.com/package/@tsparticles/engine/v/4.4.0)
- **Signature changed** `ISourceOptions.hdr`  

Was hdr: boolean; now hdr: RecursivePartial\<IHDROptions> | boolean. [npmjs.com](https://www.npmjs.com/package/@tsparticles/engine/v/4.4.0)
- **Signature changed** `Options.hdr`  

Was hdr: boolean; now readonly hdr: HDROptions. [npmjs.com](https://www.npmjs.com/package/@tsparticles/engine/v/4.4.0)
- **Signature changed** `updateColorValue`  

Was function updateColorValue(data: IParticleColorAnimation, decrease: boolean, delta: IDelta, hdr?: boolean): void; now function updateColorValue(data: IParticleColorAnimation, decrease: boolean, delta: IDelta, \_hdr?: boolean): void. [npmjs.com](https://www.npmjs.com/package/@tsparticles/engine/v/4.4.0)

## @tsparticles/engine 4.3.0 breaking changes

@tsparticles/engine 4.3.0, released June 27, 2026: 7 breaking changes.

- **Removed** `IBubbleParticleData`  

IBubbleParticleData was removed in @tsparticles/engine 4.3.0 [npmjs.com](https://www.npmjs.com/package/@tsparticles/engine/v/4.3.0)
- **Removed** `ISlowParticleData`  

ISlowParticleData was removed in @tsparticles/engine 4.3.0 [npmjs.com](https://www.npmjs.com/package/@tsparticles/engine/v/4.3.0)
- **Removed** `Particle.bubble`  

Particle.bubble was removed in @tsparticles/engine 4.3.0 [npmjs.com](https://www.npmjs.com/package/@tsparticles/engine/v/4.3.0)
- **Removed** `Particle.slow`  

Particle.slow was removed in @tsparticles/engine 4.3.0 [npmjs.com](https://www.npmjs.com/package/@tsparticles/engine/v/4.3.0)
- **Signature changed** `getRandomRgbColor`  

Was function getRandomRgbColor(min?: number): IRgb; now function getRandomRgbColor(min?: number, hdr?: boolean): IRgb. [npmjs.com](https://www.npmjs.com/package/@tsparticles/engine/v/4.3.0)
- **Signature changed** `updateColor`  

Was function updateColor(color: IParticleHslAnimation | undefined, delta: IDelta): void; now function updateColor(color: IParticleHslAnimation | undefined, delta: IDelta, hdr?: boolean): void. [npmjs.com](https://www.npmjs.com/package/@tsparticles/engine/v/4.3.0)
- **Signature changed** `updateColorValue`  

Was function updateColorValue(data: IParticleColorAnimation, decrease: boolean, delta: IDelta): void; now function updateColorValue(data: IParticleColorAnimation, decrease: boolean, delta: IDelta, hdr?: boolean): void. [npmjs.com](https://www.npmjs.com/package/@tsparticles/engine/v/4.3.0)

## @tsparticles/engine 4.2.0 breaking changes

@tsparticles/engine 4.2.0, released June 17, 2026: 110 breaking changes.

- **Removed** `AnimationOptions.constructor`  

new AnimationOptions() was removed in @tsparticles/engine 4.2.0 [npmjs.com](https://www.npmjs.com/package/@tsparticles/engine/v/4.2.0)
- **Removed** `arrayRandomIndex`  

arrayRandomIndex was removed in @tsparticles/engine 4.2.0 [npmjs.com](https://www.npmjs.com/package/@tsparticles/engine/v/4.2.0)
- **Removed** `calcExactPositionOrRandomFromSizeRanged`  

calcExactPositionOrRandomFromSizeRanged was removed in @tsparticles/engine 4.2.0 [npmjs.com](https://www.npmjs.com/package/@tsparticles/engine/v/4.2.0)
- **Removed** `clear`  

clear was removed in @tsparticles/engine 4.2.0 [npmjs.com](https://www.npmjs.com/package/@tsparticles/engine/v/4.2.0)
- **Removed** `colorToHsl`  

colorToHsl was removed in @tsparticles/engine 4.2.0 [npmjs.com](https://www.npmjs.com/package/@tsparticles/engine/v/4.2.0)
- **Removed** `drawAfterEffect`  

drawAfterEffect was removed in @tsparticles/engine 4.2.0 [npmjs.com](https://www.npmjs.com/package/@tsparticles/engine/v/4.2.0)
- **Removed** `drawBeforeEffect`  

drawBeforeEffect was removed in @tsparticles/engine 4.2.0 [npmjs.com](https://www.npmjs.com/package/@tsparticles/engine/v/4.2.0)
- **Removed** `drawParticle`  

drawParticle was removed in @tsparticles/engine 4.2.0 [npmjs.com](https://www.npmjs.com/package/@tsparticles/engine/v/4.2.0)
- **Removed** `drawParticlePlugin`  

drawParticlePlugin was removed in @tsparticles/engine 4.2.0 [npmjs.com](https://www.npmjs.com/package/@tsparticles/engine/v/4.2.0)
- **Removed** `drawShape`  

drawShape was removed in @tsparticles/engine 4.2.0 [npmjs.com](https://www.npmjs.com/package/@tsparticles/engine/v/4.2.0)

And 100 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
