1 | 1.0.0 / Unreleased
|
2 | ==================
|
3 |
|
4 | * [feature] Add support for enzyme ^3.0.0 (which implies React 16 support)
|
5 | * [feature] Support an array of nodes in `contain`
|
6 | * [breaking] If you are using cheerio 1.0, there's' a possibility you will have
|
7 | to wrap your React components with a div wrapper.
|
8 |
|
9 | ```jsx
|
10 | <div id='parent'>
|
11 | <div id='child' />
|
12 | <div>
|
13 | ```
|
14 |
|
15 | ```js
|
16 | // Enzyme 2
|
17 | wrapper.find('#parent').length //=> 1
|
18 | wrapper.is('#parent') //=> false
|
19 |
|
20 | // Enzyme 3
|
21 | wrapper.find('#parent').length //=> 0
|
22 | wrapper.is('#parent') //=> true
|
23 |
|
24 | The new version returns a cheerio wrapper with a type of tag that IS the parent element.
|
25 | Before it returned a wrapper with a type root that contains the parent element.
|
26 | ```
|
27 |
|
28 | * [fix] Add support for components with a symbol as display name
|
29 | * [feature] Only show one-level-deep components in error messages when shallow rendering
|
30 |
|
31 | 0.8.0 / June 29 2017
|
32 | ===================
|
33 |
|
34 | * [feature] Add support for chai ^4.0.0
|
35 | * [fix] Protect against duplicate plugin use
|
36 |
|
37 | 0.7.1 / May 24 2017
|
38 | ===================
|
39 |
|
40 | * [fix] Don't repeat enzyme's peer dependencies
|
41 |
|
42 | 0.7.0 / May 22 2017
|
43 | ===================
|
44 |
|
45 | * **[breaking]** Upgrade Enzyme dependency to 2.3.x or above
|
46 | * [feature] add containMatchingElement support
|
47 | * [fix] Handle `.exactly(0)`
|
48 | * [fix] Add support for undefined argument values
|
49 |
|
50 | 0.6.1 / November 18 2016
|
51 | ========================
|
52 |
|
53 | * [fix] React 15.4.x support
|
54 |
|
55 | 0.6.0 / November 5 2016
|
56 | =======================
|
57 |
|
58 | * [fix] Fix cross-browser issue when using text assertions
|
59 | * [fix] Delegate to Enzyme wrapper `.is` for match assertions
|
60 | * [feature] props assertion
|
61 | * [feature] add contain/include support for html assertions
|
62 | * [feature] type assertion
|
63 |
|
64 | 0.5.2 / September 30 2016
|
65 | =========================
|
66 |
|
67 | * [fix] Loosen up cheerio peer dependency
|
68 |
|
69 | 0.5.1 / August 23 2016
|
70 | ======================
|
71 |
|
72 | * [fix] Add `exactly` to TOC
|
73 | * [fix] Bump html dependency for less deprecation warnings
|
74 |
|
75 | 0.5.0 / June 13 2016
|
76 | ====================
|
77 |
|
78 | * [feature] Add textarea support for contain assertions
|
79 | * [feature] Add select support for value assertions
|
80 | * [feature] Improve failure message for contain assertions
|
81 | * [fix] Truthy-ness values
|
82 |
|
83 | 0.4.2 / April 8 2016
|
84 | ====================
|
85 |
|
86 | * [fix] Support React 15.0.x
|
87 | * [fix] Fixes a bug in IE, because function.name is not available
|
88 |
|
89 | 0.4.1 / February 19 2016
|
90 | ========================
|
91 |
|
92 | * [fix] Loosen up peer dependencies
|
93 | * [fix] Make the assertion messages lazy for shallow rendering
|
94 |
|
95 | 0.4.0 / February 8 2016
|
96 | =======================
|
97 |
|
98 | * [feature] `exactly` matcher
|
99 | * [fix] Loosen cheerio dependency
|
100 |
|
101 | 0.3.0 / February 1 2016
|
102 | =======================
|
103 |
|
104 | * [feature] Add support for components that return `null`
|
105 | * [feature] Throw if the passed objects are not an enzyme wrapper
|
106 | * [fix] Don't export to Babel's named default
|
107 |
|
108 | 0.2.2 / January 19 2016
|
109 | =======================
|
110 |
|
111 | * [fix] Don't create el in constructor for shallow
|
112 |
|
113 | 0.2.1 / January 14 2016
|
114 | =======================
|
115 |
|
116 | * [fix] Make the assertion messages lazy
|
117 |
|
118 | 0.2.0 / January 11 2016
|
119 | =======================
|
120 |
|
121 | * [feature] Introduce aliases of empty/exist
|
122 | * [feature] `tagName` matcher
|
123 |
|
124 | 0.1.0 / January 6 2016
|
125 | ======================
|
126 |
|
127 | * Initial implementation
|