Skip to content

Commit 682c8a0

Browse files
committedNov 10, 2024·
Update CHANGELOG.md
1 parent b48740c commit 682c8a0

File tree

1 file changed

+14
-9
lines changed

1 file changed

+14
-9
lines changed
 

‎CHANGELOG.md

+14-9
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,20 @@
1717
- Introduce "Unified operators" for arithmetic operators (`+`, `-`, `*`, `/`, `mod`). https://github.com/rescript-lang/rescript-compiler/pull/7057
1818
- Add remainder (`%`, aka modulus) operator. https://github.com/rescript-lang/rescript-compiler/pull/7152
1919

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+
2034
# 12.0.0-alpha.4
2135

2236
#### :boom: Breaking Change
@@ -45,10 +59,8 @@
4559
- Fix variant cast to int. https://github.com/rescript-lang/rescript-compiler/pull/7058
4660
- Fix comments formatted away in function without arguments. https://github.com/rescript-lang/rescript-compiler/pull/7095
4761
- 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
4962

5063
#### :nail_care: Polish
51-
5264
- Add some context to error message for unused variables. https://github.com/rescript-lang/rescript-compiler/pull/7050
5365
- Improve error message when passing `children` prop to a component that doesn't accept it. https://github.com/rescript-lang/rescript-compiler/pull/7044
5466
- Improve error messages for pattern matching on option vs non-option, and vice versa. https://github.com/rescript-lang/rescript-compiler/pull/7035
@@ -58,13 +70,6 @@
5870
- Improve output of record copying. https://github.com/rescript-lang/rescript-compiler/pull/7043
5971
- Provide additional context in error message when `unit` is expected. https://github.com/rescript-lang/rescript-compiler/pull/7045
6072
- 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
6873

6974

7075
#### :house: Internal

0 commit comments

Comments
 (0)
Please sign in to comment.