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

Changelog History
Page 3

  • v3.1.0

    πŸ†• New Stuff

    • @FezVrasta: Added hostNodes method to ReactWrapper (#1179)

    πŸ›  Fixes

    • πŸ“¦ @lelandrichardson: Add an npmignore file to all packages (#1204)

    • @neoziro: Fix node resolving in React 16 adapter (#100)

    • ⬆️ @graingert: upgrade to rst-selector-parser@2.2.2 (#1146)

    πŸ“š Documentation

    • πŸ“¦ @lelandrichardson: Symlink readme to all packages (#1205)

    • ✏️ @AndersDJohnson: fix some typos (#1165)

    • @dubbha: ES5 setup file correction (#1194)

    • ⚑️ @morrowr08: updated component name being used in example (#1180)

    • ✏️ @apandichi: Fixing a few typos... (#1171)

    • @nuc: Fix typo (#1142)

  • v3.0.0

    πŸ’₯ Breaking Changes

    πŸ“„ Enzyme has several breaking changes from v2 to v3. Please check out our migration guide for more info. Since there was a rewrite of the core library from v2 to v3, it is hard to categorize changes in terms of sem

    • @lelandrichardson: Refactor enzyme to use Adapters, initial React 16 support (#1007)

    • @lelandrichardson: Make private properties more private and harder to use (#1083)

    • @ljharb: [breaking] update cheerio to v1 (#1093)

    • @aweary: Integrate with a CSS parser for selector parsing (#1086)

    • @vadimdemedes: Skip undefined props when comparing nodes (#662)

    • @koba04: Breaking: lifecycleExperimental by default (#1140)

    πŸ†• New Stuff

    • @lelandrichardson: Move to lerna repo structure, multiple modules (#1074)

    • @lelandrichardson: Remove all React dependencies from enzyme (#1084)

    • @lelandrichardson: Add public root method (#1127)

    ### Fixes

    • @aweary: Remove isFunctionalComponent, use nodeType instead (#1076)

    • @LarsHassler: props not merged when shallow rendering in lifecycleExperimental (#1088)

    • @ljharb: [Fix] mount: do not mutate Component.contextTypes (#1099)

    • @ljharb: [Fix] reduce/reduceRight: follow Array#reduce when omitting initialValue (#673)

    • @koba04: Fix componentDidUpdate when updating by setState on v16 (#1133)

    • @koba04: Fix componentDidUpdate no longer receives prevContext on React v16 (#1139)

    ### Documentation

    • @ghost: added sinon to mocha guide (#1075)

    • @samit4me: Update to GitBook 3 (#1039)

    • @therewillbecode: Removed extraneous brackets from example in readme (#1117)

    • @silvenon: Add note that mount() requires cleanup (#1043)

    • @lelandrichardson: Add docs reflecting v3 (#1121)

  • v2.9.1

    πŸ›  Fixes

    • [Deps] Require uuid at least 3.0.1 (#1001)
  • v2.9.0

    πŸ†• New Stuff

    • mount/shallow: debug: add ignoreProps option (#960)

    πŸ›  Fixes

    • shallow: debug: fix indentation (#926)
    • react-compat: Make sure dependency error reporting always work (#929)
    • react-compat: correct error message (#904)

    πŸ“š Documentation

    • lint our markdown (#988)
    • correct nvm install instructions (never install it with homebrew) (#988)
    • fix typos (#979), (#983)
    • Added missing isEmptyRender() docs
    • update jsdom guides for v10 and later (#921)

    ♻️ Refactors

    • shallow/mount: Make all references to the wrapper class call into this.wrap
    • update uuid from v2 to v3 (#998)
  • v2.8.2

    πŸ›  Fixes

    • Loosen react-compat implicit dependency logic for React 15.4 (#896)

    πŸ“š Documentation

    • Update docs to use prop-types (#894, #890)
  • v2.8.1

    πŸ›  Fixes

    • πŸ‘Œ support React@15.5 (#876)
    • no longer depend on React.createClass (#877)
    • Throw for malformed compound selectors (#868)
  • v2.8.0

    πŸ†• New Stuff

    • βž• add disableLifecycleMethods for shallow (#789)
    • Match children before and after interpolation (#512)
    • πŸ‘Œ Supporting passing context to static rendering (#429)

    πŸ›  Fixes

    • πŸ›  Fix an issue w/ cleaning up global.document (#855)
    • ⚑️ Update props when shouldComponentUpdate returns false and lifecycleExperimental is on (#807)
    • Properly pass along options in dive (#771)
  • v2.7.1

    January 22, 2017

    πŸ›  Fixes

    • mount: Fix bug from (#677 (#680)
    • mount: ignore text nodes in childrenOfInst (#604)

    πŸ“š Documentation

    • ⚑️ Update Docs for .getNode and .getNodes (#743)
    • βž• Add a link for ShallowWrapper#dive() (#759
    • πŸ›  Fix alphabetical order of API lists (#761)
  • v2.7.0

    December 21, 2016

    πŸ†• New Stuff

    • shallow/mount: Add .slice() method (#661)
    • mount: implement ReactWrapper#getDOMNode (#679)
    • πŸ—„ shallow/mount: Add exists; deprecate isEmpty() (#722)

    πŸ›  Fixes

    • mount: extract MountedTraversal.hasClassName from MountedTraversal.instHasClassName, which allows ReactWrapper.hasClass to bypass the !isDOMComponent(inst) call (#677)
    • withDom: Display a useful error when withDom fails to find "jsdom" (#686)
    • mount: ensure that react-text comment nodes don’t break .find (#691)
    • mount: .parents() now filters out sibling path trees (#713)
  • v2.6.0

    November 09, 2016

    πŸ†• New Stuff

    • ensure ShallowWrapper render output can't get stale (#490)

    πŸ›  Fixes

    • πŸ‘‰ Use shim to detect constructor function name (#659)
    • mount/shallow: fix ID selectors (#670)