Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update pixijs monorepo (major) #1231

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 26, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@pixi/constants (source) 6.5.10 -> 7.4.2 age adoption passing confidence
@pixi/core (source) ^6.5.9 -> ^7.0.0 age adoption passing confidence
@pixi/extensions (source) 6.5.10 -> 7.4.2 age adoption passing confidence
@pixi/filter-alpha (source) ^6.5.9 -> ^7.0.0 age adoption passing confidence
@pixi/math (source) 6.5.10 -> 7.4.2 age adoption passing confidence
@pixi/runner (source) 6.5.10 -> 7.4.2 age adoption passing confidence
@pixi/settings (source) 6.5.10 -> 7.4.2 age adoption passing confidence
@pixi/ticker (source) 6.5.10 -> 7.4.2 age adoption passing confidence
@pixi/utils (source) 6.5.10 -> 7.4.2 age adoption passing confidence
pixi.js (source) ^6.5.9 -> ^8.0.0 age adoption passing confidence

Release Notes

pixijs/pixijs (@​pixi/constants)

v7.4.2

Compare Source

💾 Download

Development Build:

Production Build:

Documentation:

Changed
🐛 Fixed
🧹 Chores

v7.4.0

Compare Source

💾 Download

Development Build:

Production Build:

Documentation:

Changed
🎁 Added
🧹 Chores

v7.3.3

Compare Source

💾 Download

Development Build:

Production Build:

Documentation:

Changed
🐛 Fixed
🧹 Chores

v7.3.2

Compare Source

💾 Download

Development Build:

Production Build:

Documentation:

Changed
🐛 Fixed
🧹 Chores

v7.3.1

Compare Source

💾 Download

Development Build:

Production Build:

Documentation:

