Releases: pixijs/pixi-react
Releases · pixijs/pixi-react
v8.0.0
8.0.0 (2025-02-28)
Bug Fixes
<Application>
ref works again (a5bac5f)defaultTextStyle
is properly typed (4070a1d)- add better error handling for unavailable components (66e5235)
- add constructor overrides for filters (179fa04)
- add content to default codesandbox (6731ce2)
- add displacement filter (6a5d701)
- add empty tsconfig for codesandbox (9ddbcb3)
- add missing constructor overrides; remove redundant overrides (d470738)
- add support for hiding instances (354b1db)
- allow
key
prop on components (2d64f26) - apply event handlers on first render (0f41857)
- ConstructorOverrides & setup type checking on tests (n/a type tests) (c442eb2)
- disallow children from being passed to constructors (7c6beea)
- enforce valid extensions are passed to
extensions
prop (2f5f256) - ensure
<Application>
children
is optional (4ae3129) - ensure
draw
calls are being run (f7a0eb7) - ensure
useTick
callback is updated when app is initialised (35d4643) - ensure
useTick
is enabled by default (5a1b4f3) - ensure DrawCallback is only available on Graphics (ef91ad3)
- ensure that useAssets does not infer type from data (9dec6bb)
- explicitly define the
render
export (6888b4d) - fix infinite recursion type issue (ef34eaa)
- fix type errors (9fe7a02)
- fix type issues in applyProps (acdf5bd)
- fix type paths (0bfb24f)
- get more specific with Instance types (b7fdf05)
- guarantee
useTick
callback is never called with the wrong context (22c830b) - handle unmounting
<Application>
(b91fa7e) - include all lib files in the package (4f3cd33)
- lock reconciler version (f369d52)
- make
useAsset
'sonProgress
callback optional (#503) (f157dd3) - make Application children optional (504aaa9)
- make name overrides immutable (49d57bd)
- make sure
<text>
components have the correct props (852140b) - make sure all options types are available as props (3a4a029)
- make sure applications always have a canvas in internal state (4d8f15b)
- match Pixi expectations for extensions (2e79fc0)
- only allow
draw
on<graphics>
components (31f80b5) - pass the correct parameters to
useTick
callbacks (5ea5856) - potential fix for #531 (8a07f1d)
- prevent
draw
prop from being excluded from the diff (715fef7) - prevent
draw
prop from being stored on the instance (0af37ea) - prevent
draw
prop from getting lumped in with Pixi props (e876f4c) - prevent accidental accessing of
ref
(5505c1a) - prevent ApplicationOptions from overwriting React children (34c977f)
- prevent project root from being included in types (fbacf1b)
- remove
Application
from being in the catalogue by default (8f27aaf) - remove false positive invariant when changing a component's children (34e08ff), closes #493
- remove invalid Pixi React props from JSX elements (89954aa)
- Remove union types from ConstructorOptions (814a351)
- remove unnecessary generics (b89dd89)
- reordering children could cause errors (9964a3f)
- report the correct library version to React devtools (b89049c)
- restore jsdom (f598c55)
- restore Pixi component property typings (847773c)
- revert constructor options changes and replace never with unknown for composition (baa1fe4)
- send app state to context (9f4cc69)
- types: update resizeTo ref type (068eec3)
- update
onInit
handler in<Application>
(cf17871) - update
render
properties and remove JSX (cbec33f) - update
UseAssetsStatus
import inUseAssetsResult
(179b185) - update
useTick
isEnabled
typedef and readme (7daeb17) - update branch names in release config (3093d8d)
- update function signature type for
draw
(da470f6) - update minimum Pixi.js version (b727fb4)
- update Pixi.js version (2b906f8)
- update props order when diffing a newly created component (557d047)
- update types for
extend
anduseExtend
(0a55ba8)...
v8.0.0-beta.25
v8.0.0-beta.24
v8.0.0-beta.23
v8.0.0-beta.22
v8.0.0-beta.21
v8.0.0-beta.20
8.0.0-beta.20 (2025-01-04)
Code Refactoring
- make unprefixed elements opt-in (b820aba)
BREAKING CHANGES
- unprefixed elements must be explicitly added
Signed-off-by: Trezy tre@trezy.com
v8.0.0-beta.19
v8.0.0-beta.18
8.0.0-beta.18 (2024-12-31)
Bug Fixes
- use
its-fine
to bridge context across the application boundary (a827ee6)