Skip to content

Commit 1135c08

Browse files
authored
Merge pull request tsparticles#5557 from tsparticles/v4
4.0.0-alpha.0
2 parents 610d9e3 + 17125d9 commit 1135c08

1,427 files changed

Lines changed: 34769 additions & 26550 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gemini/settings.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"mcpServers": {
3+
"nx-mcp": {
4+
"type": "stdio",
5+
"command": "npx",
6+
"args": [
7+
"nx",
8+
"mcp"
9+
]
10+
}
11+
},
12+
"contextFileName": "AGENTS.md"
13+
}

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ jobs:
3636

3737
steps:
3838
- name: Checkout repository
39-
uses: actions/checkout@v4
39+
uses: actions/checkout@v6
4040

4141
# Initializes the CodeQL tools for scanning.
4242
- name: Initialize CodeQL
43-
uses: github/codeql-action/init@v3
43+
uses: github/codeql-action/init@v4
4444
with:
4545
languages: ${{ matrix.language }}
4646
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -51,7 +51,7 @@ jobs:
5151
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5252
# If this step fails, then you should remove it and run the build manually (see below)
5353
- name: Autobuild
54-
uses: github/codeql-action/autobuild@v3
54+
uses: github/codeql-action/autobuild@v4
5555

5656
# ℹ️ Command-line programs to run using the OS shell.
5757
# 📚 https://git.io/JvXDl
@@ -65,4 +65,4 @@ jobs:
6565
# make release
6666

6767
- name: Perform CodeQL Analysis
68-
uses: github/codeql-action/analyze@v3
68+
uses: github/codeql-action/analyze@v4

.github/workflows/docs.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,18 @@ jobs:
1515
runs-on: ubuntu-latest
1616
if: ${{ github.event_name != 'pull_request' }}
1717
steps:
18-
- uses: actions/checkout@v4
18+
- uses: actions/checkout@v6
1919
name: Checkout [main]
2020
with:
2121
fetch-depth: 0
22-
- uses: actions/setup-node@v4
22+
- uses: actions/setup-node@v6
2323
with:
24-
node-version: '22'
25-
- uses: pnpm/action-setup@v4.1.0
24+
node-version: '24'
25+
- uses: pnpm/action-setup@v4.2.0
2626
name: Install pnpm
2727
id: pnpm-install
2828
with:
29-
version: 8
29+
version: 10
3030
run_install: false
3131
- name: Get pnpm version
3232
id: pnpm-version
@@ -38,7 +38,7 @@ jobs:
3838
run: |
3939
echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"
4040
41-
- uses: actions/cache@v4
41+
- uses: actions/cache@v5
4242
name: Setup pnpm cache
4343
with:
4444
path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}

.github/workflows/lock.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
action:
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: dessant/lock-threads@v5
19+
- uses: dessant/lock-threads@v6
2020
with:
2121
issue-inactive-days: '30'
2222
issue-lock-reason: 'resolved'

.github/workflows/nodejs.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,16 @@ jobs:
2525
runs-on: ubuntu-latest
2626
if: ${{ github.event_name != 'pull_request' }}
2727
steps:
28-
- uses: actions/checkout@v4
28+
- uses: actions/checkout@v6
2929
name: Checkout [main]
3030
with:
3131
fetch-depth: 0
3232
#- name: Derive appropriate SHAs for base and head for `nx affected` commands
3333
# uses: nrwl/nx-set-shas@v3
34-
- uses: actions/setup-node@v4
34+
- uses: actions/setup-node@v6
3535
with:
36-
node-version: '22'
37-
- uses: pnpm/action-setup@v4.1.0
36+
node-version: '24'
37+
- uses: pnpm/action-setup@v4.2.0
3838
name: Install pnpm
3939
id: pnpm-install
4040
with:
@@ -49,7 +49,7 @@ jobs:
4949
run: |
5050
echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"
5151
52-
- uses: actions/cache@v4
52+
- uses: actions/cache@v5
5353
name: Setup pnpm cache
5454
with:
5555
path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
@@ -80,17 +80,17 @@ jobs:
8080
runs-on: ubuntu-latest
8181
if: ${{ github.event_name == 'pull_request' }}
8282
steps:
83-
- uses: actions/checkout@v4
83+
- uses: actions/checkout@v6
8484
with:
8585
ref: ${{ github.event.pull_request.head.ref }}
8686
repository: ${{ github.event.pull_request.head.repo.full_name }}
8787
fetch-depth: 0
8888
#- name: Derive appropriate SHAs for base and head for `nx affected` commands
8989
# uses: nrwl/nx-set-shas@v3
90-
- uses: actions/setup-node@v4
90+
- uses: actions/setup-node@v6
9191
with:
92-
node-version: '22'
93-
- uses: pnpm/action-setup@v4.1.0
92+
node-version: '24'
93+
- uses: pnpm/action-setup@v4.2.0
9494
name: Install pnpm
9595
id: pnpm-install
9696
with:
@@ -105,7 +105,7 @@ jobs:
105105
run: |
106106
echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"
107107
108-
- uses: actions/cache@v4
108+
- uses: actions/cache@v5
109109
name: Setup pnpm cache
110110
with:
111111
path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}

