Skip to content

Commit 299885c

Browse files
committed
Update CHANGELOG entries to be in alpha 15 instead of alpha 14
1 parent 7fb5efe commit 299885c

File tree

1 file changed

+14
-12
lines changed

1 file changed

+14
-12
lines changed

CHANGELOG.md

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,19 @@
1515
#### :boom: Breaking Change
1616

1717
- The legacy rescript cli can be called through rewatch via `rewatch legacy`. Arguments to rewatch need to be passed after the subcommand. Argument `--compiler-args` is now a subcommand `compiler-args`. https://github.com/rescript-lang/rescript/pull/7551
18+
- Rename `Belt` functions ending with `Exn` to end with `OrThrow` https://github.com/rescript-lang/rescript/pull/7581 The following `Exn` functions are now deprecated:
19+
- `Belt.Map.getExn``Belt.Map.getOrThrow`
20+
- `Belt.MutableMap.getExn``Belt.MutableMap.getOrThrow`
21+
- `Belt.Set.getExn``Belt.Set.getOrThrow`
22+
- `Belt.MutableSet.getExn``Belt.MutableSet.getOrThrow`
23+
- `Belt.List.getExn``Belt.List.getOrThrow`
24+
- `Belt.List.tailExn``Belt.List.tailOrThrow`
25+
- `Belt.List.headExn``Belt.List.headOrThrow`
26+
- `Belt.MutableQueue.peekExn``Belt.MutableQueue.peekOrThrow`
27+
- `Belt.MutableQueue.popExn``Belt.MutableQueue.popOrThrow`
28+
- `Belt.Option.getExn``Belt.Option.getOrThrow`
29+
- `Belt.Result.getExn``Belt.Result.getOrThrow`
30+
- Old functions remain available but are marked as deprecated with guidance to use the new `OrThrow` variants.
1831

1932
#### :bug: Bug fix
2033

@@ -53,19 +66,8 @@
5366
- `List.headExn``List.headOrThrow`
5467
- `Belt.Array.getExn``Belt.Array.getOrThrow`
5568
- `Belt.Array.setExn``Belt.Array.setOrThrow`
56-
- `Belt.Map.getExn``Belt.Map.getOrThrow`
57-
- `Belt.MutableMap.getExn``Belt.MutableMap.getOrThrow`
58-
- `Belt.Set.getExn``Belt.Set.getOrThrow`
59-
- `Belt.MutableSet.getExn``Belt.MutableSet.getOrThrow`
60-
- `Belt.List.getExn``Belt.List.getOrThrow`
61-
- `Belt.List.tailExn``Belt.List.tailOrThrow`
62-
- `Belt.List.headExn``Belt.List.headOrThrow`
63-
- `Belt.MutableQueue.peekExn``Belt.MutableQueue.peekOrThrow`
64-
- `Belt.MutableQueue.popExn``Belt.MutableQueue.popOrThrow`
65-
- `Belt.Option.getExn``Belt.Option.getOrThrow`
66-
- `Belt.Result.getExn``Belt.Result.getOrThrow`
6769
- Old functions remain available but are marked as deprecated with guidance to use the new `OrThrow` variants.
68-
- https://github.com/rescript-lang/rescript/pull/7518, https://github.com/rescript-lang/rescript/pull/7554, https://github.com/rescript-lang/rescript/pull/7581
70+
- https://github.com/rescript-lang/rescript/pull/7518, https://github.com/rescript-lang/rescript/pull/7554
6971

7072
#### :rocket: New Feature
7173

0 commit comments

Comments
 (0)