What’s New

pixijs v8.16.0

v8.16.0
Added
  • Canvas renderer support with experimental status
  • Tagged text feature for Text and HTMLText allowing custom tag styles
  • SplitText now automatically regenerates when TextStyle changes via styleChanged()
  • External texture support
  • parseSync method for spritesheet
  • Improved Pool typing for pool.get() method
  • Cube texture support
  • Mip level rendering support in the rendering system
  • Render to array layer capability
Changed
  • SplitText now more accurately splits Text across a wider range of TextStyle configurations, which may result in slight changes to character positioning
  • SplitText.from now correctly transfers the source anchor to the new instance by mapping the anchor to pivot coordinates
  • SplitBitmapText now correctly defaults to white fill, matching BitmapText behavior
  • HTMLText now correctly respects breakWords and no longer cuts off words that exceed wordWrapWidth
  • HTMLText now respects the alpha value of its fill and stroke
  • Text now correctly aligns when using align: 'right' or align: 'center'
  • Container.cullArea is now correctly interpreted in the container's local coordinate space and transformed to global coordinates before culling checks
  • graphics.texture() will now correctly apply a black tint
Fixed
  • Improve HTML text measurement accuracy
  • GlGeometrySystem VAO cache is now preserved
  • GC system now ensures render groups are marked as dirty
💾 Download

Installation:

npm install pixi.js@8.16.0

Development Build:

Production Build:

Documentation:

Changed

https://github.com/pixijs/pixijs/compare/v8.15.0...v8.16.0

🚨 Behavior Change
  • SplitText now more accurately splits Text across a wider range of TextStyle configurations. This may result in slight changes to character positioning.
  • Using SplitText.from from an existing Text now correctly transfers the source anchor to the new instance by mapping the anchor to pivot coordinates. This changes layout and positioning compared to previous behavior.
  • SplitBitmapText now correctly defaults to a white fill, matching the behavior of BitmapText.
  • HTMLText now correctly respects breakWords and no longer cuts off words that exceed wordWrapWidth.
  • HTMLText now respects the alpha value of its fill and stroke.
  • Text now correctly aligns when using align: 'right' or align: 'center', resulting in a small positional adjustment.
  • Container.cullArea is now correctly interpreted in the container’s local coordinate space and transformed to global coordinates before culling checks.
    // cullArea is defined in local space and transformed during culling
    container.cullArea = new Rectangle(0, 0, 100, 100);
    
  • graphics.texture(texture, 0x000000) will now correctly apply a black tint
🎁 Added
🐛 Fixed
🧹 Chores
New Contributors
View original