11.0.0-alpha.6
Pre-release
Pre-release
💥 Breaking Change
-bs-super-errors
flag has been deprecated along with Super_errors. #6243@rescript/react
>= 0.12.0-alpha.2 is now required because of the React.fragment's children type fix. #6238
🐛 Bug Fix
- Remove unnecessary require and import statements when using dynamic imports. #6232
- Fix option unboxing logic in the presence of untagged variants. #6233
- Fix printing of local module with type. #6212
- Adapting JSX4 to React.fragment's children type change (
'children
->React.element
) #6238
💅 Polish
- In uncurried mode, outcome printer swaps curried and uncurries function printing compared to legacy.
- Add location information to duplicate type definition error messages. #6199
- Replace normal module errors with Super_error module, and clean up Super_error. #6199
Js.Json.t
,Js.null
andJs.nullable
are now untagged variants representing their runtime values, instead of abstract types. #6218