Releases: pixijs/pixi-react
Releases · pixijs/pixi-react
v8.0.0-beta.8
8.0.0-beta.8 (2024-08-15)
Bug Fixes
- add content to default codesandbox (6731ce2)
- add empty tsconfig for codesandbox (9ddbcb3)
- ConstructorOverrides & setup type checking on tests (n/a type tests) (c442eb2)
- ensure DrawCallback is only available on Graphics (ef91ad3)
- revert constructor options changes and replace never with unknown for composition (baa1fe4)
v8.0.0-beta.6
8.0.0-beta.6 (2024-08-01)
Bug Fixes
- remove unnecessary generics (b3d5e11)
- update
UseAssetsStatus
import inUseAssetsResult
(49f6cf2) - use explicit typing in
UseAssetsStatus
(8c78809) - ensure
useTick
callback is updated when app is initialised (35d4643)
Features
v8.0.0-beta.4
v8.0.0-beta.3
8.0.0-beta.3 (2024-07-30)
Bug Fixes
- fix infinite recursion type issue (ef34eaa)
- fix type issues in applyProps (acdf5bd)
- remove invalid Pixi React props from JSX elements (89954aa)
- reordering children could cause errors (9964a3f)
- update branch names in release config (3093d8d)
- update minimum Pixi.js version (b727fb4)
- useTick: fix
useTick
not firing in SSR envs (775cc4d), closes #506
v8.0.0-beta.2
v8.0.0-beta.1
8.0.0-beta.1 (2024-07-12)
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 support for hiding instances (354b1db)
- allow
key
prop on components (2d64f26) - disallow children from being passed to constructors (7c6beea)
- explicitly define the
render
export (6888b4d) - fix type errors (9fe7a02)
- fix type paths (0bfb24f)
- get more specific with Instance types (b7fdf05)
- guarantee
useTick
callback is never called with the wrong context (22c830b) - include all lib files in the package (4f3cd33)
- lock reconciler version (f369d52)
- make name overrides immutable (49d57bd)
- make sure
<text>
components have the correct props (852140b) - make sure all options types are available as props (3a4a029)
- only allow
draw
on<graphics>
components (31f80b5) - pass the correct parameters to
useTick
callbacks (5ea5856) - 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)
- remove
Application
from being in the catalogue by default (8f27aaf) - remove false positive invariant when changing a component's children (34e08ff), closes #493
- report the correct library version to React devtools (b89049c)
- restore Pixi component property typings (847773c)
- update
render
properties and remove JSX (cbec33f) - update function signature type for
draw
(da470f6) - update Pixi.js version (2b906f8)
- update props order when diffing a newly created component (557d047)
- update types for
extend
anduseExtend
(0a55ba8) - use pixi.js@dev until type updates are merged (5b4cb23)
- use proper config for official devtools (72bec4d)
- use readonly ref objects (e329e35)
chore
- remove legacy code (592e178)
Features
- add
attachToDevTools
prop to the<Application>
component (798ad38) - add
defaultTextStyle
to<Application>
(a82a04b) - add npm publishing to CI (7f066b0)
- add prefixed components (ea5815d)
- add proper builds (2a22ba3)
- add proper support for official devtools (2f8c4a6)
- add support for
ref
on<Application>
component (a0a74a9) - add support for custom components (fd96cf2)
- add support for filter components (64b2a96)
- add support for pascal-cased events (0077584)
- add the
<Application>
wrapper component (806a554) - add the
extend
API anduseExtend
hook (b4c2f8a) - base reconciler (f333f2b)
- ensure cmoponents show up in React devtools (af80525)
- export the
useAsset
hook (bef3dec) - export the
useExtend
hook (d7438e2) - export the vanilla
extend
method (1cb88e0) - restore graphics
draw
prop (9f44b97) - restore the
useApp
hook (d6f281a) - restore the
useTick
hook (f44cf6d) - update
useAsset
to better support Suspense on Next.js (de99be6)
Reverts
- Revert "refactor: eliminate unnecessary exports from typedefs" (998c1ac)
BREAKING CHANGES
- All traces of v7 are gone.
v8.0.0-alpha.2
8.0.0-alpha.2 (2024-07-12)
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 support for hiding instances (354b1db)
- allow
key
prop on components (2d64f26) - disallow children from being passed to constructors (7c6beea)
- explicitly define the
render
export (6888b4d) - fix type errors (9fe7a02)
- fix type paths (0bfb24f)
- get more specific with Instance types (b7fdf05)
- guarantee
useTick
callback is never called with the wrong context (22c830b) - include all lib files in the package (4f3cd33)
- lock reconciler version (f369d52)
- make name overrides immutable (49d57bd)
- make sure
<text>
components have the correct props (852140b) - make sure all options types are available as props (3a4a029)
- only allow
draw
on<graphics>
components (31f80b5) - pass the correct parameters to
useTick
callbacks (5ea5856) - 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)
- remove
Application
from being in the catalogue by default (8f27aaf) - remove false positive invariant when changing a component's children (34e08ff), closes #493
- report the correct library version to React devtools (b89049c)
- restore Pixi component property typings (847773c)
- update
render
properties and remove JSX (cbec33f) - update function signature type for
draw
(da470f6) - update Pixi.js version (2b906f8)
- update props order when diffing a newly created component (557d047)
- update types for
extend
anduseExtend
(0a55ba8) - use pixi.js@dev until type updates are merged (5b4cb23)
- use proper config for official devtools (72bec4d)
- use readonly ref objects (e329e35)
chore
- remove legacy code (592e178)
Features
- add
attachToDevTools
prop to the<Application>
component (798ad38) - add
defaultTextStyle
to<Application>
(a82a04b) - add prefixed components (ea5815d)
- add proper builds (2a22ba3)
- add proper support for official devtools (2f8c4a6)
- add support for
ref
on<Application>
component (a0a74a9) - add support for custom components (fd96cf2)
- add support for filter components (64b2a96)
- add support for pascal-cased events (0077584)
- add the
<Application>
wrapper component (806a554) - add the
extend
API anduseExtend
hook (b4c2f8a) - base reconciler (f333f2b)
- ensure cmoponents show up in React devtools (af80525)
- export the
useAsset
hook (bef3dec) - export the
useExtend
hook (d7438e2) - export the vanilla
extend
method (1cb88e0) - restore graphics
draw
prop (9f44b97) - restore the
useApp
hook (d6f281a) - restore the
useTick
hook (f44cf6d) - update
useAsset
to better support Suspense on Next.js (de99be6)
Reverts
- Revert "refactor: eliminate unnecessary exports from typedefs" (998c1ac)
BREAKING CHANGES
- All traces of v7 are gone.
v8.0.0-alpha.1
8.0.0-alpha.1 (2024-07-12)
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 support for hiding instances (354b1db)
- allow
key
prop on components (2d64f26) - disallow children from being passed to constructors (7c6beea)
- explicitly define the
render
export (6888b4d) - fix type errors (9fe7a02)
- fix type paths (0bfb24f)
- get more specific with Instance types (b7fdf05)
- guarantee
useTick
callback is never called with the wrong context (22c830b) - include all lib files in the package (4f3cd33)
- lock reconciler version (f369d52)
- make name overrides immutable (49d57bd)
- make sure
<text>
components have the correct props (852140b) - make sure all options types are available as props (3a4a029)
- only allow
draw
on<graphics>
components (31f80b5) - pass the correct parameters to
useTick
callbacks (5ea5856) - 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)
- remove
Application
from being in the catalogue by default (8f27aaf) - remove false positive invariant when changing a component's children (34e08ff), closes #493
- report the correct library version to React devtools (b89049c)
- restore Pixi component property typings (847773c)
- update
render
properties and remove JSX (cbec33f) - update function signature type for
draw
(da470f6) - update Pixi.js version (2b906f8)
- update props order when diffing a newly created component (557d047)
- update types for
extend
anduseExtend
(0a55ba8) - use pixi.js@dev until type updates are merged (5b4cb23)
- use proper config for official devtools (72bec4d)
- use readonly ref objects (e329e35)
chore
- remove legacy code (592e178)
Features
- add
attachToDevTools
prop to the<Application>
component (798ad38) - add
defaultTextStyle
to<Application>
(a82a04b) - add prefixed components (ea5815d)
- add proper builds (2a22ba3)
- add proper support for official devtools (2f8c4a6)
- add support for
ref
on<Application>
component (a0a74a9) - add support for custom components (fd96cf2)
- add support for filter components (64b2a96)
- add support for pascal-cased events (0077584)
- add the
<Application>
wrapper component (806a554) - add the
extend
API anduseExtend
hook (b4c2f8a) - base reconciler (f333f2b)
- ensure cmoponents show up in React devtools (af80525)
- export the
useAsset
hook (bef3dec) - export the
useExtend
hook (d7438e2) - export the vanilla
extend
method (1cb88e0) - restore graphics
draw
prop (9f44b97) - restore the
useApp
hook (d6f281a) - restore the
useTick
hook (f44cf6d) - update
useAsset
to better support Suspense on Next.js (de99be6)
Reverts
- Revert "refactor: eliminate unnecessary exports from typedefs" (998c1ac)
BREAKING CHANGES
- All traces of v7 are gone.
v7.1.3
v7.1.2
What's Changed
- Fix: hostconfig insertBefore requesting rerender fixes #408 by @jsimomaa in #470
- Fix typing of oldProps in applyProps by @zOadT in #473
- Chore: update docs by @gregfenton @Zyie in #478
- Chore: update invariant messages by @Zyie in #479
New Contributors
- @jsimomaa made their first contribution in #470
- @zOadT made their first contribution in #473
- @gregfenton made their first contribution in #478
Full Changelog: v7.1.1...v7.1.2