|
10 | 10 | > - :house: [Internal]
|
11 | 11 | > - :nail_care: [Polish]
|
12 | 12 |
|
13 |
| -# 12.0.0-alpha.2 (Unreleased) |
| 13 | +# 12.0.0-alpha.2 |
14 | 14 |
|
15 | 15 | #### :rocket: New Feature
|
16 | 16 |
|
17 | 17 | - Allow coercing polyvariants to variants when we can guarantee that the runtime representation matches. https://github.com/rescript-lang/rescript-compiler/pull/6981
|
18 | 18 | - Add new dict literal syntax (`dict{"foo": "bar"}`). https://github.com/rescript-lang/rescript-compiler/pull/6774
|
19 | 19 | - Optimize usage of the new dict literal syntax to emit an actual JS object literal. https://github.com/rescript-lang/rescript-compiler/pull/6538
|
20 | 20 |
|
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 |
| - |
35 | 21 | #### :bug: Bug Fix
|
36 | 22 | - Fix issue where long layout break added a trailing comma in partial application `...`. https://github.com/rescript-lang/rescript-compiler/pull/6949
|
37 | 23 | - 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 |
39 | 25 | - Fix incorrect printing of external with `@as` attribute and `_` placholder (fixed argument). https://github.com/rescript-lang/rescript-compiler/pull/6970
|
40 | 26 | - Disallow spreading anything but regular variants inside of other variants. https://github.com/rescript-lang/rescript-compiler/pull/6980
|
41 | 27 | - Fix comment removed when function signature has `type` keyword. https://github.com/rescript-lang/rescript-compiler/pull/6997
|
|
48 | 34 | - Remove attribute "internal.arity". https://github.com/rescript-lang/rescript-compiler/pull/7004
|
49 | 35 | - Remove dead modules. https://github.com/rescript-lang/rescript-compiler/pull/7008
|
50 | 36 |
|
| 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 | + |
51 | 51 | # 12.0.0-alpha.1
|
52 | 52 |
|
53 | 53 | #### :rocket: New Feature
|
|
0 commit comments