Releases: rescript-lang/rescript
Releases · rescript-lang/rescript
11.1.2-rc.1
🚀 New Feature
- Support Windows 11 ARM (using the x64 binaries in emulation). #6813
🐛 Bug Fix
- Fix location of let bindings with attributes. #6791
- PPX v4: mark props type in externals as
@live
to avoid dead code warnings for prop fields in the editor tooling. #6796 - Fix issue where optional labels were not taken into account when disambiguating record value construction. #6798
- Fix issue in gentype when type
Jsx.element
surfaces to the user. #6808 - Fix inclusion check (impl vs interface) for untagged variants, and fix the outcome printer to show tags. #6669
- Fix encoding inside tagged template literals. #6810
11.1.1
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