11.0.0-rc.5
Pre-release
Pre-release
π New Feature
- Allow coercing unboxed variants with only strings (now including with a single payload of string) to the primitive string. #6441
- Allow coercing strings to unboxed variants that have a catch-all unboxed string case. #6443
- Allow coercing
int
tofloat
. #6448
π Bug Fix
- Fix issue with dynamic import of module in nested expressions. #6431
- Fix issue where GenType was not supporting
@tag
on ordinary variants. #6437 - Fix using dynamic import of module in block instead of async function. #6434
- Fix issue with using dynamic import of module in uncurried mode. #6434
- Fix build error with JSX v4 transformation of React.forwardRef in uncurried mode. #6447
- Fix printing of exotic JSX names. #6451
- Fix locations when code with
await
fails to compile (all locations would point to the internal functionunsafe_await
). #6452 - Fix renaming fields (with @as) in inline records doesn't work when destructuring. #6456
- Fix
rc.4
regressions:
π Internal
- Remove dependency stdlib-406 -> belt. #6453
- Playground: Add support for implicitly opened modules. #6446
π Polish
- Add
Deno
to reserved names, so that modules namedDeno
don't clash with the globally exposedDeno
object. #6428 - Disable ESLint/TSLint on gentype outputs properly. #6442
- Improve
rescript
CLI to usestdout
/stderr
appropriately for help command's message. #6439 - Generate
f()
instead off(undefined)
forf()
. #6459