v8.15.0
💾 Download
Installation:
npm install pixi.js@8.15.0
Development Build:
- https://cdn.jsdelivr.net/npm/pixi.js@8.15.0/dist/pixi.js
- https://cdn.jsdelivr.net/npm/pixi.js@8.15.0/dist/pixi.mjs
Production Build:
- https://cdn.jsdelivr.net/npm/pixi.js@8.15.0/dist/pixi.min.js
- https://cdn.jsdelivr.net/npm/pixi.js@8.15.0/dist/pixi.min.mjs
Documentation:
- https://pixijs.download/v8.15.0/docs/index.html
Changed
https://github.com/pixijs/pixijs/compare/v8.14.3...v8.15.0
🎁 Added
- feat: add unified GC by @Zyie in https://github.com/pixijs/pixijs/pull/11786
- Deprecated
TextureGCSystem/RenderableGCSystemin favor ofGCSystem.// old app.init({ textureGCActive: true, textureGCMaxIdle: 60000, textureGCCheckCountMax: 30000, renderableGCActive: true, renderableGCMaxUnusedTime: 60000, renderableGCFrequency: 30000, }); // new app.init({ gcActive: true, gcMaxUnusedTime: 60000, gcFrequency: 30000, }); - feat: Adds auto-GC option to view containers by @Zyie in https://github.com/pixijs/pixijs/pull/11810
- Disable automatic garbage collection for a node.
new Sprite({ autoGarbageCollect: false, });
- Disable automatic garbage collection for a node.
- Deprecated
- feat: add unload method to reset GPU data by @Zyie in https://github.com/pixijs/pixijs/pull/11762
-
You can now manually unload a node by calling its
unloadmethod. This releases any GPU resources associated with the node. The node can still be used afterward—it will be re-created automatically when needed.sprite.unload(); text.unload(); mesh.unload(); -
feat: move GPU context storage to GraphicsContext._gpuData by @Zyie in https://github.com/pixijs/pixijs/pull/11763
-
feat: move GPU data to Geometry._gpuData by @Zyie in https://github.com/pixijs/pixijs/pull/11772
-
feat: move GPUData to TextureSource by @Zyie in https://github.com/pixijs/pixijs/pull/11774
-
feat: move GL/GPU buffer storage to Buffer._gpuData and manage buffers list by @Zyie in https://github.com/pixijs/pixijs/pull/11775
-
feat: add descriptive names GCManagedHash by @Zyie in https://github.com/pixijs/pixijs/pull/11811
-
feat: update text GPU lifecycle and resolution updates by @Zyie in https://github.com/pixijs/pixijs/pull/11781
-
- feat: ParticleContainer type improvements by @unstoppablecarl in https://github.com/pixijs/pixijs/pull/11708
- feat: allow RenderTexture.create to accept dynamic option by @seanzhaoxiaoxiao in https://github.com/pixijs/pixijs/pull/11767
🐛 Fixed
- fix: SVGParser.ts Allow negative values for Polygon(s)/polyline(s) by @Raukie in https://github.com/pixijs/pixijs/pull/11771
- fix: prevent double returning of batches to pool by @GoodBoyDigital in https://github.com/pixijs/pixijs/pull/11780
- fix: Add error handling for message processing in KTX worker by @zardoy in https://github.com/pixijs/pixijs/pull/11768
- fix: RenderTexture ignoring format setting (WebGL) by @laino in https://github.com/pixijs/pixijs/pull/11777
- fix: Add Multiple Render Targets (MRT) support by @GoodBoyDigital in https://github.com/pixijs/pixijs/pull/11792
- fix: correct viewport Y calculation for root render targets by @GoodBoyDigital in https://github.com/pixijs/pixijs/pull/11797
- fix: garbage collection for bitmap text by @Zyie in https://github.com/pixijs/pixijs/pull/11809
🧹 Chores
- chore: Improve JSDoc documentation across modules by @Zyie in https://github.com/pixijs/pixijs/pull/11812
- chore: refactors CI workflows for trusted publishing by @Zyie in https://github.com/pixijs/pixijs/pull/11820
New Contributors
- @Raukie made their first contribution in https://github.com/pixijs/pixijs/pull/11771
- @seanzhaoxiaoxiao made their first contribution in https://github.com/pixijs/pixijs/pull/11767
- @zardoy made their first contribution in https://github.com/pixijs/pixijs/pull/11768