Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Mar 20, 2025

Note: This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
pixi.js (source) 8.8.18.15.0 age confidence

Release Notes

pixijs/pixijs (pixi.js)

v8.15.0

Compare Source

💾 Download

Installation:

npm install pixi.js@8.15.0

Development Build:

Production Build:

Documentation:

Changed

🎁 Added
  • feat: add unified GC by @​Zyie in #​11786
    • Deprecated TextureGCSystem/RenderableGCSystem in favor of GCSystem.
      // old 
      app.init({
          textureGCActive: true,
          textureGCMaxIdle: 60000,
          textureGCCheckCountMax: 30000,
          renderableGCActive: true,
          renderableGCMaxUnusedTime: 60000,
          renderableGCFrequency: 30000,
      });
      
      // new
      app.init({
        gcActive: true,
        gcMaxUnusedTime: 60000,
        gcFrequency: 30000,
      });
    • feat: Adds auto-GC option to view containers by @​Zyie in #​11810
      • Disable automatic garbage collection for a node.
        new Sprite({
            autoGarbageCollect: false,
        });
  • feat: add unload method to reset GPU data by @​Zyie in #​11762
    • You can now manually unload a node by calling its unload method. This releases any GPU resources associated with the node. The node can still be used afterward—it will be re-created automatically when needed.

      sprite.unload();
      text.unload();
      mesh.unload(); 
    • feat: move GPU context storage to GraphicsContext._gpuData by @​Zyie in #​11763

    • feat: move GPU data to Geometry._gpuData by @​Zyie in #​11772

    • feat: move GPUData to TextureSource by @​Zyie in #​11774

    • feat: move GL/GPU buffer storage to Buffer._gpuData and manage buffers list by @​Zyie in #​11775

    • feat: add descriptive names GCManagedHash by @​Zyie in #​11811

    • feat: update text GPU lifecycle and resolution updates by @​Zyie in #​11781

  • feat: ParticleContainer type improvements by @​unstoppablecarl in #​11708
  • feat: allow RenderTexture.create to accept dynamic option by @​seanzhaoxiaoxiao in #​11767
🐛 Fixed
🧹 Chores

New Contributors

v8.14.3

Compare Source

💾 Download

Installation:

npm install pixi.js@8.14.3

Development Build:

Production Build:

Documentation:

Changed

🐛 Fixed

v8.14.2

Compare Source

💾 Download

Installation:

npm install pixi.js@8.14.2

Development Build:

Production Build:

Documentation:

Changed

🐛 Fixed
🧹 Chores

New Contributors

v8.14.1

Compare Source

💾 Download

Installation:

npm install pixi.js@8.14.1

Development Build:

Production Build:

Documentation:

Changed

🐛 Fixed
🧹 Chores

v8.14.0

Compare Source

💾 Download

Installation:

npm install pixi.js@8.14.0

Development Build:

Production Build:

Documentation:

Changed

🎁 Added
  • feat: add asset loading strategies by @​Zyie in #​11693
    • Three new loading strategies have been introduced: throw, skip, and retry
      • throw: The default strategy and matches the behavior of previous versions. With this strategy enabled any asset that fails to load will throw an error and the promise will reject.
      • skip: If any asset fails to load not error is thrown and the loader continues to load other assets
      • retry: Allow for multiple attempts at loading an asset before an error is thrown. The number of attempts and the delay between attempts are configurable
    const options: LoadOptions = {
      strategy: 'retry',
      retryCount: 5, // Retry up to 5 times
    };
    await Assets.load('unstable-asset.png', options);
    await Assets.init({
        basePath,
        loadOptions: { strategy: 'skip', onError: (error, asset) => console.log(error, asset.url) },
    });
    
    Assets.addBundle('testBundle', [
        { alias: 'bunny', src: 'textures/bunny_no_img.png' },
        { alias: 'bunny2', src: 'textures/bunny.png' },
    ]);
    
    // only bunny2 is defined and did not throw an error
    const assets = await Assets.loadBundle('testBundle');
  • feat: Adds progress size to asset loading by @​Zyie in #​11699
    • You can provide progressSize when loading assets to get a more accurate loading percentage. If no size is provide the default value is 1.
    const assets = [
        {
            src: [
                {
                    src: 'textures/texture.webp',
                    progressSize: 900,
                },
            ],
            alias: ['bunny-array', 'bunny-array2'],
        },
        {
            src: 'textures/bunny.png',
            progressSize: 100,
        }
    ];
    const res = await Assets.load(assets, progressMock);
  • feat: added rotate to Point math-extras by @​unstoppablecarl in #​11704
      // Basic point rotation
      const point = new Point(10, 20);
      const degrees = 45
      const radians = degrees * (Math.PI / 180)
      const result = point.rotate(radians);
      console.log(result); // {x: -7.071067811865474, y: 21.213203435596427}
    
      // Using output point for efficiency
      const output = new Point(10, 20);
      point.rotate(90 * (Math.PI / 180), output);
      console.log(result); // {x: -7.071067811865474, y: 21.213203435596427}
  • feat: add change guards to TextStyle setters to prevent redundant updates by @​mayakwd in #​11677
