Skip to content

Commit ae445b7

Browse files
authored
Merge pull request #4938 from rescript-lang/changes
update changes for 9.0
2 parents 798562e + 4d056a0 commit ae445b7

File tree

1 file changed

+72
-0
lines changed

1 file changed

+72
-0
lines changed

Changes.md

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

3+
4+
# 9.0
5+
6+
- #4933 update syntax bf6561bb5d84
7+
syntax changes listed [here](https://github.com/rescript-lang/syntax/blob/master/CHANGELOG.md#90)
8+
- #4934 generate `@pure` annotations to help esbuild remove more dead code
9+
10+
- #4932 #4931 turn flow syntax checking from a error into warning 103, so it can be turned off as below
11+
```res
12+
@@config({
13+
flags: ["-w", "-103"],
14+
})
15+
16+
%%raw(`
17+
if (import.meta.hot){
18+
console.log('es6')
19+
}
20+
`)
21+
```
22+
The rationale is that flow could be not standard compilant so we need provide a work around, here
23+
`import.meta` is something new in Ecmascript
24+
25+
- #4926 #4928
26+
*internal* changes, move jscomp/syntax to jscomp/frontend to avoid conflicts
27+
28+
- #4924 #4927 better code generated for pattern match.
29+
Take advantage of the JS runtime, some predicates can be simplified
30+
31+
- #4920 #4925 support external-stdlib config
32+
```
33+
"external-stdlib" : "@rescript/std"
34+
```
35+
- #4922 #4923 *breaking changes" Allow embed records in structural js objects
36+
37+
- #4908 #4919 #4917 #4916 #4914 #4913 #4910
38+
Get rid of camlp4 as a dev dependency, introduce an optimized visitor pattern
39+
generator, better performance, no object usage and less dependency thanks to wasm
40+
41+
- #4911 Relax uninterpretable attributes from error to warn to make ppx_deriving happy
42+
43+
- #4905 *internal* add `Js_exn.anyToExnInternal`
44+
45+
- #4903 porting to open BSD/adJ
46+
47+
- #4902 for stdlib es6 artifacts ship .mjs instead of .js, so that
48+
on the user side, if they config es6 with .mjs, it will work out of box
49+
50+
- #4900 #4986 `'` in string literals does not need to be escaped
51+
52+
- #4893 *internal* simplify numbers in JS IR
53+
54+
- #4892 #4891 *internal* simplify boxed int operations
55+
56+
- #4890 clean up constant in lambda IR, fix a subtle bug when do constant folding
57+
58+
- #4888 #4881 support external in private block
59+
60+
- #4882 #4884 #4887 remove nativeint, not allow literlas like `3n`
61+
62+
- #4873 #4875 #4876 better code generation for pattern match
63+
64+
- #4870 fix typo in uncurried error message
65+
66+
- #4867 *internal* clean up bsb_helper
67+
68+
# 8.4.2
69+
70+
- #4864 #4865
71+
Not install dev directory for pinned dependencies
72+
- #4863
73+
for a package, only cmi/cmj artifact changes will trigger a rebuild
74+
375
# 8.4.1
476

577
- Syntax submodule upgrades from 7f5c968 to 7cc70c9

0 commit comments

Comments
 (0)