Skip to content

Prepare for 12.0.0-alpha.15 release #7619

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 9, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 18 additions & 23 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,42 +10,23 @@
> - :house: [Internal]
> - :nail_care: [Polish]

# 12.0.0-alpha.15 (Unreleased)
# 12.0.0-alpha.15

#### :boom: Breaking Change

- New `rewatch` based build system. https://github.com/rescript-lang/rescript/pull/7551 https://github.com/rescript-lang/rescript/pull/7593
- The new `rewatch` based build system is now the default and is exposed through the `rescript` command. The `rewatch` command has been removed.
- The previous Ninja-based build system is now available via the `rescript legacy` subcommand.
- Argument `--compiler-args` is now a subcommand `compiler-args`.
- Remove `String.getSymbol` from standard library. https://github.com/rescript-lang/rescript/pull/7571
- Remove `String.getSymbolUnsafe` from standard library. https://github.com/rescript-lang/rescript/pull/7571
- Remove `String.setSymbol` from standard library. https://github.com/rescript-lang/rescript/pull/7571

#### :rocket: New Feature

- 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:
- `Belt.Array.getOrThrow`
- `Belt.Array.setOrThrow`
- `Belt.Map.getOrThrow`
- `Belt.MutableMap.getOrThrow`
- `Belt.Set.getOrThrow`
- `Belt.MutableSet.getOrThrow`
- `Belt.List.getOrThrow`
- `Belt.List.tailOrThrow`
- `Belt.List.headOrThrow`
- `Belt.MutableQueue.peekOrThrow`
- `Belt.MutableQueue.popOrThrow`
- `Belt.Option.getOrThrow`
- `Belt.Result.getOrThrow`
- Remove `String.getSymbol`, `String.getSymbolUnsafe`, `String.setSymbol` from standard library. https://github.com/rescript-lang/rescript/pull/7571

#### :bug: Bug fix

- 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
- Pass the rewatch exit code through in wrapper script. https://github.com/rescript-lang/rescript/pull/7565
- 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
- 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
- Pass location to children prop in jsx ppx. https://github.com/rescript-lang/rescript/pull/7540
- Fix crash when `bs-g` is used with untagged variants. https://github.com/rescript-lang/rescript/pull/7575
- Fix crash when `-bs-g` is used with untagged variants. https://github.com/rescript-lang/rescript/pull/7575
- Fix issue with preserve mode where `jsx` is declared as an external without a `@module` attribute. https://github.com/rescript-lang/rescript/pull/7591
- Rewatch: don't add deps to modules that are in packages that are not a dependency. https://github.com/rescript-lang/rescript/pull/7612
- Rewatch: fix non-unicode stderr. https://github.com/rescript-lang/rescript/pull/7613
Expand All @@ -59,6 +40,20 @@
- Better error messages for object field missing and object field type mismatches. https://github.com/rescript-lang/rescript/pull/7580
- Better error messages for when polymorphic variants does not match for various reasons. https://github.com/rescript-lang/rescript/pull/7596
- Improved completions for inline records. https://github.com/rescript-lang/rescript/pull/7601
- 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:
- `Belt.Array.getOrThrow`
- `Belt.Array.setOrThrow`
- `Belt.Map.getOrThrow`
- `Belt.MutableMap.getOrThrow`
- `Belt.Set.getOrThrow`
- `Belt.MutableSet.getOrThrow`
- `Belt.List.getOrThrow`
- `Belt.List.tailOrThrow`
- `Belt.List.headOrThrow`
- `Belt.MutableQueue.peekOrThrow`
- `Belt.MutableQueue.popOrThrow`
- `Belt.Option.getOrThrow`
- `Belt.Result.getOrThrow`

#### :house: Internal

Expand Down