Repository navigation
chore(oj): bump the default dev server to oj 0.2.49 from git upstream - #372
Merged
Merged
Conversation
mikn
force-pushed
the
mikn/bump-oj-0.2.46
branch
from
October 28, 2026 10:39
a104bb2 to
fb1009b
Compare
The default dev server was five oj releases behind, and 0.2.47 reached crates.io only in part, so a crates.io pin could not move past 0.2.46. 0.2.47 runs TanStack Start dev on one plugin host for every environment and evaluates vite.config once; 0.2.48 moves debug output to --debug, links Start stylesheets in Vite's order and shares FSEvents streams; 0.2.49 returns the memory the npm rolldown binding frees. The five direct oj crates come from the oj repository at tag v0.2.49, and oj/Cargo.lock pins all seventeen oj crates to its commit 8b72c5adb2e9, so rules_rs fetches one checkout at that sha. oj_notify replaces notify; V8, deno_core, Cranelift and tokio keep their pins. The oj crates share that checkout, so their patches now name paths from the repository root and all apply with -p1. The oj crate annotations drop their version key. deno_napi and deno_runtime reuse the oj patches with -p3. oj-server-pre-resolve-id.patch is re-cut onto 0.2.49's single plugin host: the ssr environment is a container of the dev host, so one this.resolve fallback answers for both and the host passes the asking environment (ssr, client or optimize). 0.2.49 passes scan through ctx.resolve itself, so those two hunks are dropped. oj-cache-start-bundle-stable-key.patch is re-cut onto 0.2.47's memoized persist. oj-server-ssr-css-url.patch drops the plugin-loaded stylesheet hunk 0.2.46 ships; oj-start-host-query-resolve-id.patch and the deno and napi patches carry over, re-rooted. Fetching oj now needs git and access to github.com, and the pin is the commit id rather than a content digest. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
mikn
force-pushed
the
mikn/bump-oj-0.2.46
branch
from
October 28, 2026 10:40
fb1009b to
b7fae10
Compare
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.
The default dev server is stuck at oj 0.2.44 and cannot move by crates.io: the 0.2.47 publish failed part-way on 2026-10-27, so dev users miss five releases of TanStack Start fixes.
v0.2.49;oj/Cargo.lockpins all seventeen oj crates to its commit8b72c5adb2e9.gitand github.com, pinned by commit id rather than a content digest. Revert the commit.Change
oj/Cargo.tomlnever reaches the build.notifygives way to oj'soj_notifyfork; V8, deno_core, Cranelift and tokio keep their pins.-p1;deno_napianddeno_runtimereuse two of them with-p3.oj-server-pre-resolve-id.patchis re-cut onto 0.2.49's single plugin host: the ssr environment is a container of the dev host, so onethis.resolvefallback serves both, keyed by the asking environment.oj-cache-start-bundle-stable-key.patchis re-cut onto the memoized bundle persist;oj-server-ssr-css-url.patchdrops the stylesheet hunk oj now ships.Upstream changes picked up
vite.configevaluated once.--debug[=scope]replacesOJ_BOOT_PHASES,OJ_DEBUG_MEMandOJ_DEBUG_HOOK_GATE; Start stylesheets link in Vite's order.Observed in production: no; found when the 0.2.47 crates.io publish failed. Gain: not measured here; oj's changelog reports the footprint numbers.
🤖 Generated with Claude Code