Update flow-typed 3.9.0 → 4.0.0 (major)
Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ flow-typed (3.9.0 → 4.0.0) · Repo · Changelog
Release Notes
4.0.0
What's Changed
- [cli] New definitions and testing logic for def dependencies by @Brianzchen in #4339
- [cli] Rename references to future main branch by @Brianzchen in #4348
- [webpack-bundle-analyzer] New definition by @Brianzchen in #4351
- [lodash.shuffle] Add definition by @Brianzchen in #4350
- [koa-router] Depend on koa by @Brianzchen in #4352
- [@testing-library/react] Update to use aria-query as a dependency by @Brianzchen in #4362
- [@koa/cors] Use koa as dependency by @Brianzchen in #4367
- [koa-router] Add v8-12 by @Brianzchen in #4368
- [koa-body] Add definition by @Brianzchen in #4370
- [koa-useragent] Add definition by @Brianzchen in #4371
- [CLI] remove core es5 and implement npm validation by @Brianzchen in #4363
- [cli] Expose a public api to execute commands by @Brianzchen in #4377
- [@koa/router] Pull definition from koa-router by @Brianzchen in #4369
- shift code owners into scopes and files by @Brianzchen in #4386
- [react-redux] Add type argument default and bound to useDispatch by @Brianzchen in #4394
- [CLI] merge v4 branch into
mainby @Brianzchen in #4385- [micromatch] Add definition by @Brianzchen in #4374
- [docs] add docs to contributing md by @Brianzchen in #4404
- [cli] Tests now run against changed flow version by @Brianzchen in #4406
- [yargs] .example(): allow array arguments by @christianvuerings in #4413
- [cli] workspaces in flow-typed.config.json by @Brianzchen in #4414
- Rebase master into main from
0.201.xdeprecations by @Brianzchen in #4434- [aria-query] Add new definition ranges to keep compatibility with RTL by @Brianzchen in #4441
- [@testing-library/react] v14 uses react-dom def deps by @Brianzchen in #4442
- [cli] Fix a bug from flow that stopped testing for ambiguous obj exactness by @Brianzchen in #4449
- Add libdef for openai-node v3.3.0 by @joshuanapoli in #4459
- Merge master changes back into main by @Brianzchen in #4480
- [formik] Add FormikContext by @Brianzchen in #4483
- [bignumber.js] Add v9 by @Brianzchen in #4486
- [@faker-js/faker] Add v8 definitions by @Brianzchen in #4488
- [@testing-library/react] Add renderHook function by @Brianzchen in #4490
- [node] Add process module definitions by @Brianzchen in #4491
- [react-router-dom] Add ScrollRestoration and future by @Brianzchen in #4493
- [copy-dir] Add definition by @Brianzchen in #4496
- [aphrodite]: Make StyleObject ReadOnly by @Brianzchen in #4495
- [cli] Add .gitattributes to root by @Brianzchen in #4497
- [query-string] Support parseFragmentIdentifier option for parseURL by @c960657 in #4498
- [react-router-dom]: Add missing createHashRouter by @Brianzchen in #4502
- [deepmerge] Fix arrayMerge options by @Brianzchen in #4503
- [react-responsive] Add definition by @Brianzchen in #4504
- [yargs] Fix example and middleware types by @Brianzchen in #4511
- Add aws-appsync-subscription-link by @joshuanapoli in #4513
- Fix some invalid JSON regarding flow-typed.config.json docs [master branch] by @valscion in #4515
- Fix some invalid JSON regarding flow-typed.config.json docs [main branch] by @valscion in #4516
- [micromatch] Change usage of $Shape to Partial by @Brianzchen in #4514
- [cli] Ignore non-prod definitions when installing defs of depepndecies by @Brianzchen in #4517
- [base-64] new definition by @Brianzchen in #4518
- [ci] Use dynamic node versions matrix by @pascalduez in #4521
- [cli][defs] Enforce Yarn version by @pascalduez in #4522
- [env:node] Add assert module by @pascalduez in #4520
- Update email address to new fastmail account by @flowtyped-bot in #4523
- Bump debug from 4.1.1 to 4.3.4 in /cli by @dependabot in #4525
- Bump debug from 4.1.1 to 4.3.4 in /definitions by @dependabot in #4524
- [body-scroll-lock-upgrade] Add definition by @Brianzchen in #4529
- [react-native-vision-camera] Add definition by @joshuanapoli in #4533
- [webpack] Add ProgressPlugin by @Brianzchen in #4530
- [use-debounce] Add definition by @Brianzchen in #4531
- [openai] Add definition for openai v4 by @joshuanapoli in #4536
- Bump @babel/traverse from 7.8.4 to 7.23.2 in /cli by @dependabot in #4537
- Bump @babel/traverse from 7.16.3 to 7.23.2 in /definitions by @dependabot in #4538
- [js-yaml] Add definition v4 by @Brianzchen in #4539
- [cli] pnpm support by @Brianzchen in #4540
- [cli] Install a dependency's environment definitions by @Brianzchen in #4541
- [body-scroll-lock-upgrade] Fix module naming by @Brianzchen in #4545
- [use-debounce] Fix debounce returned function by @Brianzchen in #4544
- [cli] Update flow-bin to 0.200.0 by @Brianzchen in #4547
- [graphql] [@apollo/client] add graphql libdef and integrate with @apollo/client by @joshuanapoli in #4550
- [react-native-vision-camera] Add definition for v3 by @joshuanapoli in #4552
- [react-router-dom] Expose UNSAFE context components by @Brianzchen in #4553
- [worker_threads] Add definition by @Brianzchen in #4554
- [module-alias] New definition by @Brianzchen in #4555
- [rimraf] Add definition v5 by @mischnic in #4556
- [@tanstack/react-query] Adding definition by @CarlosPettersen in #4557
- Add
signalproperty to Axios request config by @hyperupcall in #4558- refactor: Improve placement of
$FlowExpectedErrors in@babel/*packages by @hyperupcall in #4559- [axios]: Add definition for interceptor
.clear()by @hyperupcall in #4561- [react-router-dom] Add future object to NavigatorProvider object by @Brianzchen in #4562
- [history] Fix partial error by @Brianzchen in #4563
- [webpack] Add missing ProvidePlugin by @Brianzchen in #4564
- [react-dom] Add flushSync by @mwiencek in #4566
- [flow-enums-runtime] Add definition by @Brianzchen in #4567
- [@tanstack/react-query] Copy to react-query v5 to v4 by @Brianzchen in #4568
New Contributors
- @christianvuerings made their first contribution in #4413
- @flowtyped-bot made their first contribution in #4523
- @CarlosPettersen made their first contribution in #4557
- @hyperupcall made their first contribution in #4558
Full Changelog: v3.9.0...v4.0.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by more commits than we can show here.
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.
All Depfu comment commands
- @depfu rebase
- Rebases against your default branch and redoes this update
- @depfu recreate
- Recreates this PR, overwriting any edits that you've made to it
- @depfu merge
- Merges this PR once your tests are passing and conflicts are resolved
- @depfu cancel merge
- Cancels automatic merging of this PR
- @depfu close
- Closes this PR and deletes the branch
- @depfu reopen
- Restores the branch and reopens this PR (if it's closed)
- @depfu pause
- Ignores all future updates for this dependency and closes this PR
- @depfu pause [minor|major]
- Ignores all future minor/major updates for this dependency and closes this PR
- @depfu resume
- Future versions of this dependency will create PRs again (leaves this PR as is)
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 88.46%. Comparing base (
81e5883) to head (0c805d5).
:exclamation: Current head 0c805d5 differs from pull request most recent head 739ef0a
Please upload reports for the commit 739ef0a to get more accurate results.
Additional details and impacted files
@@ Coverage Diff @@
## main #5001 +/- ##
==========================================
- Coverage 88.48% 88.46% -0.03%
==========================================
Files 304 304
Lines 27392 27317 -75
Branches 7400 7377 -23
==========================================
- Hits 24239 24165 -74
+ Misses 2931 2930 -1
Partials 222 222
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.