Skip to content

Update dependency pixi.js to v8#23

Open
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/major-pixijs-monorepo
Open

Update dependency pixi.js to v8#23
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/major-pixijs-monorepo

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Mar 5, 2024

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Update Change
pixi.js (source) major 7.0.58.13.2

Release Notes

pixijs/pixi.js (pixi.js)

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 pixijs/pixijs#11604
  • feat: simplified caching for text by @​Zyie in pixijs/pixijs#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 pixijs/pixijs#11644
  • feat: suppression and colorization options for deprecation message by @​mayakwd in pixijs/pixijs#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 pixijs/pixijs#11578
    container.cacheAsTexture({
      scaleMode: 'nearest',
    });
  • feat: Adds max anisotropy passthrough property by @​Zyie in pixijs/pixijs#11588
    texture.source.maxAnisotropy = 16;
  • feat: use DomAdapter for new Image by @​Zyie in pixijs/pixijs#11565
    const image = DomAdapter.get().createImage();
    image.src = 'path/to/image.svg';
  • feat: allow sharing device and adaptor with other engine by @​littleboarx in pixijs/pixijs#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 pixijs/pixijs#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 pixijs/pixijs#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 pixijs/pixijs#11456
    • Text can now be trimmed!
    const text2 = new Text({
        text: 'TRIM',
        style: {
            trim: true, // New API
        },
    }); 
    image
  • feat: textStyle filters by @​GoodBoyDigital in pixijs/pixijs#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 pixijs/pixijs#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 pixijs/pixijs#11237
  • feat: add a limits system to WebGL and WebGPU renderers by @​GoodBoyDigital in pixijs/pixijs#11417
  • feat: allow for autocomplete on cursor strings by @​Zyie in pixijs/pixijs#11438
  • feat: The build (ShapeBuilder) method should report its success by @​midiusRed in pixijs/pixijs#11283
  • feat: update Earcut to v3.0.0 by @​LukeAbby in pixijs/pixijs#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 pixijs/pixijs#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 Contributors

v8.8.1

Compare Source

💾 Download

Development Build:

Production Build:

Documentation:

Changed

🐛 Fixed

New Contributors

v8.8.0

Compare Source

💾 Download

Development Build:

Production Build:

Documentation:

Changed

🚨 Behavior Change 🚨

Since 8.0.0 PixiJS has been incorrectly applying gradients and graphics fill textures. Instead of using normalized "local space" coordinates (0–1), gradients were using "global space" values in pixels. This was an unintended change that made working with gradients/texture fills much harder. In this release, we have changed the default behavior back to "local space" to match v7.

For anyone who needs the old behavior, you can change the default options globally or you can control it individually as all APIs now accept a textureSpace property that can be set to "global". For example:

FillGradient.defaultLinearOptions.textureSpace = 'global'
FillGradient.defaultRadialOptions.textureSpace = 'global'
// or individually
new FillGraident(0, 0, 100, 100, 'global')

GraphicsContext.defaultFillStyle.textureSpace = 'global'
GraphicsContext.defaultStrokeStyle.textureSpace = 'global'
// or individually
new Graphics().fill({ texture, textureSpace: 'global' })
new Graphics().stroke({ texture, textureSpace: 'global' })
🚨 Behavior Change 🚨

Since version 8.0.0, TilingSprite has returned negative values for tilingSprite.bounds.width and tilingSprite.bounds.height. This has been corrected in this release, and these properties now return positive values. If your code relies on bounds, you may need to adjust it accordingly.

🎁 Added
🐛 Fixed

v8.7.3

Compare Source

💾 Download

Development Build:

Production Build:

Documentation:

Changed

🐛 Fixed

v8.7.2

Compare Source

💾 Download

Development Build:

Production Build:

Documentation:

Changed

🐛 Fixed
  • fix: accessibility system being added to shared systems by @​Zyie in pixijs/pixijs#11227
    • NOTE: If you used the new AccessibilitySystem.defaultOptions.accessibilityOptions from 8.7.0 this has been correctly changed to AccessibilitySystem.defaultOptions

v8.7.1

Compare Source

💾 Download

Development Build:

Production Build:

Documentation:

Changed

🐛 Fixed

v8.7.0

Compare Source

🚨 NOTE 🚨
Please use the latest patch version of this release, as we have identified and fixed several issues related to the new GIF functionality and problematic types.

