This repository has been archived by the owner on Oct 9, 2023. It is now read-only.
Releases: finos/openfin-react-hooks
Releases · finos/openfin-react-hooks
v2.0.0
Breaking Changes
- Change signature of all the inter application bus hooks:
useInterApplicationBusSubscribe
,useInterApplicationBusSend
,useInterApplicationBusPublish
(thanks @ms14981 @jlight-scottlogic @oriondean ).- Subscribe hook additionally takes
onReceiveMessage
andonFail
callbacks as the third and fourth parameters respectively. It now returns only a booleanisSubscribed
to indicate whether the topic specified is currently subscribed to. - Send and publish hooks now no longer accept the message to send as a parameter, but return a function that takes the message as the only argument and sends the message.
- Subscribe hook additionally takes
Features
- Two new hooks;
useCallbackWhenAllChildWindowsClosed
,useCallbackWhenAnyChildWindowClosed
added (thanks @jlight-scottlogic @oriondean )
Miscellaneous
- Minor UX improvements (thanks @oriondean @markjose )
v1.3.3
Features
- Add Set functionality to useBounds hook (thanks to @jlight-scottlogic)
Bug Fixes
- Fix for fin undefined on useInterApplicationBus hooks (thanks to @darrenfurr @ms14981)
- Ensure style and links are included for useChildWindow shouldInheritCss Option (thanks to @SL-SWoods)
Miscellaneous
- Update readme to give more info on running the demo app (thanks to @jlight-scottlogic)
- Run
npm audit fix
to resolve medium, high and critical demo application vulnerabilites (thanks to @jlight-scottlogic)
v.1.3.1
Bug Fixes
- Fix populate not firing due to htmlDocument being undefined. (thanks to @AugusteBa)
v1.3.0
Features
- Added
useNotification
hook (thanks to @AugusteBa)
Bug Fixes
- Clear out window references when a child window is closed by the user rather than programatically (via close button) (thanks to @AugusteBa)
Miscellaneous
- Updated documentation (NOTICE / README / CONTRIBUTING) to meet FINOS requirements (thanks to @ColinEberhardt)
- Added license validation to npm scripts + CI (thanks to @ColinEberhardt)
v1.2.0
Features
- Added
useChildWindow
hook (thanks to @AugusteBa) - Added additional undocking options to
useDockWindow
hook (thanks to @jrhenderson1988)
Bug Fixes
- Fixed bug with
useDockWindow
sometimes initialising with wrong screen edge (thanks to @kangelSL)
Miscellaneous
- Changed from MIT to Apache 2.0 License (thanks to @ColinEberhardt, @maoo)
- Moved
react-scripts
andTypeScript
from devDependencies to dependencies (demo application) (thanks to @ColinEberhardt , @maoo)