All Versions
62
Latest Version
Avg Release Cycle
100 days
Latest Release
326 days ago

Changelog History
Page 4

  • v2.5.2

    November 09, 2016

    🛠 Fixes

    • 👉 Use shim to detect constructor function name (#659)
    • mount/shallow: fix ID selectors (#670)
  • v2.5.1

    October 17, 2016

    Patches

    • 👍 continue to support one-argument single (#632)
  • v2.5.0

    October 17, 2016

    Minor Changes

    • pass callback on setState and setProps (#617)

    • 👉 Make ReactWrapper and ShallowWrapper iterable (#594)

    • ➕ add .dive() method to shallow (#618)

    Patches

    • Warn if selector contains a pseudo-class (#591)

    • 🔄 change isCompoundSelector to not match prop selector (#595)

    • 🛠 fixed hasClassName in case className is not a string and has toString method (#518)

    • Throw if some() is called on a root wrapper (#523)

    • 🛠 Fix valid + falsy propvalues (#563)

  • v2.4.2

    November 09, 2016

    🛠 Fixes

    • 👉 Use shim to detect constructor function name (#659)
    • mount/shallow: fix ID selectors (#670)
  • v2.4.1

    July 08, 2016

    Patches

    • 🛠 Fix backwards incompatible shouldComponentUpdate call (#491)
  • v2.4.0

    July 07, 2016

    Minor Changes

    • 👌 Support all Component Lifecycle methods in ShallowRenderer (behind an experimental flag) (#318)

    • ➕ Add an isEmptyRender() method to both ShallowWrapper and ReactWrapper (#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

    May 09, 2016

    Minor Changes

    • ➕ add .tap() method to ShallowWrapper and ReactWrapper (#299)

    • ➕ add .key() method to ShallowWrapper and ReactWrapper (#327)

    • ➕ add support for descendent selectors, >, ~ and + (#217)

    • 🆕 new containsMatchingElement, containsAllMatchingElements, and containsAnyMatchingElements 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 over name 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, and context (#373)

  • v2.2.0

    March 21, 2016

    Minor Changes

    • ➕ add options param to ShallowWrapper::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)

  • v2.1.0

    March 10, 2016

    Minor Changes

    • ➕ add support for React 15.0.0-rc.1 (#240)

    • ➕ add .unmount() method for ShallowWrapper (#215)

    • ➕ add direct imports for mount, shallow, and render (#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 to lodash (#189)

  • v2.0.0

    February 10, 2016

    Major Changes (breaking)

    • ✂ removed describeWithDOM utility (#159)

    • ✂ removed useSinon, spyPrototype and spyLifecycle utilities (#159)

    • ✂ removed sinon dependency (#159)

    • ✂ removed jsdom dependency (#159)