11.0.0-rc.8
Pre-release
Pre-release
🚀 New Feature
- Add support for type coercion for invariant type arguments such as array payloads. #6518
- Start treating
rescript
command the same as therescript build
command, so now you can dorescript -w
. #6524
🐛 Bug Fix
- Fix accidental removal of
Belt.Result.Ok
andBelt.Result.Error
constructors in rc.5. #6514 - Add missing check that the runtime representation of variants matches implementation and interface. https://github.com/rescript-lang/rescript-compiler/pull/6513/files
- GenType: only export types (not values) from module types. #6516
- Fix compiler crash with unboxed variant definition with only 1 constructor. #6523
- GenType: support mutual recursive types inside modules. #6528
- Workaround for
@as
in labels in uncurried externals, which was broken. #6527
💅 Polish
- GenType: make outputs DCE-friendly. #6508