|
10 | 10 | > - :house: [Internal]
|
11 | 11 | > - :nail_care: [Polish]
|
12 | 12 |
|
13 |
| -# 12.0.0-alpha.15 (Unreleased) |
| 13 | +# 12.0.0-alpha.15 |
14 | 14 |
|
15 | 15 | #### :boom: Breaking Change
|
16 | 16 |
|
17 | 17 | - New `rewatch` based build system. https://github.com/rescript-lang/rescript/pull/7551 https://github.com/rescript-lang/rescript/pull/7593
|
18 | 18 | - The new `rewatch` based build system is now the default and is exposed through the `rescript` command. The `rewatch` command has been removed.
|
19 | 19 | - The previous Ninja-based build system is now available via the `rescript legacy` subcommand.
|
20 | 20 | - Argument `--compiler-args` is now a subcommand `compiler-args`.
|
21 |
| -- Remove `String.getSymbol` from standard library. https://github.com/rescript-lang/rescript/pull/7571 |
22 |
| -- Remove `String.getSymbolUnsafe` from standard library. https://github.com/rescript-lang/rescript/pull/7571 |
23 |
| -- Remove `String.setSymbol` from standard library. https://github.com/rescript-lang/rescript/pull/7571 |
24 |
| - |
25 |
| -#### :rocket: New Feature |
26 |
| - |
27 |
| -- Add `OrThrow` aliases for `Belt` functions ending with `Exn`. https://github.com/rescript-lang/rescript/pull/7581, https://github.com/rescript-lang/rescript/pull/7590 The following aliases have been added: |
28 |
| - - `Belt.Array.getOrThrow` |
29 |
| - - `Belt.Array.setOrThrow` |
30 |
| - - `Belt.Map.getOrThrow` |
31 |
| - - `Belt.MutableMap.getOrThrow` |
32 |
| - - `Belt.Set.getOrThrow` |
33 |
| - - `Belt.MutableSet.getOrThrow` |
34 |
| - - `Belt.List.getOrThrow` |
35 |
| - - `Belt.List.tailOrThrow` |
36 |
| - - `Belt.List.headOrThrow` |
37 |
| - - `Belt.MutableQueue.peekOrThrow` |
38 |
| - - `Belt.MutableQueue.popOrThrow` |
39 |
| - - `Belt.Option.getOrThrow` |
40 |
| - - `Belt.Result.getOrThrow` |
| 21 | +- Remove `String.getSymbol`, `String.getSymbolUnsafe`, `String.setSymbol` from standard library. https://github.com/rescript-lang/rescript/pull/7571 |
41 | 22 |
|
42 | 23 | #### :bug: Bug fix
|
43 | 24 |
|
44 | 25 | - Ignore inferred arity in functions inside `%raw` functions, leaving to `%ffi` the responsibility to check the arity since it gives an error in case of mismatch. https://github.com/rescript-lang/rescript/pull/7542
|
45 | 26 | - Pass the rewatch exit code through in wrapper script. https://github.com/rescript-lang/rescript/pull/7565
|
46 |
| -- 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 |
| 27 | +- 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 |
47 | 28 | - Pass location to children prop in jsx ppx. https://github.com/rescript-lang/rescript/pull/7540
|
48 |
| -- Fix crash when `bs-g` is used with untagged variants. https://github.com/rescript-lang/rescript/pull/7575 |
| 29 | +- Fix crash when `-bs-g` is used with untagged variants. https://github.com/rescript-lang/rescript/pull/7575 |
49 | 30 | - Fix issue with preserve mode where `jsx` is declared as an external without a `@module` attribute. https://github.com/rescript-lang/rescript/pull/7591
|
50 | 31 | - Rewatch: don't add deps to modules that are in packages that are not a dependency. https://github.com/rescript-lang/rescript/pull/7612
|
51 | 32 | - Rewatch: fix non-unicode stderr. https://github.com/rescript-lang/rescript/pull/7613
|
|
59 | 40 | - Better error messages for object field missing and object field type mismatches. https://github.com/rescript-lang/rescript/pull/7580
|
60 | 41 | - Better error messages for when polymorphic variants does not match for various reasons. https://github.com/rescript-lang/rescript/pull/7596
|
61 | 42 | - Improved completions for inline records. https://github.com/rescript-lang/rescript/pull/7601
|
| 43 | +- Add `OrThrow` aliases for `Belt` functions ending with `Exn`. https://github.com/rescript-lang/rescript/pull/7581, https://github.com/rescript-lang/rescript/pull/7590 The following aliases have been added: |
| 44 | + - `Belt.Array.getOrThrow` |
| 45 | + - `Belt.Array.setOrThrow` |
| 46 | + - `Belt.Map.getOrThrow` |
| 47 | + - `Belt.MutableMap.getOrThrow` |
| 48 | + - `Belt.Set.getOrThrow` |
| 49 | + - `Belt.MutableSet.getOrThrow` |
| 50 | + - `Belt.List.getOrThrow` |
| 51 | + - `Belt.List.tailOrThrow` |
| 52 | + - `Belt.List.headOrThrow` |
| 53 | + - `Belt.MutableQueue.peekOrThrow` |
| 54 | + - `Belt.MutableQueue.popOrThrow` |
| 55 | + - `Belt.Option.getOrThrow` |
| 56 | + - `Belt.Result.getOrThrow` |
62 | 57 |
|
63 | 58 | #### :house: Internal
|
64 | 59 |
|
|
0 commit comments