|
7 | 7 | > - :rocket: [New Feature] |
8 | 8 | > - :bug: [Bug Fix] |
9 | 9 | > - :memo: [Documentation] |
10 | | -> - :house: [Internal] |
11 | 10 | > - :nail_care: [Polish] |
| 11 | +> - :house: [Internal] |
12 | 12 |
|
13 | | -# 12.0.0-alpha.15 (Unreleased) |
| 13 | +# 12.0.0-beta.2 (Unreleased) |
| 14 | + |
| 15 | +#### :nail_care: Polish |
| 16 | + |
| 17 | +- Add missing backtick and spaces to `Belt.Map.map` doc comment. https://github.com/rescript-lang/rescript/pull/7632 |
| 18 | + |
| 19 | +#### :house: Internal |
| 20 | + |
| 21 | +- Remove internal/unused `-bs-v` flag. https://github.com/rescript-lang/rescript/pull/7627 |
| 22 | +- Remove unused `-bs-D` and `-bs-list-conditionals` flags. https://github.com/rescript-lang/rescript/pull/7631 |
| 23 | +- Remove obsolete jsx options. https://github.com/rescript-lang/rescript/pull/7633 |
| 24 | +- Remove obsolete option `-bs-unsafe-empty-array`. https://github.com/rescript-lang/rescript/pull/7635 |
| 25 | +- Clean up `config.ml`. https://github.com/rescript-lang/rescript/pull/7636 |
| 26 | +- Rewatch: simplify getting bsc path. https://github.com/rescript-lang/rescript/pull/7634 |
| 27 | + |
| 28 | +#### :rocket: New Feature |
| 29 | + |
| 30 | +- Add experimental command to `rescript-tools` for extracting all ReScript code blocks from markdown, either a md-file directly, or inside of docstrings in ReScript code. https://github.com/rescript-lang/rescript/pull/7623 |
| 31 | + |
| 32 | +# 12.0.0-beta.1 |
| 33 | + |
| 34 | +#### :rocket: New Feature |
| 35 | + |
| 36 | +- Add experimental command to `rescript-tools` for formatting all ReScript code blocks in markdown. Either in a markdown file directly, or inside of docstrings in ReScript code. https://github.com/rescript-lang/rescript/pull/7598 |
| 37 | +- Add `String.getSymbolUnsafe` back to Stdlib. https://github.com/rescript-lang/rescript/pull/7626 |
| 38 | + |
| 39 | +#### :nail_care: Polish |
| 40 | + |
| 41 | +- Add a warning if the name in package.json does not match the name in rescript.json. https://github.com/rescript-lang/rescript/pull/7604 |
| 42 | + |
| 43 | +#### :house: Internal |
| 44 | + |
| 45 | +- Remove uncurried handling from rewatch. https://github.com/rescript-lang/rescript/pull/7625 |
| 46 | + |
| 47 | +# 12.0.0-alpha.15 |
14 | 48 |
|
15 | 49 | #### :boom: Breaking Change |
16 | 50 |
|
17 | 51 | - New `rewatch` based build system. https://github.com/rescript-lang/rescript/pull/7551 https://github.com/rescript-lang/rescript/pull/7593 |
18 | 52 | - The new `rewatch` based build system is now the default and is exposed through the `rescript` command. The `rewatch` command has been removed. |
19 | 53 | - The previous Ninja-based build system is now available via the `rescript legacy` subcommand. |
20 | 54 | - 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 |
| 55 | +- Remove `String.getSymbol`, `String.getSymbolUnsafe`, `String.setSymbol` from standard library. https://github.com/rescript-lang/rescript/pull/7571 |
24 | 56 |
|
25 | | -#### :rocket: New Feature |
| 57 | +#### :bug: Bug fix |
| 58 | + |
| 59 | +- 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 |
| 60 | +- Pass the rewatch exit code through in wrapper script. https://github.com/rescript-lang/rescript/pull/7565 |
| 61 | +- 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 |
| 62 | +- Pass location to children prop in jsx ppx. https://github.com/rescript-lang/rescript/pull/7540 |
| 63 | +- Fix crash when `-bs-g` is used with untagged variants. https://github.com/rescript-lang/rescript/pull/7575 |
| 64 | +- Fix issue with preserve mode where `jsx` is declared as an external without a `@module` attribute. https://github.com/rescript-lang/rescript/pull/7591 |
| 65 | +- Rewatch: don't add deps to modules that are in packages that are not a dependency. https://github.com/rescript-lang/rescript/pull/7612 |
| 66 | +- Rewatch: fix non-unicode stderr. https://github.com/rescript-lang/rescript/pull/7613 |
| 67 | +- Fix rewatch considering warning configs of non-local dependencies. https://github.com/rescript-lang/rescript/pull/7614 |
| 68 | +- Rewatch: fix panic if package.json name different from module name. https://github.com/rescript-lang/rescript/pull/7616 |
| 69 | +- Fix finding the standard library for pnpm. https://github.com/rescript-lang/rescript/pull/7615 |
| 70 | + |
| 71 | +#### :nail_care: Polish |
26 | 72 |
|
| 73 | +- Better error message for when trying to await something that is not a promise. https://github.com/rescript-lang/rescript/pull/7561 |
| 74 | +- Better error messages for object field missing and object field type mismatches. https://github.com/rescript-lang/rescript/pull/7580 |
| 75 | +- Better error messages for when polymorphic variants does not match for various reasons. https://github.com/rescript-lang/rescript/pull/7596 |
| 76 | +- Improved completions for inline records. https://github.com/rescript-lang/rescript/pull/7601 |
27 | 77 | - 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 | 78 | - `Belt.Array.getOrThrow` |
29 | 79 | - `Belt.Array.setOrThrow` |
|
39 | 89 | - `Belt.Option.getOrThrow` |
40 | 90 | - `Belt.Result.getOrThrow` |
41 | 91 |
|
42 | | -#### :bug: Bug fix |
43 | | - |
44 | | -- 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 | | -- 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 |
47 | | -- 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 |
49 | | -- 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 | | - |
51 | | -#### :nail_care: Polish |
52 | | - |
53 | | -- Better error message for when trying to await something that is not a promise. https://github.com/rescript-lang/rescript/pull/7561 |
54 | | -- Better error messages for object field missing and object field type mismatches. https://github.com/rescript-lang/rescript/pull/7580 |
55 | | -- Better error messages for when polymorphic variants does not match for various reasons. https://github.com/rescript-lang/rescript/pull/7596 |
56 | | -- Improved completions for inline records. https://github.com/rescript-lang/rescript/pull/7601 |
57 | | - |
58 | 92 | #### :house: Internal |
59 | 93 |
|
60 | 94 | - Remove `@return(undefined_to_opt)` and `%undefined_to_opt` primitive. https://github.com/rescript-lang/rescript/pull/7462 |
| 95 | +- Migrate rewatch to Rust 2024 edition. https://github.com/rescript-lang/rescript/pull/7602 |
61 | 96 |
|
62 | 97 | # 12.0.0-alpha.14 |
63 | 98 |
|
|
0 commit comments