๐พ Download
Development Build:
- https://pixijs.download/v7.1.0/pixi.js
- https://pixijs.download/v7.1.0/pixi.mjs
- https://pixijs.download/v7.1.0/pixi-legacy.js
- https://pixijs.download/v7.1.0/pixi-legacy.mjs
- https://pixijs.download/v7.1.0/webworker.js
- https://pixijs.download/v7.1.0/webworker.mjs
Production Build:
- https://pixijs.download/v7.1.0/pixi.min.js
- https://pixijs.download/v7.1.0/pixi.min.mjs
- https://pixijs.download/v7.1.0/pixi-legacy.min.js
- https://pixijs.download/v7.1.0/pixi-legacy.min.mjs
- https://pixijs.download/v7.1.0/webworker.min.js
- https://pixijs.download/v7.1.0/webworker.min.mjs
Documentation:
Changed
๐ Added
- Add
Assets.preferWorkers
to disable texture loading in Workers (#8826, #8902) @bigtimebuddy - Make @pixi/unsafe-eval self-installed (#8805) @SuperSodaSea
- Add support for specifying vertex attribute divisor (#8797) @Schlechtwetterfront
- Add
.on<event>
(e.g., onclick, onpointertap, etc) properties to DisplayObject (#8876) @adam-savard - Add overload signatures for Assets (#8887) @SuperSodaSea
- Add
TextMetrics.graphemeSegmenter
option (#8893, #8915) @SuperSodaSea - Allow for easier overriding of Text resolution (#8912) @Zyie
- Adds
Text.defaultAutoResolution
- Adds
Text.defaultResolution
- Adds
- Add
TextStyle.defaultStyle
to expose the default options (#8928) @bigtimebuddy - Add
defaultSearchParams
option to Assets (#8968) @GoodBoyDigital - Add method to get canvas bounding box to media utils (#8978, #9038) @vikpe
- Expose options for Renderers (#9010) @bigtimebuddy
๐ Fixed
- Fix emoji wrapping and letterSpacing in Text (#8915) @SuperSodaSea
- Fix asset ID clashes between bundles (#8950) @GoodBoyDigital
- Fix: WheelEvent.deltaMode consistency (#8972) @SuperSodaSea
- Fix loading assets with URL parameters (#8958) @Zyie
- Fix ResolverAssetsArray.srcs type (#8996) @SuperSodaSea
- Fix TextMetrics.measureFont breaking if passed a font with size 0 (#9022) @dev7355608
- Improve typing for
loader.load
inspritesheetAsset
(#9037) @SuperSodaSea - Fix: add SVG Assets parser to list of parsers (#9046) @MattTreichelYeah
- Fix inaccurate documentation for arcTo (#9050) @SuperSodaSea
๐ฝ Deprecated
- Deprecate settings that are only used in a single place (#8865, #8868, #8877, #8883, #8885, #8886, #8884, #8892, #8913) @bigtimebuddy
- Move
settings.FILTER_RESOLUTION
toFilter.defaultResolution
- Move
settings.FILTER_MULTISAMPLE
toFilter.defaultMultisample
- Move
GRAPHICS_CURVES
toGraphics.curves
- Move
settings.WRAP_MODE
toBaseTexture.defaultOptions.wrapMode
- Move
settings.SCALE_MODE
toBaseTexture.defaultOptions.scaleMode
- Move
settings.MIPMAP_TEXTURES
toBaseTexture.defaultOptions.mipmap
- Move
settings.ANISOTROPIC_LEVEL
toBaseTexture.defaultOptions.anisotropicLevel
- Move
settings.SPRITE_BATCH_SIZE
toBatchRenderer.defaultBatchSize
- Move
settings.SPRITE_MAX_TEXTURES
toBatchRenderer.defaultMaxTextures
- Move
settings.CAN_UPLOAD_SAME_BUFFER
toBatchRenderer.canUploadSameBuffer
- Move
BatchRenderer#MAX_TEXTURES
toBatchRenderer#maxTextures
- Move
settings.UPLOADS_PER_FRAME
toBasePrepare.uploadsPerFrame
- Move
settings.SORTABLE_CHILDREN
toContainer.defaultSortableChildren
- Move
settings.TARGET_FPMS
toTicker.targetFPMS
- Move
settings.GC_MODE
toTextureGCSystem.defaultMode
- Move
settings.GC_MAX_IDLE
toTextureGCSystem.defaultMaxIdle
- Move
settings.GC_MAX_CHECK_COUNT
toTextureGCSystem.defaultCheckCountMax
- Move
settings.MESH_CANVAS_PADDING
toMesh.defaultCanvasPadding
- Move
settings.PRECISION_FRAGMENT
toProgram.defaultFragmentPrecision
- Move
settings.PRECISION_VERTEX
toProgram.defaultVertexPrecision
- Move
- Move
Text.experimentalLetterSpacing
toTextMetrics.experimentalLetterSpacing
(#8915, #8945) @SuperSodaSea - Deprecate
filters
namespace (#9039) @bigtimebuddy
๐งน Chores
- Chore: BaseTexture defaults
format
,type
,target
,alphaMode
toBaseTexture.defaultOptions
(#8868) @bigtimebuddy - Chore: Refactor NodeCanvasElement (#8851) @SuperSodaSea
- Chore: Remove constant tag from documentation (#8914) @bigtimebuddy
- Chore: Add tests for AnimatedSprite.onLoop (#8919) @SuperSodaSea
- Chore: Bump
@pixi/webdoc-template
1.5.5 (#8927) @SuperSodaSea - Chore: Add ESLint cache (#8935) @Simon-He95
- Chore: Add imports / exports lint rules (#8932) @SuperSodaSea
- Chore: Add
--strictNullChecks
check for specific path (#8965) @SuperSodaSea - Chore: Update document (#8974) @SuperSodaSea
- Chore: Add GitHub issue forms (#8981) @SuperSodaSea
- Chore: Add strict null checks to @pixijs/utils (#8960) @Emobe
- Chore: Add CDN Install in READMEs for browser builds (#9020) @SuperSodaSea
- Chore: @pixi/node README.md improvements (#9033) @StanFlint
- Chore: Remove some duplicate definitions (#9045) @SuperSodaSea