Skip to content

chore(graphics): update @webgpu/types to 0.1.70 and migrate deprecated type names#8912

Merged
mvaligursky merged 1 commit into
mainfrom
mv-webgpu-types-update
Jun 16, 2026
Merged

chore(graphics): update @webgpu/types to 0.1.70 and migrate deprecated type names#8912
mvaligursky merged 1 commit into
mainfrom
mv-webgpu-types-update

Conversation

@mvaligursky

Copy link
Copy Markdown
Contributor

Updates @webgpu/types to the latest (0.1.70) and migrates WebGPU JSDoc type annotations off the names the package now marks as @deprecated.

Changes:

  • Bump @webgpu/types from ^0.1.66 to ^0.1.70 (package.json + lockfile)
  • Replace deprecated WebGPU type names in JSDoc annotations with their current spec equivalents:
    • GPUImageCopyTextureGPUTexelCopyTextureInfo (webgpu-graphics-device.js ×4, webgpu-texture.js ×1)
    • GPUImageDataLayoutGPUTexelCopyBufferLayout (webgpu-texture.js ×1)

These are type-only (JSDoc) changes with no runtime impact — the underlying WebGPU API methods (copyTextureToTexture, writeTexture, etc.) are unchanged. The renamed types are exact aliases of the old ones, so behavior is identical.

…d type names

Updates @webgpu/types to the latest (0.1.70) and migrates WebGPU JSDoc type
annotations off the names the package now marks as @deprecated.

- Bump @webgpu/types from ^0.1.66 to ^0.1.70 (package.json + lockfile)
- Replace GPUImageCopyTexture with GPUTexelCopyTextureInfo
- Replace GPUImageDataLayout with GPUTexelCopyBufferLayout

Type-only (JSDoc) changes with no runtime impact; the renamed types are exact
aliases of the old ones.
@mvaligursky mvaligursky self-assigned this Jun 16, 2026
@mvaligursky mvaligursky added the area: graphics Graphics related issue label Jun 16, 2026
@mvaligursky mvaligursky merged commit 2d4d390 into main Jun 16, 2026
9 checks passed
@mvaligursky mvaligursky deleted the mv-webgpu-types-update branch June 16, 2026 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: graphics Graphics related issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant