diff --git a/packages/create-subscription/package.json b/packages/create-subscription/package.json index e10c024e70..eddc3752aa 100644 --- a/packages/create-subscription/package.json +++ b/packages/create-subscription/package.json @@ -1,10 +1,10 @@ { "name": "create-subscription", "description": "utility for subscribing to external data sources inside React components", - "version": "16.7.0", + "version": "16.8.0", "repository": { - "type" : "git", - "url" : "https://github.com/facebook/react.git", + "type": "git", + "url": "https://github.com/facebook/react.git", "directory": "packages/create-subscription" }, "files": [ diff --git a/packages/jest-react/package.json b/packages/jest-react/package.json index 8c7b0cac3e..8f6f566d4f 100644 --- a/packages/jest-react/package.json +++ b/packages/jest-react/package.json @@ -1,11 +1,11 @@ { "name": "jest-react", - "version": "0.5.0", + "version": "0.6.0", "description": "Jest matchers and utilities for testing React components.", "main": "index.js", "repository": { - "type" : "git", - "url" : "https://github.com/facebook/react.git", + "type": "git", + "url": "https://github.com/facebook/react.git", "directory": "packages/jest-react" }, "keywords": [ diff --git a/packages/react-art/package.json b/packages/react-art/package.json index 5bbae8b685..a1ecae08ef 100644 --- a/packages/react-art/package.json +++ b/packages/react-art/package.json @@ -1,11 +1,11 @@ { "name": "react-art", "description": "React ART is a JavaScript library for drawing vector graphics using React. It provides declarative and reactive bindings to the ART library. Using the same declarative API you can render the output to either Canvas, SVG or VML (IE8).", - "version": "16.7.0", + "version": "16.8.0", "main": "index.js", "repository": { - "type" : "git", - "url" : "https://github.com/facebook/react.git", + "type": "git", + "url": "https://github.com/facebook/react.git", "directory": "packages/react-art" }, "keywords": [ @@ -27,7 +27,7 @@ "loose-envify": "^1.1.0", "object-assign": "^4.1.1", "prop-types": "^15.6.2", - "scheduler": "^0.12.0" + "scheduler": "^0.13.0" }, "peerDependencies": { "react": "^16.0.0" diff --git a/packages/react-dom/package.json b/packages/react-dom/package.json index bb3021d655..fb6e299bc0 100644 --- a/packages/react-dom/package.json +++ b/packages/react-dom/package.json @@ -1,11 +1,11 @@ { "name": "react-dom", - "version": "16.7.0", + "version": "16.8.0", "description": "React package for working with the DOM.", "main": "index.js", "repository": { - "type" : "git", - "url" : "https://github.com/facebook/react.git", + "type": "git", + "url": "https://github.com/facebook/react.git", "directory": "packages/react-dom" }, "keywords": [ @@ -20,7 +20,7 @@ "loose-envify": "^1.1.0", "object-assign": "^4.1.1", "prop-types": "^15.6.2", - "scheduler": "^0.12.0" + "scheduler": "^0.13.0" }, "peerDependencies": { "react": "^16.0.0" diff --git a/packages/react-is/package.json b/packages/react-is/package.json index 8e694d3cb0..dc0c4b514d 100644 --- a/packages/react-is/package.json +++ b/packages/react-is/package.json @@ -1,11 +1,11 @@ { "name": "react-is", - "version": "16.7.0", + "version": "16.8.0", "description": "Brand checking of React Elements.", "main": "index.js", "repository": { - "type" : "git", - "url" : "https://github.com/facebook/react.git", + "type": "git", + "url": "https://github.com/facebook/react.git", "directory": "packages/react-is" }, "keywords": [ diff --git a/packages/react-reconciler/package.json b/packages/react-reconciler/package.json index fce9da585f..de51e53eaa 100644 --- a/packages/react-reconciler/package.json +++ b/packages/react-reconciler/package.json @@ -1,7 +1,7 @@ { "name": "react-reconciler", "description": "React package for creating custom renderers.", - "version": "0.18.0", + "version": "0.19.0", "keywords": [ "react" ], @@ -19,8 +19,8 @@ ], "main": "index.js", "repository": { - "type" : "git", - "url" : "https://github.com/facebook/react.git", + "type": "git", + "url": "https://github.com/facebook/react.git", "directory": "packages/react-reconciler" }, "engines": { @@ -33,7 +33,7 @@ "loose-envify": "^1.1.0", "object-assign": "^4.1.1", "prop-types": "^15.6.2", - "scheduler": "^0.12.0" + "scheduler": "^0.13.0" }, "browserify": { "transform": [ diff --git a/packages/react-test-renderer/package.json b/packages/react-test-renderer/package.json index 98279c37de..e37bf2d51c 100644 --- a/packages/react-test-renderer/package.json +++ b/packages/react-test-renderer/package.json @@ -1,11 +1,11 @@ { "name": "react-test-renderer", - "version": "16.7.0", + "version": "16.8.0", "description": "React package for snapshot testing.", "main": "index.js", "repository": { - "type" : "git", - "url" : "https://github.com/facebook/react.git", + "type": "git", + "url": "https://github.com/facebook/react.git", "directory": "packages/react-test-renderer" }, "keywords": [ @@ -21,8 +21,8 @@ "dependencies": { "object-assign": "^4.1.1", "prop-types": "^15.6.2", - "react-is": "^16.7.0", - "scheduler": "^0.12.0" + "react-is": "^16.8.0", + "scheduler": "^0.13.0" }, "peerDependencies": { "react": "^16.0.0" diff --git a/packages/react/package.json b/packages/react/package.json index d2dc08f0c2..3cb0bbfb11 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -4,7 +4,7 @@ "keywords": [ "react" ], - "version": "16.7.0", + "version": "16.8.0", "homepage": "https://reactjs.org/", "bugs": "https://github.com/facebook/react/issues", "license": "MIT", @@ -18,8 +18,8 @@ ], "main": "index.js", "repository": { - "type" : "git", - "url" : "https://github.com/facebook/react.git", + "type": "git", + "url": "https://github.com/facebook/react.git", "directory": "packages/react" }, "engines": { @@ -29,7 +29,7 @@ "loose-envify": "^1.1.0", "object-assign": "^4.1.1", "prop-types": "^15.6.2", - "scheduler": "^0.12.0" + "scheduler": "^0.13.0" }, "browserify": { "transform": [ diff --git a/packages/scheduler/package.json b/packages/scheduler/package.json index 0032becfd3..a48fed9cad 100644 --- a/packages/scheduler/package.json +++ b/packages/scheduler/package.json @@ -1,11 +1,11 @@ { "name": "scheduler", - "version": "0.12.0", + "version": "0.13.0", "description": "Cooperative scheduler for the browser environment.", "main": "index.js", "repository": { - "type" : "git", - "url" : "https://github.com/facebook/react.git", + "type": "git", + "url": "https://github.com/facebook/react.git", "directory": "packages/scheduler" }, "license": "MIT", diff --git a/packages/shared/ReactVersion.js b/packages/shared/ReactVersion.js index 9a728ad528..8ccea06945 100644 --- a/packages/shared/ReactVersion.js +++ b/packages/shared/ReactVersion.js @@ -8,4 +8,4 @@ 'use strict'; // TODO: this is special because it gets imported during build. -module.exports = '16.7.0'; +module.exports = '16.8.0'; diff --git a/scripts/error-codes/codes.json b/scripts/error-codes/codes.json index c0ad0c3aac..d72d073972 100644 --- a/scripts/error-codes/codes.json +++ b/scripts/error-codes/codes.json @@ -305,5 +305,11 @@ "303": "suspense fallback not found, something is broken", "304": "Maximum number of concurrent React renderers exceeded. This can happen if you are not properly destroying the Readable provided by React. Ensure that you call .destroy() on it if you no longer want to read from it, and did not read to the end. If you use .pipe() this should be automatic.", "305": "The current renderer does not support hydration. This error is likely caused by a bug in React. Please file an issue.", - "306": "Element type is invalid. Received a promise that resolves to: %s. Lazy element type must resolve to a class or function.%s" + "306": "Element type is invalid. Received a promise that resolves to: %s. Lazy element type must resolve to a class or function.%s", + "307": "Hooks can only be called inside the body of a function component. (https://fb.me/react-invalid-hook-call)", + "308": "Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().", + "309": "Function components cannot have refs. Did you mean to use React.forwardRef()?", + "310": "Rendered more hooks than during the previous render.", + "311": "Should have a queue. This is likely a bug in React. Please file an issue.", + "312": "Rendered more hooks than during the previous render" }