Skip to content

Commit

Permalink
Add release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
ayrton committed Oct 4, 2017
1 parent eaf155f commit 91089e9
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,30 @@
1.0.0 / Unreleased
==================

* [feature] Add support for enzyme ^3.0.0 (which implies React 16 support)
* [feature] Support an array of nodes in `contain`
* [breaking] If you are using cheerio 1.0, there's' a possibility you will have
to wrap your React components with a div wrapper.

```jsx
<div id='parent'>
<div id='child' />
<div>
```

```js
// Enzyme 2
wrapper.find('#parent').length //=> 1
wrapper.is('#parent') //=> false

// Enzyme 3
wrapper.find('#parent').length //=> 0
wrapper.is('#parent') //=> true
```

The new version returns a cheerio wrapper with a type of tag that IS the parent element.
Before it returned a wrapper with a type root that contains the parent element.

0.8.0 / June 29 2017
===================

Expand Down

0 comments on commit 91089e9

Please sign in to comment.