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: markdown-pages/docs/manual/migrate-to-v12.mdx
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,9 +15,9 @@ If you encounter any missing information or issues during migration, please [ope
15
15
### Prerequisites
16
16
17
17
- ReScript V11 project.
18
-
- Uncurried mode must be enabled (i.e. you have not opted-out from it)
18
+
- Uncurried mode must be enabled (i.e. you have not opted-out from it).
19
19
- Your project must not contain any OCaml source code anymore, as support for `.ml` files is removed in this version. However there are ways to convert OCaml syntax with an older ReScript compiler version ([see below](#converting-generated-ml-files)).
20
-
- Minimum supported Node.js version is 20.11.0
20
+
- Minimum supported Node.js version is 20.11.0.
21
21
22
22
### Standard Library Changes
23
23
@@ -254,7 +254,7 @@ Below is a consolidated excerpt of all the breaking changes from the compiler ch
254
254
255
255
- OCaml compatibility layers in the stdlib and primitives were removed/deprecated. https://github.com/rescript-lang/rescript-compiler/pull/6984
256
256
- Deprecated modules `Js.Vector` and `Js.List` were deleted. https://github.com/rescript-lang/rescript-compiler/pull/6900
257
-
- The legacy `js_cast.res` helpers disappeared; migrate to explicit externals. https://github.com/rescript-lang/rescript-compiler/pull/7075
257
+
- The legacy `js_cast.res` helpers were removed; migrate to explicit externals. https://github.com/rescript-lang/rescript-compiler/pull/7075
258
258
-`JsError` and related modules were renamed/cleaned up under `JsExn`. https://github.com/rescript-lang/rescript/pull/7408
259
259
-`BigInt.fromFloat` now returns `option` and exposes `BigInt.fromFloatOrThrow`, and the `Exn`-suffixed helpers across `Bool`, `BigInt`, `JSON`, `Option`, `Null`, `Nullable`, `Result`, and `List` now end with `OrThrow`. https://github.com/rescript-lang/rescript/pull/7419https://github.com/rescript-lang/rescript/pull/7518https://github.com/rescript-lang/rescript/pull/7554
260
260
-`Result.getOrThrow` throws a JS `Error` (instead of `Not_found`), and `Result.equal` / `Result.compare` now provide a comparison function for `Error` values. https://github.com/rescript-lang/rescript/pull/7630https://github.com/rescript-lang/rescript/pull/7933
@@ -274,6 +274,6 @@ Below is a consolidated excerpt of all the breaking changes from the compiler ch
274
274
275
275
### Configuration & platform
276
276
277
-
- The minimum supported Node.js version is now 20.11.0 https://github.com/rescript-lang/rescript/pull/7354
277
+
- The minimum supported Node.js version is now 20.11.0.https://github.com/rescript-lang/rescript/pull/7354
278
278
- The `experimental-features` key in `rescript.json` now uses kebab-case to match the other config fields. https://github.com/rescript-lang/rescript/pull/7891
279
279
- The legacy `-bs-super-errors` flag was removed. https://github.com/rescript-lang/rescript-compiler/pull/6814
0 commit comments