Skip to content

fix: support playground compiler API v9 - #1457

Closed
fhammerschmidt wants to merge 1 commit into
masterfrom
chore/playground-api-v9
Closed

fhammerschmidt wants to merge 1 commit into
masterfrom
chore/playground-api-v9

Conversation

@fhammerschmidt

Copy link
Copy Markdown
Member

The merged rescript-lang/rescript#8636 raises the playground compiler API to v9. The website currently treats "9" as an unknown version, so /try cannot compile with these bundles and its existing compiler settings are disabled.

Recognize v9 in the shared API bindings and include it in the playground's modern compilation and open-module paths. Add a regression test for v9 recognition, available languages, and existing settings alongside the legacy-version tests.

Validation:

  • Full ReScript build passes: 594 modules, with the repository's warning policy.
  • All four compiler API tests pass in Vitest's Node environment.
  • ReScript formatting, generated route-type consistency, and diff checks pass.

Recognize the API version introduced by rescript-lang/rescript#8636 and
route its bundles through the current ReScript compiler path. Keep the
existing settings and language support available for v9.

Add coverage for version recognition and settings alongside the existing
legacy API tests.

Signed-off-by: Florian Hammerschmidt <florianh89@gmail.com>
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review 🔄 Running since 2026-10-20T13:24:20.319864Z f516f33 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

Copy link
Copy Markdown
Member Author

no changes, let's rather de-bump the compiler

@fhammerschmidt
fhammerschmidt deleted the chore/playground-api-v9 branch October 20, 2026 13:29
@github-actions

Copy link
Copy Markdown
Contributor

Docs preview

@github-actions

Copy link
Copy Markdown
Contributor

Lighthouse baseline

Compared with target branch master at commit 2c4c476. Scores are the median of 3 runs against the deployed Cloudflare preview.

Category Target Current Change
Performance 80 87 +7
Accessibility 80 80 0
Best practices 100 100 0
SEO 100 66 -34

Download the full Lighthouse reports and baseline

Commit 85c036a · Cloudflare preview

This branch was successfully deployed

1 active deployment
guide-preview — f516f336 Deployed Oct 20, 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.

2 participants