.github/workflows/stale.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111

1212
steps:
13-
- uses: actions/stale@v9
13+
- uses: actions/stale@v10
1414
with:
1515
repo-token: ${{ secrets.GITHUB_TOKEN }}
1616
stale-issue-message: 'Stale issue message'

.mcp.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"mcpServers": {
3+
"nx-mcp": {
4+
"type": "stdio",
5+
"command": "npx",
6+
"args": [
7+
"nx",
8+
"mcp"
9+
]
10+
}
11+
}
12+
}

AGENTS.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!-- nx configuration start-->
2+
<!-- Leave the start & end comments to automatically receive updates. -->
3+
4+
# General Guidelines for working with Nx
5+
6+
- When running tasks (for example build, lint, test, e2e, etc.), always prefer running the task through `nx` (i.e. `nx run`, `nx run-many`, `nx affected`) instead of using the underlying tooling directly
7+
- You have access to the Nx MCP server and its tools, use them to help the user
8+
- When answering questions about the repository, use the `nx_workspace` tool first to gain an understanding of the workspace architecture where applicable.
9+
- When working in individual projects, use the `nx_project_details` mcp tool to analyze and understand the specific project structure and dependencies
10+
- For questions around nx configuration, best practices or if you're unsure, use the `nx_docs` tool to get relevant, up-to-date docs. Always use this instead of assuming things about nx configuration
11+
- If the user needs help with an Nx configuration or project graph error, use the `nx_workspace` tool to get any errors
12+
13+
<!-- nx configuration end-->

CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,25 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
# [4.0.0-alpha.0](https://github.com/tsparticles/tsparticles/compare/v3.9.1...v4.0.0-alpha.0) (2026-01-07)
7+
8+
### Bug Fixes
9+
10+
- fix 5524 ([4459f09](https://github.com/tsparticles/tsparticles/commit/4459f09de1393d2f478612e3ff1089cb10f6e76a))
11+
- fixed issue [#5539](https://github.com/tsparticles/tsparticles/issues/5539), now shapes know when a fill function or a stroke function is needed ([cb616d3](https://github.com/tsparticles/tsparticles/commit/cb616d3d489ba65304d1f1b657d556807674567a))
12+
- fixed issue with groups and density calculation ([eb2e20a](https://github.com/tsparticles/tsparticles/commit/eb2e20a28ae1a87d02cfbcffd3454a11f73ef2c4))
13+
- fixed issue with the refactoring ([dd1fa73](https://github.com/tsparticles/tsparticles/commit/dd1fa7392ad3146f2ad9277da4dcf632ae0d8c6e))
14+
- fixed rotation movement when angle was 0 ([6d02bfb](https://github.com/tsparticles/tsparticles/commit/6d02bfb69b03c111d21af7d1727338ba46272829))
15+
16+
### Features
17+
18+
- added hdr feature full implementation, colors are now hdr ready ([aee509f](https://github.com/tsparticles/tsparticles/commit/aee509fec97eed1a84c6809f73ce6a42ad19da6a))
19+
- added hdr option, with fallback if not supported by the screen ([f42dc31](https://github.com/tsparticles/tsparticles/commit/f42dc31b8ba4e82eb04a465ebcf2bf77f041a5e0))
20+
- added new falling confetti to demo configs ([a43767b](https://github.com/tsparticles/tsparticles/commit/a43767b71f9a4213080f35d31fe70a8f0b420f52))
21+
- improved fireworks demo configs ([71473ec](https://github.com/tsparticles/tsparticles/commit/71473ecb48e454613d01598709dac303ae017ef9))
22+
- improved hdr management, improved also big particles config ([92af429](https://github.com/tsparticles/tsparticles/commit/92af429a2c18976267579cc732492dbb7cb3f67a))
23+
- using p3 (hdr) images in configs (except gifs) ([3989373](https://github.com/tsparticles/tsparticles/commit/39893734cb9fa86e0631a2516ec50e66a43012f6))
24+
625
## [3.9.1](https://github.com/tsparticles/tsparticles/compare/v3.9.0...v3.9.1) (2025-08-03)
726

827
**Note:** Version bump only for package @tsparticles/workspace

CLAUDE.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!-- nx configuration start-->
2+
<!-- Leave the start & end comments to automatically receive updates. -->
3+
4+
# General Guidelines for working with Nx
5+
6+
- When running tasks (for example build, lint, test, e2e, etc.), always prefer running the task through `nx` (i.e. `nx run`, `nx run-many`, `nx affected`) instead of using the underlying tooling directly
7+
- You have access to the Nx MCP server and its tools, use them to help the user
8+
- When answering questions about the repository, use the `nx_workspace` tool first to gain an understanding of the workspace architecture where applicable.
9+
- When working in individual projects, use the `nx_project_details` mcp tool to analyze and understand the specific project structure and dependencies
10+
- For questions around nx configuration, best practices or if you're unsure, use the `nx_docs` tool to get relevant, up-to-date docs. Always use this instead of assuming things about nx configuration
11+
- If the user needs help with an Nx configuration or project graph error, use the `nx_workspace` tool to get any errors
12+
13+
<!-- nx configuration end-->

0 commit comments

Comments
 (0)