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

Latest commit

 

History

History
86 lines (52 loc) · 3.8 KB

CHANGELOG.md

File metadata and controls

86 lines (52 loc) · 3.8 KB

Changelog

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.

Features

  • build: add standard-version release system (ff38b57)
  • build: change build target to ES6 modules (96384c6)
  • build: compile Reason automatically before running tests (68513ef)
  • deps: add package lock file (14841ff)
  • deps: use exact versions of dependencies (2fc885f)

BREAKING CHANGES

  • build: As output JavaScript has ES6 module format now, supporting ES5 targets requires additional transpilation.
  • deps: Updated to use JSX 3 and bs-platform@8 by @erykilast (see #29)

0.6.1 2019-02-01

[Fixed]

  • An issue where bs-enzyme's map function was incorrectly bound to enzyme's forEach method was resolved thanks to @mkamener (see #17)

0.6.0 2019-01-08

Added

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

0.5.3 2018-11-06

Fixed

  • Resolved a security vulerability affecting the project's merge dependency (see CVE-2018-16469)

0.5.2 2018-10-03

Fixed

  • The README example no longer uses deprecated APIs (caught by @lukashambsch)

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

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

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.

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