| Name | Modified | Size | Downloads / 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
- "JS OS Awards Trophy" by @reczkok in https://github.com/software-mansion/TypeGPU/pull/2601, https://github.com/software-mansion/TypeGPU/pull/2602
- "Fluid with atomics" (remake) by @reczkok in https://github.com/software-mansion/TypeGPU/pull/2474
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
- fix: Handle
NaNandInfinityby @aleksanderkatan in https://github.com/software-mansion/TypeGPU/pull/2572 - chore: Don't name externals in mergeExternals by @aleksanderkatan in https://github.com/software-mansion/TypeGPU/pull/2616
- fix: Throw descriptive error when recursion is detected in shellless function by @cieplypolar in https://github.com/software-mansion/TypeGPU/pull/2627
- fix: Make numeric names valid by @aleksanderkatan in https://github.com/software-mansion/TypeGPU/pull/2598
- fix: Recommend tgpu.slot in accessor out-of-codegen errors by @pullfrog[bot] in https://github.com/software-mansion/TypeGPU/pull/2613
- fix: Forbid multiple
$usescalls by @aleksanderkatan in https://github.com/software-mansion/TypeGPU/pull/2621
📖 Docs / DX
- docs: Improve dev server startup time by @iwoplaza in https://github.com/software-mansion/TypeGPU/pull/2630
- docs: Lazy loading examples by @iwoplaza in https://github.com/software-mansion/TypeGPU/pull/2600
- docs: Use a more compatible API path for Genetic Racing example by @reczkok in https://github.com/software-mansion/TypeGPU/pull/2634
- docs: Use
f16and better subgroup shader in MNIST example by @reczkok in https://github.com/software-mansion/TypeGPU/pull/2412 - chore: Update tree shaking tests by @aleksanderkatan in https://github.com/software-mansion/TypeGPU/pull/2612
- chore: Skip dist/ typecheck by @iwoplaza in https://github.com/software-mansion/TypeGPU/pull/2636
- chore: React prerendering test app by @cieplypolar in https://github.com/software-mansion/TypeGPU/pull/2597
- docs: Scrollable examples layout on mobile by @cieplypolar in https://github.com/software-mansion/TypeGPU/pull/2581
You can read more in the full changelog.
@typegpu/cli v0.11.3
The npx typegpu@latest CLI received a few improvements:
- feat(@typegpu/cli): Add non-interactive mode to CLI by @reczkok in https://github.com/software-mansion/TypeGPU/pull/2588
- chore(@typegpu/cli): Minor improvements by @cieplypolar in https://github.com/software-mansion/TypeGPU/pull/2583
@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.
- fix(unplugin-typegpu): Transform preserves exports by @cieplypolar in https://github.com/software-mansion/TypeGPU/pull/2606
🧪 Experimental / Unreleased
- fix(@typegpu/geometry): Improve line rendering APIs by @deluksic in https://github.com/software-mansion/TypeGPU/pull/2470
New Contributors
- @pullfrog[bot] made their first contribution in https://github.com/software-mansion/TypeGPU/pull/2609
Full Changelog: https://github.com/software-mansion/TypeGPU/compare/v0.11.8...v0.11.9