Skip to content

Commit d0d18f9

Browse files
v2.3.0
1 parent e4961e0 commit d0d18f9

File tree

2 files changed

+37
-1
lines changed

2 files changed

+37
-1
lines changed

CHANGELOG.md

+36
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,41 @@
11
# Change Log
22

3+
## 2.3.0 (May 9, 2016)
4+
5+
### Minor Changes
6+
7+
- add `.tap()` method to `ShallowWrapper` and `ReactWrapper` ([#299](https://github.com/airbnb/enzyme/pull/299))
8+
9+
- add `.key()` method to `ShallowWrapper` and `ReactWrapper ([#327](https://github.com/airbnb/enzyme/pull/327))
10+
11+
- add support for descendent selectors, `>`, `~` and `+` ([#217](https://github.com/airbnb/enzyme/pull/217))
12+
13+
- new `containsMatchingElement`, `containsAllMatchingElements`, and `containsAnyMatchingElements` APIs ([#362](https://github.com/airbnb/enzyme/pull/362))
14+
15+
- new `.name()` method ([#335](https://github.com/airbnb/enzyme/pull/335))
16+
17+
18+
### Patches
19+
20+
- add `dblclick` to eventType map for simulate ([#317](https://github.com/airbnb/enzyme/pull/317))
21+
22+
- fix `pathToNode` bug with child-containing children ([#296](https://github.com/airbnb/enzyme/pull/296))
23+
24+
- prioritize `displayName` over `name` for consistency in `.debug()` ([#332](https://github.com/airbnb/enzyme/pull/332))
25+
26+
- handle insignificant whitespace in className ([#348](https://github.com/airbnb/enzyme/pull/348))
27+
28+
- fix handling of SFC components and `.instance()` ([#359](https://github.com/airbnb/enzyme/pull/359))
29+
30+
- reduce false positives by using argument validation for `.contains` ([#259](https://github.com/airbnb/enzyme/pull/259))
31+
32+
- fix equality algorithm so that non-renderable nodes are equivalent ([#192](https://github.com/airbnb/enzyme/pull/192))
33+
34+
- add better error handling for `state`, `setState`, and `context` ([#373](https://github.com/airbnb/enzyme/pull/373))
35+
36+
37+
38+
339
## 2.2.0 (March 21, 2016)
440

541
### Minor Changes

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "enzyme",
3-
"version": "2.2.0",
3+
"version": "2.3.0",
44
"description": "JavaScript Testing utilities for React",
55
"main": "build",
66
"scripts": {

0 commit comments

Comments
 (0)