Skip to content

Commit 9819f38

Browse files
committed
List the script-tag build and the WebGPU check in the changelog
Commit 9b281dd added loading from a classic <script> tag (the UMD bundle, with the global FEAScript, and workers found next to the bundle) and made "jacobi-gpu" throw UNSUPPORTED_SOLVER where WebGPU is missing instead of hanging. Neither was in the 0.4.0 changelog. Signed-off-by: Nikos Chamakos <nikoscham@gmail.com>
1 parent 3fde218 commit 9819f38

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,11 @@ All notable changes to FEAScript-core are documented in this file. The format is
9898
and the result with its run report. The types of the inputs and results (`Geometry`, `MeshConfig`,
9999
`BoundaryCondition`, `SolveResult`, `RunReport`, ...) are exported for `import type`. A test type-checks a
100100
TypeScript use of the package against the declarations, and checks that they catch common mistakes
101+
- Loading from a classic `<script>` tag: the UMD bundle, `dist/feascript.umd.js`, defines the global `FEAScript`
102+
with every export, e.g. `const { FEAScriptModel, plotSolution } = FEAScript;`. It reads its own script URL, so
103+
`FEAScriptWorker` and the WebGPU worker find their files next to the bundle, also when it is loaded from a CDN,
104+
instead of next to the page. `tests/umd/umd.test.html` checks the script-tag build in headless Chromium and
105+
Firefox (`npm run test:browser`, not part of `npm test`)
101106

102107
### Changed
103108

@@ -202,6 +207,9 @@ All notable changes to FEAScript-core are documented in this file. The format is
202207
- `FEAScriptWorker` starts its first call as soon as the worker is ready. It checked once a second, so every new
203208
worker added up to a second before the first result. A worker that fails to start now reports the failure to the
204209
waiting call straight away, instead of after the 50 s timeout
210+
- `"jacobi-gpu"` where WebGPU is missing: it checks for `navigator.gpu` and a GPU adapter, in the page and in the
211+
worker, and throws `FEAScriptError` `"UNSUPPORTED_SOLVER"` with the reason, instead of hanging. A WebGPU worker
212+
whose initialisation fails is terminated
205213
- Frontal solver memory and run time on medium-sized problems
206214
([#121](https://github.com/FEAScript/FEAScript-core/issues/121)):
207215
- The front was allocated with the size of the whole system (N × N), and the solver eliminated at most one node

0 commit comments

Comments
 (0)