Changed
🔥 Hotfix
  • Fix: Use forked version of colord to unblock CodeSandbox on pixijs.com (#​9686) @​Zyie
🐛 Fixed

v7.3.0

Compare Source

[!WARNING]
TypeScript 5.x is required for upgrading to this release. This release contains a fix to support dispatching generic events for DisplayObjects that's only supported in newer TypeScript versions. See #​9747 for specific error.

💾 Download

Development Build:

Production Build:

Documentation:

Changed
🎁 Added
🚽 Deprecated
🐛 Fixed
🧹 Chores

v7.2.4

Compare Source

💾 Download

Development Build:

Production Build:

Documentation:

Changed
🐛 Fixed
🧹 Chores

v7.2.3

Compare Source

💾 Download

Development Build:

Production Build:

Documentation:

Changed
🐛 Fixed
🧹 Chores

v7.2.2

Compare Source

💾 Download

Development Build:

Production Build:

Documentation:

Changed
🐛 Fixed

v7.2.1

Compare Source

💾 Download

Development Build:

Production Build:

Documentation:

Changed
🐛 Fixed

Warning
About TypeScript 5.0: There's a fix in this release to support TypeScript 5.0, however, PixiJS includes a dependency for @types/css-font-loading-module (0.0.7) this package that is only compatible with TS 4.x. For errors related to this dependency, you can suppress it by overriding the version to be ^0.0.8 in package.json:

{
    "overrides": {
        "@​types/css-font-loading-module": "^0.0.8"
    }
}

v7.2.0

Compare Source

📣 Overview

This is a big release that we've been working on for awhile. We want to highlight some of the new features available in this release which we think will make developer's lives much easier.

🔠 HTMLText

This release adds HTMLText. Previously this was available as a plugin but we have decided to make it available by default in pixi.js, pixi.js-legacy (the Web Worker and node bundles does not support HTMLText yet).

🌈 Color

We have standardized color inputs all over PixiJS by creating a Color class. No longer do some color inputs accept only integers, some accept RGBA floats, some strings. You can now use whatever color format you choose for things like backgroundColor, tint, Graphics fill and stroke, text colors. Color inputs include: #ff0000, #f00, "red", "rgb(255, 0, 0)", 0xff0000, and many more!

💻 Event Modes

The new event-based system that replaced InteractionManager from v6 still had some work in order to fully support old features. In order to bridge the gap, we have deprecated interactive (boolean) and replaced with eventMode.

eventMode Description
none Ignores all interaction events, similar to CSS's pointer-events: none, good optimization for non-interactive children
passive Does not emit events and ignores hit testing on itself but does allow for events and hit testing only its interactive children. If you want to be compatible with v6, set this as your default eventMode (see options in Renderer, Application, etc)
auto Does not emit events and but is hit tested if parent is interactive. Same as interactive = false in v7
static Emit events and is hit tested. Same as interaction = true in v7, useful for objects like buttons that do not move.
dynamic Emits events and is hit tested but will also receive mock interaction events fired from a ticker to allow for interaction when the mouse isn't moving. This is useful for elements that independently moving or animating.
👟 Global Move Events

Introduces new global move events that are dispatched globally regardless of hit-testing the current object. These are similar to *move events in v6 and are useful for creating drag interactions with a reference to the main root stage Container.

  • globalpointermove
  • globaltouchmove
  • globalmousemove
❗ Other Important Changes
Node Bundle Moving

We have decided to move @pixi/node to it's own repository and will no longer be part of this repository. There are a few reasons: lack of adoption, burden of installing Node-based canvas and gl dependencies, stability of Adapter and extension APIs. We will continue to support this bundle but will do releases independent of PixiJS.

Return of peerDependencies

We reverted a major change in v7 which was to eliminate the use of peerDependencies. This unfortunately broke CDN delivery systems that ship ESM builds (jsdelivr, skypack, etc) also it had negative impact on new tools like Yarn 3. Because we rolled-back this change, it's very important that when you update PixiJS from now on, you complete remove the old version before installing the new one. Please see this wiki page on Upgrading PixiJS.

💾 Download

Development Build:

Production Build:

Documentation:

Changed
🎁 Added
import { Graphics } from 'pixi.js';

const graphics = new Graphics()
  .beginFill('red')
  .lineStyle({ color: 'yellow', width: 10 })
  .drawCircle(0, 0, 100);
await Assets.load({
  src: `textures/file.other`, // extension is unknown
  loadParser: 'loadTextures' // will force it to be handled as a texture
});
🚽 Deprecated
  • Deprecates the following color utilities (#​9061) @​bigtimebuddy
    • utils.rgb2hex => new Color(rgb).toNumber()
    • utils.string2hex => new Color(string).toNumber()
    • utils.hex2string => new Color(hex).toHex()
    • utils.hex2rgb => new Color(hex).toRgbArray()
    • utils.premultiplyRgba => new Color(rgba).premultiply(alpha).toArray()
    • utils.premultiplyTint => new Color(tint).toPremultiplied(alpha)
    • utils.premultiplyTintToRgba => new Color(tint).premultiply(alpha).toArray()
  • Deprecates interactive boolean setting, see new eventMode instead (#​9089, #​9172) @​Zyie
  • Deprecates Asset.preferWorkers, use Asset.setPreferences instead (#​9184) @​bigtimebuddy
  • Migrate @pixi/node bundle to separate project (#​9217) @​bigtimebuddy
🐛 Fixed
🧹 Chores

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 is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • 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 30 times, most recently from 9168f10 to 74ea275 Compare October 30, 2024 03:07
@renovate renovate bot force-pushed the renovate/major-pixijs-monorepo branch 9 times, most recently from b3411cb to 99d873d Compare November 8, 2024 21:59
@renovate renovate bot force-pushed the renovate/major-pixijs-monorepo branch 6 times, most recently from da66f62 to b4f8251 Compare November 14, 2024 22:23
@renovate renovate bot force-pushed the renovate/major-pixijs-monorepo branch 5 times, most recently from 2eb5d09 to dbcb4c6 Compare November 22, 2024 04:07
@renovate renovate bot force-pushed the renovate/major-pixijs-monorepo branch 5 times, most recently from 64a0af8 to 0b446e8 Compare November 29, 2024 21:14
@renovate renovate bot force-pushed the renovate/major-pixijs-monorepo branch 2 times, most recently from 474a426 to 62641f3 Compare December 6, 2024 15:39
@renovate renovate bot force-pushed the renovate/major-pixijs-monorepo branch from 62641f3 to 48ee573 Compare December 13, 2024 15:37
@renovate renovate bot force-pushed the renovate/major-pixijs-monorepo branch from 48ee573 to 00dacc6 Compare December 13, 2024 17:05
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