Skip to content

Commit 2f49989

Browse files
committed
[enzyme] v3.5.0
- [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
1 parent 8250432 commit 2f49989

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,26 @@
11
# Change Log
22

3+
## 3.5.0
4+
5+
### New Stuff
6+
- Add forwardRef support ([#1592](https://github.com/airbnb/enzyme/pull/1592), @jquense)
7+
- 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)
8+
- Add pointer events support ([#1753](https://github.com/airbnb/enzyme/pull/1753), @ljharb)
9+
10+
### Fixes
11+
- 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)
12+
- `shallow`: prevent rerenders with PureComponents ([#1786](https://github.com/airbnb/enzyme/pull/1786), @koba04)
13+
- `shallow`: skip updates when nextState is `null` or `undefined` ([#1785](https://github.com/airbnb/enzyme/pull/1785), @koba04)
14+
- `shallow`: `setState` after `setProps` calls `componentWillReceiveProps` ([#1779](https://github.com/airbnb/enzyme/pull/1779), @peanutenthusiast)
15+
- `mount`/`shallow`: be stricter on the wrapper’s setState/setProps callback ([commit](https://github.com/airbnb/enzyme/commit/ff11d2219da575d09ca8edfa19df42b8f78b506f))
16+
- `shallow`/`mount`: improve error message when wrapping invalid elements ([#1759](https://github.com/airbnb/enzyme/pull/1759), @jgzuke)
17+
18+
### Refactors
19+
- remove most uses of lodash ([commit](https://github.com/airbnb/enzyme/commit/89b39b6f1c59aa771f4452a27b159f7aa2616e84))
20+
21+
### Meta Stuff
22+
- ensure a license and readme is present in all packages when published
23+
324
## 3.4.4
425

526
### Fixes

packages/enzyme/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "enzyme",
3-
"version": "3.4.4",
3+
"version": "3.5.0",
44
"description": "JavaScript Testing utilities for React",
55
"homepage": "http://airbnb.io/enzyme/",
66
"main": "build",

0 commit comments

Comments
 (0)