Skip to content

chore: bump to loaders.gl@4.4#9972

Open
felixpalmer wants to merge 20 commits intomasterfrom
felix/bump-loaders-4.4
Open

chore: bump to loaders.gl@4.4#9972
felixpalmer wants to merge 20 commits intomasterfrom
felix/bump-loaders-4.4

Conversation

@felixpalmer
Copy link
Collaborator

@felixpalmer felixpalmer commented Jan 30, 2026

Background

Pulls in alpha release of loaders.gl@4.4 for testing. All website examples work (Tiles 3D Point Cloud example is broken due to auth issue)

Change List

  • Fix up types
  • Use WMSImageSource
  • Migrate to new loadOptions config, e.g. 'core.fetch': ...

package.json Outdated
"resolutions": {
"wgsl_reflect": "^1.2.0"
"wgsl_reflect": "^1.2.0",
"@loaders.gl/core": "4.4.0-alpha.12"
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Adding this otherwise luma.gl/gltf insists on pulling in loaders.gl@4.2 packages causing errors. Once 4.4 is fully released, this can be removed

@felixpalmer felixpalmer requested a review from ibgreen January 30, 2026 15:41
@coveralls
Copy link

coveralls commented Jan 30, 2026

Coverage Status

coverage: 91.0% (-0.006%) from 91.006%
when pulling 81728b3 on felix/bump-loaders-4.4
into 1ecaec5 on master.

@chrisgervang chrisgervang added this to the v9.3 milestone Feb 2, 2026
@chrisgervang chrisgervang mentioned this pull request Feb 3, 2026
12 tasks
@markmasry
Copy link

Mentioning here in case it's related, but the Tiles 3D Point Cloud example seems to be broken: https://deck.gl/examples/tile-3d-layer

Copy link
Collaborator

@charlieforward9 charlieforward9 left a comment

Choose a reason for hiding this comment

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

#10012 was just version bumps - #10013 was the fixes for the errors in the CI of the former - but it was unfinished. It seems like youre further along here. So ill close my PR's in favor of this one.

@charlieforward9
Copy link
Collaborator

I've been testing the point-cloud example locally and can't get it to render — just a beige screen with no console errors.

What I've tried:

  • Switched LASWorkerLoaderLASLoader (since LASWorkerLoader no longer has parse/parseSync in v4.4)
  • Fixed @loaders.gl/core version mismatch in the example (was resolving to 4.3.4 while @loaders.gl/las was 4.4.0-alpha.13) by adding @loaders.gl/core as a direct dep
  • Disabled workers via loadOptions: {core: {worker: false}}

In all cases the .laz file fetches successfully (200, 1.6MB) and the worker JS loads, but data never reaches onDataLoad. The promise from load() seems to never resolve.

Any ideas on what's needed to get parsing working with the new loader?

@felixpalmer
Copy link
Collaborator Author

@charlieforward9 thanks for the heads-up, see: visgl/loaders.gl#3297

@charlieforward9
Copy link
Collaborator

Mentioning here in case it's related, but the Tiles 3D Point Cloud example seems to be broken: https://deck.gl/examples/tile-3d-layer

GH page previews?

@charlieforward9
Copy link
Collaborator

charlieforward9 commented Feb 20, 2026

Im setting up a draft workflow to help us validate the website quicker. #10019

EDIT #10022

Should we also add some test cases to make sure the screen doesnt show up straight beige, golden images as you called them before?

@felixpalmer felixpalmer changed the title [WIP] bump to loaders.gl@4.4 chore: bump to loaders.gl@4.4 Feb 26, 2026
Copy link
Collaborator

@ibgreen ibgreen left a comment

Choose a reason for hiding this comment

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

Thanks for doing this upgrade. A few concerns noted.

@charlieforward9 I think you also did an upgrade attempt, maybe look at my. comments below and compare with approach you took?

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.

[Bug] Vulnerable transitive dependency: fast-xml-parser@4.5.3 via loaders.gl

6 participants