Changelog
11.0.0-rc.9
@deriving(accessors)
outputs. https://github.com/rescript-lang/rescript-compiler/pull/6537.res.js
. https://github.com/rescript-lang/rescript-compiler/pull/6541Changelog
11.0.0-rc.8
rescript
command the same as the rescript build
command, so now you can do rescript -w
. https://github.com/rescript-lang/rescript-compiler/pull/6524Belt.Result.Ok
and Belt.Result.Error
constructors in rc.5. https://github.com/rescript-lang/rescript-compiler/pull/6514@as
in labels in uncurried externals, which was broken. https://github.com/rescript-lang/rescript-compiler/pull/6527Changelog
11.0.0-rc.7
@genType.as("alias")
output. https://github.com/rescript-lang/rescript-compiler/pull/6509Changelog
11.0.0-rc.6
result
introduced in rc.5. https://github.com/rescript-lang/rescript-compiler/pull/6464@as("0")
. https://github.com/rescript-lang/rescript-compiler/pull/6487Changelog
11.0.0-rc.5
int
to float
. https://github.com/rescript-lang/rescript-compiler/pull/6448@tag
on ordinary variants. https://github.com/rescript-lang/rescript-compiler/pull/6437await
fails to compile (all locations would point to the internal function unsafe_await
). https://github.com/rescript-lang/rescript-compiler/pull/6452rc.4
regressions:
rescript build -help
command. https://github.com/rescript-lang/rescript-compiler/pull/6439rescript build -w
with a compilation error doesn't exit with an error code and continues waiting for changes. https://github.com/rescript-lang/rescript-compiler/pull/6460Deno
to reserved names, so that modules named Deno
don't clash with the globally exposed Deno
object. https://github.com/rescript-lang/rescript-compiler/pull/6428rescript
CLI to use stdout
/stderr
appropriately for help command's message. https://github.com/rescript-lang/rescript-compiler/pull/6439f()
instead of f(undefined)
for f()
. https://github.com/rescript-lang/rescript-compiler/pull/6459Changelog
11.0.0-rc.4
@as
attribute. #6391@obj
external ppx with @as
attribute. #6391promise
, RegExes, Dates, File and Blob. https://github.com/rescript-lang/rescript-compiler/pull/6383bool
. https://github.com/rescript-lang/rescript-compiler/pull/6368rescript.json
configuration file and deprecate bsconfig.json
. https://github.com/rescript-lang/rescript-compiler/pull/6382*.res
/*.resi
/*.ml
/.mli
file changes. Solves the issue of unnecessary recompiles on .css
, .ts
, and other unrelated file changes. https://github.com/rescript-lang/rescript-compiler/pull/6420Js.Json.t
now uses Boolean(bool)
instead of explicit @as(true) True | @as(false) False
. https://github.com/rescript-lang/rescript-compiler/pull/6421rescript build
command. https://github.com/rescript-lang/rescript-compiler/pull/6404build
and clean
commands. https://github.com/rescript-lang/rescript-compiler/pull/6404-verbose
flag to builds in watch mode. https://github.com/rescript-lang/rescript-compiler/pull/6404Changelog
11.0.0-rc.3
"uncurried": false
in bsconfig. https://github.com/rescript-lang/rescript-compiler/pull/6378Bun
to reserved names, so that modules named Bun
don't clash with the globally exposed Bun
object. https://github.com/rescript-lang/rescript-compiler/pull/6381Changelog
11.0.0-rc.2
rescript build
will always build its dependency by default. The argument -with-deps
is not needed anymore. https://github.com/rescript-lang/rescript-compiler/pull/6350Changelog
11.0.0-rc.1
$$default
is no longer exported from the generated JavaScript when using default exports. https://github.com/rescript-lang/rescript-compiler/pull/6328