|
10 | 10 | > - :house: [Internal]
|
11 | 11 | > - :nail_care: [Polish]
|
12 | 12 |
|
13 |
| -# 12.0.0-alpha.14 (Unreleased) |
| 13 | +# 12.0.0-alpha.14 |
14 | 14 |
|
15 | 15 | #### :boom: Breaking Change
|
16 | 16 |
|
17 |
| -- Rename functions ending with `Exn` to end with `OrThrow`. The old `Exn` functions are now deprecated: |
| 17 | +- `Iterator.forEach` now emits `Iterator.prototype.forEach` call. https://github.com/rescript-lang/rescript/pull/7506 |
| 18 | +- Rename functions ending with `Exn` to end with `OrThrow`. The old `Exn` functions are now deprecated. https://github.com/rescript-lang/rescript/pull/7518 |
18 | 19 | - `Bool.fromStringExn` → `Bool.fromStringOrThrow`
|
19 | 20 | - `BigInt.fromStringExn` → `BigInt.fromStringOrThrow`
|
20 | 21 | - `JSON.parseExn` → `JSON.parseOrThrow`
|
|
36 | 37 | - Treat `throw` like `raise` in analysis. https://github.com/rescript-lang/rescript/pull/7521
|
37 | 38 | - Fix `index out of bounds` exception thrown in rare cases by `rescript-editor-analysis.exe codeAction` command. https://github.com/rescript-lang/rescript/pull/7523
|
38 | 39 | - Don't produce duplicate type definitions for recursive types on hover. https://github.com/rescript-lang/rescript/pull/7524
|
39 |
| -- Prop punning when types don't match results in I/O error: _none_: No such file or directory. https://github.com/rescript-lang/rescript/pull/7533 |
| 40 | +- Prop punning when types don't match results in `I/O error: _none_: No such file or directory`. https://github.com/rescript-lang/rescript/pull/7533 |
40 | 41 | - Fix partial application with user-defined function types. https://github.com/rescript-lang/rescript/pull/7548
|
41 | 42 | - Fix doc comment before variant throwing syntax error. https://github.com/rescript-lang/rescript/pull/7535
|
42 | 43 |
|
|
53 | 54 | - In module declarations, accept the invalid syntax `M = {...}` and format it to `M : {...}`. https://github.com/rescript-lang/rescript/pull/7527
|
54 | 55 | - Improve doc comment formatting to match the style of multiline comments. https://github.com/rescript-lang/rescript/pull/7529
|
55 | 56 | - Improve error messages around type mismatches for try/catch, if, for, while, and optional record fields + optional function arguments. https://github.com/rescript-lang/rescript/pull/7522
|
56 |
| -- sync Reanalyze with the new APIs around exception. https://github.com/rescript-lang/rescript/pull/7536 |
| 57 | +- Sync reanalyze with the new APIs around exception. https://github.com/rescript-lang/rescript/pull/7536 |
57 | 58 | - Improve array pattern spread error message. https://github.com/rescript-lang/rescript/pull/7549
|
58 | 59 |
|
59 | 60 | #### :house: Internal
|
|
62 | 63 | - Editor: add completions from included modules. https://github.com/rescript-lang/rescript/pull/7515
|
63 | 64 | - Add `-editor-mode` arg to `bsc` for doing special optimizations only relevant to the editor tooling. https://github.com/rescript-lang/rescript/pull/7541
|
64 | 65 |
|
65 |
| -#### :boom: Breaking Change |
66 |
| -- `Iterator.forEach` now emits `Iterator.prototype.forEach` call. https://github.com/rescript-lang/rescript/pull/7506 |
67 |
| - |
68 | 66 | # 12.0.0-alpha.13
|
69 | 67 |
|
70 | 68 | #### :boom: Breaking Change
|
|
0 commit comments