Repository navigation
chore: upgrade luma.gl alpha.11, math.gl and loaders.gl beta.5 - #11072
Conversation
[Medium impact] No actionable issue was found that blocks merging. SummaryUpdates luma.gl to alpha.11 and math.gl and loaders.gl to beta.5 across packages, examples, and the website.
No actionable issues were established. Tests and builds were not run; dependencies are not installed in this checkout. Reviews (1) · Last reviewed commit: "chore: refresh website dependency lockfi..." · Reviewed by Greptile |
chrisgervang
left a comment
There was a problem hiding this comment.
Reviewed b0345ae after merge; follow-ups below. No P1s. The upgrade guide and whats-new pin prerelease versions that 9.4 users never install, and the withParameters entry covers an API no deck.gl release exposed.
Labels: P1 settle before this is merged, P2 can follow, Non-blocking optional.
| instead of the former descriptor's `buffer`, `offset`, and `stride` fields. | ||
|
|
||
| ### luma.gl v10 alpha.10 | ||
| ### luma.gl v10 alpha.11 |
There was a problem hiding this comment.
P2: deck.gl 9.4 users upgrade straight to v10, so the alpha number in this heading means nothing to them. It has been renamed on every bump since #10970 (alpha.6 to alpha.11).
| ### luma.gl v10 alpha.11 | |
| ### luma.gl v10 |
Could the paragraphs below also become #### entries that each start with "This applies if you…", like ### Viewport? For example: luma.gl imports, shader assembler, shader injections and Layer.getModels().
| `RenderPass.withParameters` is removed in alpha.11. For custom render-pass state | ||
| overrides, save `renderPass.getParameters()`, apply overrides with `setParameters`, | ||
| and restore the saved parameters in a `finally` block. Deck.gl handles this for | ||
| layer and extension draws. | ||
|
|
There was a problem hiding this comment.
P2: No deck.gl user can be affected by this entry.
RenderPass.withParametersis not in luma.gl 9.4.2. It first appears in 10.0.0-alpha.10 and is removed in alpha.11.- No deck.gl v10 prerelease is on npm.
| `RenderPass.withParameters` is removed in alpha.11. For custom render-pass state | |
| overrides, save `renderPass.getParameters()`, apply overrides with `setParameters`, | |
| and restore the saved parameters in a `finally` block. Deck.gl handles this for | |
| layer and extension draws. |
Could we remove it? The upgrade guide only needs what 9.4 users must change.
| ### loaders.gl and math.gl v5 beta | ||
|
|
||
| Update direct loaders.gl and math.gl dependencies to `5.0.0-beta.4`. Several packages are consolidated; update imports and declare the containing package as a dependency: | ||
| Update direct loaders.gl and math.gl dependencies to `5.0.0-beta.5`. Several packages are consolidated; update imports and declare the containing package as a dependency: |
There was a problem hiding this comment.
Non-blocking: Same pinning: 5.0.0-beta.5 changes on each bump.
| ### loaders.gl and math.gl v5 beta | |
| Update direct loaders.gl and math.gl dependencies to `5.0.0-beta.4`. Several packages are consolidated; update imports and declare the containing package as a dependency: | |
| Update direct loaders.gl and math.gl dependencies to `5.0.0-beta.5`. Several packages are consolidated; update imports and declare the containing package as a dependency: | |
| ### loaders.gl and math.gl v5 | |
| Update direct loaders.gl and math.gl dependencies to v5. Several packages are consolidated; update imports and declare the containing package as a dependency: |
|
|
||
| ### luma.gl v10 alpha.10 | ||
| ### luma.gl v10 alpha.11 | ||
|
|
||
| The v10 packages use luma.gl alpha.10. Layer models delegate typed vector and | ||
| The v10 packages use luma.gl alpha.11. Layer models delegate typed vector and | ||
| constant-buffer binding and render-target format tracking to luma.gl. WebGPU | ||
| layer draws restore dynamic render-pass parameters after drawing. Custom shader | ||
| plugins use the renamed injection-target API; see the [upgrade guide](./upgrade-guide.md). |
There was a problem hiding this comment.
P2: This entry lists internals (typed vector binding, render-target format tracking, render-pass parameter restore) under a heading pinned to a luma.gl alpha. Readers can't act on them, and the shader plugin change already has upgrade-guide entries.
| ### luma.gl v10 alpha.10 | |
| ### luma.gl v10 alpha.11 | |
| The v10 packages use luma.gl alpha.10. Layer models delegate typed vector and | |
| The v10 packages use luma.gl alpha.11. Layer models delegate typed vector and | |
| constant-buffer binding and render-target format tracking to luma.gl. WebGPU | |
| layer draws restore dynamic render-pass parameters after drawing. Custom shader | |
| plugins use the renamed injection-target API; see the [upgrade guide](./upgrade-guide.md). |
Could we remove it, and say "deck.gl v10 uses luma.gl v10" in the v10 release notes instead?
Background
The v10 packages need the latest prereleases. luma.gl alpha.11 removes
RenderPass.withParameters; layer draws must preserve dynamic pass state through the replacement API.Change List
10.0.0-alpha.115.0.0-beta.5Verified: build, lint, 110 Node tests, DGGS browser tests; CI WebGL coverage/render, WebGPU, website, Python, and projection examples all pass.