Skip to content

Commit acf3f57

Browse files
author
Babylon.js Platform
committed
Version update 7.0.0
1 parent d9d4540 commit acf3f57

File tree

35 files changed

+31374
-31308
lines changed

35 files changed

+31374
-31308
lines changed

‎.build/changelog.json‎

Lines changed: 71 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,57 @@
11
{
2-
"fromTag": "6.48.1",
2+
"fromTag": "6.49.0",
33
"changelog": {
4-
"6.48.1": [
4+
"7.0.0": [
55
{
6-
"pr": "14887",
7-
"title": "Allow Draco in NullEngine on node",
8-
"description": "After these changes it will be possible to use Draco in Node environment using the following code:\n\n```javascript\nconst Draco = require(\"./draco_decoder_gltf.js\");\nconst wasm = fs.readFileSync(\"./draco_decoder_gltf.wasm\");\n\nBABYLON.DracoCompression.Configuration.decoder.wasmBinary = wasm;\nBABYLON.DracoCompression.Configuration.decoder.jsModule = Draco;\n```\n\nDependencies are not included in the UMD version, and node doesn't fully support ESM, so it will still be required to download the resources once from our CDN and keep them locally on the project directory. A different approach could be to install @babylonjs/core and just require the module and wasm from the assets directory.\n\nThis PR also makes it possible to easily override the worker pool configuration option, to allow a more streamlined way of using the decompressor. Setting the static workerPool will avoid creating your own instance of the DracoCompression class:\n\n```javascript\n// index.js\n\nimport wasm from \"@babylonjs/dependencies/draco/draco_decoder_gltf.wasm?arraybuffer\"; // also works from \"draco3dgltf\" package\nimport { AutoReleaseWorkerPool } from \"@babylonjs/core/Misc/workerPool.js\";\nimport { DracoCompression } from \"@babylonjs/core/Meshes/Compression/dracoCompression.js\";\nimport { initializeWebWorker } from \"@babylonjs/core/Meshes/Compression/dracoCompressionWorker.js\";\nimport { Tools } from \"@babylonjs/core/Misc/tools.js\";\nimport { VertexBuffer } from \"@babylonjs/core/Meshes/buffer.js\";\n\nconst workerPool = new AutoReleaseWorkerPool(4, () => {\n const worker = new Worker(new URL(\"./worker.js\", import.meta.url), {\n type: \"module\",\n });\n return initializeWebWorker(worker, wasm);\n});\n\nDracoCompression.Configuration.decoder.workerPool = workerPool;\n\n// worker.js\nimport { workerFunction } from \"@babylonjs/core/Meshes/Compression/dracoCompressionWorker.js\";\nimport \"@babylonjs/dependencies/draco/draco_decoder_gltf.js\";\n\nworkerFunction();\n```",
6+
"pr": "14922",
7+
"title": "WebGPU: Fix typo when declaring \"highp sampler2DArray\" in the NME",
8+
"description": null,
99
"author": {
10-
"name": "RaananW",
11-
"url": "https://github.com/RaananW"
10+
"name": "Popov72",
11+
"url": "https://github.com/Popov72"
1212
},
1313
"files": [
14-
"packages/dev/core/src/Meshes/Compression/dracoCompression.ts"
14+
"packages/dev/core/src/Materials/Node/nodeMaterialBuildState.ts"
1515
],
16-
"tags": []
16+
"tags": [
17+
"bug",
18+
"WebGPU"
19+
]
1720
},
1821
{
19-
"pr": "14894",
20-
"title": "add ?version to NGE, NME, GUIEditor",
21-
"description": null,
22+
"pr": "14908",
23+
"title": "Add type to shader material constructor",
24+
"description": "Fix https://forum.babylonjs.com/t/shadermaterial-constructor-type-safety/49030\r\n",
2225
"author": {
23-
"name": "RaananW",
24-
"url": "https://github.com/RaananW"
26+
"name": "stefnotch",
27+
"url": "https://github.com/stefnotch"
2528
},
2629
"files": [
27-
"packages/tools/guiEditor/public/index.js",
28-
"packages/tools/nodeEditor/public/index.js",
29-
"packages/tools/nodeGeometryEditor/public/index.js",
30-
"packages/tools/playground/public/index.js"
30+
"packages/dev/core/src/Compute/computeEffect.ts",
31+
"packages/dev/core/src/Compute/computeShader.ts",
32+
"packages/dev/core/src/Engines/Extensions/engine.computeShader.ts",
33+
"packages/dev/core/src/Engines/WebGPU/Extensions/engine.computeShader.ts",
34+
"packages/dev/core/src/Engines/thinEngine.ts",
35+
"packages/dev/core/src/Engines/webgpuEngine.ts",
36+
"packages/dev/core/src/Materials/effect.ts",
37+
"packages/dev/core/src/Materials/shaderMaterial.ts"
3138
],
3239
"tags": []
40+
},
41+
{
42+
"pr": "14921",
43+
"title": "Bump express from 4.19.1 to 4.19.2",
44+
"description": "Bumps [express](https://github.com/expressjs/express) from 4.19.1 to 4.19.2.\n<details>\n<summary>Release notes</summary>\n<p><em>Sourced from <a href=\"https://github.com/expressjs/express/releases\">express's releases</a>.</em></p>\n<blockquote>\n<h2>4.19.2</h2>\n<h2>What's Changed</h2>\n<ul>\n<li><a href=\"https://github.com/expressjs/express/commit/0b746953c4bd8e377123527db11f9cd866e39f94\">Improved fix for open redirect allow list bypass</a></li>\n</ul>\n<p><strong>Full Changelog</strong>: <a href=\"https://github.com/expressjs/express/compare/4.19.1...4.19.2\">https://github.com/expressjs/express/compare/4.19.1...4.19.2</a></p>\n</blockquote>\n</details>\n<details>\n<summary>Changelog</summary>\n<p><em>Sourced from <a href=\"https://github.com/expressjs/express/blob/master/History.md\">express's changelog</a>.</em></p>\n<blockquote>\n<h1>4.19.2 / 2024-03-25</h1>\n<ul>\n<li>Improved fix for open redirect allow list bypass</li>\n</ul>\n</blockquote>\n</details>\n<details>\n<summary>Commits</summary>\n<ul>\n<li><a href=\"https://github.com/expressjs/express/commit/04bc62787be974874bc1467b23606c36bc9779ba\"><code>04bc627</code></a> 4.19.2</li>\n<li><a href=\"https://github.com/expressjs/express/commit/da4d763ff6ba9df6dbd8f1f0b1d05412dda934d5\"><code>da4d763</code></a> Improved fix for open redirect allow list bypass</li>\n<li>See full diff in <a href=\"https://github.com/expressjs/express/compare/4.19.1...4.19.2\">compare view</a></li>\n</ul>\n</details>\n<br />\n\n\n[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=express&package-manager=npm_and_yarn&previous-version=4.19.1&new-version=4.19.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n<details>\n<summary>Dependabot commands and options</summary>\n<br />\n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\nYou can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/BabylonJS/Babylon.js/network/alerts).\n\n</details>",
45+
"author": {
46+
"name": "dependabot[bot]",
47+
"url": "https://github.com/apps/dependabot"
48+
},
49+
"files": [
50+
"package-lock.json"
51+
],
52+
"tags": [
53+
"dependencies"
54+
]
3355
}
3456
],
3557
"6.49.0": [
@@ -361,6 +383,37 @@
361383
]
362384
}
363385
],
386+
"6.48.1": [
387+
{
388+
"pr": "14887",
389+
"title": "Allow Draco in NullEngine on node",
390+
"description": "After these changes it will be possible to use Draco in Node environment using the following code:\n\n```javascript\nconst Draco = require(\"./draco_decoder_gltf.js\");\nconst wasm = fs.readFileSync(\"./draco_decoder_gltf.wasm\");\n\nBABYLON.DracoCompression.Configuration.decoder.wasmBinary = wasm;\nBABYLON.DracoCompression.Configuration.decoder.jsModule = Draco;\n```\n\nDependencies are not included in the UMD version, and node doesn't fully support ESM, so it will still be required to download the resources once from our CDN and keep them locally on the project directory. A different approach could be to install @babylonjs/core and just require the module and wasm from the assets directory.\n\nThis PR also makes it possible to easily override the worker pool configuration option, to allow a more streamlined way of using the decompressor. Setting the static workerPool will avoid creating your own instance of the DracoCompression class:\n\n```javascript\n// index.js\n\nimport wasm from \"@babylonjs/dependencies/draco/draco_decoder_gltf.wasm?arraybuffer\"; // also works from \"draco3dgltf\" package\nimport { AutoReleaseWorkerPool } from \"@babylonjs/core/Misc/workerPool.js\";\nimport { DracoCompression } from \"@babylonjs/core/Meshes/Compression/dracoCompression.js\";\nimport { initializeWebWorker } from \"@babylonjs/core/Meshes/Compression/dracoCompressionWorker.js\";\nimport { Tools } from \"@babylonjs/core/Misc/tools.js\";\nimport { VertexBuffer } from \"@babylonjs/core/Meshes/buffer.js\";\n\nconst workerPool = new AutoReleaseWorkerPool(4, () => {\n const worker = new Worker(new URL(\"./worker.js\", import.meta.url), {\n type: \"module\",\n });\n return initializeWebWorker(worker, wasm);\n});\n\nDracoCompression.Configuration.decoder.workerPool = workerPool;\n\n// worker.js\nimport { workerFunction } from \"@babylonjs/core/Meshes/Compression/dracoCompressionWorker.js\";\nimport \"@babylonjs/dependencies/draco/draco_decoder_gltf.js\";\n\nworkerFunction();\n```",
391+
"author": {
392+
"name": "RaananW",
393+
"url": "https://github.com/RaananW"
394+
},
395+
"files": [
396+
"packages/dev/core/src/Meshes/Compression/dracoCompression.ts"
397+
],
398+
"tags": []
399+
},
400+
{
401+
"pr": "14894",
402+
"title": "add ?version to NGE, NME, GUIEditor",
403+
"description": null,
404+
"author": {
405+
"name": "RaananW",
406+
"url": "https://github.com/RaananW"
407+
},
408+
"files": [
409+
"packages/tools/guiEditor/public/index.js",
410+
"packages/tools/nodeEditor/public/index.js",
411+
"packages/tools/nodeGeometryEditor/public/index.js",
412+
"packages/tools/playground/public/index.js"
413+
],
414+
"tags": []
415+
}
416+
],
364417
"6.48.0": [
365418
{
366419
"pr": "14891",

‎CHANGELOG.md‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## 7.0.0
4+
5+
### Core
6+
7+
- WebGPU: Fix typo when declaring "highp sampler2DArray" in the NME - [_Bug Fix_] by [Popov72](https://github.com/Popov72) ([#14922](https://github.com/BabylonJS/Babylon.js/pull/14922))
8+
- Add type to shader material constructor - by [stefnotch](https://github.com/stefnotch) ([#14908](https://github.com/BabylonJS/Babylon.js/pull/14908))
9+
310
## 6.49.0
411

512
### Core

0 commit comments

Comments
 (0)