Skip to content

Commit 4293804

Browse files
committed
fix(spec): the presigned request narrowing declares Metadata-protocol none and grades @objectstack/spec patch
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9qibvsQx1XxK9FrejoXno
1 parent fbcf7fb commit 4293804

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎.changeset/27598-presigned-size-whole-non-negative.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
2-
'@objectstack/spec': minor
2+
'@objectstack/spec': patch
33
'@objectstack/service-storage': patch
44
---
55

66
fix(spec)!: `GetPresignedUrlRequestSchema.size` declares a whole, non-negative byte count, and `filename` / `mimeType` declare that they are non-empty, the accept set the presigned-upload door enforces (#27598)
77

88
Clause-②: no (narrowing) — the published declaration of the presigned-upload request body refuses a negative or fractional `size` and an empty `filename` or `mimeType`, which it admitted before. Nothing is widened and no key is added, removed or renamed.
9-
Metadata-protocol: narrowed
9+
Metadata-protocol: none
1010

1111
<!-- adr-0087: not-required (no-migration-prescription) No key of any schema is added, removed, renamed or re-shaped and no metadata type or stored shape moves: a REST request declaration no metadata type embeds stops admitting a negative or fractional `size` and an empty `filename` or `mimeType`. The door already refused all but the fraction, and a fractional size never named a byte count a stored file can hold. A caller sends the file's whole byte length, name and MIME type; there is nothing for a migration to rewrite and no tombstone. -->
1212

0 commit comments

Comments
 (0)