v8.13.0
๐พ Download
Installation:
npm install pixi.js@8.13.0
Development Build:
- https://cdn.jsdelivr.net/npm/pixi.js@8.13.0/dist/pixi.js
- https://cdn.jsdelivr.net/npm/pixi.js@8.13.0/dist/pixi.mjs
Production Build:
- https://cdn.jsdelivr.net/npm/pixi.js@8.13.0/dist/pixi.min.js
- https://cdn.jsdelivr.net/npm/pixi.js@8.13.0/dist/pixi.min.mjs
Documentation:
- https://pixijs.download/v8.13.0/docs/index.html
Changed
https://github.com/pixijs/pixi.js/compare/v8.12.0...v8.13.0
๐ Added
- feat: support svg fill rule subpath rendering by @creativoma in https://github.com/pixijs/pixijs/pull/11604
- feat: simplified caching for text by @Zyie in https://github.com/pixijs/pixijs/pull/11505
- Text that shares the same
TextStylewill now share the same texture
const textStyle = new PIXI.TextStyle({ fontSize: 24, fontFamily: "Verdana", fill: 0xffffff }); const COUNT = 25000; for (let i = 0; i < COUNT; i++) { const bunny = new Text({ text: 'hello', style: textStyle }); bunny.x = (i % 100) * 105; bunny.y = Math.floor(i / 100) * 25; container.addChild(bunny); } - Text that shares the same
- feat: add LRU cache for text measuring by @Zyie in https://github.com/pixijs/pixijs/pull/11644
- feat: suppression and colorization options for deprecation message by @mayakwd in https://github.com/pixijs/pixijs/pull/11617
import { deprecation } from 'pixi.js'; // Supresses deprecation warnings deprecation.quiet = true; // Removes color formatting from deprecation messages deprecation.noColor = true;
๐ Fixed
- fix: destroy texture during ViewSystem cleanup to prevent resource leaks by @mayakwd in https://github.com/pixijs/pixijs/pull/11614
- fix: stage visible false no effect by @creativoma in https://github.com/pixijs/pixijs/pull/11615
- fix: reset bounds dirty flag in GraphicsContext to prevent recalculations on each access by @mayakwd in https://github.com/pixijs/pixijs/pull/11616
- fix: improve error message for array uniform syntax by @creativoma in https://github.com/pixijs/pixijs/pull/11602
- fix: Fix incompatible
parenttype onIFederatedContainerby @Mysak0CZ in https://github.com/pixijs/pixijs/pull/11603 - fix: handle uniform buffer bindings check in WebGL1 gracefully (#11458) by @mayakwd in https://github.com/pixijs/pixijs/pull/11608
- fix: avoid using createObjectURL by @UlyssesZh in https://github.com/pixijs/pixijs/pull/11599
- fix: take in account uRound inside particles shader (webgpu) by @steel97 in https://github.com/pixijs/pixijs/pull/11624
- fix:
onRendertype should includenullby @bee1an in https://github.com/pixijs/pixijs/pull/11627 - fix: Advanced blending modes within render groups, cached as texture render groups by @mayakwd in https://github.com/pixijs/pixijs/pull/11607
- fix: ignore empty renderable bounds (#11589) by @mayakwd in https://github.com/pixijs/pixijs/pull/11611
- fix: preserve HTMLText texture until the new texture generation completes by @mayakwd in https://github.com/pixijs/pixijs/pull/11621
- fix: applying nextLine to BitmapTextLayout so it renders newlines properly by @dusanradivojevic in https://github.com/pixijs/pixijs/pull/11605
- fix: allow canvas source options for gif asset by @bigtimebuddy in https://github.com/pixijs/pixijs/pull/11635
- fix: fix multiple memory leaks in Text by @Tianj0o in https://github.com/pixijs/pixijs/pull/11619
- fix: svg edges trimmed decimal resolutions by @creativoma in https://github.com/pixijs/pixijs/pull/11632
- fix: make text filters immutable by @Zyie in https://github.com/pixijs/pixijs/pull/11645
- fix: cast index type to number as it required by setVertexBuffer by @katmai7 in https://github.com/pixijs/pixijs/pull/11650
- fix: restore
buildGeometryFromPathfunctionality by @mayakwd in https://github.com/pixijs/pixijs/pull/11623 - fix: supports husky to run without PATH by @bigtimebuddy in https://github.com/pixijs/pixijs/pull/11638
- fix: unsafe-eval particle update polyfill by @westarne in https://github.com/pixijs/pixijs/pull/11643
- fix: memory leaks in renderer systems by @Zyie in https://github.com/pixijs/pixijs/pull/11581
๐งน Chores
- chore: add favicon to docs by @bigtimebuddy in https://github.com/pixijs/pixijs/pull/11637
- chore: conditionally disable StackBlitz publish workflow on non-origin repositories by @mayakwd in https://github.com/pixijs/pixijs/pull/11618
- chore: add lint rule to prevent using
documentandImageby @UlyssesZh in https://github.com/pixijs/pixijs/pull/11600 - chore: add time units documentation to Ticker class by @creativoma in https://github.com/pixijs/pixijs/pull/11601
New Contributors
- @creativoma made their first contribution in https://github.com/pixijs/pixijs/pull/11615
- @UlyssesZh made their first contribution in https://github.com/pixijs/pixijs/pull/11600
- @steel97 made their first contribution in https://github.com/pixijs/pixijs/pull/11624
- @bee1an made their first contribution in https://github.com/pixijs/pixijs/pull/11627
- @dusanradivojevic made their first contribution in https://github.com/pixijs/pixijs/pull/11605
- @westarne made their first contribution in https://github.com/pixijs/pixijs/pull/11643
Full Changelog: https://github.com/pixijs/pixijs/compare/v8.12.0...v8.13.0