|
15 | 15 | #### :boom: Breaking Change |
16 | 16 |
|
17 | 17 | - Rename `JsError` to `JsExn` and error modules cleanup. https://github.com/rescript-lang/rescript/pull/7408 |
| 18 | +- Make `BigInt.fromFloat` return an option rather than throwing an error in case it's passed a value with a decimal value. https://github.com/rescript-lang/rescript/pull/7419 |
18 | 19 |
|
19 | 20 | #### :rocket: New Feature |
20 | 21 |
|
21 | 22 | - Add shift (`<<`, `>>`, `>>>`) operators for `int` and `bigint`. https://github.com/rescript-lang/rescript/pull/7183 |
| 23 | +- Add bitwise AND (`&`) operator for `int` and `bigint`. https://github.com/rescript-lang/rescript/pull/7415 |
| 24 | +- Add bitwise NOT (`~`) operator for `int` and `bigint`. https://github.com/rescript-lang/rescript/pull/7418 |
22 | 25 | - Significantly reduced the download size by splitting binaries into optional platform-specific dependencies (e.g, `@rescript/linux-x64`). https://github.com/rescript-lang/rescript/pull/7395 |
| 26 | +- JSX: do not error on ref as prop anymore (which is allowed in React 19). https://github.com/rescript-lang/rescript/pull/7420 |
23 | 27 |
|
24 | 28 | #### :bug: Bug fix |
25 | 29 |
|
26 | 30 | - Fix broken `bstracing` CLI location. https://github.com/rescript-lang/rescript/pull/7398 |
| 31 | +- Fix field flattening optimization to avoid creating unnecessary copies of allocating constants. https://github.com/rescript-lang/rescript-compiler/pull/7421 |
| 32 | +- Fix leading comments removed when braces inside JSX contains `let` assignment. https://github.com/rescript-lang/rescript/pull/7424 |
| 33 | +- Fix JSON escaping in code editor analysis: JSON was not always escaped properly, which prevented code actions from being available in certain situations https://github.com/rescript-lang/rescript/pull/7435 |
| 34 | +- Fix regression in pattern matching for optional fields containing variants. https://github.com/rescript-lang/rescript/pull/7440 |
| 35 | +- Fix missing checks for duplicate literals in variants with payloads. https://github.com/rescript-lang/rescript/pull/7441 |
| 36 | +- Fix printer removing private for empty record. https://github.com/rescript-lang/rescript/pull/7448 |
27 | 37 |
|
28 | 38 | #### :house: Internal |
29 | 39 |
|
30 | 40 | - AST: Add bar location to `case`. https://github.com/rescript-lang/rescript/pull/7407 |
31 | 41 |
|
| 42 | +#### :nail_care: Polish |
| 43 | + |
| 44 | +- In type errors, recommend stdlib over Belt functions for converting between float/int/string. https://github.com/rescript-lang/rescript/pull/7453 |
| 45 | +- Make `Jsx.element` a private empty record to avoid unnecessary `Primitive_option.some`. https://github.com/rescript-lang/rescript/pull/7450 |
| 46 | +- Remove unused type `Jsx.ref`. https://github.com/rescript-lang/rescript/pull/7459 |
| 47 | + |
32 | 48 | # 12.0.0-alpha.12 |
33 | 49 |
|
34 | 50 | #### :bug: Bug fix |
|
41 | 57 | #### :house: Internal |
42 | 58 |
|
43 | 59 | - Better representation of JSX in AST. https://github.com/rescript-lang/rescript/pull/7286 |
| 60 | +- Clean up default warnings. https://github.com/rescript-lang/rescript/pull/7413 |
44 | 61 |
|
45 | 62 | #### :nail_care: Polish |
46 | 63 |
|
|
0 commit comments