ℹ️ INFO
See here for list of changes for PixiJS v8
https://github.com/pixijs/pixijs/releases/tag/v8.0.0-beta.6
https://github.com/pixijs/pixijs/releases/tag/v8.0.0-beta.4
https://github.com/pixijs/pixijs/releases/tag/v8.0.0-beta.2
https://github.com/pixijs/pixijs/releases/tag/v8.0.0-beta.0
💾 Download
Development Build:
Production Build:
- https://pixijs.download/v8.0.0-beta.7/pixi.min.js
- https://pixijs.download/v8.0.0-beta.7/pixi.min.mjs
Changed
🔥 Breaking
-
Breaking: remove the texture listener on sprite view by @GoodBoyDigital in #9803
This PR removes the dynamic addition and removal of update events for textures for performance optimization. When swapping textures on a sprite, it was observed that about 70% of the rendering time was spent on managing these listeners.With this change any modifications to a texture (e.g., changing the frame) will not be immediately reflected in sprites using that texture. To see the changes, developers will need to either:
- Reassign the texture to the sprite, or
- Call onUpdate() manually.
This trade-off is justified as developers are more likely to swap textures on sprites every frame than to modify existing textures—modifying textures frequently is a discouraged practice.
🎁 Added
- Added: use the pixi cdn to get transcoders by @GoodBoyDigital in #9776
- Added: filterArea by @GoodBoyDigital in #9781
- Added: standard powerPreference and forceFallbackAdapter settings by @achamas-playco in #9783
🐛 Fixed
- Fix: adapt KTXWorker messageHandlers by @YunYouJun in #9784
- Fix: offscreen canvas bug in events @achamas-playco in #9792
- Fix: text style update bug by @GoodBoyDigital in #9797
- Fix: premultiply alpha issue with the white texture by @GoodBoyDigital in #9806
🧹 Chores
- Chore: add more accessibility tests by @achamas-playco in #9790
- Chore: add Shader docs by @GoodBoyDigital @Zyie in #9789
- Chore: add docs for accessibility, app, and assets by @Zyie in #9788
- Chore: add docs for shared systems up to B by @GoodBoyDigital in #9794
- Chore: add application tests @achamas-playco in #9792
- added SDF visual test by @GoodBoyDigital in #9796
Full Changelog: v8.0.0-beta.6...v8.0.0-beta.7