Releases: pixijs/pixijs
v8.0.0-beta.10
ℹ️ INFO
See here for list of changes for PixiJS v8
https://github.com/pixijs/pixijs/releases/tag/v8.0.0-beta.9
https://github.com/pixijs/pixijs/releases/tag/v8.0.0-beta.8
https://github.com/pixijs/pixijs/releases/tag/v8.0.0-beta.7
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.10/pixi.min.js
- https://pixijs.download/v8.0.0-beta.10/pixi.min.mjs
Changed
v8.0.0-beta.9...v8.0.0-beta.10
🐛 Fixed
- Fix: graphics path transformation bug by @GoodBoyDigital in #9879
v8.0.0-beta.9
ℹ️ INFO
See here for list of changes for PixiJS v8
https://github.com/pixijs/pixijs/releases/tag/v8.0.0-beta.8
https://github.com/pixijs/pixijs/releases/tag/v8.0.0-beta.7
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.9/pixi.min.js
- https://pixijs.download/v8.0.0-beta.9/pixi.min.mjs
Changed
🔥 Breaking
- Breaking Change: Refactor render-target-system by @GoodBoyDigital in #9872
- Note: only a breaking change from other v8 versions
- Breaking Change: standardise defaultOptions name by @Zyie in #9863
- Breaking Change: removes deprecations and manifest as object by @Zyie in #9865
- Breaking Change: only destroy context by default if context is owned by @GoodBoyDigital in #9870
- The new default means that when you destroy a
Graphics
if the context was created by that graphics object it will also be destroyed. This should reduce the number of memory leaks users experience.
- The new default means that when you destroy a
🎁 Added
🐛 Fixed
- Fix: bitmap text not being installed correctly by @GoodBoyDigital in #9861
- Fix: allowing multiple graphics holes on one graphic by @GoodBoyDigital in #9864
- Fix: background alpha not being set correctly by @GoodBoyDigital in #9839
- Fix: advanced blend mode file paths and fix filter resolution bug by @GoodBoyDigital in #9869
- Fix: issue with using alpha on a mask by @GoodBoyDigital in #9850
- Fix: Reset childrenRenderablesToUpdate index between renders by @GoodBoyDigital in #9874
- Fix: ensure that graphics commands continue from last point by @achamas-playco in #9876
- Fix: offscreen canvas not working with render targets by @Zyie in #9866
🧹 Chores
- Chore: add ticker tests by @achamas-playco in #9820
- Chore: add tests sprite by @achamas-playco in #9826
- Chore: add system runner tests by @achamas-playco in #9827
- Chore: add mesh tests by @achamas-playco in #9832
- Chore: add graphics tests by @achamas-playco in #9854
- Chore: add docs for spritesheet and ticker by @Zyie in #9817
- Chore: add docs for utils by @Zyie in #9823
- Chore: add docs for instructions by @GoodBoyDigital in #9833
- Chore: add docs for scene objects by @Zyie in #9841
v8.0.0-beta.8
ℹ️ INFO
See here for list of changes for PixiJS v8
https://github.com/pixijs/pixijs/releases/tag/v8.0.0-beta.7
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.8/pixi.min.js
- https://pixijs.download/v8.0.0-beta.8/pixi.min.mjs
Changed
🔥 Breaking
- Breaking: set default alpha mode to
premultiply-alpha-on-upload
by @GoodBoyDigital in #9821
This is a breaking change for anyone using v8, this change now matches how v7 handles premultiply alpha - Breaking: rename font parsers by @GoodBoyDigital in #9834
TextFormat
->bitmapFontTextParser
XMLStringFormat
->bitmapFontXMLStringParser
XMLFormat
->bitmapFontXMLParser
🎁 Added
- Added: add
setDataWithSize
toBuffer
by @GoodBoyDigital in #9818 - Added: optimisations for batcher by @GoodBoyDigital in #9824
- Added: support mask to null by @yungzhu in #9822
🐛 Fixed
- Fix: graphics transform bug by @GoodBoyDigital in #9819
- Fix: issue with font format not parsing if only id is provided by @GoodBoyDigital in #9808
- Fix: crazy WebGPU buffer switching with large graphics by @GoodBoyDigital in #9815
- Fix: xml parser for text by @GoodBoyDigital in #9825
🧹 Chores
- Chore: docs for geometry by @GoodBoyDigital in #9805
- Chore: docs for maths classes by @Zyie in #9813
- Chore: docs for maths classes by @Zyie in #9813
- Chore: docs for color and environment by @Zyie in #9795
- Chore: docs for events, filters, and extensions by @Zyie in #9804
- Chore: add extensions tests by @achamas-playco in #9810
- Chore: add filter tests by @achamas-playco in #9811
- Chore: add container mixin tests by @achamas-playco in #9812
- Chore: add asset tests by @achamas-playco in #9802
New Contributors
v8.0.0-beta.7
ℹ️ 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
v8.0.0-beta.6
ℹ️ INFO
See here for list of changes for PixiJS v8
https://github.com/pixijs/pixijs/releases/tag/v8.0.0-beta.0
💾 Download
Development Build:
Production Build:
- https://pixijs.download/v8.0.0-beta.6/pixi.min.js
- https://pixijs.download/v8.0.0-beta.6/pixi.min.mjs
Changed
🔥 Breaking
- Breaking: Renamed
pixi.js/blendModes
topixi.js/advanced-blend-modes
🎁 Added
- Added: Add support for Webworker environment by @Zyie in #9757
import { DomAdapter, WebworkerAdapter, autodetectRenderer } from "pixi.js"; DomAdapter.set(WebworkerAdapter); await autodetectRenderer(); // sets up webworker environment
- Added: Compressed textures support KTX/DDS/Basis by @GoodBoyDigital @Zyie in #9768
🐛 Fixed
- Fix: SVG path parsing logic to close paths properly by @achamas-playco in #9764
- Fix: Issue with resolving preferred formats by @GoodBoyDigital in #9760
- Fix: blend mode not working for non-premultiplied-alpha by @GoodBoyDigital in #9763
Full Changelog: v8.0.0-beta.5...v8.0.0-beta.6
v7.3.2
💾 Download
Development Build:
- https://pixijs.download/v7.3.2/pixi.js
- https://pixijs.download/v7.3.2/pixi.mjs
- https://pixijs.download/v7.3.2/pixi-legacy.js
- https://pixijs.download/v7.3.2/pixi-legacy.mjs
- https://pixijs.download/v7.3.2/webworker.js
- https://pixijs.download/v7.3.2/webworker.mjs
Production Build:
- https://pixijs.download/v7.3.2/pixi.min.js
- https://pixijs.download/v7.3.2/pixi.min.mjs
- https://pixijs.download/v7.3.2/pixi-legacy.min.js
- https://pixijs.download/v7.3.2/pixi-legacy.min.mjs
- https://pixijs.download/v7.3.2/webworker.min.js
- https://pixijs.download/v7.3.2/webworker.min.mjs
Documentation:
Changed
🐛 Fixed
- Fix: Bump colord required version (#9726) @bigtimebuddy
- Fix: loadWebFont: Don't encodeURI if already valid (#9715) @SuperSodaSea
- Fix: detectAvif/Webp not working in Worker (#9703) @SuperSodaSea
- Fix resuming video playback not working (#9707) @dev7355608
- Fix: Handle getShaderPrecisionFormat error (#9748) @epaezrubio
- Fix: logical condition in code for adding interactive elements (#9750) @ouxuwen
- Fix: resolve the asset format with query parameters (#9772) @bigtimebuddy
🧹 Chores
- Chore: Update Assets docs (#9721) @Zyie
- Chore: change branding banner location (#9774) @bigtimebuddy
v8.0.0-beta.5
ℹ️ INFO
Hotfix for advance blend modes
See here for list of changes for PixiJS v8
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
v8.0.0-beta.4
ℹ️ INFO
See here for list of changes for PixiJS v8
https://github.com/pixijs/pixijs/releases/tag/v8.0.0-beta.0
💾 Download
Development Build:
Production Build:
- https://pixijs.download/v8.0.0-beta.4/pixi.min.js
- https://pixijs.download/v8.0.0-beta.4/pixi.min.mjs
Changed
🔥 Breaking
- Breaking: Remove settings object by @Zyie in #9737
// Can also be passed into the renderer directly e.g `autoDetectrenderer({resolution: 1})` settings.RESOLUTION -> AbstractRenderer.defaultOptions.resolution // Can also be passed into the renderer directly e.g `autoDetectrenderer({failIfMajorPerformanceCaveat: false})` setting.FAIL_IF_MAJOR_PERFORMANCE_CAVEAT -> AbstractRenderer.defaultOptions.failIfMajorPerformanceCaveat settings.ADAPTER -> DOMAdapter.get()/DOMAdapter.set()
- Breaking: Application type now accepts Renderer instead of view by @Zyie in #9740
this also works with just initialising a renderer
const app = new Application<Renderer<HTMLCanvasElement>() app.canvas // HTMLCanvasElement
const webgl = new WebGLRenderer<HTMLCanvasElement>() const webgpu = new WebGPURenderer<HTMLCanvasElement>()
- Breaking: Adjust Texture.from by @Zyie in #9744
Texture.fromBuffer
removed, useTexture.from
Texture.from
can now generate a texture from resources such asHTMLCanvasElement
/HTMLImageElement
/HTMLVideoElement
- Breaking: Convert blend mode filters to extensions by @Zyie in #9745
- The new complex blendModes
e.g 'vivid-light
have been moved out into extensions to decrease bundle size - If you want access to the new blend mode you can do the following:
import 'pixi.js/blendModes' // adds all new blend modes // or import {extensions, VividLightBlend} from 'pixi.js' extensions.add(VividLightBlend) container.blendMode = 'vivid-light' // only this blend mode will be available
- The new complex blendModes
🎁 Added
- Added: HTML tagStyles by @GoodBoyDigital in #9734
-
HTMLText now has a new param called tagStyles were you can define custom tags in your text 👍
new Text({ text:'<red>Red</red>,<blue>Blue</blue>,<green>Green</green>', renderMode:'html', style:{ fontFamily: 'DM Sans', fill: 'white', fontSize:100, tagStyles:{ red:{ fill:'red', }, blue:{ fill:'blue', }, green:{ fill:'green', } } } });
-
🐛 Fixed
- Fix: rendering huge Graphics by @GoodBoyDigital in #9728
- Fix: tint type on container by @GoodBoyDigital in #9732
- Fix: text style type by @Zyie in #9731
- Fix: graphics not apply alpha from Color fill by @Zyie in #9739
- Fix: resolutionChange runner missing by @pagoru in #9736
🧹 Chores
New Contributors
Full Changelog: v8.0.0-beta.3...v8.0.0-beta.4
v8.0.0-beta.3
ℹ️ INFO
Hotfix for mixin types
See here for list of changes for PixiJS v8
https://github.com/pixijs/pixijs/releases/tag/v8.0.0-beta.0
v8.0.0-beta.2
ℹ️ INFO
See here for list of changes for PixiJS v8
https://github.com/pixijs/pixijs/releases/tag/v8.0.0-beta.0
💾 Download
Development Build:
Production Build:
- https://pixijs.download/v8.0.0-beta.2/pixi.min.js
- https://pixijs.download/v8.0.0-beta.2/pixi.min.mjs
Changed
🎁 Added
- Add: accessibility support by @achamas-playco in #9685
- Add: borders to texture by @Zyie in #9702
- Add: Constructor Options by @Zyie in #9710
- Add: Pixel Rounding by @GoodBoyDigital in #9714
- Add: Warning if load parser doesn't have a name by @Zyie in #9723
- Change element to canvas by @Zyie in #9718
🐛 Fixed
- Fix: v7 bug ports by @Zyie in #9720
- Fix: issue with tiling texture by @GoodBoyDigital in #9708
- Fix: webgpu blend mode by @GoodBoyDigital in #9698
- Fix: default event mode by @Zyie in #9700
- Fix: passive interaction by @Zyie in #9722
- Fix: Text premultiply alpha issue by @GoodBoyDigital in #9704
- Fix: text alignment issue for canvas text by @GoodBoyDigital in #9717
- Fix: padding issue with descender padding by @GoodBoyDigital in #9709
🧹 Chores
Full Changelog: v8.0.0-beta.1...v8.0.0-beta.2