🐛 Fixed
🧹 Chores

New Contributors

v8.13.2

Compare Source

💾 Download

Installation:

npm install pixi.js@8.13.2

Development Build:

Production Build:

Documentation:

Changed

🐛 Fixed

v8.13.1

Compare Source

💾 Download

Installation:

npm install pixi.js@8.13.1

Development Build:

Production Build:

Documentation:

Changed

🐛 Fixed

New Contributors

v8.13.0

Compare Source

💾 Download

Installation:

npm install pixi.js@8.13.0

Development Build:

Production Build:

Documentation:

Changed

🎁 Added
  • feat: support svg fill rule subpath rendering by @​creativoma in #​11604
  • feat: simplified caching for text by @​Zyie in #​11505
    • Text that shares the same TextStyle will now share the same texture
    const textStyle = new PIXI.TextStyle({ fontSize: 24, fontFamily: "Verdana", fill: 0xffffff });
    const COUNT = 25000; 
    
    for (let i = 0; i < COUNT; i++) {
        const bunny = new Text({ text: 'hello', style: textStyle });
    
        bunny.x = (i % 100) * 105;
        bunny.y = Math.floor(i / 100) * 25;
        container.addChild(bunny);
    }
  • feat: add LRU cache for text measuring by @​Zyie in #​11644
  • feat: suppression and colorization options for deprecation message by @​mayakwd in #​11617
    import { deprecation } from 'pixi.js';
    // Supresses deprecation warnings
    deprecation.quiet = true;
    // Removes color formatting from deprecation messages
    deprecation.noColor = true;
🐛 Fixed
🧹 Chores

New Contributors

Full Changelog: pixijs/pixijs@v8.12.0...v8.13.0

v8.12.0

Compare Source

💾 Download

Installation:

npm install pixi.js@8.12.0

Development Build:

Production Build:

Documentation:

Changed

🚨 Behavior Change 🚨
  • lineHeight is now correctly calculated for BitmapText. This change may result in some text elements changing position slightly. See #​11531.
🎁 Added
  • feat: support scaleMode for cacheAsTexture options by @​mayakwd in #​11578
    container.cacheAsTexture({
      scaleMode: 'nearest',
    });
  • feat: Adds max anisotropy passthrough property by @​Zyie in #​11588
    texture.source.maxAnisotropy = 16;
  • feat: use DomAdapter for new Image by @​Zyie in #​11565
    const image = DomAdapter.get().createImage();
    image.src = 'path/to/image.svg';
  • feat: allow sharing device and adaptor with other engine by @​littleboarx in #​11435
    const adapter = await navigator.gpu.requestAdapter();
    const device = await adapter.requestDevice();
    
    const app = new Application();
    await app.init({ gpu: { adapter, device } });
  • feat: Refactors asset parser configuration by @​Zyie in #​11557
    // Old way
    await Assets.load({ src: 'path/to/asset', data: { loadParser: 'loadJson' } });
    // New way
    await Assets.load({ src: 'path/to/asset', data: { parser: 'json' } });
    
    // Name changes
    // 'loadJson' -> 'json'
    // 'loadSvg' -> 'svg'
    // 'loadTxt' -> 'text'
    // 'loadVideo' -> 'video'
    // 'loadWebFont' -> 'web-font'
    // 'loadBitmapFont' -> 'bitmap-font'
    // 'spritesheetLoader' -> 'spritesheet'
    // 'loadTextures' -> 'texture'
    // 'loadBasis' -> 'basis'
    // 'loadDds' -> 'dds'
    // 'loadKtx2' -> 'ktx2'
    // 'loadKtx' -> 'ktx'
  • feat: add WorkerManager.reset by @​Zyie in #​11562
    app.destroy(true, true); // Destroy the app
    WorkerManager.reset(); // Reset the worker pool