💾 Download

Development Build:

Production Build:

Documentation:

Changed

🎁 Added
🐛 Fixed
🧹 Chores

New Contributors

v8.6.6

Compare Source

💾 Download

Development Build:

Production Build:

Documentation:

Changed

🐛 Fixed
🧹 Chores

v8.6.5

Compare Source

💾 Download

Development Build:

Production Build:

Documentation:

Changed

🐛 Fixed

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 force-pushed the renovate/major-pixijs-monorepo branch 2 times, most recently from 7d36013 to f099c1c Compare March 13, 2024 18:45
@renovate renovate Bot force-pushed the renovate/major-pixijs-monorepo branch 2 times, most recently from f133ac0 to c629e6c Compare March 22, 2024 21:08
@renovate renovate Bot force-pushed the renovate/major-pixijs-monorepo branch 2 times, most recently from d8111d6 to ac0f48e Compare April 9, 2024 17:48
@renovate renovate Bot force-pushed the renovate/major-pixijs-monorepo branch from ac0f48e to 9a4da72 Compare May 1, 2024 00:11
@renovate renovate Bot force-pushed the renovate/major-pixijs-monorepo branch 3 times, most recently from 7a7e0b1 to 80bb505 Compare May 17, 2024 13:27
@renovate renovate Bot force-pushed the renovate/major-pixijs-monorepo branch from 80bb505 to b6284bb Compare May 21, 2024 17:33
@renovate renovate Bot force-pushed the renovate/major-pixijs-monorepo branch from b6284bb to 05d4b3e Compare June 5, 2024 10:18
@renovate renovate Bot force-pushed the renovate/major-pixijs-monorepo branch 3 times, most recently from 98f8c7e to 44a3a17 Compare June 20, 2024 16:19
@renovate renovate Bot force-pushed the renovate/major-pixijs-monorepo branch from 44a3a17 to 1e42159 Compare June 25, 2024 20:11
@renovate renovate Bot force-pushed the renovate/major-pixijs-monorepo branch 4 times, most recently from 82c1037 to fcd2da3 Compare July 12, 2024 14:11
@renovate renovate Bot force-pushed the renovate/major-pixijs-monorepo branch from fcd2da3 to 72d2b44 Compare July 29, 2024 16:53
@renovate renovate Bot force-pushed the renovate/major-pixijs-monorepo branch 4 times, most recently from 9343cd2 to 0a9871f Compare August 13, 2024 13:55
@renovate renovate Bot force-pushed the renovate/major-pixijs-monorepo branch from 0a9871f to 89a4eb2 Compare August 23, 2024 13:45
@renovate renovate Bot force-pushed the renovate/major-pixijs-monorepo branch from 89a4eb2 to 00759c0 Compare September 11, 2024 18:40
@renovate renovate Bot force-pushed the renovate/major-pixijs-monorepo branch 3 times, most recently from 5b5a37b to f6d3b53 Compare October 14, 2024 18:57
@renovate renovate Bot force-pushed the renovate/major-pixijs-monorepo branch from f6d3b53 to 56c8a8e Compare October 23, 2024 11:16
@renovate renovate Bot force-pushed the renovate/major-pixijs-monorepo branch 3 times, most recently from 5d7ebf3 to a7d3875 Compare November 29, 2024 18:50
@renovate renovate Bot force-pushed the renovate/major-pixijs-monorepo branch 4 times, most recently from 99c08eb to 3739e9b Compare December 18, 2024 17:36
@renovate renovate Bot force-pushed the renovate/major-pixijs-monorepo branch 9 times, most recently from a2e5b01 to 3796d2a Compare June 24, 2025 11:00
@renovate renovate Bot force-pushed the renovate/major-pixijs-monorepo branch from 3796d2a to 5451da9 Compare July 3, 2025 20:03
@renovate renovate Bot force-pushed the renovate/major-pixijs-monorepo branch from 5451da9 to 0543798 Compare August 7, 2025 11:12
@renovate renovate Bot force-pushed the renovate/major-pixijs-monorepo branch from 0543798 to 547cb19 Compare September 7, 2025 23:43
@renovate renovate Bot force-pushed the renovate/major-pixijs-monorepo branch from 547cb19 to 09a5df3 Compare September 10, 2025 09:58
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.

0 participants