This repository has been archived by the owner on Jul 8, 2021. It is now read-only.
Releases: rhysforyou/bs-enzyme
Releases · rhysforyou/bs-enzyme
v0.6.0
0.5.0: Full DOM Rendering
Added
- Initial support for the
mount
API added by @wezm
Changed
- ReasonReact dependency updated to
>=0.5.0
- BuckleScript platform dependency updated to
>=4.0.0
0.4.0: ReasonReact 0.3.x Support
This release updates our ReasonReact dependency to 0.3.2. Thanks to @kolljohnson these improvements.
0.3.0: React 16 & Enzyme 3
This release brings support for React 16 and Enzyme 3 thanks to @viebel's help. The README has been updated with examples of how to use the new adapter API.
0.3.0 b1: React 16 & Enzyme 3
This release brings support for React 16 and Enzyme 3 thanks to @viebel's help. The docs haven't been updated, but see the pull request for an example of how to use it.
0.2.0: Better State support
Breaking Changes
- The
Enzyme.getLength
function has been renamed toEnzyme.length
for consistency #1 - The
props
,propFor
,setProps
,state
,stateFor
,setState
,context
,contextFor
, andsetContext
functions have been renamed tojsProps
,jsPropFor
,setJsProps
,jsState
,jsStateFor
,setJsState
,jsContext
,jsContextFor
, andsetJsContext
respectively.
New
Enzyme.foldLeft
andEnzyme.foldRight
have been added as wrappers aroundshallowWrapper
'sreduce
andreduceRight
methods.Enzyme.state
now returns a component'sreasonState