Releases: rescript-lang/rescript
Releases · rescript-lang/rescript
11.1.0
ReScript 11.1, which builds upon the foundation laid by ReScript 11.0 earlier this year, comes with a host of exciting additions.
🚀 Highlights
- JSX for More Than React
- Tagged Template Literals
- Import Attributes
- BigInt Support
- Array Spread Syntax
- Hyphens in JSX Tag Names
- Omit Trailing Undefined in External Function Calls
%todo
andwarn-error
📋 More Information
11.1.0-rc.8
🚀 New Feature
- Add
%todo
extension for leaving implementation for later. #6713 - Add
-warn-error
argument for generating errors in CI. Useful for%todo
extension. #6717
🐛 Bug Fix
- Improve error when using
@deriving(accessors)
on a variant with record arguments. #6712 - Stop escaping JSX prop names with hyphens. #6705
- Fix trailing undefined for optional parameters not omitted with
@send
and@new
. #6716 - Fix JSX4 adding the incorrect type annotation for the prop
ref
inReact.forwardRef
component. #6718 - Fix description for warning number 110. #6725
💅 Polish
- Module spec
es6
andes6-global
is deprecated in favor ofesmodule
. #6709
11.1.0-rc.7
🐛 Bug Fix
- Fix variance setting for builtin
dict
type. Fixes issues around inference. #6707
11.1.0-rc.6
11.1.0-rc.5
11.1.0-rc.4
11.1.0-rc.3
11.1.0-rc.2
🚀 New Feature
- Add support for array spread. #6608
- Support import attributes (https://github.com/tc39/proposal-import-attributes) in
@module()
. #6599 - allow hyphens in jsx tag names (e.g.
<mj-column>
). #6609
🐛 Bug Fix
- Fix issue with async and newtype in uncurried mode. #6601
- Generic JSX transform: Rename expected module name for lowercase JSX to
Elements
fromDOM
. #6606 - Generic JSX transform: Set default config params for
jsxConfig
. #6606 - Generic JSX transform: Handle namespaced names. #6606
- Fix issue with doc comment in recursive module. #6613
- Fix issue with Exceptions and Extensible types runtime generation. #6570
11.1.0-rc.1
11.0.1
🐛 Bug Fix
- Renamed inline record fields: fix renamed field access in inline records. #6551
- Fixed issue with coercions sometimes raising a
Not_found
instead of giving a proper error message. #6574 - Fix issue with recursive modules and uncurried. #6575
💅 Polish
- Improve error message for missing label(s) in function application. #6576