Skip to content

Commit 70cb393

Browse files
authoredOct 29, 2022
Sync latest syntax. (#5762)
1 parent 0774d35 commit 70cb393

File tree

6 files changed

+692
-157
lines changed

6 files changed

+692
-157
lines changed
 

‎CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,22 @@
1212
1313
# 10.1.0-rc.3
1414

15+
#### :rocket: New Feature
16+
17+
- Support the use of spread anywhere in list creation (e.g. `list{...x, 1, ...y, ...z}). https://github.com/rescript-lang/syntax/pull/692
18+
19+
- Add support for the argument of `@react.component` to set a props type from the outside. https://github.com/rescript-lang/syntax/pull/699
20+
1521
#### :bug: Bug Fix
1622

1723
- Fix issue where the JSX key type is not an optional string https://github.com/rescript-lang/syntax/pull/693
1824

1925
- Prevent inlining of async functions https://github.com/rescript-lang/rescript-compiler/issues/5754
2026

27+
- Fix issue where the JSX fragment without children build error https://github.com/rescript-lang/syntax/pull/704
28+
29+
- Fix issue where async as an id cannot be used with application and labelled arguments https://github.com/rescript-lang/syntax/issues/707
30+
2131
# 10.1.0-rc.2
2232

2333
#### :bug: Bug Fix

‎jscomp/napkin/CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@
2424

2525
- Add support for empty record literal `{}` for records with only optional fields, and type definition of empty record (e.g. `type empty = {}`) https://github.com/rescript-lang/syntax/pull/632
2626

27+
- Support the use of spread anywhere in list creation (e.g. `list{...x, 1, ...y, ...z}). https://github.com/rescript-lang/syntax/pull/692
28+
29+
- Add support for the argument of `@react.component` to set a props type from the outside. https://github.com/rescript-lang/syntax/pull/699
30+
2731
#### :bug: Bug Fix
2832

2933
- Fix issue in formatting JSX spread props https://github.com/rescript-lang/syntax/pull/644
@@ -44,6 +48,9 @@
4448
- Fix issue where certain JSX expressions would be formatted differenctly in compiler 10.1.0-rc.1 https://github.com/rescript-lang/syntax/issues/675
4549
- Fix issue where printing nested pipe discards await https://github.com/rescript-lang/syntax/issues/687
4650
- Fix issue where the JSX key type is not an optional string https://github.com/rescript-lang/syntax/pull/693
51+
- Fix issue where the JSX fragment without children build error https://github.com/rescript-lang/syntax/pull/704
52+
- Fix issue where async as an id cannot be used with application and labelled arguments https://github.com/rescript-lang/syntax/issues/707
53+
4754

4855
#### :eyeglasses: Spec Compliance
4956

0 commit comments

Comments
 (0)