Skip to content

Commit

Permalink
[enzyme] v3.5.0
Browse files Browse the repository at this point in the history
 - [New] Add forwardRef support (#1592, @jquense)
 - [New] Add Portal support (#1760, #1761, #1772, #1774, @jgzuke)
 - [New] Add pointer events support (#1753, @ljharb)
 - [Fix] preemptively fix compat with React v16.4.3 (#1790, #1778, @gaearon, @aweary)
 - [Fix] `shallow`: prevent rerenders with PureComponents (#1786, @koba04)
 - [Fix] `shallow`: skip updates when nextState is `null` or `undefined` (#1785, @koba04)
 - [Fix] `shallow`: `setState` after `setProps` calls `componentWillReceiveProps` (#1779, @peanutenthusiast)
 - [Fix] `mount`/`shallow`: be stricter on the wrapper’s setState/setProps callback
 - [Fix] `shallow`/`mount`: improve error message when wrapping invalid elements (#1759, @jgzuke)
 - update deps
 - [Refactor] remove most uses of lodash
 - [meta] ensure a license and readme is present in all packages when published
  • Loading branch information
ljharb committed Aug 25, 2018
1 parent 8250432 commit 2f49989
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
# Change Log

## 3.5.0

### New Stuff
- Add forwardRef support ([#1592](https://github.com/airbnb/enzyme/pull/1592), @jquense)
- Add Portal support ([#1760](https://github.com/airbnb/enzyme/pull/1760), [#1761](https://github.com/airbnb/enzyme/pull/1760), [#1772](https://github.com/airbnb/enzyme/pull/1772), [#1774](https://github.com/airbnb/enzyme/pull/1774), @jgzuke)
- Add pointer events support ([#1753](https://github.com/airbnb/enzyme/pull/1753), @ljharb)

### Fixes
- preemptively fix compat with React v16.4.3 ([#1790](https://github.com/airbnb/enzyme/pull/1790), [#1778](https://github.com/airbnb/enzyme/pull/1778), @gaearon, @aweary)
- `shallow`: prevent rerenders with PureComponents ([#1786](https://github.com/airbnb/enzyme/pull/1786), @koba04)
- `shallow`: skip updates when nextState is `null` or `undefined` ([#1785](https://github.com/airbnb/enzyme/pull/1785), @koba04)
- `shallow`: `setState` after `setProps` calls `componentWillReceiveProps` ([#1779](https://github.com/airbnb/enzyme/pull/1779), @peanutenthusiast)
- `mount`/`shallow`: be stricter on the wrapper’s setState/setProps callback ([commit](https://github.com/airbnb/enzyme/commit/ff11d2219da575d09ca8edfa19df42b8f78b506f))
- `shallow`/`mount`: improve error message when wrapping invalid elements ([#1759](https://github.com/airbnb/enzyme/pull/1759), @jgzuke)

### Refactors
- remove most uses of lodash ([commit](https://github.com/airbnb/enzyme/commit/89b39b6f1c59aa771f4452a27b159f7aa2616e84))

### Meta Stuff
- ensure a license and readme is present in all packages when published

## 3.4.4

### Fixes
Expand Down
2 changes: 1 addition & 1 deletion packages/enzyme/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "enzyme",
"version": "3.4.4",
"version": "3.5.0",
"description": "JavaScript Testing utilities for React",
"homepage": "http://airbnb.io/enzyme/",
"main": "build",
Expand Down

0 comments on commit 2f49989

Please sign in to comment.