|
17 | 17 | - Introduce "Unified operators" for arithmetic operators (`+`, `-`, `*`, `/`, `mod`). https://github.com/rescript-lang/rescript-compiler/pull/7057
|
18 | 18 | - Add remainder (`%`, aka modulus) operator. https://github.com/rescript-lang/rescript-compiler/pull/7152
|
19 | 19 |
|
| 20 | + |
| 21 | +#### :bug: Bug fix |
| 22 | +- Fix and clean up boolean and/or optimizations. https://github.com/rescript-lang/rescript-compiler/pull/7134 https://github.com/rescript-lang/rescript-compiler/pull/7151 |
| 23 | + |
| 24 | +#### :nail_care: Polish |
| 25 | +- Improve code generation for pattern matching of untagged variants. https://github.com/rescript-lang/rescript-compiler/pull/7128 |
| 26 | +- Improve negation handling in combination with and/or to simplify generated code (especially coming out of pattern matching). https://github.com/rescript-lang/rescript-compiler/pull/7138 |
| 27 | +- optimize JavaScript code generation by using x == null checks and improving type-based optimizations for string/number literals. https://github.com/rescript-lang/rescript-compiler/pull/7141 |
| 28 | +- Improve pattern matching on optional fields. https://github.com/rescript-lang/rescript-compiler/pull/7143 https://github.com/rescript-lang/rescript-compiler/pull/7144 |
| 29 | +- Optimize compilation of switch statements for untagged variants when there are no literal cases. https://github.com/rescript-lang/rescript-compiler/pull/7135 |
| 30 | +- Further improve boolean optimizations. https://github.com/rescript-lang/rescript-compiler/pull/7149 |
| 31 | +- Simplify code generated for conditionals. https://github.com/rescript-lang/rescript-compiler/pull/7151 |
| 32 | + |
| 33 | + |
20 | 34 | # 12.0.0-alpha.4
|
21 | 35 |
|
22 | 36 | #### :boom: Breaking Change
|
|
45 | 59 | - Fix variant cast to int. https://github.com/rescript-lang/rescript-compiler/pull/7058
|
46 | 60 | - Fix comments formatted away in function without arguments. https://github.com/rescript-lang/rescript-compiler/pull/7095
|
47 | 61 | - Fix genType JSX component compilation. https://github.com/rescript-lang/rescript-compiler/pull/7107
|
48 |
| -- Fix and clean up boolean and/or optimizations. https://github.com/rescript-lang/rescript-compiler/pull/7134 |
49 | 62 |
|
50 | 63 | #### :nail_care: Polish
|
51 |
| - |
52 | 64 | - Add some context to error message for unused variables. https://github.com/rescript-lang/rescript-compiler/pull/7050
|
53 | 65 | - Improve error message when passing `children` prop to a component that doesn't accept it. https://github.com/rescript-lang/rescript-compiler/pull/7044
|
54 | 66 | - Improve error messages for pattern matching on option vs non-option, and vice versa. https://github.com/rescript-lang/rescript-compiler/pull/7035
|
|
58 | 70 | - Improve output of record copying. https://github.com/rescript-lang/rescript-compiler/pull/7043
|
59 | 71 | - Provide additional context in error message when `unit` is expected. https://github.com/rescript-lang/rescript-compiler/pull/7045
|
60 | 72 | - Improve error message when passing an object where a record is expected. https://github.com/rescript-lang/rescript-compiler/pull/7101
|
61 |
| -- Improve code generation or pattern matching of untagged variants. https://github.com/rescript-lang/rescript-compiler/pull/7128 |
62 |
| -- Improve negation handling in combination with and/or to simplify generated code (especially coming out of pattern matching). https://github.com/rescript-lang/rescript-compiler/pull/7138 |
63 |
| -- optimize JavaScript code generation by using x == null checks and improving type-based optimizations for string/number literals. https://github.com/rescript-lang/rescript-compiler/pull/7141 |
64 |
| -- Improve pattern matching on optional fields. https://github.com/rescript-lang/rescript-compiler/pull/7143 https://github.com/rescript-lang/rescript-compiler/pull/7144 |
65 |
| -- Optimize compilation of switch statements for untagged variants when there are no literal cases. https://github.com/rescript-lang/rescript-compiler/pull/7135 |
66 |
| -- Further improve boolean optimizations. https://github.com/rescript-lang/rescript-compiler/pull/7149 |
67 |
| -- Simplify code generated forconditionals. https://github.com/rescript-lang/rescript-compiler/pull/7151 |
68 | 73 |
|
69 | 74 |
|
70 | 75 | #### :house: Internal
|
|
0 commit comments