Uh oh!
There was an error while loading. Please reload this page.
π¦ New version release - #84
Merged
Merged
Conversation
Uh oh!
There was an error while loading. Please reload this page.
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 freeto 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.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@smooai/file@2.2.19
Patch Changes
edc71da: Add the zero-byte case to the lazy-streaming contract, and give Go a way to say "size not measured".
spec/lazy-stream-contract.jsonpinned 1 KiB, 64 KiB and 1 MiB sources but not the 0-byte boundary, where "shorter than the detection head" degenerates. Empty S3 objects and zero-length uploads are real β this repo already shipsempty.txtas a fixture.Adding it immediately failed the Go loader, for a real reason:
Size() int64cannot express "unknown". Go has no optional integer, soSize() == 0was doing double duty for an empty file and for a lazy stream whose tail nobody had counted β the other four ports say the latter withnil/None/undefined. New(*File).SizeKnown() boolseparates them. Additive and non-breaking: the field's zero value means "known", so every eager constructor stays correct untouched.