Releases: pixijs/pixijs
v8.8.0-rc.1
💾 Download
Development Build:
Production Build:
Documentation:
Changed
🚨 NOTE 🚨
Since the release of v8, PixiJS has been incorrectly applying gradients and graphics fill textures. Instead of using normalized "local space" coordinates (0–1), gradients were using "global space" values in pixels. This made working with gradients/texture fills more complicated than necessary. In this release, we have changed the default behavior back to "local space" to match v7.
For anyone who needs the old behavior, you can change the default options globally or you can control it individually as all APIs now accept a textureSpace
property that can be set to "global"
. For example:
FillGradient.defaultLinearOptions.textureSpace = 'global'
FillGradient.defaultRadialOptions.textureSpace = 'global'
// or individually
new FillGraident(0, 0, 100, 100, 'global')
GraphicsContext.defaultFillStyle.textureSpace = 'global'
GraphicsContext.defaultStrokeStyle.textureSpace = 'global'
// or individually
new Graphics().fill({ texture, textureSpace: 'global' })
new Graphics().stroke({ texture, textureSpace: 'global' })
🎁 Added
- feat: svg and textureSpace update by @GoodBoyDigital in #11074
- feat: add configurable props to
AnimatedSpriteOptions
by @trezy in #11241 - feat: add anchor to nine slice sprite by @GoodBoyDigital in #11233
- feat: enhance how gradients are applied to text objects by @GoodBoyDigital in #11075
- feat: support SVG non-zero fills by @GoodBoyDigital in #11080
- feat: allow for graphics.fill(texture) by @GoodBoyDigital in #11152
- feat: add
autoPlay
toAnimatedSprite
by @trezy in #11243
🐛 Fixed
v8.7.3
💾 Download
Development Build:
Production Build:
Documentation:
Changed
🐛 Fixed
- fix: set texture bug on batched mesh by @GoodBoyDigital in #11228
- fix: correct texture dimension comparison in glUploadImageResource by @GoodBoyDigital in #11230
- fix: advanced blend mode not applying when only belnd modes are active by @GoodBoyDigital in #11231
- fix: MeshGeometry match uv size if non is provided by @GoodBoyDigital in #11234
v8.7.2
💾 Download
Development Build:
Production Build:
Documentation:
Changed
🐛 Fixed
v8.7.1
💾 Download
Development Build:
Production Build:
Documentation:
Changed
🐛 Fixed
v8.7.0
🚨 NOTE 🚨
Please use the latest patch version of this release, as we have identified and fixed several issues related to the new GIF functionality and problematic types.
💾 Download
Development Build:
Production Build:
Documentation:
Changed
🎁 Added
- feat: RenderLayer API by @GoodBoyDigital in #11094
- NOTE: This is an experimental API and may change
- NOTE: Interaction and hit testing are currently not accounting for visual render order
- full guide can be found here
- feat: Add GIF downloading, parsing and playback by @bigtimebuddy in #11170
- feat: Add
altitudeAngle
andazimuthAngle
toFederatedPointerEvent
by @LukeAbby in #11159 - feat: added Texture Options to spritesheet loader by @sam007mac in #11163
- feat: add a
resetState
function to allow integration with other WebGL libraries by @GoodBoyDigital in #11142 - feat: access renderer from onRender by @F-star in #11224
- feat: additional accessibility options by @jerwolff in #11107
🐛 Fixed
- fix: clearBeforeRender not being respected by @GoodBoyDigital in #11189
- fix: issue with premultiply alpha and non image based uploading by @GoodBoyDigital in #11221
- fix: turn of garbage collection for pool by @GoodBoyDigital in #11222
- fix: different batch shaders being bound incorrectly the first time they are used by @GoodBoyDigital in #11223
- fix: loadTextures.load add onerror for Image case by @midiusRed in #11211
- fix: Typo in documentation Texture.ts by @BobbyDusk in #11190
- fix: DDS BC format need Alignment Blocks by @justjuangui in #11209
🧹 Chores
- chore: ignore type errors when watching by @Zyie in #11183
- chore: replace updateQuadBounds with updateTextBounds in text by @GoodBoyDigital in #11182
- chore: update CanvasTextMetrics example to use correct class by @nnmbzr in #11208
New Contributors
- @LukeAbby made their first contribution in #11159
- @sam007mac made their first contribution in #11163
- @F-star made their first contribution in #11224
- @midiusRed made their first contribution in #11211
- @jerwolff made their first contribution in #11107
- @BobbyDusk made their first contribution in #11190
- @nnmbzr made their first contribution in #11208
- @justjuangui made their first contribution in #11209
v8.6.6
💾 Download
Development Build:
Production Build:
Documentation:
Changed
🐛 Fixed
- fix: renderable GC bug by @GoodBoyDigital in #11167
🧹 Chores
- fix: correct broken link to PixiJS Create CLI in README.md by @yordan-kanchelov in #11164
v8.6.5
💾 Download
Development Build:
Production Build:
Documentation:
Changed
🐛 Fixed
- fix: RenderableGC incorrectly cleaning up objects that are still in use by @GoodBoyDigital in #11147
- fix: unload family font caching by @JenovaSolier in #11151
- fix: flags not being updated after all enableRenderGroup by @GoodBoyDigital in #11156
- fix: strokeContains should use alignment by @dapi303 in #11072
🧹 Chores
- chore: fix lint ignore and watch script by @Zyie in #11141
- chore: updated readme by @GoodBoyDigital in #11146
New Contributors
- @JenovaSolier made their first contribution in #11151
v8.6.4
💾 Download
Development Build:
Production Build:
Documentation:
Changed
🐛 Fixed
- fix: texture source swap issue by @GoodBoyDigital in #11123
- fix: render group mask issue by @GoodBoyDigital in #11125
🧹 Chores
- chore: Reorganize tests into more conventional structure by @bigtimebuddy in #11126
- chore: update
Assets.ts
comment for src file ext by @furic in #11127 - chore: Version control generated barrel files by @bigtimebuddy in #11129
- chore: Clean-up verbose testing imports by @bigtimebuddy in #11132
- chore: upgrade to ESLint v9 by @Zyie in #11136
New Contributors
v8.6.3
💾 Download
Development Build:
Production Build:
Documentation:
Changed
🐛 Fixed
- fix: Window support for fixing types script by @bigtimebuddy in #11114
- fix: cacheAsTexture with antialiasing by @GoodBoyDigital in #11117
- fix: export issue when using a texture causing the bounds of the item were clipped wrong by @GoodBoyDigital in #11117
- fix: Memory leak during canvas extraction by @mcdu11 in #11119
- fix: Swapping texture source by @GoodBoyDigital in #11121
🧹 Chores
- chore: Prefer operator assignment by @bigtimebuddy in #11115
New Contributors
v8.6.2
💾 Download
Development Build:
Production Build:
Documentation:
Changed
🐛 Fixed
- fix: sprite bounds by @GoodBoyDigital in #11109
- fix: cacheAsTexture so that it does not take into account the alpha of itself by @GoodBoyDigital in
- fix: Better undefined check in beginFill deprecation by @bigtimebuddy in #11102
🧹 Chores
- chore: Cleanup OR/nullish assignment operators by @bigtimebuddy in #11103
#11111