chore: release core 0.7.46, server 0.8.58, cli 0.10.50 - #1198
Merged
Conversation
Ships asset() (#1194), the opt-in helper that content-hashes a public/ asset url so a deploy that changes the file changes the url, and the framework serves it immutable for a year. Also raises packages/server's declared @webjsdev/core range from ^0.7.1 to ^0.7.46. dev.js imports setAssetUrlProvider statically and the generated app imports asset, while the old range was satisfied by every published core and none of them carried those exports, so npm could happily install a combination that dies at module load. The release PR is the only place this bump is legal, and it retires the stale range that context.js's setCspNonceProvider has been relying on publish order for since 0.7.1.
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.
Releases the
asset()helper (#1194, merged in #1197) across the three packages that carry it.@webjsdev/coreasset()+setAssetUrlProviderexports@webjsdev/serverresolveAssetUrl(), the dev-server provider install, the elision-fingerprint fix@webjsdev/cliPublish order
coremust publish first, sinceserverandcliboth resolveassetfrom it. The publish loop sorts by the changelogdate:ASC and tie-breaks on filename DESC, so equal timestamps would publishserverbeforecore. The generated timestamps are distinct and orderedcore→server→cli:Dependency range
packages/server's@webjsdev/corerange moves^0.7.1→^0.7.46.dev.jsimportssetAssetUrlProviderstatically, so the old range was satisfied by every published core and none of them carried that export. npm could install a combination that dies at module load, and only publish ORDER was preventing it. This makes the coupling npm's problem instead. A release PR is the only branch where the version-bump hook permits this.Verification
npm ciresolves the tightened range against the regenerated lockfile.scripts/backfill-changelog.js, not hand-written.npm testin a clean worktree install: the only failures aretest/integration/blog-http.test.mjs, which fail identically atorigin/mainin the same worktree (verified by detaching and re-running). No regression from this commit.