Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency enzyme to v3 #2398

Merged
merged 3 commits into from
Feb 15, 2018
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 27, 2017

This Pull Request updates dependency enzyme from v2.9.1 to v3.3.0

Note: This PR was created on a configured schedule ("every weekend" in timezone Europe/Paris) and will not receive updates outside those times.

Release Notes

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)


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.1.1

Fixes
  • @​koba04: Fix to call componentDidUpdate on setState of React v16 (#​1261)

v3.2.0

New Stuff
  • @​aweary: Support all attribute selector operators (#​1157)
Fixes
  • @​idanilt: Change ShallowWrapper.text() trim spaces with same behavior as ReactWrapper.text() (#​1350)

v3.3.0

New Stuff
  • @​ljharb/@​joeldenning: debug: handle boxed primitives (#​1450)
Refactors
  • @​eddyerburgh: Use RSTTraversal childrenOfNode in Utils (#​1381)
Fixes
  • @​nicoder: Fix typo in error message (#​1379)

Commits

v3.2.0

  • fc06093 [Docs] Fix code example assertions in documentation

v3.3.0

  • 11786ab [enzyme-adapter-react-helper] [fix] use add-module-exports to avoid .default on the entry point.
  • b2fffaf [enzyme-adapter-react-helper] v1.0.1
  • cff5320 [enzyme-adapter-react-helper] [fix] use validRange instead of valid; use intersects instead of satisfies
  • e3e1223 [enzyme-adapter-react-helper] v1.0.2
  • acf7eb6 [enzyme-adapter-react-helper] [fix] use intersects instead of satisfies
  • 51af5c4 [enzyme-adapter-react-helper] v1.0.3
  • 689eb23 Implement getIteratorFn function to get iterator function for iterable Object.
  • 83b0ca4 Add requested changes from PR review.
  • 308578a Optimize flatten function for the most common case, when arrs is a JS Array.
  • ea73ec1 Merge pull request #​1334 from Inucoder/better_support_for_iterable_children
  • 7256bde enzyme-adapter-react-helper: [New] add ifReact
  • ca5e1c3 [enzyme-adapter-react-helper] v1.1.0
  • 75cfea2 [*] [Dev Deps] update eslint-plugin-react
  • 17c05bf [enzyme-adapter-utils] v1.2.0
  • 8c42fa1 Fix typo in error message
  • 86b66b8 Merge pull request #​1379 from nicoder/master
  • 2dce2f3 [Refactor] Use RSTTraversal childrenOfNode in Utils
  • 57fffb4 [Docs] ReactWrapper: fix .text() example
  • 9f3c45c [enzyme-adapter-react-helper] [New] add safeSFC
  • a316422 [enzyme-adapter-react-helper] v1.2.0
  • c35b4a3 [Docs] Fix sort order of Full DOM rendering methods
  • 0f54867 [enzyme-adapter-react-helper] safeSFC: React 0.14 doesn’t support SFCs returning null.
  • 6aef355 [enzyme-adapter-react-helper] v1.2.1
  • 389edf4 patch semver range due to bug in semver.intersects
  • 4b29771 Merge pull request #​1404 from brucewpaul/bwp--patch-semver-range
  • 3ac9895 [enzyme-adapter-react-helper] v1.2.2
  • bbf39e0 [enzyme-adapter-utils] [New] Add event name mapping for transitionend
  • c8cbde4 Import findCurrentFiberUsingSlowPath from react-reconciler package
  • 441a1af Remove findCurrentFiberUsingSlowPath.js
  • d60360c Merge pull request #​1399 from aweary/use-react-reconciler-react-16
  • 840ddd7 Update Readme for setup file with Jest
  • 63fa113 Add docs for getElement() and getElements()
  • 5d1fcd0 Merge pull request #​1425 from artiebits/update-shallow-docs
  • 3cfec3f [Docs] add hostNodes section to migration guide
  • 161172d [Fix] Convert nodes to RST nodes before comparing
  • bd12012 [Refactor] Transform matchesElement to RST node
  • 16ea7d4 [Refactor] Fix bugs with changes
  • 7cb7a06 [Refactor] Follow ShallowWrapper contains pattern
  • 2f299d1 [Refactor] Use arrow function in nodeOrNodes map
  • d259849 Clarify in the docs that shallow does call lifecycle methods in v3.
  • 356cc27 Link from shallow docs to migration guide on lifecycle methods.
  • 2617377 Merge pull request #​1442 from jackfranklin/clarify-shallow-rendering-methods
  • 2acab0e Add example to contains() docs with an embedded expression
  • 27c951b [*] [Dev Deps] update eslint, eslint-plugin-jsx-a11y
  • 506db35 [enzyme-test-suite] [Deps] update chai, enzyme, enzyme-adapter-utils, prop-types, sinon
  • aa5923c [enzyme-adapter-*] [Deps] update prop-types, enzyme-adapter-utils
  • 1ac4346 [enzyme-example-mocha] [Dev Deps] update jsdoc, nyc
  • ea29fb5 [enzyme-example-mocha] [Deps] update chai, enzyme, enzyme-adapter-react-16, react, react-dom
  • c2da485 [Tests] Use nvm install-latest-npm
  • b56c640 [Dev Deps] move top-level deps to the package(s) they’re used in.
  • 2fa0d92 [Tests] exec → spawn in the “env” script, so output can stream to stdio.
  • b1cc457 [enzyme-adapter-utils] v1.3.0
  • d9886b9 [*] [Deps] update enzyme-adapter-utils
  • 0a513b7 [enzyme-adapter-react-16] v1.1.1
  • 3c49e21 Merge branch 'master' into master
  • c5f608f Merge branch 'master' into master
  • 1c7c915 Merge pull request #​1396 from likethemammal/master
  • 5b5439a Merge pull request #​1243 from mykhailo-riabokon/master
  • 8533b5e [Fix] debug: print String objects as strings
  • 4f4c233 [New] debug: handle boxed primitives
  • 04076f6 Fix to call a setState callback after finishing the the render
  • e1ff127 [enzyme] [deps] update object.assign, is-boolean-object
  • 20be2a4 [*] [Dev Deps] update eslint
  • 176cd57 [*] [Deps] update object.assign
  • d152582 [enzyme-example-mocha] fix babel/mocha setup
  • 1b8986b [enzyme] v3.3.0

This PR has been generated by Renovate Bot.

@algobot
Copy link
Contributor

algobot commented Sep 27, 2017

Deploy preview for algolia-instantsearch ready!

Built with commit fe6d809

https://deploy-preview-2398--algolia-instantsearch.netlify.com

@renovate renovate bot force-pushed the renovate/enzyme-3.x branch 13 times, most recently from 1dfcc3f to 50c2b78 Compare October 9, 2017 15:37
@renovate renovate bot force-pushed the renovate/enzyme-3.x branch 8 times, most recently from 25a005d to 691ccdb Compare October 17, 2017 09:30
@renovate renovate bot force-pushed the renovate/enzyme-3.x branch 8 times, most recently from 99842c8 to 78d7471 Compare October 22, 2017 12:27
@renovate renovate bot force-pushed the renovate/enzyme-3.x branch 10 times, most recently from e3b45d7 to 4f745b9 Compare February 6, 2018 16:14
@renovate renovate bot force-pushed the renovate/enzyme-3.x branch 7 times, most recently from 94da55a to d6d687c Compare February 15, 2018 08:39
Alex S added 2 commits February 15, 2018 15:04
Updates enzyme 3
Updates enzyme jest serializer
Adds a config file to minimize impact
Updates a snapshot that was actually wrong in the first placje
Copy link
Contributor

@bobylito bobylito left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can approve it but I did some of the changes manually 😅

@renovate
Copy link
Contributor Author

renovate bot commented Feb 15, 2018

PR has been edited

As this PR has been edited, Renovate will stop updating it in order to not cause any conflicts or other problems. If you wish to abandon your edits and have Renovate recreate this PR then you should rename this PR and then close it.

@bobylito bobylito merged commit 54778ed into develop Feb 15, 2018
@bobylito bobylito deleted the renovate/enzyme-3.x branch February 15, 2018 14:21
@rarkins
Copy link

rarkins commented Feb 15, 2018

@bobylito @Haroenv FYI this commit broke develop branch

@samouss
Copy link
Contributor

samouss commented Feb 15, 2018

Yep it's fixed now, see #2739.

@bobylito
Copy link
Contributor

You are reactive @rarkins :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants