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) - use
its-fine
to bridge context across the application boundary (a827ee6) - use explicit typing in
UseAssetsStatus
(47f0da4) - use pixi.js@dev until type updates are merged (5b4cb23)
- use proper config for official devtools (72bec4d)
- use readonly ref objects (e329e35)
- useSuspenseAssets (800d9e5)
- useTick: fix
useTick
not firing in SSR envs (775cc4d), closes #506
chore
- remove legacy code (592e178)
Code Refactoring
- make unprefixed elements opt-in (b820aba)
Features
- add
attachToDevTools
prop to the<Application>
component (798ad38) - add
defaultTextStyle
to<Application>
(a82a04b) - add
extension
prop to<Application>
(3156c65) - 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 support for the
onError
callback inuseAsset
(b0031a9) - add the
<Application>
wrapper component (806a554) - add the
extend
API anduseExtend
hook (b4c2f8a) - add the
useAssets
hook (6755f77) - add the
useSuspenseAssets
hook (fe68cee) - base reconciler (f333f2b)
- bundled dist package (1b9d9d0)
- bundled dist package (4794130)
- doc updates (bd642a2)
- doc updates (31c9af0)
- ensure cmoponents show up in React devtools (af80525)
- export the
useAsset
hook (bef3dec) - export the
useExtend
hook (d7438e2) - export the vanilla
extend
method (1cb88e0) - put tools in place for e2e testing (4d6e2c6)
- 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) - upgrade reconciler for React 19 (e121bb8)
Reverts
- Revert "refactor: eliminate unnecessary exports from typedefs" (998c1ac)
BREAKING CHANGES
- unprefixed elements must be explicitly added
Signed-off-by: Trezy tre@trezy.com
- All traces of v7 are gone.