Commit Graph
115 Commits
Author SHA1 Message Date
Jack PopeandGitHub ce38207656 Remove react-test-renderer/shallow export (#28497)
Based on
- https://github.com/facebook/react/pull/28419

## Summary

The shallow renderer was extracted from the repo years ago and published
by enzyme: https://github.com/enzymejs/react-shallow-renderer

We no longer need to reexport under the react-test-renderer namespace.
People can import `react-shallow-renderer` as needed

## How did you test this change?

- Observe shallow.js in react-test-renderer package from standard build
- Run build with changes on this branch
- Observe no more shallow.js export in build output
2024-03-26 18:04:47 -04:00
Andrew ClarkandGitHub f9e5218458 Bump canary versions to v19-canary (#28646)
This bumps the canary versions to v19 to communicate that the next
release will be a major. Once this lands, we can start merging breaking
changes into `main`.
2024-03-26 15:31:57 -04:00
RickyandGitHub b32d64d257 Update homepage URLs to react.dev (#28478)
Updates the package.json "homepage" entry to react.dev
2024-03-01 14:35:18 -05:00
Josh StoryandGitHub 180f666f2d bump versions for next release (#24725) 2022-06-14 13:24:00 -07:00
Andrew ClarkandGitHub cd5401cc77 Bump local package.json versions for 18.1 release (#24447) 2022-04-26 16:58:44 -04:00
Michael サイトー 中村 BashurovandGitHub abe0ec2a6f Upgrade react-shallow-renderer to support react 18 (#24442)
To a minimum version that support react 18
2022-04-26 19:45:04 +01:00
Andrew Clark 7763669925 Update local package.jsons for 18 2022-03-29 12:07:33 -04:00
Sebastian MarkbågeandGitHub aa646de85f Remove object-assign polyfill (#23351)
* Remove object-assign polyfill

We really rely on a more modern environment where this is typically
polyfilled anyway and we don't officially support IE with more extensive
polyfilling anyway. So all environments should have the native version
by now.

* Use shared/assign instead of Object.assign in code

This is so that we have one cached local instance in the bundle.

Ideally we should have a compile do this for us but we already follow
this pattern with hasOwnProperty, isArray, Object.is etc.

* Transform Object.assign to now use shared/assign

We need this to use the shared instance when Object.spread is used.
2022-02-23 19:34:24 -05:00
Sebastian MarkbågeandGitHub a0d178bf8c Update the exports field (#23257)
* Add .browser and .node explicit entry points

This can be useful when the automatic selection doesn't work properly.

* Remove react/index

I'm not sure why I added this in the first place. Perhaps due to how our
builds work somehow.

* Remove build-info.json from files field
2022-02-08 21:07:26 -05:00
Andrew ClarkandGitHub 78b51e97c2 Remove Scheduler indirection (#21107)
* Bump version number

* Remove Scheduler indirection

I originally kept the React PriorityLevel and Scheduler PriorityLevel
types separate in case there was a versioning mismatch between the two
modules. However, it looks like we're going to keep the Scheduler module
private in the short to medium term, and longer term the public
interface will match postTask. So, I've removed the extra indirection
(the switch statements that convert between the two types).
2021-03-28 14:13:38 -07:00
Brian VaughnandGitHub bec1ab8cf5 Fixed invalid DevTools work tags (#20362)
* Fixed invalid DevTools work tags

Work tags changed recently (PR #13902) but we didn't bump React versions. This meant that DevTools has valid work tags only for master (and FB www sync) but invalid work tags for the latest open source releases. To fix this, I incremneted React's version in Git (without an actual release) and added a new fork to the work tags detection branch.

This commit also adds tags for the experimental Scope and Fundamental APIs to DevTools so component names will at least display correctly. Technically these new APIs were first introduced to experimental builds ~16.9 but I didn't add a new branch to the work tags fork because I don't they're used commonly. I've just added them to the 17+ branches.

* Removed FundamentalComponent from DevTools tag defs
2020-12-01 10:33:32 -05:00
Dan Abramov a1f7caef10 17.0.1 2020-10-22 13:24:46 +01:00
Dan AbramovandGitHub e73ba7897f Bump versions for 17 (#20062) 2020-10-20 21:41:18 +01:00
Dan AbramovandGitHub dea87e1b8b Remove resolutions from test renderer package.json (#19577) 2020-08-10 20:45:12 +01:00
Brian VaughnandGitHub 7df0d0646c Fix Suspense-wrapping heuristic (and bump version numbers) (#19373)
* Fixed suspense wrapping heuristic

* Bump package numbers 16.13.1 -> 17.0.0-alpha.0 to fix DevTools Suspense heuristic
2020-07-15 12:25:27 -04:00
Andrew ClarkandGitHub 32cc2cf879 Revert accidental changes to package.json (#18348)
The publish script was written before we switched to running patch
releases out-of-band, so when updating the local package.json version
numbers, it accidentally reverted other changes that have landed to
master since 16.13 was released.
2020-03-19 13:16:37 -07:00
Andrew Clark a8669ac2cd Update package.jsons for 16.13.1 patch relase 2020-03-19 12:58:31 -07:00
Dan AbramovandGitHub 862c4a0958 Don't support older isomorphic React with newer renderers (#18329)
* Don't support older isomorphic React with newer renderers

* Remove the lazy hack
2020-03-17 19:30:10 +00:00
Minh NguyenandGitHub c23926edcf Bump react-shallow-renderer to 16.13.1 (#18187) 2020-03-17 00:35:28 +00:00
Minh NguyenandGitHub 312097c8ea Update react-shallow-renderer from 16.12.0 to 16.13.0 (#18185) 2020-02-28 16:35:52 -08:00
Dan AbramovandGitHub 4e59e9ba18 Remove runtime dependency on prop-types (#18127)
* Remove runtime dep on prop-types

* Fix test
2020-02-28 01:21:54 +00:00
Minh NguyenandGitHub a8901070f9 Replace ReactShallowRenderer with a dependency (#18144)
Closes #17321.
2020-02-27 18:10:25 +00:00
Sunil PaiandGitHub 73217149ad update version numbers for 16.13 (#18143)
also includes a bugfix when downloading error codes from circleci.
2020-02-26 20:33:29 +00:00
Luna Ruan 6bc8c5187c update version numbers for 16.12 2019-11-14 16:02:18 -08:00
Andrew Clark c6b2227932 Update local package versions for 16.10 release 2019-10-22 14:30:06 -07:00
Andrew Clark ffd1822d25 Update local version numbers for 16.10.2 release 2019-10-03 14:14:10 -07:00
Andrew Clark c7a1929dda Update local version numbers for 16.10.1 release 2019-09-28 21:41:42 -07:00
Andrew Clark 96287996ae Update local version numbers for 16.10 release 2019-09-27 13:31:35 -07:00
Andrew ClarkandGitHub 70367664e8 Bump deps in packages/**/package.json (#16325) 2019-08-08 14:50:11 -07:00
Andrew Clark 8a63f54e24 Bump package.json versions 2019-08-08 14:24:39 -07:00
Andrew ClarkandGitHub 400179c914 Bump scheduler version to 0.14.0 (#15395) 2019-04-29 18:10:11 -07:00
Dan Abramov 1da28eeab0 Update versions for 16.8.6 2019-03-27 23:58:16 -07:00
Dan Abramov 60a61fe73f Release 16.8.5 2019-03-22 16:47:59 +00:00
Brian Vaughn cc639a0d55 16.8.4 and changelog 2019-03-05 15:17:42 -08:00
Dan Abramov c268429792 Release 16.8.3 2019-02-21 18:09:18 +00:00
Dan Abramov 0448d1f099 Release 16.8.2 2019-02-14 19:13:15 +00:00
Brian Vaughn 10792d5a91 16.8.1 packages 2019-02-06 18:21:33 +00:00
Brian Vaughn da0e88304b 16.8.0 2019-02-06 08:04:00 +00:00
Grey BakerandDan Abramov 20c6fd146b Add directory details to the package.json of all packages (#14628)
Specifying the directory as part of the `repository` field in a `package.json`
allows third party tools to provide better support when working with monorepos.
For example, it allows them to correctly construct a commit diff for a specific
package.

This format was accepted by npm in https://github.com/npm/rfcs/pull/19.
2019-01-18 20:21:12 +00:00
Andrew Clark 98bb25c411 React v16.7.0 2018-12-19 17:23:14 -08:00
Brian VaughnandGitHub 3f246c8122 Publish a local release (canary or stable) to NPM (#14260)
New release scripts.

Learn more at https://github.com/facebook/react/blob/master/scripts/release/README.md
2018-11-23 12:37:18 -08:00
Andrew Clark 1fcd68a613 Updating package versions for release 16.6.1 2018-11-06 18:19:57 -08:00
Dan Abramov 4985ccf91b Updating package versions for release 16.6.0 2018-10-23 16:23:41 -07:00
Dan Abramov 3762c14b3f Revert all package versions to 16.5.2 state
Our release script is getting really confused so I'm resetting to last working state.
2018-10-23 16:18:28 -07:00
Dan Abramov 3594abff3b Bump versions to beta.0 2018-10-23 16:01:57 -07:00
Dan AbramovandGitHub 820bec4ebb Bump version to 16.6.0-beta.0 (#13906)
* Bump version to 16.6.0-beta.0

* Root too
2018-10-20 13:03:15 -04:00
Dan Abramov 68f8da07b2 Updating package versions for release 16.6.0-alpha.01fb17f 2018-10-10 17:12:05 +01:00
Dan AbramovandGitHub f213e690bb Rename schedule to scheduler (#13683) 2018-09-19 01:26:28 +01:00
Brian Vaughn 94916e4c79 Updating package versions for release 16.5.2 2018-09-18 11:24:33 -07:00
Brian Vaughn 28ebb62640 Revert "Updating package versions for release 16.6.0-alpha.0"
This reverts commit 31b9c40bd7.
2018-09-18 11:00:13 -07:00