🐛 Fixed
🧹 Chores

New Contributors

v8.11.0

Compare Source

💾 Download

Installation:

npm install pixi.js@8.11.0

Development Build:

Production Build:

Documentation:

Changed

🚨 Behavior Change 🚨

In this release, we've corrected how textStyle.padding interacts with text positioning when anchor values are set. Previously, padding could incorrectly offset the position of text objects. With this fix, text objects now behave consistently but you may notice some text elements appear slightly repositioned as a result. This is expected and reflects the intended, more predictable layout.

🎁 Added
🐛 Fixed
🧹 Chores

New Contributors

v8.10.2

Compare Source

💾 Download

Installation:

npm install pixi.js@8.10.2

Development Build:

Production Build:

Documentation:

Changed

🐛 Fixed
🧹 Chores

v8.10.1

Compare Source

💾 Download

Installation:

npm install pixi.js@8.10.1

Development Build:

Production Build:

Documentation:

Changed

🐛 Fixed

v8.10.0

Compare Source

💾 Download

Installation:

npm install pixi.js@8.10.0

Development Build:

Production Build:

Documentation:

Changed

🚨 Behavior Change 🚨

With this release we have fixed the ParticleContainer.removeParticles(startIndex, endIndex) logic to correctly set the endIndex to this.particleChildren.length by default. This now matches the behavior of container.removeChildren()

🎁 Added
  • feat: support trimmed text by @​GoodBoyDigital in #​11456
    • Text can now be trimmed!
    const text2 = new Text({
        text: 'TRIM',
        style: {
            trim: true, // New API
        },
    }); 
    image
  • feat: textStyle filters by @​GoodBoyDigital in #​11282
    • Filters can now be baked into a Text on creation. When setting filters this way, the filter is actually baked into the texture at creation time, rather than having to be calculated at run time, eliminating the runtime cost.
    const blurFilter = new BlurFilter();
    
    const text = new Text({
        text: 'HI',
        style: {
            fontSize: 100,
            fill: 'white',
            filters: [blurFilter], // add some filters to the style
        }
    });
  • feat: support textureStyle options on text rendering by @​GoodBoyDigital in #​11403
    • Text, HTMLText, and BitmapText now all support customising how the texture is generated by passing in the textureStyle object
    const text = new Text({
        text: 'Hello Pixi!',
        style: {...},
        textureStyle: {
            scaleMode: 'nearest',
        }
    });
  • feat: spritesheet option cachePrefix by @​F-star in #​11237
  • feat: add a limits system to WebGL and WebGPU renderers by @​GoodBoyDigital in #​11417
  • feat: allow for autocomplete on cursor strings by @​Zyie in #​11438
  • feat: The build (ShapeBuilder) method should report its success by @​midiusRed in #​11283
  • feat: update Earcut to v3.0.0 by @​LukeAbby in #​11214
🐛 Fixed
🧹 Chores

New Contributors

v8.9.2

Compare Source

💾 Download

Installation:

npm install pixi.js@8.9.2

Development Build:

Production Build:

Documentation:

Changed
🐛 Fixed
New Contributors

v8.9.1

Compare Source

💾 Download

Development Build:

Production Build:

Documentation:

Changed
🐛 Fixed

v8.9.0

Compare Source

💾 Download

Development Build:

Production Build:

Documentation:

Changed
🎁 Added
  • feat: DOMContainer by @​GoodBoyDigital in #​11340
    • Experimental support for integrating DOM elements within the PixiJS scene graph, allowing HTML elements to be positioned and transformed alongside other PixiJS objects.
import 'pixi.js/dom'
import { DOMContainer } from 'pixi.js';

// Create a DOM element
const element = document.createElement('div');
element.innerHTML = 'Hello World!';
	
// Create a DOM container
const domContainer = new DOMContainer({ element });
	
// Add it to your scene
app.stage.addChild(domContainer);
	
