Changelog
12.0.0-alpha.4
| ...someVariant as v =>
) when the variant spread is a subtype of the variant matched on. https://github.com/rescript-lang/rescript-compiler/pull/6721switch someDict { | dict{"one": 1} => Js.log("one is one") }
. https://github.com/rescript-lang/rescript-compiler/pull/7059rescript
npm package. https://github.com/rescript-lang/rescript-compiler/pull/7108 https://github.com/rescript-lang/rescript-compiler/pull/7116children
prop to a component that doesn't accept it. https://github.com/rescript-lang/rescript-compiler/pull/7044@variadic
bindings. https://github.com/rescript-lang/rescript-compiler/pull/7030unit
is expected. https://github.com/rescript-lang/rescript-compiler/pull/7045build_tests
on Windows. https://github.com/rescript-lang/rescript-compiler/pull/7065ounit_tests
into the tests
folder. https://github.com/rescript-lang/rescript-compiler/pull/7096syntax_tests
into the tests
folder. https://github.com/rescript-lang/rescript-compiler/pull/7090 https://github.com/rescript-lang/rescript-compiler/pull/7097Changelog
12.0.0-alpha.3
new Error()
and adds the extension payload for cause
option" (https://github.com/rescript-lang/rescript-compiler/pull/6611). https://github.com/rescript-lang/rescript-compiler/pull/7016Changelog
12.0.0-alpha.2
dict{"foo": "bar"}
). https://github.com/rescript-lang/rescript-compiler/pull/6774...
. https://github.com/rescript-lang/rescript-compiler/pull/6949@as
attribute and _
placholder (fixed argument). https://github.com/rescript-lang/rescript-compiler/pull/6970type
keyword. https://github.com/rescript-lang/rescript-compiler/pull/6997}\ncatch{
-> } catch {
for(let i = 0 ,i_finish = r.length; i < i_finish; ++i){
-> for (let i = 0, i_finish = r.length; i < i_finish; ++i) {
while(true) {
-> while (true) {
switch case
bodiesthrow new Error
bodiesswitch
statementdefault
case from switch
statement in the generated code/1
from RE_EXN_ID
. https://github.com/rescript-lang/rescript-compiler/pull/6958Changelog
12.0.0-alpha.1
@directive
on functions for emitting function level directive code (let serverAction = @directive("'use server'") (~name) => {...}
). https://github.com/rescript-lang/rescript-compiler/pull/6756rewatch
to the npm package as an alternative build tool. https://github.com/rescript-lang/rescript-compiler/pull/6762new Error()
and adds the extension payload for cause
option. https://github.com/rescript-lang/rescript-compiler/pull/6611e :> t
. https://github.com/rescript-lang/rescript-compiler/pull/6828private
in with constraints. https://github.com/rescript-lang/rescript-compiler/pull/6843@bs.re
. https://github.com/rescript-lang/rescript-compiler/pull/6776Js.globalThis
object binding. https://github.com/rescript-lang/rescript-compiler/pull/6909j
and js
allowed names for tag functions. https://github.com/rescript-lang/rescript-compiler/pull/6817lazy
syntax is no longer supported. If you're using it, use Lazy
module or React.lazy_
instead. https://github.com/rescript-lang/rescript-compiler/pull/6342bs.
prefix (@bs.as
-> @as
etc.). https://github.com/rescript-lang/rescript-compiler/pull/6643@bs.open
feature. https://github.com/rescript-lang/rescript-compiler/pull/6629.ml
to .res
via format. https://github.com/rescript-lang/rescript-compiler/pull/6848.ml
files, and general cleanup. https://github.com/rescript-lang/rescript-compiler/pull/6852rescript convert
subcommand. https://github.com/rescript-lang/rescript-compiler/pull/6860@bs.send.pipe
. This also removes all functions in Js_typed_array
that rely on @bs.send.pipe
. https://github.com/rescript-lang/rescript-compiler/pull/6858 https://github.com/rescript-lang/rescript-compiler/pull/6891Js.Vector
and Js.List
. https://github.com/rescript-lang/rescript-compiler/pull/6900%time
extension. https://github.com/rescript-lang/rescript-compiler/pull/6924caml_external_polyfill
module and the related behavior. https://github.com/rescript-lang/rescript-compiler/pull/6925@as
. https://github.com/rescript-lang/rescript-compiler/pull/6795@int
. https://github.com/rescript-lang/rescript-compiler/pull/6802...
can generate code that uses Curry
at runtime. https://github.com/rescript-lang/rescript-compiler/pull/6872Curry
with reverse application |>
. https://github.com/rescript-lang/rescript-compiler/pull/6876->
would not use uncurried application in uncurried mode. https://github.com/rescript-lang/rescript-compiler/pull/6878-nostdlib
internal compiler option. https://github.com/rescript-lang/rescript-compiler/pull/6824e : t1 :> t2
was only supported in .ml
syntax and never by the .res
parser. https://github.com/rescript-lang/rescript-compiler/pull/6829caml_format
and js_math
to .res
. https://github.com/rescript-lang/rescript-compiler/pull/6834js.ml
files to .res
. https://github.com/rescript-lang/rescript-compiler/pull/6835.ml
tests. https://github.com/rescript-lang/rescript-compiler/pull/6847@@uncurried.swap
, which was used for internal tests. https://github.com/rescript-lang/rescript-compiler/pull/6875-uncurried
command-line flag. https://github.com/rescript-lang/rescript-compiler/pull/6885%opaque
primitive. https://github.com/rescript-lang/rescript-compiler/pull/6892foo(1,2)
into Js.Internal.opaqueFullApply(Internal.opaque(f), 1, 2)
, and change the back-end to treat all applications as uncurried. https://github.com/rescript-lang/rescript-compiler/pull/6893@uncurry
from ReScript sources (others, tests). https://github.com/rescript-lang/rescript-compiler/pull/6938--help
arg be prioritized in the CLI, so correctly prints help message and skip other commands. https://github.com/rescript-lang/rescript-compiler/pull/6667let
instead of var
. https://github.com/rescript-lang/rescript-compiler/pull/6102let
is emitted instead of var
. https://github.com/rescript-lang/rescript-compiler/pull/6480use-stdlib
from build schema. https://github.com/rescript-lang/rescript-compiler/pull/6778Js.Types.JSBigInt
payload to use native bigint
type. https://github.com/rescript-lang/rescript-compiler/pull/6911%external
extension, which has never been officially introduced. https://github.com/rescript-lang/rescript-compiler/pull/6906xxxU
functions in Belt. https://github.com/rescript-lang/rescript-compiler/pull/6941Changelog
11.1.3
@uncurry
attribute in uncurried mode, to avoid generating calls to Curry
at runtime. https://github.com/rescript-lang/rescript-compiler/pull/6869-warn-error
, see https://github.com/rescript-lang/rescript-compiler/issues/6868 for more details. https://github.com/rescript-lang/rescript-compiler/pull/6877_param
in recursive functions with unit argument. https://github.com/rescript-lang/rescript-compiler/pull/6907Changelog
11.1.3-rc.1
Changelog
11.1.2
Changelog
11.1.2-rc.1
@live
to avoid dead code warnings for prop fields in the editor tooling. https://github.com/rescript-lang/rescript-compiler/pull/6796Jsx.element
surfaces to the user. https://github.com/rescript-lang/rescript-compiler/pull/6808Changelog
11.1.1