PixiJS v5.3.0 Release Notes
Release Date: 2020-06-19 // almost 4 years ago-
π± πΎ Download
π Development Build:
π Production Build:
π Documentation:
π Changed
π± π Added
- TypeScript Conversion (#6261, #6339, #6349, #6371, #6315, #6340, #6373, #6352, #6375, #6376, #6386, #6382, #6379, #6383, #6385, #6392, #6389, #6381, #6397, #6398, #6390, #6396, #6449, #6472, #6483, #6485, #6499, #6481, #6479, #6503, #6608, #6626, #6622, #6630, #6637, #6654, #6656, #6657, #6669, #6658, #6663, #6664, #6659, #6665, #6655, #6666, #6673, #6694, #6696, #6697, #6699, #6692, #6695, #6698, #6705, #6706, #6707, #6708, #6710)
- π Change filter clear parameter to clear modes (#6295, #6336)
- π Support Text-based format for BitmapText example (#6347)
- β Add ability for clearing separate color and depth buffers (#6358)
- Overload Polygon constructor for accuracy, loosen Point requirement (#6378)
- β Add multisampling support in FrameBufferSystem (#6296)
- π Fix documentation typings (#6402)
- π Support auto-detection of CubeResource types (#6409)
- β Adds
resize
event to the Renderer and CanvasRenderer (#6415) - β Adds support for structs in shader uniforms (#6298)
- β‘οΈ Update imports to use import type (#6448)
- β Add support for lineJoin, lineCap and miterLimit to Graphics line rendering example (#6502, #6545, #6584)
- π Support Github Actions, remove Travis (#6581, #6607, #6605)
- β Add optional @pixi/graphics-extras package example (#6613)
- β Add BitmapFont.from to generate BitmapFonts on-the-fly example (#6600, #6640, #6641, #6643)
- Slack Invite! (#6632)
- β Add options to style passed in BitmapText constructor (#6671)
- Provide a convenience
Texture.fromURL
API to handle invalid URLs more effectively (#6687) - Formalizes the Use of IPointData (#6704)
- β Add RenderTexture support for CubeResource (#6435)
- β Add option for recursive search in
@pixi/mixin-get-child-by-name
(#6713)
π± π Fixed
- π Documentation fixes (#6601, #6602, #6618, #6645, #6649)
- π¨ LastBoundsID final refactoring (#6334)
- π¨ Refactor generateUniformsSync to use an exposed set of parsers (#6369)
- Auto-detect using 32-bit index buffer for large Graphics (#6417)
- β‘οΈ Making Text's
updateText
to be public (#6425) - π Fix when webgl2 is not exist on global scope (#6434)
- Throttle resize events for Application
resizeTo
(#6415) - Optimization fix calculating and caching local bounds. (#6365, #6477)
- π Fix incorrect mentions of deprecated namespaces (#6470)
- π Fix RenderTexture destroy also disposing the depth texture (#6561)
- Minor code simplifications in Framebuffer and Projection systems (#6587)
- π Fix inaccurate code sample in graphics (#6598)
- π Support mime-type overrides for VideoResource (#6549)
- 0οΈβ£ Future-proof maxRecommendedTextures to default to max if OS version is unknown (#6603)
- π Fix JSDoc comments to standardize @param tags with hyphen before description (#6634)
- π Ignore the package-lock.json files in packages (#6631)
- π Fix polygon offset (#6675)
- β Remove old unnecessary eslint rule (#6693)
- π Fix RenderTexture clear in CanvasRenderer (#6712)
- β Remove display package dependency within core (#6450)
π± π½ Deprecated
- π Renames
BitmapText.registerFont
toBitmapFont.install
(#6347) - π Renames
BitmapText.fonts
toBitmapFont.available
(#6347) - π Deprecate
TilingSprite
'sfromImage
andfromFrame
(#6410) - β Remove
forceFXAA
Application and Renderer option (#6455) - β Removed
extract
property from CanvasRenderer (#6503) - β Remove
interaction
andaccessibility
namespaces (#6681, #6703)
β¬οΈ π§ Upgrade Notes
For TypeScript users upgrading from 5.2.x, note that Loader events (
complete
,error
,load
,start
) are not longer supported in types (will only work runtime using the pixi.js or pixi.js-legacy with deprecations enabled). You'll need to upgrade your code to use Loader's signals instead, which have been available since 5.0.0. For example:const loader = new Loader();loader.on('complete', () => {}); // supported in < 5.3.0loader.onComplete.add(() => {}); // supported in >= 5.0.0
π± π Contributors: 24
- Mat Groves (@GoodBoyDigital)
- Ivan Popelyshev (@ivanpopelyshev)
- @Zyie
- Matt Karl (@bigtimebuddy)
- π @amakaseev
- Andrew Start (@andrewstart)
- Konstantin Timoshenko (@eXponenta)
- Timo KΓ€mΓ€rΓ€inen (@qtiki)
- Russell Speke (@TheWyo)
- Dave Moore (@themoonrat)
- @soylomass
- Jens Malmborg (@jnsmalm)
- @SukantPal
- @Loonride
- @zxc122333
- @JetLua
- @GreenishFlow
- @maximgavrilov
- Yury Kuvetski (@YuryKuvetski)
- Yu-Hsiang Hung (@EIA)
- Michael Schneider (@TheOriginalArkless)
- Lorenzo Fontoura (@rellfy)
- Manuel Fallmann-Kerrutt (@mfallmann)
- Yevhenii Huselietov (@cursedcoder)
- Hendrik Mans (@hmans)
- Connor Clark (@connorjclark)
- @SerG-Y