You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CHANGELOG.md
+55-1
Original file line number
Diff line number
Diff line change
@@ -24,18 +24,72 @@
24
24
- Made pinned dependencies transitive: if *a* is a pinned dependency of *b* and *b* is a pinned dependency of *c*, then *a* is implicitly a pinned dependency of *c*.
25
25
- This change is only breaking if your build process assumes non-transitivity. Few if any builds do. In the typical case where you build your monorepo by running `rescript build` on each package in your repo, you don't need to make any changes. There is no way of building with the old, non-transitive behavior.
26
26
27
+
# 10.1.0-rc.3
28
+
29
+
#### :rocket: New Feature
30
+
31
+
- Support the use of spread anywhere in list creation (e.g. `list{...x, 1, ...y, ...z}`). https://github.com/rescript-lang/syntax/pull/692
32
+
- Add support for the argument of `@react.component` to set a props type from the outside. https://github.com/rescript-lang/syntax/pull/699
33
+
34
+
#### :bug: Bug Fix
35
+
36
+
- Fix issue where the JSX key type is not an optional string https://github.com/rescript-lang/syntax/pull/693
37
+
- Prevent inlining of async functions https://github.com/rescript-lang/rescript-compiler/issues/5754
38
+
- Fix build error for JSX fragment without children https://github.com/rescript-lang/syntax/pull/704
39
+
- Fix issue where async as an id cannot be used with application and labelled arguments https://github.com/rescript-lang/syntax/issues/707
40
+
- Fix 5557: the exhaustive checking for char is incorrect during the unicode migration https://github.com/rescript-lang/rescript-compiler/pull/5749
41
+
- Fix 5753: the comment for unicode char is inaccurate https://github.com/rescript-lang/syntax/pull/709
42
+
- Treat await as almost-unary operator weaker than pipe so `await foo->bar` means `await (foo->bar)`https://github.com/rescript-lang/syntax/pull/711
43
+
44
+
#### :nail_care: Polish
45
+
46
+
- Change payload of `Pconst_char` from `char` to `int`https://github.com/rescript-lang/syntax/pull/709
47
+
48
+
# 10.1.0-rc.2
49
+
50
+
#### :bug: Bug Fix
51
+
52
+
- Fix issue with changes not being applied with React Native's Metro bundler for files with warnings https://github.com/rescript-lang/rescript-compiler/pull/5738
53
+
- Fix emitting unary minus for floats in case of negative constants https://github.com/rescript-lang/rescript-compiler/pull/5737
54
+
- 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/
55
+
- Fix issue where the formatter would delete `async` in a function with labelled arguments.
56
+
- Fix several printing issues with `async` including an infinite loop https://github.com/rescript-lang/syntax/pull/680
57
+
- 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
58
+
- Fix issue where printing nested pipe discards await https://github.com/rescript-lang/syntax/issues/687
59
+
27
60
# 10.1.0-rc.1
28
61
62
+
#### :boom: Breaking Change
63
+
64
+
- Deprecate DOM element attributes in `JsxDOM.domProps`: `begin_`, `end_`, `to_`
65
+
- Use `begin`, `end`, `to` instead.
66
+
- Emit an error when a `@string` or `@int` attribute is used in a V4 component https://github.com/rescript-lang/rescript-compiler/issues/5724
67
+
29
68
## :rocket: New Feature
30
69
31
70
- 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
71
+
- Safe promises: t-first Js.Promise2 bindings, and remove warning for nested promises https://github.com/rescript-lang/rescript-compiler/pull/5709
32
72
33
73
#### :bug: Bug Fix
34
74
35
-
- Fix printing of comments inside empty blocks https://github.com/rescript-lang/syntax/pull/647
75
+
- Fix issue where uncurried async functions were emitted without `async`https://github.com/rescript-lang/rescript-compiler/pull/5718
36
76
- Fix location issue in error messages with JSX V4 where the multiple props types are defined https://github.com/rescript-lang/syntax/pull/655
37
77
- Fix location issue in make function in JSX V4 that breaks dead code elimination https://github.com/rescript-lang/syntax/pull/660
38
78
- Fix parsing (hence pretty printing) of expressions with underscore `_` and comments.
79
+
- Fix printing of comments inside JSX tag https://github.com/rescript-lang/syntax/pull/664
80
+
- Fix issue where formatter erases tail comments inside JSX tag https://github.com/rescript-lang/syntax/issues/663
81
+
- Fix issue where the JSX prop has type annotation of the first class module https://github.com/rescript-lang/syntax/pull/666
82
+
- Fix issue where an empty record literal {} expected to have a non-record type would type check https://github.com/rescript-lang/rescript-compiler/pull/5729
83
+
84
+
#### :eyeglasses: Spec Compliance
85
+
86
+
- Functions with consecutive dots now print as multiple arrow functions like in JavaScript.
87
+
88
+
#### :nail_care: Polish
89
+
90
+
- Add `loading`, `aria-*` DOM element attributes in `JsxDOM.domProps`: `ariaCurrent`, `ariaInvalid`, `ariaAutocomplete`, etc.
91
+
- Change the internal representation of props for the lowercase components to record. https://github.com/rescript-lang/syntax/pull/665
92
+
- Add `JsxPPXReactSupport` module to relocate the helper functions for JSX v4 from `rescript-react`
0 commit comments