97 Commits
Author SHA1 Message Date
fisker Cheung 055dba4258 Fix comment in destructuring patterns for Flow parser (#19902) 2026-08-20 20:14:15 +08:00
fisker 4ae1707539 Clean changelog_unreleased 2026-07-10 00:22:23 +08:00
fisker Cheung 6394c73209 Align empty module declaration with TS (#19568) 2026-07-09 12:57:47 +08:00
fisker 05cf896cfc Clean changelog_unreleased 2026-06-27 18:33:45 +08:00
3613b1e5a3 Add blog post for v3.9 (#19414)
Co-authored-by: Alexander Kachkaev <alexander@kachkaev.ru>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-27 18:28:48 +08:00
fisker 62cf5a42d3 Remove released changelog 2026-06-26 21:06:44 +08:00
Sam Zhouandfisker 9c0e48cd25 Switch to oxidized flow parser (#19398)
Co-authored-by: fisker <lionkay@gmail.com>
2026-06-23 08:44:23 +08:00
fisker Cheung 94c71e346f Remove extra parens around optional return type (#19331) 2026-06-10 08:28:51 +08:00
fisker Cheung ffcfe0efbb Do not expand object type with inline comments (#19287) 2026-06-04 16:51:53 +08:00
Marco Wangandfisker Cheung 3ff4e67403 Support new Flow variance syntax (#19102)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2026-04-29 15:42:44 +08:00
Michael Vitousekandautofix-ci[bot] f86027197d Print async keyword for component declarations (#19053)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-15 08:27:47 +08:00
9d9d8914b6 Support readonly as Flow variance annotation (#19022)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2026-04-12 07:43:22 +08:00
renovate[bot]andfisker 9d6833e74a Update flow-parser (#18929)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2026-03-22 10:53:42 +08:00
Marco Wang c24aa46cd9 Support KeyofTypeAnnotation parentheses in Flow (#18801) 2026-01-30 12:32:29 +08:00
fisker Cheung 92d288e3e7 Support implicit declare in Flow (#18690) 2026-01-29 20:14:52 +08:00
Konv Suuandfisker Cheung 9e58cbe5e0 Improve long mapped type to across multiple line in Flow (#18779)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2026-01-29 12:04:43 +08:00
Christopher Chedeauandfisker Cheung 599bad1415 Fix parenthesis for optional function as return type (#11004)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2026-01-25 05:03:35 +08:00
fisker Cheungandautofix-ci[bot] 7f455be5af Improve syntax highlight for Flow syntax (#18645)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-15 19:54:18 +08:00
fisker Cheung b1c75ac9ad Improve dangling comment handling in flow components (#18629) 2026-01-15 04:04:39 +08:00
fisker Cheung 4cfb8bc9b8 Improve dangling comment handling in flow hooks (#18630) 2026-01-15 03:01:56 +08:00
fisker Cheung 3b9ecca4d9 Don't treat Flow inexact tuples as empty (#18616) 2026-01-13 19:15:36 +08:00
George Zaharievandfisker 38745522e3 Support for Flow match instance patterns and Flow records (#18511)
Co-authored-by: fisker <lionkay@gmail.com>
2025-12-30 05:24:56 +08:00
fisker c4905e5be9 Clean changelog_unreleased 2025-11-27 16:31:35 +08:00
Sam Zhou e30c8e6184 Support new Flow feature: opaque type with lower and upper bounds (#17792) 2025-08-13 09:53:29 +08:00
fisker Cheung acd25a9aa6 Support flow "match" syntax (#17681) 2025-08-04 15:27:10 +08:00
fisker f67b32ba66 Clean changelog_unreleased 2025-06-23 10:10:54 +08:00
SUZUKI Sosuke 0ef2086cc9 Fix English grammer in changelog_unreleased (#17635) 2025-06-22 14:58:35 +09:00
fisker Cheungandautofix-ci[bot] f41214b2f1 Add changelog for hermes and oxc plugin (#17629)
* Add changelog for `hermes` and `oxc` plugin

* Apply automated changes

* Move to `flow/`

* Spellcheck

* Reword

* Reword

* Apply automated changes

* Fix

* Reword

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-06-22 00:49:06 +09:00
fisker Cheung 43d4f962f0 Fix missing parentheses in ConditionalTypeAnnotation (#17196) 2025-03-03 09:09:29 +08:00
Sosuke Suzuki 3fe8152c5c Clean changelog_unreleased 2025-02-09 20:45:20 +09:00
George Zahariev 0015a83d93 Suppport const type params in Flow (#16947) 2024-12-20 11:59:25 +09:00
Sosuke Suzuki 2406fee590 Clean changelog_unreleased 2024-06-02 02:04:43 +09:00
George Zaharievandfisker Cheung fb9f2c1778 Flow: add support for 'implies' type guard variant (#16272)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2024-05-11 09:03:55 +08:00
George Zahariev 5a51577428 Flow: add support for inexact tuple types (#16271) 2024-05-11 09:03:13 +08:00
George Zahariev 105bb7beff Flow: add support for bigint enums (#16268) 2024-05-09 11:26:13 +08:00
Sam Zhou ae8dcc48f5 Component syntax and related language features printing support (#16191)
* Component syntax and related language features printing support

Relevant Flow docs:
- https://flow.org/en/docs/react/component-syntax/
- https://flow.org/en/docs/react/render-types/

* Update issue number

* declare new test as unstable

* fix tests
2024-04-04 23:10:00 +09:00
Sam Zhou f4b3b7b1e2 feat: declare namespace printing support for Flow (#16066) 2024-02-11 22:28:50 +09:00
Sosuke Suzuki a3e1be82b6 Clean changelog 2023-11-13 12:04:23 +09:00
SUZUKI Sosuke fa8cb85434 Support type arguments after typeof (#15466) 2023-09-28 12:57:38 +09:00
Sam Zhou 6bff776efd Support type arguments on jsx opening elements for flow (#15429) 2023-09-20 00:35:18 +09:00
George Zahariev 675490ae55 Support as and satisfies expressions for Flow (#15130) 2023-09-16 17:28:18 +09:00
Sosuke Suzuki 266344398c Clean changelog 2023-07-06 01:47:41 +09:00
Panagiotis Vekris 2eaf5763e9 Support type guards in Flow (#14767) 2023-04-27 14:09:17 +08:00
Jordan Brownandfisker f95b0c0296 Support Flow Mapped Types (#14619)
Co-authored-by: fisker <lionkay@gmail.com>
2023-04-07 09:56:18 +08:00
Sam Zhouandfisker b7ab34073e Support conditional type and infer type in Flow (#14573)
Co-authored-by: fisker <lionkay@gmail.com>
2023-03-28 09:04:35 +08:00
fisker aaffacce2c Merge remote-tracking branch 'remotes/upstream/main' into next
# Conflicts:
#	docs/browser.md
#	package.json
#	scripts/release/release.js
#	src/language-js/parse/postprocess/index.js
#	src/language-js/parse/postprocess/typescript.js
#	src/language-js/parse/typescript.js
#	src/language-js/print/type-parameters.js
#	tests/format/js/export-star/__snapshots__/jsfmt.spec.js.snap
#	tests/format/js/export-star/jsfmt.spec.js
#	tests/format/js/export/__snapshots__/jsfmt.spec.js.snap
#	tests/format/js/export/jsfmt.spec.js
#	tests/format/misc/typescript-only/__snapshots__/jsfmt.spec.js.snap
#	tests/format/typescript/decorators/jsfmt.spec.js
#	tests/format/typescript/export/jsfmt.spec.js
#	yarn.lock
2023-03-20 14:21:15 +08:00
fisker ddf3b43c33 Clean changelog 2023-03-20 14:09:05 +08:00
fisker 883324dbb6 Merge branch 'main' into next
# Conflicts:
#	scripts/tools/bundle-test/package.json
#	scripts/tools/bundle-test/yarn.lock
#	src/language-js/needs-parens.js
#	tests/format/typescript/typeof/jsfmt.spec.js
#	website/package.json
#	website/yarn.lock
2023-03-18 08:57:03 +08:00
fisker Cheung f1b18f2319 Add parentheses to TypeofTypeAnnotation (#14458) 2023-03-08 09:16:03 +08:00
fisker Cheung 62827ab4d5 Flow: Print trailing comma in type parameters when --trailing-comma=es5 (#14085) 2023-02-09 10:01:42 +08:00