v8.0.0-rc.9
Pre-releaseℹ️ INFO
If you have any questions or issues we are actively monitoring our discord and github issues!
💾 Download
Development Build:
Production Build:
Documentation:
- https://pixijs.download/v8.0.0-rc.9/docs/index.html
- Note: Documentation is still a WIP
Changed
🔥 Breaking
For users who have migrated to v8, this release includes two important breaking changes. While we aimed to avoid disruptions post the first RC, we feel these two changes are important enough to correct before the final release.
We appreciate your understanding.
-
Breaking: split
Text
back intoText
,BitmapText
, andHTMLText
by @GoodBoyDigital in #10191In the pursuit of simplifying the API in v8, we initially attempted to create a unified
Text
class capable of handling all rendering modes supported by PixiJS. This approach aimed to streamline usage for developers. However, as we progressed with the release, we encountered scenarios where reconciling differences between render modes proved challenging. It became evident that some variables on theText
class needed to be specific to certain render modes.In light of these challenges, we made the decision to revert to the v7 approach, reintroducing separate classes for
Text
,BitmapText
, andHTMLText
.Old:
const canvasText = new Text({ text: 'hello', style: {}, renderMode: 'canvas' }) const bitmapText = new Text({ text: 'hello', style: {}, renderMode: 'bitmap' }) const htmlText = new Text({ text: 'hello', style: {}, renderMode: 'html' })
New:
const canvasText = new Text({ text: 'hello', style: {}, }) const bitmapText = new BitmapText({ text: 'hello', style: {}, }) const htmlText = new HTMLText({ text: 'hello', style: {}, })
-
Breaking: remove
BitmapFontManager.install
forBitmapFont.install
by @GoodBoyDigital in #10191In this release, we've reverted to the v7 method of installing bitmap fonts using
BitmapFont.install
. We've decided to keepBitmapFontManager
as an internal component of PixiJS and will no longer expose it.As a result,
BitmapFontManager.install
is deprecated in this version and will be removed in the next release.Old:
BitmapFontManager.install() BitmapFontManager.uninstall()
New:
BitmapFont.install() BitmapFont.uninstall()
🐛 Fixed
- Fix: allow render function in RenderContainer to be overridable by @GoodBoyDigital in #10196
- Fix: WebGPU buffer update logic by @GoodBoyDigital in #10195
- Fix: antialias not working by @GoodBoyDigital in #10194