Skip to content

Commit a9fcc0d

Browse files
Roadmap update for V13 (#1323)
1 parent 055d8a5 commit a9fcc0d

1 file changed

Lines changed: 39 additions & 8 deletions

File tree

apps/docs/markdown-pages/community/roadmap.mdx

Lines changed: 39 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,47 @@ order: 3
88

99
# Roadmap
1010

11-
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).
11+
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).
1212

13-
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.
13+
## ReScript 13
1414

15-
## Current focus
15+
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.
1616

17-
Major v12.0 release (see [v12 milestone](https://github.com/rescript-lang/rescript/milestone/16)).
17+
The main areas of focus are:
1818

19-
- Move the [Rescript Core](https://github.com/rescript-lang/rescript-core) standard library into the compiler / remove the OCaml standard library
20-
- A new build system tailored to ReScript's needs ([rewatch](https://github.com/teamwalnut/rewatch)) for better monorepo support and even faster compilation speed
21-
- Make it easier to create libraries for consumption from TypeScript with GenType
19+
### Source Maps and Debugging
2220

23-
**Note:** Release goals may be subject to change.
21+
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.
22+
23+
### Faster, Observable Builds
24+
25+
ReScript 13 completes the transition to the native Rewatch build system and removes the legacy Ninja-based builder.
26+
27+
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.
28+
29+
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.
30+
31+
### TypeScript Declarations
32+
33+
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.
34+
35+
### JavaScript-Style Control Flow
36+
37+
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.
38+
39+
### More JavaScript-Aligned Language Features
40+
41+
The ReScript 13 language direction also includes:
42+
43+
- dictionary spreads
44+
- record rest destructuring
45+
- inline record types in external definitions
46+
- first-class, type-safe tagged-template functions
47+
48+
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.
49+
50+
## Follow Development
51+
52+
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).
53+
54+
Release contents and timing may change.

0 commit comments

Comments
 (0)