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/blog/release-12-0-0.mdx
+14-6Lines changed: 14 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ You can find the complete migration guide [here](../docs/manual/migrate-to-v12.m
23
23
24
24
### Build system redesign
25
25
26
-
ReScript 12 ships with the new build system introduced earlier this month in the [Reforging the Build System](./2025-11-04-reforging-build-system.mdx) preview.
26
+
ReScript 12 ships with the new build system introduced earlier this month in the [Reforging the Build System](./reforging-build-system.mdx) preview.
27
27
The tooling now relies on a modern architecture that tracks dependencies more precisely, avoids unnecessary recompilations, and integrates with incremental workflows.
28
28
The old build system remains available through `rescript-legacy`, but active projects should switch to the new commands to benefit from faster feedback loops and clearer output.
29
29
@@ -68,7 +68,7 @@ The migration tool highlights deprecated usage, and incremental cleanups are enc
68
68
69
69
### Unified operators
70
70
71
-
ReScript 12 finalizes the unified operator work introduced [earlier this year](./2025-04-11-introducing-unified-operators.mdx).
71
+
ReScript 12 finalizes the unified operator work introduced [earlier this year](./introducing-unified-operators.mdx).
72
72
Arithmetic, comparison, and bitwise operators now behave consistently across `int` and `bigint`, allowing the compiler to infer the correct specialization from the left operand.
73
73
74
74
### Expanded bitwise capabilities
@@ -128,7 +128,7 @@ let handle = (event: extended) =>
128
128
129
129
### JSX preserve mode
130
130
131
-
Projects that rely on downstream JSX tooling can enable [preserve mode](../docs/manual/v12.0.0/jsx#preserve-mode) via `"jsx": { "version": 4, "preserve": true }`.
131
+
Projects that rely on downstream JSX tooling can enable [preserve mode](../docs/manual/jsx.mdx#preserve-mode) via `"jsx": { "version": 4, "preserve": true }`.
132
132
The compiler will emit JSX syntax directly instead of transforming elements to `react/jsx-runtime` calls, allowing bundlers such as ESBuild, SWC, or Babel to apply their own transforms.
133
133
This mode keeps JSX readable in the output, retains spread props, and maintains compatibility with React Server Components.
134
134
React classic mode is no longer supported, so projects must use the JSX v4 transform regardless of preserve mode settings.
@@ -139,7 +139,7 @@ When preserve mode is disabled, the compiler continues to output the optimized r
139
139
The new `@directive` attribute emits JavaScript directive strings at the top of generated functions.
140
140
Use it to mark server actions with `'use server'`, memoized handlers with `'use memo'`, or any other directive that your framework requires.
141
141
The attribute works on synchronous and asynchronous functions, supports labeled parameters, and removes the need for `%raw` blocks.
142
-
Combined with JSX preserve mode, this enables clean integration with [React Server Components](../docs/react/latest/server-components.mdx) and other directive-based runtimes.
142
+
Combined with JSX preserve mode, this enables clean integration with [React Server Components](../docs/react/server-components.mdx) and other directive-based runtimes.
143
143
144
144
### Regex literals
145
145
@@ -205,7 +205,11 @@ The primary `rescript` package loads the appropriate binary at runtime and surfa
205
205
206
206
## Acknowledgments
207
207
208
-

208
+
<Image
209
+
src="/blog/rescript-retreat-2025.webp"
210
+
withShadow={true}
211
+
caption="ReScript core team during the 2025 Vienna retreat"
212
+
/>
209
213
210
214
Thank you to every contributor, tester, and partner who helped shape ReScript 12.
211
215
The core team gathered in Vienna earlier this year to map out this release, and your feedback guided every decision.
@@ -219,4 +223,8 @@ Funding enables the team to ship features like the new runtime architecture fast
219
223
220
224
We look forward to hearing what you create with ReScript 12.
221
225
222
-

226
+
<Image
227
+
src="/blog/rescript-team-2025.webp"
228
+
withShadow={true}
229
+
caption="The ReScript team at the 2025 retreat in Vienna"
0 commit comments