Releases: pixijs/pixijs
v7.3.1
💾 Download
Development Build:
- https://pixijs.download/v7.3.1/pixi.js
- https://pixijs.download/v7.3.1/pixi.mjs
- https://pixijs.download/v7.3.1/pixi-legacy.js
- https://pixijs.download/v7.3.1/pixi-legacy.mjs
- https://pixijs.download/v7.3.1/webworker.js
- https://pixijs.download/v7.3.1/webworker.mjs
Production Build:
- https://pixijs.download/v7.3.1/pixi.min.js
- https://pixijs.download/v7.3.1/pixi.min.mjs
- https://pixijs.download/v7.3.1/pixi-legacy.min.js
- https://pixijs.download/v7.3.1/pixi-legacy.min.mjs
- https://pixijs.download/v7.3.1/webworker.min.js
- https://pixijs.download/v7.3.1/webworker.min.mjs
Documentation:
Changed
🔥 Hotfix
🐛 Fixed
- Fix issue with loading asset without an alias (#9636) @Zyie
- Fix: Round Sprite vertices in calculateTrimmedVertices if roundPixels (#9643) @dev7355608
v7.3.0
💾 Download
Development Build:
- https://pixijs.download/v7.3.0/pixi.js
- https://pixijs.download/v7.3.0/pixi.mjs
- https://pixijs.download/v7.3.0/pixi-legacy.js
- https://pixijs.download/v7.3.0/pixi-legacy.mjs
- https://pixijs.download/v7.3.0/webworker.js
- https://pixijs.download/v7.3.0/webworker.mjs
Production Build:
- https://pixijs.download/v7.3.0/pixi.min.js
- https://pixijs.download/v7.3.0/pixi.min.mjs
- https://pixijs.download/v7.3.0/pixi-legacy.min.js
- https://pixijs.download/v7.3.0/pixi-legacy.min.mjs
- https://pixijs.download/v7.3.0/webworker.min.js
- https://pixijs.download/v7.3.0/webworker.min.mjs
Documentation:
Changed
🎁 Added
- Add
drawRoundedShape
to graphics-extras (#9266) @koteelok - Feature: Assets Improvements (#9267) @Zyie
- Automatic filter resolution and multisample (#9298) @dev7355608
- Add
utils.detectVideoAlphaMode
(#9321) @dev7355608 - Add
frame
parameter to Extract'sbase64
andimage
(#9326) @dev7355608 - Add HTMLTextStyle font load option for display (#9329) @bigtimebuddy
- Set
GLTexture.samplerType
based on the internal format (#9333) @dev7355608 - Create a
DEPTH_STENCIL
buffer only if depth is enabled (#9335) @dev7355608 - Add
BaseRenderTexture.multisample
(#9343) @dev7355608 - Add generic type variable for ParticleContainer (#9350) @SuperSodaSea
- Add detection parsers for mp4, ogv, webm (#9376) @dev7355608
- Add
BufferResource.data
type to include all possible typed arrays (#9332) @dev7355608 - Use Renderer's resolution and multisample in
generateTexture
(#9337) @dev7355608 - Use
requestVideoFrameCallback
to auto updateVideoResource
if possible (#9374) @dev7355608 - Support colors with alpha for
TextStyle
fill, stroke (#9394) @lichspace - Add
loadVideo
LoaderParser (#9314) @SuperSodaSea - Add
BufferResource.unpackAlignment
(#9415) @dev7355608 - Add
skipKerning
option to BitmapFont (#9496) @yordan-kanchelov - Add: Spritesheet data format type inference (#9448) @pedr0fontoura
- Add: Asset option
skipDetections
to avoid format detection tax (#9539) @Zyie @olafurkarl - Add: mute and loop option to VideoResource (#9583) @miltoncandelero
- Expand Spritesheet types to accomodate Aseprite (#9595) @trezy
- Add warnings when manually destroying textures from Assets.load (#9580) @dev7355608
- Add: Handle data URLs & blob URLs properly (#9634) @SuperSodaSea
🚽 Deprecated
- Deprecate Color's
round
androundColor
methods (#9296) @bigtimebuddy
🐛 Fixed
- Fix:
LineStyle.reset()
not resetting cap, join, and miterLimit (#9362) @dev7355608 - Fix BaseTexture member types (#9385) @dev7355608
- Optimize: Generate frame-sized render texture for extraction (#9356) @dev7355608
- Fix:
Video.load()
doesn't reject if an error occurs on load (#9388) @dev7355608 - Fix typo in
Extract.base64
documentation (#9402) @oskar-anderson - Fix:
VideoResource
fails to load data URLs (#9389) @dev7355608 - Fix: Throw an error for zero width or height of a Framebuffer (#9357) @dev7355608
- Fix destroying ImageBitmap correctly (#9404) @SuperSodaSea
- Fix: Text being cropped when leading is not 0 (#9419) @SuperSodaSea
- Check
domElement
is connected to (shadow) DOM whenmapPositionToPoint
(#9354) @naramdash - Fix:
utils.detectVideoAlphaMode
never resolves if webm isn't supported (#9359) @dev7355608 - Fix: Don't GC textures that don't have a resource (#9409) @dev7355608
- Fix: Only un-premultiply extracted pixels if the render target is premultiplied (#9315) @dev7355608
- Fix the resource URL set by
loadSVG
(#9439) @dev7355608 - Fix: For empty frames, Extract return minimum 1px by 1px result (#9363) @dev7355608
- Fix: allow custom events while maintaining TypeScript suggestions (#9492) @miltoncandelero
- Fix: loading uncompressed KTX images (#9473) @Zyie
- Fix: force strict check for group variable in UniformGroup (#9454) @miltoncandelero
- Fix: warn for large text length when using HTMLText (#9451) @mor3hate
- Fix: destroy loaded textures resources when unloaded (#9444) @dev7355608
- Fix: Remove asset from caches when the texture is destroyed (#9440) @dev7355608
- Fix: prevent read property of null if Application is destroyed (#9514) @ronny1020
- Fix: Remove console logs from minified builds (#9528) @bigtimebuddy
- Fix: HTMLText when fast text changes (#9426) @sciner
- Fix: crash in unsafe-eval uniformSync and remove unreachable code (#9304) @olems
- Fix: Replace TouchEvent with PixiTouch interface (#9474) @Zyie
- Fix: Update VideoResource on seeked event (#9441) @dev7355608
- Fix: Update resource on load (#9456) @dev7355608
- Fix: avif/webp image detection performance (#9537) @Zyie
- Fix: formats not being added correctly (#9539) @Zyie
- Fix: default Renderer resolution to
settings.RESOLUTION
(#9571) @bigtimebuddy - Fix: Set valid to false when the BaseTexture is destroyed (#9581) @dev7355608
- Fix: Use fetch to load video textures (#9551) @dev7355608
- Fix: worldAlpha correct when using
getLocalBounds
andtempParent
(#9602) @372623460jh - Fix: colord type imports for TypeScript
moduleResolution
Bundler(#9608) @jramstedt - Fix: grammar on
eventMode
documentation (#9624) @nikolas - Fix: both touch and point events are called when using Apple pencil (#9591) @RommelLiang
- Fix: Bind touch events only if not supports pointer events (#9480) @rnike
- Fix: installing a BitmapFont from an XML as a string (#9645) @D8H
🧹 Chores
- Chore: Remove DepthResource (#9344) @dev7355608
- Chore: Update package-lock.json (#9387) @SuperSodaSea
- Chore: Update trigger-website-build.yml (#9525) @bigtimebuddy
- Chore: Clarify the documentation of
addChildAt
(#9543) @rubenlg - Chore: Remove a dead link from README (#9553) @L1Q
- Chore: add .nvmrc file for node 18 (#9630) @achamas-playco
- Chore: Cache node_modules in GitHub Actions (#9596) @bigtimebuddy
v8.0.0-alpha.3
🚨 WARNING 🚨
This project is currently highly experimental and subject to large changes before we reach an official launch.
ℹ️ INFO
See here for list of changes
https://github.com/pixijs/pixijs/releases/tag/v8.0.0-alpha.0
v8.0.0-alpha.2
🚨 WARNING 🚨
This project is currently highly experimental and subject to large changes before we reach an official launch.
ℹ️ INFO
This release heavily focused on providing backwards compatibility from v7, therefore this release is a much better jumping in point for anyone curious about trying out the new version!
See here for list of changes
https://github.com/pixijs/pixijs/releases/tag/v8.0.0-alpha.0
v7.3.0-rc.2
💾 Download
Development Build:
- https://pixijs.download/v7.3.0-rc.2/pixi.js
- https://pixijs.download/v7.3.0-rc.2/pixi.mjs
- https://pixijs.download/v7.3.0-rc.2/pixi-legacy.js
- https://pixijs.download/v7.3.0-rc.2/pixi-legacy.mjs
- https://pixijs.download/v7.3.0-rc.2/webworker.js
- https://pixijs.download/v7.3.0-rc.2/webworker.mjs
Production Build:
- https://pixijs.download/v7.3.0-rc.2/pixi.min.js
- https://pixijs.download/v7.3.0-rc.2/pixi.min.mjs
- https://pixijs.download/v7.3.0-rc.2/pixi-legacy.min.js
- https://pixijs.download/v7.3.0-rc.2/pixi-legacy.min.mjs
- https://pixijs.download/v7.3.0-rc.2/webworker.min.js
- https://pixijs.download/v7.3.0-rc.2/webworker.min.mjs
Documentation:
Changed
v7.3.0-rc
💾 Download
Development Build:
- https://pixijs.download/v7.3.0-rc/pixi.js
- https://pixijs.download/v7.3.0-rc/pixi.mjs
- https://pixijs.download/v7.3.0-rc/pixi-legacy.js
- https://pixijs.download/v7.3.0-rc/pixi-legacy.mjs
- https://pixijs.download/v7.3.0-rc/webworker.js
- https://pixijs.download/v7.3.0-rc/webworker.mjs
Production Build:
- https://pixijs.download/v7.3.0-rc/pixi.min.js
- https://pixijs.download/v7.3.0-rc/pixi.min.mjs
- https://pixijs.download/v7.3.0-rc/pixi-legacy.min.js
- https://pixijs.download/v7.3.0-rc/pixi-legacy.min.mjs
- https://pixijs.download/v7.3.0-rc/webworker.min.js
- https://pixijs.download/v7.3.0-rc/webworker.min.mjs
Documentation:
Changed
v6.5.10
💾 Download
Development Build:
- https://pixijs.download/v6.5.10/pixi.js
- https://pixijs.download/v6.5.10/pixi.mjs
- https://pixijs.download/v6.5.10/pixi-legacy.js
- https://pixijs.download/v6.5.10/pixi-legacy.mjs
Production Build:
- https://pixijs.download/v6.5.10/pixi.min.js
- https://pixijs.download/v6.5.10/pixi.min.mjs
- https://pixijs.download/v6.5.10/pixi-legacy.min.js
- https://pixijs.download/v6.5.10/pixi-legacy.min.mjs
Documentation:
Changed
🎁 Added
- Add:
skipKerning
option to BitmapFont (#9498) @yordan-kanchelov
🧹 Chores
- Chore: Cleanup document for renderer options (for v6.x) (#9123) @SuperSodaSea
v8.0.0-alpha.1
🚨 WARNING 🚨
This project is currently highly experimental and subject to large changes before we reach an official launch.
See here for list of changes
https://github.com/pixijs/pixijs/releases/tag/v8.0.0-alpha.0
v8.0.0-alpha.0
🚨 WARNING 🚨
This project is currently highly experimental and subject to large changes before we reach an official launch.
🎁 NEW 🎁
- WebGPU Renderer and overhaul of WebGL renderer
- up to 2.5x faster!
- Reactive renderer, only update transform of something that changes. If nothing changes then nothing is updated.
- Advanced Blend Modes - All them cool photoshop filters? Pixi v8 has them all! Vivid Light, Color burn the lot! Parity with Canvas and more
🔥 Breaking Changes
Below is a non complete list of breaking changes. This will be updated fully before the official release
-
PixiJS will now need to be initialised asynchronously. With the introduction of the WebGPU renderer PixiJS will now need to be awaited before being used
Old:import { Application } from 'pixi.js' const app = new Application(); // do pixi things
New:
import { Application } from 'pixi.js' const app = new Application(); (async () => { await app.init({ // application options }); // do pixi things })()
-
Graphics API has been overhauled
Old:graphics .beginFill(0xDE3249) .drawRect(50, 50, 100, 100); .endFill();
New:
graphics .rect(50, 50, 100, 100) .fill(0xDE3249)
-
Text
is now one unified class. You specify the rendering mode in the constructor
Old:new Text('hello') new BitmapText('hello')
New:
new Text({ text: 'hello', renderMode: 'canvas' }); new Text({ text: 'hello', renderMode: 'bitmap' });
-
A
Ticker
instance is now passed to the callback
Old:Ticker.shared.add((dt)=> { bunny.rotation += dt });
New:
Ticker.shared.add((ticker)=> { bunny.rotation += ticker.deltaTime; });
v7.2.4
💾 Download
Development Build:
- https://pixijs.download/v7.2.4/pixi.js
- https://pixijs.download/v7.2.4/pixi.mjs
- https://pixijs.download/v7.2.4/pixi-legacy.js
- https://pixijs.download/v7.2.4/pixi-legacy.mjs
- https://pixijs.download/v7.2.4/webworker.js
- https://pixijs.download/v7.2.4/webworker.mjs
Production Build:
- https://pixijs.download/v7.2.4/pixi.min.js
- https://pixijs.download/v7.2.4/pixi.min.mjs
- https://pixijs.download/v7.2.4/pixi-legacy.min.js
- https://pixijs.download/v7.2.4/pixi-legacy.min.mjs
- https://pixijs.download/v7.2.4/webworker.min.js
- https://pixijs.download/v7.2.4/webworker.min.mjs
Documentation:
Changed
🐛 Fixed
- Fix: Avoid object creation in Color.normalize (#9295) @dev7355608
- Fix: Wrap non CSS ident-token font names in quotes (#9302) @SuperSodaSea
- Fix: Add missing background and autoDensity types to IRenderer (#9309) @bigtimebuddy
- Fix nested interaction (#9301) @Zyie
- Fix: cache canUseBlendMode value (#9305) @romgrk
- Fix: non-premultiply alpha blending (#9313) @dev7355608
- Fix: Always await loading of resource in loadSVG (#9317) @dev7355608
- Fix: Use renderer resolution for the generated texture in Extract._rawPixels (#9323) @dev7355608
- Fix: BaseTexture.fromBuffer creating float texture with wrong type (#9330) @dev7355608
- Fix: Extract performance improvements (#9324) @dev7355608
- Fix: Prevent
BlobResource.load
from loading the data multiple times (#9331) @dev7355608 - Fix: utils dependencies in assets and events (#9334) @bigtimebuddy
- Fix: Premultiply clear color if render target has premultiplied alpha (#9341) @dev7355608
- Fix: Flip pixels in Extract.pixels from renderer (#9347) @dev7355608
- Fix: Extract correctly when resolution is not 1 (#9352) @SuperSodaSea