Skip to content

Commit f40668b

Browse files
Better article img
1 parent 97609bd commit f40668b

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

markdown-pages/blog/release-12-0-0.mdx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
author: rescript-team
33
date: "2025-11-25"
44
previewImg: /blog/compiler_release_12_0.webp
5-
articleImg: /blog/compiler_release_12_0.webp
5+
articleImg: /blog/compiler_release_12_0_article.webp
66
badge: release
77
title: "Announcing ReScript 12"
88
description: |
@@ -36,11 +36,10 @@ Earlier versions bundled these files inside the `rescript` package and exposed a
3636
ReScript 12 removes `@rescript/std`; install `rescript` and `@rescript/runtime` together to keep projects in sync.
3737
Projects that previously published custom runtime shims should revisit their setup to ensure the new package structure remains discoverable.
3838

39-
### Updated bitwise operator surface
39+
### Bitwise operators
4040

41+
ReScript now supports F#-style bitwise operators `&&&` (AND), `|||` (OR), `^^^` (XOR), and `~~~` (NOT) for both `int` and `bigint`.
4142
Legacy OCaml-style bitwise functions such as `land`, `lor`, and `lsl` are deprecated.
42-
They continue to work in v12 with warnings but will be removed in a future version.
43-
ReScript now prefers unified operator syntax: `&&&`, `|||`, `^^^`, and `~~~` cover AND, OR, XOR, and NOT for both `int` and `bigint`.
4443

4544
### API naming alignment
4645

33.7 KB
Loading

0 commit comments

Comments
 (0)