Repository navigation
v1.4.0 — S3 client-transparency by default
S4's compression (and gateway-default encryption) is now invisible to the client by default. This lands the realistic S3-compatibility target: no silent semantic divergences plus a client-transparent data plane, with the remaining gaps explicit (HTTP 501 / documented).
⚠️ Default behaviour change
GET/HEAD now return the logical ETag (MD5(original payload)) and the original Content-Length, and S4's reserved s4-* control metadata is stripped from responses. Existing deployments that relied on the physical (compressed-bytes) view can restore the old behaviour with --physical-passthrough.
Changed
- ETag =
MD5(original)(single-PUT) / AWS compositeMD5(concat(part-MD5s))-N(multipart, best-effort) — matches what the client computed before upload. Content-Lengthreflects the original (decompressed) size onGET/HEAD/range-GET.- Reserved
s4-*metadata stripped fromGET/HEAD/range responses — no codec internals leak; metadata round-trips/copies cleanly. - Conditional writes (
If-Match/If-None-MatchonPUT/CopyObject) evaluated against the logical ETag (412 on failure). - Multipart
CompleteMultipartUploadreverse-maps part ETags via paginatedListParts(robust across multiple gateways / restarts); the composite-ETag stamp is best-effort (single-gateway) and documented.
Added
--physical-passthrough— opt out of client transparency (physical view, pre-1.4 behaviour).--accurate-list-size— opt in to translateListObjects(V2)SizeandETagto the logical view (default is the hybrid: list stays fast,HEAD/GETare logical).DeleteObjects> 1000 keys →400 MalformedXML(AWS limit parity).
Fixed
- The client-transparency strip silently broke the inventory scanner's SSE classifier (gateway-default SSE-S4 is detected via the
s4-encryptedmarker). It now reads an unstripped internalHEAD, so SSE classification is correct again while the client view is unchanged.
Hardened over five Codex review rounds. s3-tests (Ceph conformance): S4-introduced regressions cut 21 → 11; the remaining 11 are the documented known limitations (mostly upstream s3s). See docs/compatibility.md.
Install
- crates.io:
s4-server/s4-codec/s4-config/s4-codec-py1.4.0 - PyPI:
pip install s4fs==1.4.0·pip install s4-codec==1.4.0 - Image:
ghcr.io/abyo-software/s4:1.4.0(multi-arch; built by the release workflow)
🤖 Generated with Claude Code