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

Update dependency enzyme to v3 - autoclosed #7

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Jan 16, 2019

This PR contains the following updates:

Package Type Update Change References
enzyme devDependencies major ^2.8.2 -> ^3.0.0 homepage, source

Release Notes

airbnb/enzyme

v3.8.0

Compare Source

New Stuff
Fixes
  • shallow/mount: improve error message for "single node" assertion (#​1904)
  • shallow: shallow compare, not deep compare, state and props to determine rerendering (#​1915)
Docs
  • shallow: dive: add a note about throwing an error (#​1905)
  • selectors: update redisplayName` (#​1932)
  • shallow: get: fixed wrong props() usage (#​1921)
  • shallow: html: shallow renders full tree (#​1912)
  • Updated broken link for “.hostNodes()” in migration guide from enzyme 2 to 3 (#​1909)
  • Add tape example project link (#​1898)
  • prop: fix typo (#​1883)
  • Document full support for attribute selectors (#​1881)
  • Documentation update for testing React Native with jsdom (#​1873)
  • Update JSDOM docs to include {request|cancel}AnimationFrame polyfills (#​1867)
  • mount: ref: use correct type (#​1865)

v3.7.0

Compare Source

New Stuff
Fixes
  • makeOptions: ensure that config-level attachTo/hydrateIn are inherited into wrapper options (#​1836, @​ljharb)
  • shallow/Utils: call into adapter’s isCustomComponentElement if present (#​1832, @​SinHouse)
  • shallow/mount: throw an explicit error when state is null/undefined (commit)
  • freeze ROOT_NODES for child wrappers (#​1811, @​jgzuke)
  • shallow: .parents: ensure that one .find call does not affect another (#​1781, @​ljharb)
  • mount: update after simulateError (#​1812, @​jgzuke)
Refactors
  • mount/shallow: getElement: use this.single (commit)

v3.6.0

Compare Source

New Stuff

v3.5.1

Compare Source

Fixes
  • shallow/mount: containsMatchingElement: trim whitespace (commit, #​636)
  • debug: inspect objects instead of showing them as <Component /> (commit)
Documentation
Refactors
  • shallow/mount: make tests and method ordering more consistent (commit)
  • RSTTraversal: remove unnecessary adapter truthiness check (commit)

v3.5.0

Compare Source

New Stuff
Fixes
Refactors
  • remove most uses of lodash (commit)
Meta Stuff
  • ensure a license and readme is present in all packages when published

v3.4.4

Compare Source

Fixes

v3.4.3

Compare Source

Fixes
  • @​ljharb/@​koba04: shallow: .setState(): stub out setState on non-root code paths as well (#​1763)
  • @​ljharb: shallow/mount: restore fallback when adapter lacks invokeSetStateCallback (commit)
  • @​ljharb: mount: setState: invoke callback with the proper receiver (commit)
  • @​ljharb: mount: state and setState should throw an explicit error message when called on an SFC (commit)

v3.4.2

Compare Source

Fixes

v3.4.1

Compare Source

Fixes
Documentation

v3.4.0

Compare Source

New Stuff
  • @​madicap: shallow/mount: account for React.Fragment nodes (#​1733)
  • @​jquense: Debug: debugNode now returns [function] for function children (commit)
  • @​ljharb: mount: add hydrateIn option (#​1707)
  • @​ljharb: shallow: add “lifecycles” adapter option (#​1696)
  • @​krawaller: shallow/mount: allow .exists() to take an optional selector (#​1695)
  • @​koba04: shallow: Add getSnapshotBeforeUpdate support (#​1657)
  • @​jquense: shallow/mount: Add support for some pseudo selectors (#​1537)
  • @​blainekasten: debug: Implement verbose debug output (#​1547)
  • @​jquense/@​ljharb: Debug: typeName now calls the adapter’s displayNameOfNode if available (#​1701)
  • @​jquense/@​ljharb: mount/shallow: .name(): call into adapter’s displayNameOfNode, if present (#​1701)
  • @​jquense/@​ljharb: Utils: nodeHasType: call into adapter’s displayNameOfNode, if present (#​1701)
  • @​jquense/@​ljharb: selectors: buildPredicate: call into adapter’s isValidElementType, if present (#​1701)
  • @​emuraton/@​ljharb: shallow: setProps(): Add callback argument (#​1721)
  • @​ljharb: mount: add .equals() (commit)
  • @​madicap: Extract getAdapter from Utils into its own file (#​1732)
Fixes
Refactors
  • @​ReactiveRaven: selectors: fix typos; avoid reusing variable unnecessarily (#​1681)
  • @​koba04/@​ljharb: shallow: Use spyMethod to inspect the result of shouldComponentUpdate/getSnapshotBeforeUpdate (#​1192)
  • @​ljharb: Utils: configuration: change to named exports. (commit)
  • @​ljharb: use array.prototype.flat (commit)
Documentation
Meta Stuff
  • @​ljharb: ensure a license and readme is present in all packages when published
  • @​ljharb: [meta] fix package.json scripts

v3.3.0

Compare Source

New Stuff
  • @​ljharb/@​joeldenning: debug: handle boxed primitives (#​1450)
Refactors
Fixes

v3.2.0

Compare Source

New Stuff
Fixes
  • @​idanilt: Change ShallowWrapper.text() trim spaces with same behavior as ReactWrapper.text() (#​1350)

v3.1.1

Compare Source

Fixes

v3.1.0

Compare Source

New Stuff
Fixes
Documentation

v3.0.0

Compare Source

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

New Stuff
Fixes
Documentation

Renovate configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot. View repository job log here.

@renovate renovate bot changed the title Update dependency enzyme to v3 Update dependency enzyme to v3 - autoclosed Jan 18, 2019
@renovate renovate bot closed this Jan 18, 2019
@renovate renovate bot deleted the renovate/enzyme-3.x branch January 18, 2019 16:10
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.

None yet

1 participant