Releases: rescript-lang/rescript
10.0.0-alpha.1
*
means potential breaking changes
Compiler
- Add support for
@new @variadic
(see #5364) - New records with
@optional
fields #5423 #5452 - Classify bigint correctly #5351
*
@bs.send.pipe
is now removed. Earlier it was deprecated.*
Missing labels in function application is now an error (https://forum.rescript-lang.org/t/ann-more-strict-checks-in-missed-labels/2117).*
Fix Js.String.match_ return type #5070- Proper M1 support (CI now supports M1 native builds)
Syntax
- Doc comments
/** ... */
are now supported. Inernally, they are attributes, so are only valid at positions where@foo
is allowed, or a syntax error is given. Similarly for module-level/*** comments */
that can go where@@attributes
go. - Fix printing for inline nullary functor types #477
- Fix stripping of quotes for empty poly variants #474
- Implement syntax for arity zero vs arity one in uncurried application in #139
- Fix parsing of first class module exprs as part of binary/ternary expr in #256
- Fix formatter hanging on deeply nested function calls #261
- Remove parsing of "import" and "export" which was never officially supported.
Libraries
*
Removed printing modules (Printf, Format etc) and related functions. Details of files added/removed: 0fd8bb0.*
There could be issues withrescript-relay
. See #5493.- Several Belt / Js libraries are now converted to ReScript syntax, with corresponding comments in Markdown format suitable for hovering. See #5361.
Playground
- Added
jsoo_playground_main.ml
as the rescript-lang.org playground bundle entrypoint *
Removed Reason syntax support for the playground experience. See #5375
9.1.4
snapshot add darwin binaries add win32 binaries add linux binaries add darwin binaries update the binary update linux binary update win32 binaries snapshot && update darwin binaries update win32 binaries update linux binaries snapshot update ninja file update binary files update linux binaries udpate win32 ninja update win32 binaries snapshot bump the version snapshot update binaries update win32 binaries update linux bin
9.1.3
Bug fix release for 9.1
The bugs fixed are listed below:
Build system
#5154 when toplevel package-specs get changed, its dependencies should be rebuilt
#5152 Rebuild not triggered when deletion with nested modules
#5153 when Different compiler version triggered,
it should clean the whole dependencies instead of just the repo itself
#5080 Add back -ws option for the build
Frontend parser/printing (issues are pinned to @rescript-lang/syntax)
#425 fix CRLF handling for windows
#414 Fix printing of underscore Pexp_fun sugar in context of Array.get
#408 Don’t parse Int token with suffices as hash ident for poly variants
#410 Fix parsing of arrow type with objects in constructor declaration args
#404 fix printing of Osig_module in outcome printer
#402 Implement printing of Otyp_module in outcome printe
9.1.2
9.0.2
Bug fix release, changes: https://github.com/rescript-lang/rescript-compiler/blob/master/Changes.md#902
9.0.1
A bug fix release coming after 9.0.
More details: https://rescript-lang.org/blog/release-9-0
9.0
Changes are available: https://github.com/rescript-lang/rescript-compiler/blob/master/Changes.md#90