feat(core/registrystorage): Persist OCI manifest content-type in sidecar and normalize manifest body handling

This commit is contained in:
2025-11-25 22:10:06 +00:00
parent 67188a4e9f
commit 41405eb40a
5 changed files with 511 additions and 22 deletions

View File

@@ -1,5 +1,14 @@
# Changelog
## 2025-11-25 - 2.2.0 - feat(core/registrystorage)
Persist OCI manifest content-type in sidecar and normalize manifest body handling
- Add getOciManifestContentType(repository, digest) to read stored manifest Content-Type
- Store manifest Content-Type in a .type sidecar file when putOciManifest is called
- Update putOciManifest to persist both manifest data and its content type
- OciRegistry now retrieves stored content type (with fallback to detectManifestContentType) when serving manifests
- Add toBuffer helper in OciRegistry to consistently convert various request body forms to Buffer for digest calculation and uploads
## 2025-11-25 - 2.1.2 - fix(oci)
Prefer raw request body for content-addressable OCI operations and expose rawBody on request context