@deltic/protocol 0.2.0: A10 renamed its exports; the JSR package must move too - #119
Merged
Conversation
… move too A10 (#114) renamed WitError/isWitError/WIT_ERROR to ComponentException/ isComponentException/COMPONENT_EXCEPTION in @deltic/protocol's export surface without bumping the package version. JSR versions are immutable and the release workflow deliberately skips already-published versions, so every post-A10 prerelease (runtime@0.1.0-pre.g{3c8c0e9..b297834}) resolves jsr:@deltic/protocol@^0.1.0 to the pre-A10 0.1.0 content and fails at module load: SyntaxError: The requested module 'jsr:@deltic/protocol@^0.1.0' does not provide an export named 'isComponentException' Found by all six polymorph consumer-migration tracks simultaneously. Fix: bump protocol to 0.2.0 (semver-honest: exports were removed). deno publish rewrites the workspace dep to ^0.2.0 at the next prerelease, which consumers then pin. Immutable 0.1.0 keeps serving pre-A10 prereleases correctly (^0.1.0 never resolves across 0.2.0). Release note recorded in the contract's A10 status entry.
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.
A10 (#114) renamed
@deltic/protocol's exports without bumping the package version. JSR versions are immutable and the release workflow deliberately skips already-published versions, so every post-A10 prerelease depends onjsr:@deltic/protocol@^0.1.0and resolves to the pre-A10 content — hardSyntaxErrorat module load for every consumer. All six polymorph migration tracks hit it simultaneously.One-line fix: protocol → 0.2.0 (semver-honest — exports were removed).
deno publishrewrites the workspace dep to^0.2.0on the next prerelease; consumers re-pin to that prerelease. Immutable0.1.0keeps serving pre-A10 prereleases (^0.1.0never crosses 0.2.0). Contract A10 status entry gets the release note.Gates:
just test-protocol publish-check test-bundlegreen (publish-check simulates@deltic/protocol@0.2.0).Follow-up guard tracked separately: CI should fail when
protocol/srcchanges without aprotocol/deno.jsonversion bump.