unstale

npm / vgpu

vgpu

What changed in vgpu 0.0 to 0.6, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

16 breaking56 new APIs and options3 performance5 behavior and defaults3 tooling21 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

vgpu 0.618 changes

Breaking changes 1

  • Preparation must be awaited before entering synchronous frame callbacks.

    0.6.0release notes

New APIs and options 9

  • Canvas surfaces support optional depth/MSAA.

    0.6.0release notes

  • canvasMouseTracker exposes normalized and drawing-buffer pixel coordinates explicitly.

    0.6.0release notes

  • Frame-owned compute passes preserve compute/render ordering and capture managed uniform values per operation.

    0.6.0release notes

  • Device loss has an explicit gpu.lost notification.

    0.6.0release notes

  • Pipelines can be prepared outside frames.

    0.6.0release notes

  • Dynamic shaders use prepareShader() for shader preparation.

    0.6.0release notes

  • Scene composition uses explicit transforms, camera state, hierarchy evaluation and fixed-capacity instances; applications own shading, lights, input handling and scheduling.

    0.6.0release notes

  • Prepared ShaderSource v2 artifacts move WGSL reflection into the build; dynamic shaders use prepareShader().

    0.6.0release notes

  • Next.js Turbopack integrations gain a rule with compiler-aware persistent caches.

    0.6.0release notes

Performance 2

Behavior and default changes 1

  • Sampled intermediate work uses offscreen targets.

    0.6.0release notes

Fixes and other changes 5

  • Bundle ownership has a clearer contract and diagnostics.

    0.6.0release notes

  • Consumer lifetimes have a clearer contract and diagnostics.

    0.6.0release notes

  • A multi-binding Draw.set({ a, b }) can partially apply before throwing; repair bindings and explicitly re-record affected bundles before replay.

    0.6.0release notes

  • Resource binding validation has a clearer contract and diagnostics.

    0.6.0release notes

  • Odd-length Uint16 index uploads are accepted while logical draw/write bounds are retained.

    0.6.0release notes

vgpu 0.512 changes

Breaking changes 2

  • Allocations are immutable across core and public APIs.

    0.5.0release notes

  • Native tooling requires an Apple Silicon build host, Node.js 22, and Xcode with its Metal compiler component; its worker is ad hoc signed and not notarized.

    0.5.0release notes

New APIs and options 3

  • Authored entry-point metadata is available.

    0.5.0release notes

  • Texture shapes and usage can now be specified explicitly across core and public APIs.

    0.5.0release notes

  • Readback now supports mip and region operations across core and public APIs.

    0.5.0release notes

Behavior and default changes 3

  • WGSL host layouts are intrinsic.

    0.5.0release notes

  • Binding values are strictly JavaScript-owned.

    0.5.0release notes

  • Vulkan is now the default for Node/Linux, including hosts with X11 or Wayland.

    0.5.0release notes

Tooling 1

  • Optional beta tooling generates Swift/Metal packages and bundles a pinned, authenticated Tint worker at installation.

    0.5.0release notes

Fixes and other changes 3

vgpu 0.43 changes

Breaking changes 2

  • Prereleases now use the canary channel, changing how developers select prerelease versions.

    0.4.1release notes

  • frame(gpu, cb) now submits when the callback returns and cancels if it throws.

    0.4.0release notes

New APIs and options 1

  • Adds an adapter for using vgpu with Three.js TSL.

    0.4.0release notes

vgpu 0.314 changes

Breaking changes 3

  • Publishes all fixed-group packages to the latest dist-tag, affecting which release package managers select by default.

    0.3.1release notes

  • EntryPointInfo reflection now returns plain data.

    0.3.0release notes

  • Non-ASCII identifiers are rejected with clear diagnostics.

    0.3.0release notes

New APIs and options 5

  • Adds a hosted HTTP MCP server for VGPU docs and verified examples.

    0.3.1release notes

  • Adds a local STDIO MCP server for VGPU docs and verified examples.

    0.3.1release notes

  • Shader validation now has off, auto, and require modes; bundler loaders never validate WGSL.

    0.3.0release notes

  • This is the validation gate for requiring WGSL validation.

    0.3.0release notes

  • The runtime package is now reachable from CommonJS.

    0.3.0release notes

Behavior and default changes 1

Fixes and other changes 5

  • Failed WGSL imports remain watched so they can recover.

    0.3.1release notes

  • A WGSL compiler fix addresses comparison-operator scope activation.

    0.3.0release notes

  • A WGSL compiler fix addresses leading-dot float literals.

    0.3.0release notes

  • A WGSL compiler fix addresses module-scope shadowing.

    0.3.0release notes

  • adapter-node now provides a software-renderer notice.

    0.3.0release notes

vgpu 0.214 changes

Breaking changes 5

  • clearColor is now per target.

    0.2.0release notes

  • Use the free function frame(gpu, cb) instead of the gpu.* facade; apps pay only for what they import.

    0.2.0release notes

  • Use the free function geometry(gpu, …) instead of the gpu.* facade; the release also renames Mesh to Geometry.

    0.2.0release notes

  • The gpu.* facade is gone; use the free functions instead.

    0.2.0release notes

  • Mesh is renamed to Geometry.

    0.2.0release notes

New APIs and options 9

  • Use the free function clock(gpu) instead of the gpu.* facade; external tickers can advance it.

    0.2.0release notes

  • Supports external tickers via clock(gpu).advance().

    0.2.0release notes

  • Use the free function draw(gpu, …) instead of the gpu.* facade; apps pay only for what they import.

    0.2.0release notes

  • Use the free function effect(gpu, shader) instead of the gpu.* facade; apps pay only for what they import.

    0.2.0release notes

  • Adds frame.cancel().

    0.2.0release notes

  • Adds Perlin noise and fbm variants with guaranteed (-1,1) ranges.

    0.2.0release notes

  • Adds simplex noise and fbm variants with guaranteed (-1,1) ranges.

    0.2.0release notes

  • The package now ships with vgpu and provides Perlin and simplex noise, including fbm variants, with guaranteed (-1,1) ranges.

    0.2.0release notes

  • WGSL files import as typed modules in webpack, Vite, Next.js, and plain Node; third-party and workspace WGSL packages resolve across listed package-manager layouts.

    0.2.0release notes

vgpu 0.120 changes

Breaking changes 3

  • The async API change makes draw() return void.

    0.1.0release notes

  • Removes the old public API surface in the vgpu rewrite.

    0.1.0release notes

  • Introduces ShaderSource as part of the new public API.

    0.1.0release notes

New APIs and options 12

Tooling 1

  • Adds diagnostics through vgpu doctor, helping developers inspect their vgpu setup.

    0.1.5release notes

Fixes and other changes 4

  • Fixes the UV orientation of injected effects.

    0.1.4release notes

  • Surface-frame and pipeline-layout errors are now structured.

    0.1.4release notes

  • adapter-node now supports display-free Vulkan adapters.

    0.1.3release notes

  • The CLI bin was restored and its link made stable.

    0.1.1release notes

vgpu 0.023 changes

New APIs and options 17

Performance 1

  • WGSL declaration dead-code elimination was added.

    0.0.6release notes

Tooling 1

  • A docs CLI was added for working with vgpu documentation.

    0.0.6release notes

Fixes and other changes 4

  • Fixes handling of optional offsets in RenderPass setBindGroup.

    0.0.7release notes

  • Minification now preserves signed exponent literals.

    0.0.5release notes

  • The WGSL loader's HMR plumbing was made production-grade.

    0.0.3release notes

  • The resolver stays fresh across shader edits.

    0.0.3release notes