Download Latest Version typegpu v0.11.9, @typegpu_cli v0.11.3, @typegpu_react v0.11.2 and unplugin-typegpu v0.11.6 source code.tar.gz (204.2 MB)
Email in envelope

Get an email when there's a new version of TypeGPU

Home / v0.11.9
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2026-06-25 4.8 kB
typegpu v0.11.9, @typegpu_cli v0.11.3, @typegpu_react v0.11.2 and unplugin-typegpu v0.11.6 source code.tar.gz 2026-06-25 204.2 MB
typegpu v0.11.9, @typegpu_cli v0.11.3, @typegpu_react v0.11.2 and unplugin-typegpu v0.11.6 source code.zip 2026-06-25 204.9 MB
Totals: 3 Items   409.1 MB 1

This release includes typegpu v0.11.9, @typegpu/cli v0.11.3, @typegpu/react v0.11.2 and unplugin-typegpu v0.11.6

🎨 Examples

typegpu v0.11.9

Mixing structs of similar shapes was previously silently accepted and used to generate invalid WGSL. This is now handled correctly:

:::ts
const props = {
  pos: d.vec3f,
  vel: d.vec3f,
} as const;

// Same props, different struct definitions
const Boid = d.struct(props);
const Bird = d.struct(props);

function main() {
  'use gpu';
  const boid = Boid();
  const clone = Boid(boid);
  // ^ let clone = boid;
  const bird = Bird(boid);
  // ^ let bird = Bird(boid.pos, boid.vel);
}

feat: Inter struct casts by @aleksanderkatan in https://github.com/software-mansion/TypeGPU/pull/2451

In addition, inequalities with comptime-known operands are now precomputed (>=, <=, >, <, !==), which leads to more dead-code elimination and optimisation opportunities.

feat: Prune comptime known conditions for inequalities (>=, <=, >, <, !==) by @pullfrog[bot] and @reczkok in https://github.com/software-mansion/TypeGPU/pull/2624

🗿 Stability / Fixes

📖 Docs / DX

You can read more in the full changelog.

@typegpu/cli v0.11.3

The npx typegpu@latest CLI received a few improvements:

@typegpu/react v0.11.2

Using @typegpu/react in frameworks like Next.js or Waku just got a lot more reliable and easier to setup, with better handling of Suspense and SSR.

fix(@typegpu/react): Better SSR handling by @iwoplaza in https://github.com/software-mansion/TypeGPU/pull/2651

unplugin-typegpu v0.11.6

This release fixes a limitation of our unplugin-typegpu/babel plugin, which could in certain conditions strip 'use gpu' function definitions of their export keywords.

🧪 Experimental / Unreleased

New Contributors

Full Changelog: https://github.com/software-mansion/TypeGPU/compare/v0.11.8...v0.11.9

Source: README.md, updated 2026-06-25