You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+9-2Lines changed: 9 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@
10
10
> -:house:[Internal]
11
11
> -:nail_care:[Polish]
12
12
13
-
# 11.0.0-alpha.1 (unreleased)
13
+
# 11.0.0-alpha.1
14
14
15
15
## :rocket: Main New Features
16
16
@@ -19,6 +19,12 @@
19
19
20
20
#### :rocket: New Feature
21
21
22
+
- Prebuilt binaries are now provided for all major platforms:
23
+
- macOS x64
24
+
- macOS ARM
25
+
- Linux x64 (statically linked)
26
+
- Linux ARM (statically linked)
27
+
- Windows x64
22
28
- Add support for uncurried mode: a mode where everything is considered uncurried, whether with or without the `.`. This can be turned on with `@@uncurried` locally in a file. For project-level configuration in `bsconfig.json`, there's a boolean config `"uncurried"`, which propagates to dependencies, to turn on uncurried mode.
23
29
Since there's no syntax for partial application in this new mode, introduce `@res.partial foo(x)` to express partial application. This is temporary and will later have some surface syntax.
24
30
Make uncurried functions a subtype of curried functions, and allow application for uncurried functions.
@@ -43,7 +49,8 @@ subset of the arguments, and return a curried type with the remaining ones https
43
49
- Remove support for the legacy Reason syntax. Existing Reason code can be converted to ReScript syntax using ReScript 9 as follows:
44
50
-`npm i -g rescript@9`
45
51
-`rescript convert <reason files>`
46
-
- Remove obsolete built-in project templates and the "rescript init" functionality. This will be replaced by the create-rescript-app project that is maintained separately.
52
+
- Remove obsolete built-in project templates and the "rescript init" functionality. This is replaced by [create-rescript-app](https://github.com/rescript-lang/create-rescript-app) which is maintained separately.
53
+
- Do not attempt to build ReScript from source on npm postinstall for platforms without prebuilt binaries anymore.
47
54
- Made pinned dependencies transitive: if *a* is a pinned dependency of *b* and *b* is a pinned dependency of *c*, then *a* is implicitly a pinned dependency of *c*. This change is only breaking if your build process assumes non-transitivity.
48
55
- Curried after uncurried is not fused anymore: `(. x) => y => 3` is not equivalent to `(. x, y) => 3` anymore. It's instead equivalent to `(. x) => { y => 3 }`.
49
56
Also, `(. int) => string => bool` is not equivalen to `(. int, string) => bool` anymore.
0 commit comments