Skip to content

chore: bump rescript to 13.0.0-alpha.7 - #1490

Merged
fhammerschmidt merged 3 commits into
rescript-lang:v13from
fhammerschmidt:chore/rescript-13-alpha.7
Nov 22, 2026
Merged

fhammerschmidt merged 3 commits into
rescript-lang:v13from
fhammerschmidt:chore/rescript-13-alpha.7

Conversation

@fhammerschmidt

Copy link
Copy Markdown
Member

Bump the website to ReScript 13.0.0-alpha.7. I split this out of #1489 so the docs changes there can be reviewed without the generated churn. #1489 builds on this PR.

Changes

  • chore: bump rescript to 13.0.0-alpha.7
    • Bumps rescript in the root, apps/docs and apps/guide workspaces.
    • Refreshes 66 generated output blocks with yarn test --update. The alpha.7 changes are:
      • Object spread instead of Object.assign.
      • Catch-all branches of string switches compiled to a default: case.
    • The playground's alpha.6 references (Cypress test, guide runtime test) point to compiler builds on the CDN, so they're unchanged.
  • style: reformat ReScript sources with the 13.0.0-alpha.7 formatter
    • The alpha.7 formatter prints JSX children without padding spaces and wraps bare identifiers and comments in braces.
    • Applying it to 91 .res/.resi files keeps rescript format --check passing. The compiled output is unchanged.
  • docs: keep %debugger examples compiling with 13.0.0-alpha.7

Testing

  • yarn build:res compiles with no warnings.
  • oxfmt --check and rescript format --check pass.
  • yarn test: 183 pages checked, with 0 stale outputs, 0 compilation errors, and 0 link or redirect issues.

🤖 Generated with Claude Code

fhammerschmidt and others added 3 commits November 21, 2026 16:33
Update the rescript dependency in the root, docs and guide workspaces to
13.0.0-alpha.7 and refresh the generated JS Output blocks in the docs.
The compiler now emits object spread instead of Object.assign for record
and dict spreads, and moves catch-all branches of string switches into
a default case.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The alpha.7 formatter prints JSX children without padding spaces and
wraps bare identifiers and comments in braces. Apply it to the
codebase so `rescript format --check` passes in CI. The compiled output
is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Alpha.7 removed the %debugger extension, so the two examples using it
no longer compile. Switch their code to debugger() so the example check
passes; the surrounding prose is updated separately.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 21, 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-11-21T22:48:55.766215Z 4169a21 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.

@fhammerschmidt
fhammerschmidt merged commit 68e9265 into rescript-lang:v13 Nov 22, 2026
10 checks passed
@fhammerschmidt
fhammerschmidt deleted the chore/rescript-13-alpha.7 branch November 22, 2026 19:56

@aspeddro aspeddro left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

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.

2 participants