fix(deps): update pixijs monorepo (major) #1231
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
6.5.10
->7.4.2
^6.5.9
->^7.0.0
6.5.10
->7.4.2
^6.5.9
->^7.0.0
6.5.10
->7.4.2
6.5.10
->7.4.2
6.5.10
->7.4.2
6.5.10
->7.4.2
6.5.10
->7.4.2
^6.5.9
->^8.0.0
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
data.texture
anddata.imageFilename
tospritesheetLoader
(#9920) @vadimgoncharov🧹 Chores
v7.3.3
Compare Source
💾 Download
Development Build:
Production Build:
Documentation:
Changed
🐛 Fixed
sortDirty
to true if thezIndex
doesn't change (#9787) @dev7355608animations
(#9896) @Nearooscale
field ofISpritesheetData
(#9935) @maliut🧹 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
🐛 Fixed
v7.3.0
Compare Source
💾 Download
Development Build:
Production Build:
Documentation:
Changed
🎁 Added
drawRoundedShape
to graphics-extras (#9266) @koteelokutils.detectVideoAlphaMode
(#9321) @dev7355608frame
parameter to Extract'sbase64
andimage
(#9326) @dev7355608GLTexture.samplerType
based on the internal format (#9333) @dev7355608DEPTH_STENCIL
buffer only if depth is enabled (#9335) @dev7355608BaseRenderTexture.multisample
(#9343) @dev7355608BufferResource.data
type to include all possible typed arrays (#9332) @dev7355608generateTexture
(#9337) @dev7355608requestVideoFrameCallback
to auto updateVideoResource
if possible (#9374) @dev7355608TextStyle
fill, stroke (#9394) @lichspaceloadVideo
LoaderParser (#9314) @SuperSodaSeaBufferResource.unpackAlignment
(#9415) @dev7355608skipKerning
option to BitmapFont (#9496) @yordan-kanchelovskipDetections
to avoid format detection tax (#9539) @Zyie @olafurkarl🚽 Deprecated
round
androundColor
methods (#9296) @bigtimebuddy🐛 Fixed
LineStyle.reset()
not resetting cap, join, and miterLimit (#9362) @dev7355608Video.load()
doesn't reject if an error occurs on load (#9388) @dev7355608Extract.base64
documentation (#9402) @oskar-andersonVideoResource
fails to load data URLs (#9389) @dev7355608domElement
is connected to (shadow) DOM whenmapPositionToPoint
(#9354) @naramdashutils.detectVideoAlphaMode
never resolves if webm isn't supported (#9359) @dev7355608loadSVG
(#9439) @dev7355608settings.RESOLUTION
(#9571) @bigtimebuddygetLocalBounds
andtempParent
(#9602) @372623460jhmoduleResolution
Bundler(#9608) @jramstedteventMode
documentation (#9624) @nikolas🧹 Chores
addChildAt
(#9543) @rubenlgv7.2.4
Compare Source
💾 Download
Development Build:
Production Build:
Documentation:
Changed
🐛 Fixed
BlobResource.load
from loading the data multiple times (#9331) @dev7355608🧹 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
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 witheventMode
.none
pointer-events: none
, good optimization for non-interactive childrenpassive
eventMode
(see options in Renderer, Application, etc)auto
interactive = false
in v7static
interaction = true
in v7, useful for objects like buttons that do not move.dynamic
👟 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
clearColor
clear
clear
backgroundColor
Color getter to BackgroundSysteminteractive
calledeventMode
(#9089, #9166, #9172) @Zyieglobalpointermove
,globaltouchmove
, andglobalmousemove
(#9067) @ZyieeventMode
(#9089, #9157, #9172) @Zyie @SuperSodaSeagetLocalPosition
from v6 interaction events (#9170) @Zyievec3
orvec4
uniforms (#9169) @GoodBoyDigitalcrossOrigin
andpreferCreateImageBitmap
config options in loadTextures (#9168) @ZyiepreferWorkers
,crossOrigin
, etc (#9184) @bigtimebuddy🚽 Deprecated
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()
interactive
boolean setting, see neweventMode
instead (#9089, #9172) @ZyieAsset.preferWorkers
, useAsset.setPreferences
instead (#9184) @bigtimebuddy@pixi/node
bundle to separate project (#9217) @bigtimebuddy🐛 Fixed
🧹 Chores
@pixi/color
correctly (#9196) @SuperSodaSeaConfiguration
📅 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.
This PR was generated by Mend Renovate. View the repository job log.