uploads-v0.30.0
Minor Changes
-
ffa1860: Put and head responses now name the two metadata bags apart.
provenance
carries the object's R2 upload labels (client,source-name,
content-sha256) — the content that used to sit undermetadataon these two
endpoints only.metadatanow means the queryable tags everywhere, matching
what it already meant ongetMetadata,patchMetadata, and
list({ metadata: true }).A put echoes the tags it stored, including server-derived pairs the client
never sent such asgh.uploader, so confirming what landed no longer takes a
second round trip. The field is absent when the put wrote no tags of its own,
since that case leaves any existing tags untouched. A plain head returns no
queryable metadata at all — that tier is a separate store and takes a separate
read, so callgetMetadata(key).PutResult.provenanceandHeadResult.provenanceare new;HeadResult.metadata
is gone. Code readingmetadataoff a put or head for provenance must move to
provenance.
Patch Changes
- 0067839: The "add --meta path=/route" tip no longer fires when a
pathwas in fact
supplied.put --pr/put --issueandattachdecided whether to nudge by
reading the API's put responsemetadatafield, which echoes the object's R2
provenance bag (client,source-name,content-sha256) and never the
queryable tags — so the tip printed on every image, including ones uploaded
with an explicit--meta path=, and the same text landed in thehintfield
of--format json. The check now reads the metadata each upload actually sent
(--metapairs, ascreenshot --outsidecar manifest, and derived image
facts), resolved per file.