All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
1.0.6 - 2023-01-13
- Added support for events in PixiJS v7.1 (#306)
1.0.4 - 2022-10-19
- Fixed reconciler to check that parent exists before calling
appendChild
(#291) - Fixed
useStageRerenderer
hook inReact.StrictMode
(#285)
1.0.3 - 2022-10-11
- Fixed reconciler to check that container exists before calling
removeChildren
(#286)
1.0.2 - 2022-09-01
- Fixed ES build by replacing inline require with regular import (#283)
1.0.1 - 2022-08-02
- Fixed peer dependencies (#277)
1.0.0 - 2022-07-19
- Added ReactDOM-like prop validation in development (#47)
- Added ES format output
- Added missing
prop-types
dependency (#221)
- Updated build dependencies
- Updated dev dependencies
- Changed
Stage
class and function component types to be the same (#225) - Changed Stage to delay destroying PIXI.Application when unmounting
- Changed usePixiApp to throw an error when used outside of (#227)
- Fixed type of
oldProps
sent tocustomApplyProps
ofCustomPIXIComponent
- Fixed hook-based
Stage
to render and rerender synchronously (#204) - Fixed type compatibility with PixiJS v6.0.0 (#210)
- Fixed breaking change when undefined values were assigned to props with previously defined values
- Removed
performance-now
dependency
0.14.2 - 2020-11-28
- Fixed compatibility with React 17 and React.Suspense (#196)
0.14.1 - 2020-07-13
- Fixed type compatibility with PixiJS v5.3.0 (#185)
0.14.0 - 2020-04-04
- Added component ([#176])
- Fixed applyProps type definition ([#176])
- Fixed
StagePropsWithOptions
type definition to work with both PixiJS v4 and v5 (#180) - Fixed
StageProps
type definition to includeContainer
props and exclude width and height (#182)
0.13.2 - 2020-02-17
- Fixed
Stage
not to resize renderer if app is provided in props (#174)
0.13.1 - 2020-02-13
- Added exports for type of props for built-in components (#170)
0.13.0 - 2020-02-03
- Added
style
prop toBitmapText
type (#166)
- Fixed type definitions to work with both PixiJS v4 and v5 (#166)
- Fixed type definitions for properties of type
any
being replaced withPointLike
(#166) - Fixed type definitions for built-in components to be able to use
ref
s (#166) - Fixed type definitions for
AppContext
which was exported as type, not as value (#166)
0.12.3 - 2020-01-28
- Added missing type definitions (#163)
- Fixed type definitions for
CustomPIXIComponents
(#163) - Fixed type definitions for
Stage
to be able to useref
s (#165)
0.12.2 - 2020-01-20
- Added support for point like props (#162)
- Rewrote types definition
0.12.1 - 2019-12-26
- Fixed
ReactPixiFiber
to destroy child components when parent is removed from tree (#157)
0.12.0 - 2019-11-23
- Added
app
prop toStage
(#154)
- Deprecated
width
andheight
props ofStage
(#153)
0.11.1 - 2019-10-25
- Fixed usage of Point copy/copyFrom in PixiJS v5 (#149)
0.11.0 - 2019-10-22
- Exposed
createStageClass
fromStage
(#147) - Changed dev tools version reported to be
React
version instead ofReactPixiFiber
version (#148)
0.10.0 - 2019-10-18
- Added
usePixiAppCreator
,usePixiApp
andusePixiTicker
hooks (#127)
- Improved hooks support (#127)
0.9.3 - 2019-08-29
- Changed
console.warn
calls intofbjs/lib/warning
calls.
- Fixed setting default prop value when removing prop from instance (#141)
0.9.2 - 2019-08-01
- Fixed type definition to include
withApp
(#125)
0.9.1 - 2019-07-31
- Fixed renderer to be secondary when using
<Stage />
component
0.9.0 - 2019-07-01
- Added
scheduler
- Updated
react-reconciler
to0.20.4
(#122)
- Fixed PixiJS v5 compatibility issues (#118)
0.8.2 - 2019-07-01
- Changed
render
to inject into dev tools once percontainerTag
- Fixed
setPixiValue
for Point values when using PixiJS v5 (#120)
0.8.1 - 2019-05-29
- Fixed interactive elements type definition (#109)
- Removed
package.json
references from bundled code (#112)
0.8.0 - 2019-02-24
- Expose
applyProps
fromReactPixiFiber
(#95) - Added example of "native" Animated target for
react-pixi-fiber
(#95) - Added custom test environment for
jest
(#97)
- Replaced deprecated canvas-prebuilt development dependency by canvas (#97)
- Fixed
customDidAttach
of example<DraggableContainer />
component (#91) - Fixed
insertBefore
method ofReactPixiFiber
(#98)
0.7.0 - 2018-12-27
- Added unstable_batchedUpdates API (#89)
0.6.2 - 2018-11-14
- Fixed PixiJS event props not being passed to
<Stage />
component (#85)
0.6.1 - 2018-11-10
- Fixed context not passed through from primary renderer (
react-dom
) intoreact-pixi-fiber
(#84)
0.6.0 - 2018-11-10
- Fixed React 16.6.0 compatibility (#83)
0.5.1 - 2018-11-02
- Added AppContext to type definition (#81)
- Fixed render function type definition (#76)
0.5.0 - 2018-10-10
- Added support for New Context API (#72)
- Fixed React 16.5.0 compatibility (#71)
0.4.9 - 2018-07-09
- Changed
defaultApplyProps
to wrap console warnings in dev flag (#67)
0.4.8 - 2018-06-25
- Updated
react-reconciler
to0.12.0
(#65)
- Removed namespace from Typescript definition (#64)
0.4.7 - 2018-06-10
- Changed
<Stage />
to supportwidth
andheight
passed inoptions
prop (#60)
- Fixed TypeScript definitions to support TypeScript 2.9 (#58)
- Fixed memory leak when mounting/unmounting
<Stage />
(#61)
0.4.6 - 2018-05-22
- Fixed TypeScript definitions (#54)
0.4.5 - 2018-05-18
- Updated
react-reconciler
to0.10.0
(#53)
0.4.4 - 2018-05-09
- Fixed cjs build of react-pixi-alias
0.4.3 - 2018-03-28
- Fixed entry point to load module by env
- Fixed
commitUpdate
forCustomPIXIComponents
(#44)
0.4.2 - 2018-03-27
- Fixed cjs build
0.4.1 - 2018-03-27 [YANKED]
- Added unit tests (#6)
- Changed bundler from babel-cli to Rollup
- Fixed
prepareUpdate
to return diff of props (#43)
0.4.0 - 2018-02-28
- Fixed DisplayObject members passed to Stage as props not being applied to root Container (#38)
0.3.1 - 2018-02-25
- Fixed PropTypes warning in Stage (#34)
- Added
react-pixi-alias.js
file to distributed packagefiles
list (#37)
0.3.0 - 2018-02-15
- Added parser for PIXI.Point-like props - Point-like DisplayObject members can now be assigned using string, number, array and Point/ObservablePoint (#19)
- Added support for custom components using
react-pixi
API (#19)
- Changed
<Stage />
to passoptions
prop toPIXI.Application
(#28) - Changed
<Stage />
to pass not consumed props to rendered canvas (#29) - Changed
<Stage />
to resize renderer when dimensions are changed (#30) - Changed inconsistent usage of reconciler config functions to use regular functions instead of anonymous arrow functions
- Changed
PIXI.DisplayObject
members handling when passed as props -undefined
values will now be replaced with default values if default defined
- Fixed deprecated usage of
PIXI.BitmapText
toPIXI.extras.BitmapText
- Removed
backgroundColor
prop from<Stage />
(#28)
0.2.5 - 2018-02-11
- Added back removed
useSyncScheduling
option (#15)
0.2.4 - 2018-02-07 [YANKED]
- Removed deprecated
useSyncScheduling
option (#15)
0.2.3 - 2018-02-06
- Added an alias for "easy" migration from
react-pixi
(#9) - Added TypeScript definitions (#8)
0.2.2 - 2018-01-17
- Fixed distributed cjs files by using
transform-es2015-modules-commonjs
withbabel
(#4)
0.2.1 - 2018-01-17
- Added
<ParticleContainer />
component - Added development build script
- Added
files
topackage.json
0.2.0 - 2018-01-05
- Added standalone
render
function (#2)
0.1.1 - 2018-01-05
- Added missing
performance-now
dependency
- Added
ReactPixiFiber
renderer - Added
<Stage />
component - Added
<BitmapText />
component - Added
<Container />
component - Added
<Graphics />
component - Added
<Sprite />
component - Added
<Text />
component - Added
<TilingSprite />
component