Skip to content
This repository has been archived by the owner on Jul 8, 2021. It is now read-only.

Releases: rhysforyou/bs-enzyme

v0.6.0

07 Jan 22:57
Compare
Choose a tag to compare

Added

  • Support for Enzyme's new getElement and getElements APIs added by @abenoit (see #16)

0.5.0: Full DOM Rendering

03 Oct 03:56
Compare
Choose a tag to compare

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

16 Apr 01:19
Compare
Choose a tag to compare

This release updates our ReasonReact dependency to 0.3.2. Thanks to @kolljohnson these improvements.

0.3.0: React 16 & Enzyme 3

30 Nov 07:08
Compare
Choose a tag to compare

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

19 Nov 00:03
Compare
Choose a tag to compare
Pre-release

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

30 Aug 01:42
Compare
Choose a tag to compare

⚠️ All releses up until 1.0 will contain breaking changes. Be sure to read the release notes ⚠️

Breaking Changes

  • The Enzyme.getLength function has been renamed to Enzyme.length for consistency #1
  • The props, propFor, setProps, state, stateFor, setState, context, contextFor, and setContext functions have been renamed to jsProps, jsPropFor, setJsProps, jsState, jsStateFor, setJsState, jsContext, jsContextFor, and setJsContext respectively.

New

  • Enzyme.foldLeft and Enzyme.foldRight have been added as wrappers around shallowWrapper's reduce and reduceRight methods.
  • Enzyme.state now returns a component's reasonState