Skip to content

Commit

Permalink
Version update 7.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Babylon.js Platform committed Mar 28, 2024
1 parent d9d4540 commit acf3f57
Show file tree
Hide file tree
Showing 35 changed files with 31,374 additions and 31,308 deletions.
89 changes: 71 additions & 18 deletions .build/changelog.json
@@ -1,35 +1,57 @@
{
"fromTag": "6.48.1",
"fromTag": "6.49.0",
"changelog": {
"6.48.1": [
"7.0.0": [
{
"pr": "14887",
"title": "Allow Draco in NullEngine on node",
"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```",
"pr": "14922",
"title": "WebGPU: Fix typo when declaring \"highp sampler2DArray\" in the NME",
"description": null,
"author": {
"name": "RaananW",
"url": "https://github.com/RaananW"
"name": "Popov72",
"url": "https://github.com/Popov72"
},
"files": [
"packages/dev/core/src/Meshes/Compression/dracoCompression.ts"
"packages/dev/core/src/Materials/Node/nodeMaterialBuildState.ts"
],
"tags": []
"tags": [
"bug",
"WebGPU"
]
},
{
"pr": "14894",
"title": "add ?version to NGE, NME, GUIEditor",
"description": null,
"pr": "14908",
"title": "Add type to shader material constructor",
"description": "Fix https://forum.babylonjs.com/t/shadermaterial-constructor-type-safety/49030\r\n",
"author": {
"name": "RaananW",
"url": "https://github.com/RaananW"
"name": "stefnotch",
"url": "https://github.com/stefnotch"
},
"files": [
"packages/tools/guiEditor/public/index.js",
"packages/tools/nodeEditor/public/index.js",
"packages/tools/nodeGeometryEditor/public/index.js",
"packages/tools/playground/public/index.js"
"packages/dev/core/src/Compute/computeEffect.ts",
"packages/dev/core/src/Compute/computeShader.ts",
"packages/dev/core/src/Engines/Extensions/engine.computeShader.ts",
"packages/dev/core/src/Engines/WebGPU/Extensions/engine.computeShader.ts",
"packages/dev/core/src/Engines/thinEngine.ts",
"packages/dev/core/src/Engines/webgpuEngine.ts",
"packages/dev/core/src/Materials/effect.ts",
"packages/dev/core/src/Materials/shaderMaterial.ts"
],
"tags": []
},
{
"pr": "14921",
"title": "Bump express from 4.19.1 to 4.19.2",
"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>",
"author": {
"name": "dependabot[bot]",
"url": "https://github.com/apps/dependabot"
},
"files": [
"package-lock.json"
],
"tags": [
"dependencies"
]
}
],
"6.49.0": [
Expand Down Expand Up @@ -361,6 +383,37 @@
]
}
],
"6.48.1": [
{
"pr": "14887",
"title": "Allow Draco in NullEngine on node",
"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```",
"author": {
"name": "RaananW",
"url": "https://github.com/RaananW"
},
"files": [
"packages/dev/core/src/Meshes/Compression/dracoCompression.ts"
],
"tags": []
},
{
"pr": "14894",
"title": "add ?version to NGE, NME, GUIEditor",
"description": null,
"author": {
"name": "RaananW",
"url": "https://github.com/RaananW"
},
"files": [
"packages/tools/guiEditor/public/index.js",
"packages/tools/nodeEditor/public/index.js",
"packages/tools/nodeGeometryEditor/public/index.js",
"packages/tools/playground/public/index.js"
],
"tags": []
}
],
"6.48.0": [
{
"pr": "14891",
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,12 @@
# Changelog

## 7.0.0

### Core

- 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))
- Add type to shader material constructor - by [stefnotch](https://github.com/stefnotch) ([#14908](https://github.com/BabylonJS/Babylon.js/pull/14908))

## 6.49.0

### Core
Expand Down

0 comments on commit acf3f57

Please sign in to comment.