Skip to content

Commit 431b27d

Browse files
committed
update changes
1 parent 8a1fa05 commit 431b27d

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

Changes.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,47 @@
11
`*` means potential break changes
22

3+
# 9.1
4+
5+
- #5014 #5063 #5027 the new ReScript CLI interface
6+
Thew new CLI is self explainatory:
7+
```
8+
rescript -h
9+
Available flags
10+
-v, -version display version number
11+
-h, -help display help
12+
Subcommands:
13+
build
14+
clean
15+
format
16+
convert
17+
help
18+
Run rescript subcommand -h for more details,
19+
For example:
20+
rescript build -h
21+
rescript format -h
22+
```
23+
24+
- #5025 in place format support, this is subsumed into `rescript format` subcommand
25+
- #5060 #5055
26+
Add formatting support for stdin/sdout
27+
- #5053 #5050 clean up structural object semantics
28+
- #5037
29+
Allows coercion from nullary types to int/string.
30+
This applies to collections types too
31+
- #5029
32+
int polyvar is compiled into int.
33+
`#0` is the same as 0 except it is structually typed as `#0`
34+
- #5023 generate interface file in rescript syntax by default
35+
- #5021 makes int64 runtime payload small for just comparison
36+
- #5019, #5017, #5016, #5015, #5010 improve error message
37+
- #5008 don't trigger a rebuild if mjs file changes, fix an infinite loop in watch mode
38+
- #5005 not depending on Format for Arg module, smaller size
39+
- #4985 fix the schema of bsb on `dev` property
40+
- #4967 #4986, #4984, #4971, #4972, #4969 Breaking changes
41+
Remove ocaml style classes while structural objects and structural typings are simplified. Js.t is no longer needed. If user does not know
42+
what ocaml style class is, this should not affect him.
43+
44+
345
# 9.0.2
446

547
- #4990 Fix an optimization bug introduced in 9.0

0 commit comments

Comments
 (0)