From 129f1766f626ffa118664e72450f11c585ac6d24 Mon Sep 17 00:00:00 2001 From: Florian Hammerschmidt Date: Mon, 27 Jul 2026 19:06:08 +0200 Subject: [PATCH] Roadmap update for V13 --- .../docs/markdown-pages/community/roadmap.mdx | 47 +++++++++++++++---- 1 file changed, 39 insertions(+), 8 deletions(-) diff --git a/apps/docs/markdown-pages/community/roadmap.mdx b/apps/docs/markdown-pages/community/roadmap.mdx index 91beaadf2..c9729192c 100644 --- a/apps/docs/markdown-pages/community/roadmap.mdx +++ b/apps/docs/markdown-pages/community/roadmap.mdx @@ -8,16 +8,47 @@ order: 3 # Roadmap -The ReScript development is an Open Source effort coordinated by individiual Open Source contributors, its creator [Hongbo Zhang](https://github.com/bobzhang) and members of the [ReScript Association](https://rescript-association.org). +ReScript was created by [Hongbo Zhang](https://github.com/bobzhang), whose foundational work shaped the language and compiler. Today, ReScript is developed in the open by individual contributors and members of the [ReScript Association](https://rescript-association.org). -For latest development updates, please check out the [ReScript forum](https://forum.rescript-lang.org) development section and the [ReScript blog](/blog), or follow the relevant GitHub milestones on the rescript-compiler repository. +## ReScript 13 -## Current focus +The target for ReScript 13 is **Q4 2026**. This roadmap describes the intended outcomes of the release rather than tracking the day-to-day status of individual changes. -Major v12.0 release (see [v12 milestone](https://github.com/rescript-lang/rescript/milestone/16)). +The main areas of focus are: -- Move the [Rescript Core](https://github.com/rescript-lang/rescript-core) standard library into the compiler / remove the OCaml standard library -- A new build system tailored to ReScript's needs ([rewatch](https://github.com/teamwalnut/rewatch)) for better monorepo support and even faster compilation speed -- Make it easier to create libraries for consumption from TypeScript with GenType +### Source Maps and Debugging -**Note:** Release goals may be subject to change. +Compiler-generated source maps, with linked, inline, and hidden modes, will make generated JavaScript easier to debug. Tools that consume source maps will be able to relate stack traces and runtime performance profiles back to their original ReScript source. + +### Faster, Observable Builds + +ReScript 13 completes the transition to the native Rewatch build system and removes the legacy Ninja-based builder. + +The build scheduler uses a work-stealing dependency-graph dispatcher ordered by critical-path priority. This avoids waiting for the slowest file in each compilation wave and makes better use of the available CPU cores. The build system also focuses on reliable monorepo builds, production-only builds, feature-gated source directories, and a better watch-mode experience. + +OpenTelemetry tracing through OTLP exposes initialization, dependency discovery, parsing, per-file compilation, and post-build work. This provides a modern path for investigating build performance after the removal of the legacy `bstracing` tool. + +### TypeScript Declarations + +Direct TypeScript declaration (`.d.ts`) generation in the compiler will make ReScript libraries easier to consume from TypeScript without requiring a separate type-information parsing pipeline. The focus is declaration output for ReScript-generated JavaScript, not compiling ReScript to TypeScript source. + +### JavaScript-Style Control Flow + +ReScript 13 adds `for...of` and `for await...of` loops for iterables and async iterables. Loops also support `break` and `continue`, making common JavaScript control-flow patterns available without dropping down to bindings or helper functions. + +### More JavaScript-Aligned Language Features + +The ReScript 13 language direction also includes: + +- dictionary spreads +- record rest destructuring +- inline record types in external definitions +- first-class, type-safe tagged-template functions + +ReScript 13 also removes deprecated configuration, syntax, and standard-library APIs, defaults the module system to ES modules, and raises the minimum supported Node.js version to 22. + +## Follow Development + +For the latest details, follow the [ReScript 13 compiler changelog](https://github.com/rescript-lang/rescript/blob/master/CHANGELOG.md), the [development section of the ReScript forum](https://forum.rescript-lang.org/c/development/11), and the [ReScript blog](/blog). + +Release contents and timing may change.