9.1.3 (bug fix release)
Build
- #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
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 printer
9.1
- Remove depercated APIs Js.Re.exec, Js.Re.test, Node.Fs.on
- #5014 #5063 #5027 the new ReScript CLI interface
Thew new CLI is self explainatory:
rescript -h
Available flags
-v, -version display version number
-h, -help display help
Subcommands:
build
clean
format
convert
help
Run rescript subcommand -h for more details,
For example:
rescript build -h
rescript format -h
- #5025 in place format support, this is subsumed into
rescript format
subcommand - #5060 #5055
Add formatting support for stdin/sdout
- #5053 #5050 clean up structural object semantics
- #5037
Allows coercion from nullary types to int/string.
This applies to collections types too
- #5029
int polyvar is compiled into int.
#0
is the same as 0 except it is structually typed as #0
- #5023 generate interface file in rescript syntax by default
- #5021 makes int64 runtime payload small for just comparison
- #5019, #5017, #5016, #5015, #5010 improve error message
- #5008 don't trigger a rebuild if mjs file changes, fix an infinite loop in watch mode
- #5005 not depending on Format for Arg module, smaller size
- #4985 fix the schema of bsb on
dev
property - #4967 #4986, #4984, #4971, #4972, #4969 Breaking changes
Remove ocaml style classes while structural objects and structural typings are simplified. Js.t is no longer needed. If user does not know
what ocaml style class is, this should not affect them.