Skip to content

chore: upgrade luma.gl alpha.11, math.gl and loaders.gl beta.5 - #11072

Merged
ibgreen merged 2 commits into
masterfrom
upgrade-visgl-prereleases
Nov 8, 2026
Merged

ibgreen merged 2 commits into
masterfrom
upgrade-visgl-prereleases

Conversation

@ibgreen

@ibgreen ibgreen commented Nov 8, 2026 •

Copy link
Copy Markdown
Collaborator

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

  • Upgrade luma.gl to 10.0.0-alpha.11
  • Upgrade math.gl and loaders.gl to 5.0.0-beta.5
  • Synchronize examples, peers, website dependencies, and lockfiles
  • Restore render-pass parameters after successful and throwing draws
  • Unit tests cover successful, extension-failing, and layer-failing draws
  • Documentation and upgrade guide

Verified: build, lint, 110 Node tests, DGGS browser tests; CI WebGL coverage/render, WebGPU, website, Python, and projection examples all pass.

@greptile-apps

greptile-apps Bot commented Nov 8, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] No actionable issue was found that blocks merging.

Summary

Updates luma.gl to alpha.11 and math.gl and loaders.gl to beta.5 across packages, examples, and the website.

  • WebGPU layer draws restore render-pass settings after callbacks finish.
  • Deck.gl packages and their examples use the newer luma.gl, math.gl, and loaders.gl releases.

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

@coveralls

coveralls commented Nov 8, 2026 •

Copy link
Copy Markdown

Coverage Status

coverage: 84.391% (+0.01%) from 84.379% — upgrade-visgl-prereleases into master

@ibgreen
ibgreen merged commit 2c2a2fd into master Nov 8, 2026
9 checks passed
@ibgreen
ibgreen deleted the upgrade-visgl-prereleases branch November 8, 2026 19:42

@chrisgervang chrisgervang left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread docs/upgrade-guide.md
instead of the former descriptor's `buffer`, `offset`, and `stride` fields.

### luma.gl v10 alpha.10
### luma.gl v10 alpha.11

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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).

Suggested change
### 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().

Comment thread docs/upgrade-guide.md
Comment on lines +77 to +81
`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.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2: No deck.gl user can be affected by this entry.

  • RenderPass.withParameters is 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.
Suggested change
`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.

Comment thread docs/upgrade-guide.md
Comment on lines 82 to +84
### 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:

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Non-blocking: Same pinning: 5.0.0-beta.5 changes on each bump.

Suggested 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:
### 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:

Comment thread docs/whats-new.md
Comment on lines 27 to 33

### 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).

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Suggested change
### 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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants