Skip to content

Commit cbae6e7

Browse files
authored
Prepare for 12.0.0-alpha.2 release (rescript-lang#7011)
1 parent 87374f1 commit cbae6e7

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

CHANGELOG.md

+16-16
Original file line numberDiff line numberDiff line change
@@ -10,32 +10,18 @@
1010
> - :house: [Internal]
1111
> - :nail_care: [Polish]
1212
13-
# 12.0.0-alpha.2 (Unreleased)
13+
# 12.0.0-alpha.2
1414

1515
#### :rocket: New Feature
1616

1717
- Allow coercing polyvariants to variants when we can guarantee that the runtime representation matches. https://github.com/rescript-lang/rescript-compiler/pull/6981
1818
- Add new dict literal syntax (`dict{"foo": "bar"}`). https://github.com/rescript-lang/rescript-compiler/pull/6774
1919
- Optimize usage of the new dict literal syntax to emit an actual JS object literal. https://github.com/rescript-lang/rescript-compiler/pull/6538
2020

21-
#### :nail_care: Polish
22-
23-
- Improve formatting in the generated js code. https://github.com/rescript-lang/rescript-compiler/pull/6932
24-
- `}\ncatch{` -> `} catch {`
25-
- `for(let i = 0 ,i_finish = r.length; i < i_finish; ++i){` -> `for (let i = 0, i_finish = r.length; i < i_finish; ++i) {`
26-
- `while(true) {` -> `while (true) {`
27-
- Fixed tabulation for `switch case` bodies
28-
- Fixed tabulation for `throw new Error` bodies
29-
- Removed empty line at the end of `switch` statement
30-
- Removed empty `default` case from `switch` statement in the generated code
31-
- Optimised the Type Extension runtime code and removed trailing `/1` from `RE_EXN_ID` https://github.com/rescript-lang/rescript-compiler/pull/6958
32-
- Compact output for anonymous functions. https://github.com/rescript-lang/rescript-compiler/pull/6945
33-
- Rewatch 1.0.9. https://github.com/rescript-lang/rescript-compiler/pull/7010
34-
3521
#### :bug: Bug Fix
3622
- Fix issue where long layout break added a trailing comma in partial application `...`. https://github.com/rescript-lang/rescript-compiler/pull/6949
3723
- Fix incorrect format of function under unary operator. https://github.com/rescript-lang/rescript-compiler/pull/6953
38-
- Fix incorrect incorrect printing of module binding with signature. https://github.com/rescript-lang/rescript-compiler/pull/6963
24+
- Fix incorrect printing of module binding with signature. https://github.com/rescript-lang/rescript-compiler/pull/6963
3925
- Fix incorrect printing of external with `@as` attribute and `_` placholder (fixed argument). https://github.com/rescript-lang/rescript-compiler/pull/6970
4026
- Disallow spreading anything but regular variants inside of other variants. https://github.com/rescript-lang/rescript-compiler/pull/6980
4127
- Fix comment removed when function signature has `type` keyword. https://github.com/rescript-lang/rescript-compiler/pull/6997
@@ -48,6 +34,20 @@
4834
- Remove attribute "internal.arity". https://github.com/rescript-lang/rescript-compiler/pull/7004
4935
- Remove dead modules. https://github.com/rescript-lang/rescript-compiler/pull/7008
5036

37+
#### :nail_care: Polish
38+
39+
- Improve formatting in the generated js code. https://github.com/rescript-lang/rescript-compiler/pull/6932
40+
- `}\ncatch{` -> `} catch {`
41+
- `for(let i = 0 ,i_finish = r.length; i < i_finish; ++i){` -> `for (let i = 0, i_finish = r.length; i < i_finish; ++i) {`
42+
- `while(true) {` -> `while (true) {`
43+
- Fixed tabulation for `switch case` bodies
44+
- Fixed tabulation for `throw new Error` bodies
45+
- Removed empty line at the end of `switch` statement
46+
- Removed empty `default` case from `switch` statement in the generated code
47+
- Optimised the Type Extension runtime code and removed trailing `/1` from `RE_EXN_ID`. https://github.com/rescript-lang/rescript-compiler/pull/6958
48+
- Compact output for anonymous functions. https://github.com/rescript-lang/rescript-compiler/pull/6945 https://github.com/rescript-lang/rescript-compiler/pull/7013
49+
- Rewatch 1.0.9. https://github.com/rescript-lang/rescript-compiler/pull/7010
50+
5151
# 12.0.0-alpha.1
5252

5353
#### :rocket: New Feature

0 commit comments

Comments
 (0)