Skip to content

Prepare 12.3.1 maintenance release - #8565

Draft
cknitt wants to merge 10 commits into
maintenance/12.xfrom
codex/12.3.1
Draft

Prepare 12.3.1 maintenance release#8565
cknitt wants to merge 10 commits into
maintenance/12.xfrom
codex/12.3.1

Conversation

@cknitt

@cknitt cknitt commented Aug 19, 2026

Copy link
Copy Markdown
Member

Summary

Prepare the conservative ReScript 12.3.1 maintenance release from maintenance/12.x.

The fixes were backported chronologically and adapted where necessary to avoid pulling newer infrastructure or broad refactors:

Scope

This intentionally excludes larger or more invasive master changes, notably:

The goal is to fix concrete correctness and crash issues without increasing maintenance-release regression risk.

Validation

  • make test
  • make test-analysis
  • make test-syntax
  • make test-rewatch
  • Rewatch Rust unit tests and formatting checks

All pass locally.

cknitt and others added 10 commits August 19, 2026 11:17
Backport the fix by tracking modules that actually recompiled, so stored warnings are replayed for dependents skipped after an earlier error.

(cherry picked from commit 56d4ed5)

Signed-off-by: Christoph Knittel <ck@cca.io>
* analysis: fix namespaced reference lookup

* analysis: demonstrate incremental CMT lookup
Adapted from 7f15521 for the 12.3.x Rewatch test layout.
* Preserve multibyte characters when wrapping long source lines in compiler code frames

* Changelog
* Fix exponentiation right operand precedence

Signed-off-by: Christoph Knittel <ck@cca.io>

* Update changelog for exponentiation precedence fix

Signed-off-by: Christoph Knittel <ck@cca.io>

---------

Signed-off-by: Christoph Knittel <ck@cca.io>
Backport only the three type-system guards and focused regressions from 8fafaf9; omit the larger diagnostic-reporting refactor.
Backport only the independent bare labeled-arrow fix from 110534a; omit the broader external phantom-argument parser/printer rewrite.
@pkg-pr-new

pkg-pr-new Bot commented Aug 19, 2026

Copy link
Copy Markdown

Open in StackBlitz

rescript

npm i https://pkg.pr.new/rescript@8565

@rescript/darwin-arm64

npm i https://pkg.pr.new/@rescript/darwin-arm64@8565

@rescript/darwin-x64

npm i https://pkg.pr.new/@rescript/darwin-x64@8565

@rescript/linux-arm64

npm i https://pkg.pr.new/@rescript/linux-arm64@8565

@rescript/linux-x64

npm i https://pkg.pr.new/@rescript/linux-x64@8565

@rescript/runtime

npm i https://pkg.pr.new/@rescript/runtime@8565

@rescript/win32-x64

npm i https://pkg.pr.new/@rescript/win32-x64@8565

commit: a1ad1df

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.

5 participants