Skip to content

Commit 7d84a5b

Browse files
committed
Sync with latest 10.1
1 parent a3f23c6 commit 7d84a5b

File tree

2 files changed

+10
-22
lines changed

2 files changed

+10
-22
lines changed

CHANGELOG.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,19 @@
1919
- `rescript convert <reason files>`
2020
- Remove obsolete built-in project templates and the "rescript init" functionality. This will be replaced by the create-rescript-app project that is maintained separately.
2121

22-
#### :rocket: New Feature
22+
# 10.1.0-rc.1
23+
24+
## :rocket: New Feature
2325

2426
- Add extra variants for output filename suffixes in `bsconfig.json`: `.bs.mjs` and `.bs.cjs` are allowed https://github.com/rescript-lang/rescript-compiler/pull/5631
2527

28+
#### :bug: Bug Fix
29+
30+
- Fix printing of comments inside empty blocks https://github.com/rescript-lang/syntax/pull/647
31+
- Fix location issue in error messages with JSX V4 where the multiple props types are defined https://github.com/rescript-lang/syntax/pull/655
32+
- Fix location issue in make function in JSX V4 that breaks dead code elimination https://github.com/rescript-lang/syntax/pull/660
33+
- Fix parsing (hence pretty printing) of expressions with underscore `_` and comments.
34+
2635
# 10.1.0-alpha.2
2736

2837
#### :rocket: New Feature

jscomp/napkin/CHANGELOG.md

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@
1010
> - :house: [Internal]
1111
> - :nail_care: [Polish]
1212
13-
#### :boom: Breaking Change
14-
15-
- Emit an error when a `@string` or `@int` attribute is used in a V4 component https://github.com/rescript-lang/rescript-compiler/issues/5724
16-
1713
#### :rocket: New Feature
1814

1915
- Add surface syntax for `async`/`await` https://github.com/rescript-lang/syntax/pull/600
@@ -35,23 +31,6 @@
3531
- Fix location issue in error messages with JSX V4 where the multiple props types are defined https://github.com/rescript-lang/syntax/pull/655
3632
- Fix location issue in make function in JSX V4 that breaks dead code elimination https://github.com/rescript-lang/syntax/pull/660
3733
- Fix parsing (hence pretty printing) of expressions with underscore `_` and comments.
38-
- Fix printing of comments inside JSX tag https://github.com/rescript-lang/syntax/pull/664
39-
- Fix issue where formatter erases tail comments inside JSX tag https://github.com/rescript-lang/syntax/issues/663
40-
- Fix issue where the JSX prop has type annotation of the first class module https://github.com/rescript-lang/syntax/pull/666
41-
- Fix issue where a spread `...x` in non-last position would not be reported as syntax error https://github.com/rescript-lang/syntax/pull/673/
42-
- Fix issue where the formatter would delete `async` in a function with labelled arguments.
43-
- Fix several printing issues with `async` including an infinite loop https://github.com/rescript-lang/syntax/pull/680
44-
- 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
45-
- Fix issue where printing nested pipe discards await https://github.com/rescript-lang/syntax/issues/687
46-
- Fix issue where the JSX key type is not an optional string https://github.com/rescript-lang/syntax/pull/693
47-
48-
#### :eyeglasses: Spec Compliance
49-
50-
- Functions with consecutive dots now print as multiple arrow functions like in JavaScript.
51-
52-
#### :nail_care Polish
53-
54-
- Change the internal representation of props for the lowercase components to record. https://github.com/rescript-lang/syntax/pull/665
5534

5635
## ReScript 10.0
5736

0 commit comments

Comments
 (0)