Changelog History
Page 4
-
v2.5.2 Changes
November 09, 2016 -
v2.5.1 Changes
October 17, 2016Patches
- ๐ continue to support one-argument
single
(#632)
- ๐ continue to support one-argument
-
v2.5.0 Changes
October 17, 2016 -
v2.4.2 Changes
November 09, 2016 -
v2.4.1 Changes
July 08, 2016Patches
- ๐ Fix backwards incompatible
shouldComponentUpdate
call (#491)
- ๐ Fix backwards incompatible
-
v2.4.0 Changes
July 07, 2016Minor Changes
๐ Support all Component Lifecycle methods in ShallowRenderer (behind an experimental flag) (#318)
โ Add an
isEmptyRender()
method to bothShallowWrapper
andReactWrapper
(#339)โ Add support for batched updates with
ShallowRender.simulate
(#342)
Patches
Switch to using classList instead of className (#448)
๐ fixes mount().debug() output with mixed children (#476)
๐ Support additional characters in attribute selectors (#412)
๐ fix id selector not working when combined with a tag selector (#387)
๐ Support spaces in attribute selector values (#427)
-
v2.3.0 Changes
May 09, 2016Minor Changes
โ add
.tap()
method toShallowWrapper
andReactWrapper
(#299)โ add
.key()
method toShallowWrapper
andReactWrapper
(#327)โ add support for descendent selectors,
>
,~
and+
(#217)๐ new
containsMatchingElement
,containsAllMatchingElements
, andcontainsAnyMatchingElements
APIs (#362)๐ new
.name()
method (#335)
Patches
โ add
dblclick
to eventType map for simulate (#317)๐ fix
pathToNode
bug with child-containing children (#296)prioritize
displayName
overname
for consistency in.debug()
(#332)๐ handle insignificant whitespace in className (#348)
๐ fix handling of SFC components and
.instance()
(#359)โฌ๏ธ reduce false positives by using argument validation for
.contains
(#259)๐ fix equality algorithm so that non-renderable nodes are equivalent (#192)
โ add better error handling for
state
,setState
, andcontext
(#373)
-
v2.2.0 Changes
March 21, 2016Minor Changes
- โ add
options
param toShallowWrapper::shallow
(#275)
Patches
๐ make enzyme compatible with all React 15 RCs (#272)
increase coverage for Stateless Functional Components (#267)
๐ improve context support for Stateless Functional Components (#256)
๐ fix tree traversal for Stateless Functional Components (#257)
๐ fix
.find
for nested Stateless Functional Components (#274)๐ fix
.props()
and.debug()
methods for Stateless Functional Components (#255)prevent falsy nodes from being counted as children (#251)
- โ add
-
v2.1.0 Changes
March 10, 2016Minor Changes
โ add support for React 15.0.0-rc.1 (#240)
โ add
.unmount()
method for ShallowWrapper (#215)โ add direct imports for
mount
,shallow
, andrender
(#198)โ add a
.childAt(n)
shorthand method (#187)
Patches
๐ fix bug in .contains() for matching sub-arrays (#226)
๐ fix bug in matching by type displayName (#230)
โ add more useful warnings for missing implicit dependencies (#228)
๐ improve SFC support for
.type()
(#196)๐ fix null handling for
.html()
and.render()
(#196)๐ moved from
underscore
tolodash
(#189)
-
v2.0.0 Changes
February 10, 2016