// Position and transform like any other DisplayObject
domContainer.x = 100;
domContainer.y = 100;
domContainer.rotation = 0.5;
domContainer.anchor.set(0.5);
🐛 Fixed
New Contribu

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot changed the title fix(deps): update dependency pixi.js to v8.9.0 fix(deps): update dependency pixi.js to v8.9.1 Mar 27, 2025
@renovate renovate bot force-pushed the renovate/pixijs-monorepo branch from e9876a4 to d4c52c5 Compare March 27, 2025 15:28
@renovate renovate bot force-pushed the renovate/pixijs-monorepo branch from d4c52c5 to 391da23 Compare April 24, 2025 06:57
@renovate renovate bot changed the title fix(deps): update dependency pixi.js to v8.9.1 fix(deps): update dependency pixi.js to v8.9.2 Apr 29, 2025
@renovate renovate bot force-pushed the renovate/pixijs-monorepo branch from 391da23 to dab6118 Compare April 29, 2025 17:49
@renovate renovate bot changed the title fix(deps): update dependency pixi.js to v8.9.2 fix(deps): update dependency pixi.js to v8.10.0 Jun 3, 2025
@renovate renovate bot changed the title fix(deps): update dependency pixi.js to v8.10.0 fix(deps): update dependency pixi.js to v8.10.1 Jun 6, 2025
@renovate renovate bot changed the title fix(deps): update dependency pixi.js to v8.10.1 fix(deps): update dependency pixi.js to v8.10.2 Jun 24, 2025
@renovate renovate bot changed the title fix(deps): update dependency pixi.js to v8.10.2 fix(deps): update dependency pixi.js to v8.11.0 Jul 3, 2025
@renovate renovate bot changed the title fix(deps): update dependency pixi.js to v8.11.0 fix(deps): update dependency pixi.js to v8.12.0 Aug 5, 2025
@renovate renovate bot force-pushed the renovate/pixijs-monorepo branch from dab6118 to 3ae2f72 Compare August 14, 2025 00:36
@renovate renovate bot force-pushed the renovate/pixijs-monorepo branch from 3ae2f72 to ec70d70 Compare September 2, 2025 13:33
@renovate renovate bot changed the title fix(deps): update dependency pixi.js to v8.12.0 fix(deps): update dependency pixi.js to v8.13.0 Sep 2, 2025
@renovate renovate bot force-pushed the renovate/pixijs-monorepo branch from ec70d70 to 26937ff Compare September 3, 2025 20:51
@renovate renovate bot changed the title fix(deps): update dependency pixi.js to v8.13.0 fix(deps): update dependency pixi.js to v8.13.1 Sep 3, 2025
@renovate renovate bot force-pushed the renovate/pixijs-monorepo branch from 26937ff to 6e43db6 Compare September 10, 2025 09:46
@renovate renovate bot changed the title fix(deps): update dependency pixi.js to v8.13.1 fix(deps): update dependency pixi.js to v8.13.2 Sep 10, 2025
@renovate renovate bot force-pushed the renovate/pixijs-monorepo branch from 6e43db6 to fb1a12b Compare September 25, 2025 19:26
@renovate renovate bot changed the title fix(deps): update dependency pixi.js to v8.13.2 chore(deps): update dependency pixi.js to v8.13.2 Sep 25, 2025
@renovate renovate bot force-pushed the renovate/pixijs-monorepo branch from fb1a12b to 028a248 Compare October 7, 2025 01:38
@renovate renovate bot changed the title chore(deps): update dependency pixi.js to v8.13.2 chore(deps): update dependency pixi.js to v8.14.0 Oct 7, 2025
@renovate renovate bot force-pushed the renovate/pixijs-monorepo branch from 028a248 to 9d4ff27 Compare October 21, 2025 17:11
@renovate renovate bot force-pushed the renovate/pixijs-monorepo branch from 9d4ff27 to 78a62c5 Compare November 10, 2025 11:37
@renovate renovate bot changed the title chore(deps): update dependency pixi.js to v8.14.0 chore(deps): update dependency pixi.js to v8.14.1 Nov 10, 2025
@renovate renovate bot force-pushed the renovate/pixijs-monorepo branch from 78a62c5 to 44a8269 Compare November 18, 2025 10:53
@renovate renovate bot changed the title chore(deps): update dependency pixi.js to v8.14.1 chore(deps): update dependency pixi.js to v8.14.2 Nov 18, 2025
@renovate renovate bot force-pushed the renovate/pixijs-monorepo branch from 44a8269 to e96db2d Compare November 20, 2025 13:15
@renovate renovate bot changed the title chore(deps): update dependency pixi.js to v8.14.2 chore(deps): update dependency pixi.js to v8.14.3 Nov 20, 2025
@renovate renovate bot force-pushed the renovate/pixijs-monorepo branch from e96db2d to e84f898 Compare January 5, 2026 12:59
@renovate renovate bot changed the title chore(deps): update dependency pixi.js to v8.14.3 chore(deps): update dependency pixi.js to v8.15.0 Jan 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant