Skip to content

Commit

Permalink
v3.0.0
Browse files Browse the repository at this point in the history
 - enzyme-adapter-react-13@1.0.0
 - enzyme-adapter-react-14@1.0.0
 - enzyme-adapter-react-15.4@1.0.0
 - enzyme-adapter-react-15@1.0.0
 - enzyme-adapter-react-16@1.0.0
 - enzyme-adapter-utils@1.0.0
 - enzyme-test-suite@1.0.0
 - enzyme@3.0.0
  • Loading branch information
lelandrichardson committed Sep 26, 2017
1 parent 0c51531 commit 718d160
Show file tree
Hide file tree
Showing 9 changed files with 87 additions and 26 deletions.
61 changes: 61 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,66 @@
# Change Log

## 3.0.0

### Breaking Changes

Enzyme has several breaking changes from v2 to v3. Please check out our [migration guide](/docs/guides/migration-from-2-to-3.md) 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](https://github.com/airbnb/enzyme/pull/1007))

- @lelandrichardson: Make private properties more private and harder to use ([#1083](https://github.com/airbnb/enzyme/pull/1083))

- @ljharb: [breaking] update `cheerio` to v1 ([#1093](https://github.com/airbnb/enzyme/pull/1093))

- @aweary: Integrate with a CSS parser for selector parsing ([#1086](https://github.com/airbnb/enzyme/pull/1086))

- @vadimdemedes: Skip undefined props when comparing nodes ([#662](https://github.com/airbnb/enzyme/pull/662))

- @koba04: Breaking: lifecycleExperimental by default ([#1140](https://github.com/airbnb/enzyme/pull/1140))


### New Stuff

- @lelandrichardson: Move to lerna repo structure, multiple modules ([#1074](https://github.com/airbnb/enzyme/pull/1074))

- @lelandrichardson: Remove all React dependencies from enzyme ([#1084](https://github.com/airbnb/enzyme/pull/1084))

- @lelandrichardson: Add public root method ([#1127](https://github.com/airbnb/enzyme/pull/1127))



### Fixes

- @aweary: Remove isFunctionalComponent, use nodeType instead ([#1076](https://github.com/airbnb/enzyme/pull/1076))

- @LarsHassler: props not merged when shallow rendering in lifecycleExperimental ([#1088](https://github.com/airbnb/enzyme/pull/1088))

- @ljharb: [Fix] `mount`: do not mutate `Component.contextTypes` ([#1099](https://github.com/airbnb/enzyme/pull/1099))

- @ljharb: [Fix] `reduce`/`reduceRight`: follow `Array#reduce` when omitting initialValue ([#673](https://github.com/airbnb/enzyme/pull/673))

- @koba04: Fix componentDidUpdate when updating by setState on v16 ([#1133](https://github.com/airbnb/enzyme/pull/1133))

- @koba04: Fix componentDidUpdate no longer receives prevContext on React v16 ([#1139](https://github.com/airbnb/enzyme/pull/1139))



### Documentation

- @ghost: added sinon to mocha guide ([#1075](https://github.com/airbnb/enzyme/pull/1075))

- @samit4me: Update to GitBook 3 ([#1039](https://github.com/airbnb/enzyme/pull/1039))

- @therewillbecode: Removed extraneous brackets from example in readme ([#1117](https://github.com/airbnb/enzyme/pull/1117))

- @silvenon: Add note that mount() requires cleanup ([#1043](https://github.com/airbnb/enzyme/pull/1043))

- @lelandrichardson: Add docs reflecting v3 ([#1121](https://github.com/airbnb/enzyme/pull/1121))




## 2.9.1

### Fixes
Expand Down
8 changes: 4 additions & 4 deletions packages/enzyme-adapter-react-13/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "enzyme-adapter-react-13",
"version": "1.0.0-beta.7",
"version": "1.0.0",
"description": "JavaScript Testing utilities for React",
"homepage": "http://airbnb.io/enzyme/",
"main": "build",
Expand Down Expand Up @@ -31,19 +31,19 @@
"author": "Leland Richardson <leland.richardson@airbnb.com>",
"license": "MIT",
"dependencies": {
"enzyme-adapter-utils": "^1.0.0-beta.7",
"enzyme-adapter-utils": "^1.0.0",
"lodash": "^4.17.4",
"object.assign": "^4.0.4",
"object.values": "^1.0.4",
"prop-types": "^15.5.10"
},
"peerDependencies": {
"enzyme": "^3.0.0-beta.7",
"enzyme": "^3.0.0",
"react": "^0.13.0"
},
"devDependencies": {
"babel-cli": "^6.24.1",
"enzyme": "^3.0.0-beta.7",
"enzyme": "^3.0.0",
"eslint": "^4.4.1",
"in-publish": "^2.0.0",
"rimraf": "^2.6.1"
Expand Down
8 changes: 4 additions & 4 deletions packages/enzyme-adapter-react-14/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "enzyme-adapter-react-14",
"version": "1.0.0-beta.7",
"version": "1.0.0",
"description": "JavaScript Testing utilities for React",
"homepage": "http://airbnb.io/enzyme/",
"main": "build",
Expand Down Expand Up @@ -31,21 +31,21 @@
"author": "Leland Richardson <leland.richardson@airbnb.com>",
"license": "MIT",
"dependencies": {
"enzyme-adapter-utils": "^1.0.0-beta.7",
"enzyme-adapter-utils": "^1.0.0",
"lodash": "^4.17.4",
"object.assign": "^4.0.4",
"object.values": "^1.0.4",
"prop-types": "^15.5.10"
},
"peerDependencies": {
"enzyme": "^3.0.0-beta.7",
"enzyme": "^3.0.0",
"react": "^0.14.0",
"react-addons-test-utils": "^0.14.0",
"react-dom": "^0.14.0"
},
"devDependencies": {
"babel-cli": "^6.24.1",
"enzyme": "^3.0.0-beta.7",
"enzyme": "^3.0.0",
"eslint": "^4.4.1",
"in-publish": "^2.0.0",
"rimraf": "^2.6.1"
Expand Down
8 changes: 4 additions & 4 deletions packages/enzyme-adapter-react-15.4/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "enzyme-adapter-react-15.4",
"version": "1.0.0-beta.7",
"version": "1.0.0",
"description": "JavaScript Testing utilities for React",
"homepage": "http://airbnb.io/enzyme/",
"main": "build",
Expand Down Expand Up @@ -31,21 +31,21 @@
"author": "Leland Richardson <leland.richardson@airbnb.com>",
"license": "MIT",
"dependencies": {
"enzyme-adapter-utils": "^1.0.0-beta.7",
"enzyme-adapter-utils": "^1.0.0",
"lodash": "^4.17.4",
"object.assign": "^4.0.4",
"object.values": "^1.0.4",
"prop-types": "^15.5.10"
},
"peerDependencies": {
"enzyme": "^3.0.0-beta.7",
"enzyme": "^3.0.0",
"react": "15.0.0-0 - 15.4.x",
"react-addons-test-utils": "15.0.0-0 - 15.4.x",
"react-dom": "15.0.0-0 - 15.4.x"
},
"devDependencies": {
"babel-cli": "^6.24.1",
"enzyme": "^3.0.0-beta.7",
"enzyme": "^3.0.0",
"eslint": "^4.4.1",
"in-publish": "^2.0.0",
"rimraf": "^2.6.1"
Expand Down
8 changes: 4 additions & 4 deletions packages/enzyme-adapter-react-15/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "enzyme-adapter-react-15",
"version": "1.0.0-beta.7",
"version": "1.0.0",
"description": "JavaScript Testing utilities for React",
"homepage": "http://airbnb.io/enzyme/",
"main": "build",
Expand Down Expand Up @@ -31,21 +31,21 @@
"author": "Leland Richardson <leland.richardson@airbnb.com>",
"license": "MIT",
"dependencies": {
"enzyme-adapter-utils": "^1.0.0-beta.7",
"enzyme-adapter-utils": "^1.0.0",
"lodash": "^4.17.4",
"object.assign": "^4.0.4",
"object.values": "^1.0.4",
"prop-types": "^15.5.10"
},
"peerDependencies": {
"enzyme": "^3.0.0-beta.7",
"enzyme": "^3.0.0",
"react": "^15.5.0",
"react-dom": "^15.5.0",
"react-test-renderer": "^15.5.0"
},
"devDependencies": {
"babel-cli": "^6.24.1",
"enzyme": "^3.0.0-beta.7",
"enzyme": "^3.0.0",
"eslint": "^4.4.1",
"in-publish": "^2.0.0",
"rimraf": "^2.6.1"
Expand Down
8 changes: 4 additions & 4 deletions packages/enzyme-adapter-react-16/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "enzyme-adapter-react-16",
"version": "1.0.0-beta.7",
"version": "1.0.0",
"description": "JavaScript Testing utilities for React",
"homepage": "http://airbnb.io/enzyme/",
"main": "build",
Expand Down Expand Up @@ -31,21 +31,21 @@
"author": "Leland Richardson <leland.richardson@airbnb.com>",
"license": "MIT",
"dependencies": {
"enzyme-adapter-utils": "^1.0.0-beta.7",
"enzyme-adapter-utils": "^1.0.0",
"lodash": "^4.17.4",
"object.assign": "^4.0.4",
"object.values": "^1.0.4",
"prop-types": "^15.5.10"
},
"peerDependencies": {
"enzyme": "^3.0.0-beta.7",
"enzyme": "^3.0.0",
"react": "^16.0.0-0",
"react-dom": "^16.0.0-0",
"react-test-renderer": "^16.0.0-0"
},
"devDependencies": {
"babel-cli": "^6.24.1",
"enzyme": "^3.0.0-beta.7",
"enzyme": "^3.0.0",
"eslint": "^4.4.1",
"in-publish": "^2.0.0",
"rimraf": "^2.6.1"
Expand Down
2 changes: 1 addition & 1 deletion packages/enzyme-adapter-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "enzyme-adapter-utils",
"version": "1.0.0-beta.7",
"version": "1.0.0",
"description": "JavaScript Testing utilities for React",
"homepage": "http://airbnb.io/enzyme/",
"main": "build",
Expand Down
8 changes: 4 additions & 4 deletions packages/enzyme-test-suite/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "enzyme-test-suite",
"private": true,
"version": "1.0.0-beta.7",
"version": "1.0.0",
"description": "JavaScript Testing utilities for React",
"homepage": "http://airbnb.io/enzyme/",
"scripts": {
Expand Down Expand Up @@ -29,8 +29,8 @@
"license": "MIT",
"dependencies": {
"chai": "^4.1.1",
"enzyme": "^3.0.0-beta.7",
"enzyme-adapter-utils": "^1.0.0-beta.7",
"enzyme": "^3.0.0",
"enzyme-adapter-utils": "^1.0.0",
"jsdom": "^6.1.0",
"prop-types": "^15.5.10",
"semver": "^5.4.1",
Expand All @@ -40,4 +40,4 @@
"react": "^15.5.0",
"react-dom": "^15.5.0"
}
}
}
2 changes: 1 addition & 1 deletion packages/enzyme/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "enzyme",
"version": "3.0.0-beta.7",
"version": "3.0.0",
"description": "JavaScript Testing utilities for React",
"homepage": "http://airbnb.io/enzyme/",
"main": "build",
Expand Down

0 comments on commit 718d160

Please sign in to comment.