All Versions
63
Latest Version
Avg Release Cycle
100 days
Latest Release
1786 days ago

Changelog History
Page 4

  • v2.5.2 Changes

    November 09, 2016

    ๐Ÿ›  Fixes

    • ๐Ÿ‘‰ Use shim to detect constructor function name (#659)
    • mount/shallow: fix ID selectors (#670)
  • v2.5.1 Changes

    October 17, 2016

    Patches

    • ๐Ÿ‘ continue to support one-argument single (#632)
  • v2.5.0 Changes

    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 Changes

    November 09, 2016

    ๐Ÿ›  Fixes

    • ๐Ÿ‘‰ Use shim to detect constructor function name (#659)
    • mount/shallow: fix ID selectors (#670)
  • v2.4.1 Changes

    July 08, 2016

    Patches

    • ๐Ÿ›  Fix backwards incompatible shouldComponentUpdate call (#491)
  • v2.4.0 Changes

    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 Changes

    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 Changes

    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 Changes

    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 Changes

    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)