Repository navigation
Release 0.2.0: relative JS imports, markup else if, rx-tsc on npm - #55
Merged
Merged
Conversation
- A relative JS import is an ES import in product builds (MO-8c); `./api` stays the injected API. No package.json `#imports` alias needed. - `else if` in markup control (spec/07), as a nested `if` in the else. - Bump compiler, runtime, language server (ships rx-tsc) and the extension to 0.2.0; CHANGELOG.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0117BoWPLMLsJjr7WiwaUgvd
🚀 Deploying Preview to Cloudflare 🚀Preview Deployments by commit
|
Rust 1.100.0 (released today) links crt1-reactor.o into a wasm32-wasip1 cdylib itself, so the copy build.rs adds defined `_initialize` twice and the wasm32-wasi package failed to link. Add it only before 1.100. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0117BoWPLMLsJjr7WiwaUgvd
Rust 1.100.0 (today) breaks the wasm32-wasip1-threads package: its wasi-libc defines __wasilibc_futex_wait_atomic_wait with a signature emnapi 1.x does not match (an invalid module), and it links crt1-reactor.o itself. Reverts the build.rs workaround for the second, which the first makes moot. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0117BoWPLMLsJjr7WiwaUgvd
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Merging this publishes 0.2.0 of the compiler, runtime, language server and extension (with
RELEASES=on). It fixes the three rough spots from a 0.1.0 user's report.Fixes
import pure { f } from "./util.js"now compiles to an ES import in product builds. Before, it failed as "not in the scenario prelude", which is why a package.json#importsalias was needed../apiis still the injected API (CP-4). This is the new MO-8c in spec/09, tested incompiler/test/node.mjs. The test fails without the fix.else ifin markup. It is sugar for a nestedifin the else branch, in both ref/ and the crate. The grammar is updated in spec/07 and guide/reference.md, and the new scenarioS-surface-4covers it.bin/tsc.js.Release. Every package goes to 0.2.0, because the
optimistic→guessrename (#47) is breaking. CHANGELOG.md lists everything on main since 0.1.0.Checks
cargo test: passGenerated by Claude Code