Skip to content

docs: update the ReScript 13 roadmap - #1496

Open
fhammerschmidt wants to merge 6 commits into
v12from
docs/roadmap-v13-update
Open

fhammerschmidt wants to merge 6 commits into
v12from
docs/roadmap-v13-update

Conversation

@fhammerschmidt

Copy link
Copy Markdown
Member

The ReScript 13 plans have changed, so the roadmap page needs an update.

Changes

  • Timeline: the target moves from Q4 2026 to Q1 2027, with the beta phase starting in December 2026.
  • TypeScript declarations: removed; .d.ts generation is no longer planned for the v13 release.
  • Cross-module inlining with @inline (new): @inline functions are inlined in every module that calls them, many small stdlib functions (Option.isSome, Option.getOr, Array.reduce, the Result combinators, …) are now @inline, and a new warning explains when an exported @inline function can't be inlined elsewhere. This is fresh on compiler master and not in a release yet.
  • Build system: the build system that was already the default in v12 (Rewatch) becomes the only one, and the legacy Ninja-based builder is removed. It now shares a single binary with the compiler. Projects already using it in v12 don't need to change their build configuration. OpenTelemetry tracing is dropped, and a paragraph covers the compiler performance work, including type checking.
  • New features from the compiler changelog: try … finally, int range patterns, $ in identifiers, untagged variants for JavaScript classes (@instanceOf/@typeOf), Temporal bindings, and nested components as React Server Components client references.
  • Structure: interop items (tagged templates, inline records in externals) move into a new "Better JavaScript Interop" section, and the paragraph on removals and upgrading is dropped, since that is part of every major release.

🤖 Generated with Claude Code

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 3, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-03T12:25:34.779364Z 1f7427a PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Dec 3, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
guide 70945ce Commit Preview URL

Branch Preview URL
Dec 03 2026, 05:19 PM

@github-actions

github-actions Bot commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

Lighthouse baseline

Compared with target branch v12 at commit 7405c05. Scores are the median of 3 runs against the deployed Cloudflare preview.

Category Target Current Change
Performance 84 84 0
Accessibility 80 80 0
Best practices 100 100 0
SEO 100 66 -34

Download the full Lighthouse reports and baseline

Commit a63c8e0 · Cloudflare preview

fhammerschmidt and others added 2 commits December 3, 2026 13:54
Move the ReScript 13 target to Q1 2027, with the beta phase starting
in December 2026, and update the planned features:

- Drop TypeScript declaration generation, which is no longer planned
  for v13.
- Add cross-module inlining with `@inline`, including the stdlib
  functions that are now marked `@inline`.
- Describe the build system as the v12 default becoming the only one,
  sharing a single binary with the compiler, and drop OpenTelemetry
  tracing.
- Mention compiler performance work, `try … finally`, int range
  patterns, `$` in identifiers, `@instanceOf`/`@typeOf` untagged
  variants, `Temporal` bindings and RSC client references for nested
  components.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Say that v12 Rewatch users don't need to switch builders instead of
claiming no configuration changes, and note that projects relying on
the CommonJS default must set it explicitly. Narrow the let rec claim
to dependency discovery, which is what became linear.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Mention explicit coercions between @instanceof class types
(rescript-lang/rescript#9432), the smaller generated JavaScript for
untagged variants and options, and the many correctness fixes in v13.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
List generator functions, TypeScript declaration generation and
compile-time code generation as efforts planned after v13.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…esign

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

Docs preview

This branch was successfully deployed

2 active deployments
preview — 70945ce7 Deployed Dec 3, 2026 by github-actions[bot]
guide-preview — 70945ce7 Deployed Dec 3, 2026 by github-actions[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant