Skip to content

[WIP] bump to loaders.gl@4.4#9972

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

[WIP] bump to loaders.gl@4.4#9972
felixpalmer wants to merge 4 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

It mostly works, the only broken website example seems to be the PointCloudLayer, due to the LASLoader

In the console I'm seeing:

loaders.gl: Top level loader option 'fetch' no longer supported, use 'core.fetch'
loaders.gl: Top level loader option 'worker' no longer supported, use 'core.worker'

That's quite a change, is this intended?

Change List

  • Fix up types
  • Use WMSImageSource

"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.066% (+0.002%) from 91.064%
when pulling f5dde3c on felix/bump-loaders-4.4
into 224e1b6 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?

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.

5 participants

Comments