Skip to content

Releases: pixijs/pixijs

v8.0.0-beta.10

v8.0.0-beta.9

17 Nov 14:22
Compare
Choose a tag to compare
v8.0.0-beta.9 Pre-release
Pre-release

ℹ️ 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:

Changed

v8.0.0-beta.8...v8.0.0-beta.9

🔥 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.

🎁 Added

  • Added: graphics-extras into core graphics API by @Zyie in #9871

🐛 Fixed

🧹 Chores

v8.0.0-beta.8

02 Nov 15:20
Compare
Choose a tag to compare
v8.0.0-beta.8 Pre-release
Pre-release

ℹ️ 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:

Changed

v8.0.0-beta.7...v8.0.0-beta.8

🔥 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

🐛 Fixed

🧹 Chores

New Contributors

v8.0.0-beta.7

30 Oct 16:18
Compare
Choose a tag to compare
v8.0.0-beta.7 Pre-release
Pre-release

ℹ️ 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:

Changed

v8.0.0-beta.6...v8.0.0-beta.7

🔥 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

🐛 Fixed

🧹 Chores

Full Changelog: v8.0.0-beta.6...v8.0.0-beta.7

v8.0.0-beta.6

20 Oct 15:12
Compare
Choose a tag to compare
v8.0.0-beta.6 Pre-release
Pre-release

ℹ️ 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:

Changed

v8.0.0-beta.5...v8.0.0-beta.6

🔥 Breaking

  • Breaking: Renamed pixi.js/blendModes to pixi.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

Full Changelog: v8.0.0-beta.5...v8.0.0-beta.6

v7.3.2

20 Oct 15:22
Compare
Choose a tag to compare

💾 Download

Development Build:

Production Build:

Documentation:

Changed

v7.3.1...v7.3.2

🐛 Fixed

🧹 Chores

v8.0.0-beta.5

07 Oct 09:13
Compare
Choose a tag to compare

v8.0.0-beta.4

06 Oct 16:17
Compare
Choose a tag to compare
v8.0.0-beta.4 Pre-release
Pre-release

ℹ️ 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:

Changed

v8.0.0-beta.3...v8.0.0-beta.4

🔥 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
    const app = new Application<Renderer<HTMLCanvasElement>()
    
    app.canvas // HTMLCanvasElement
    
    this also works with just initialising a renderer
    const webgl = new WebGLRenderer<HTMLCanvasElement>()
    const webgpu = new WebGPURenderer<HTMLCanvasElement>()
    
  • Breaking: Adjust Texture.from by @Zyie in #9744
    • Texture.fromBuffer removed, use Texture.from
    • Texture.from can now generate a texture from resources such as HTMLCanvasElement/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

🎁 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',
                  }
              }
              }
       });
      

      result:
      image

🐛 Fixed

🧹 Chores

New Contributors

Full Changelog: v8.0.0-beta.3...v8.0.0-beta.4

v8.0.0-beta.3

29 Sep 22:44
Compare
Choose a tag to compare
v8.0.0-beta.3 Pre-release
Pre-release

ℹ️ 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

29 Sep 15:40
Compare
Choose a tag to compare
v8.0.0-beta.2 Pre-release
Pre-release

ℹ️ 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:

Changed

v8.0.0-beta.1...v8.0.0-beta.2

🎁 Added

🐛 Fixed

🧹 Chores

  • Chore: Refactor folder structure by @Zyie in #9699

Full Changelog: v8.0.0-beta.1...v8.0.0-beta.2