Skip to content

Releases: awslabs/ocilot

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 16 Oct 23:33

Added

  • (pull) [breaking] add --annotate-ref and crane-compatible OCI layout

Fixed

  • (push) push manifests with their original bytes
  • (layer) complete monolithic blob uploads that return 202 Accepted

v0.2.4

Choose a tag to compare

@github-actions github-actions released this 23 Sep 23:56

Fixed

  • (layer) implicitly call flush and shutdown on layer completion

Other

  • (deps) update dependencies

v0.2.3

Choose a tag to compare

@github-actions github-actions released this 11 Sep 23:51

Fixed

  • (image) stamp new manifests with the Manifest media type, not Config
  • (client) set Content-Type header on manifest PUT
  • (layer) verify blob digests using the actual algorithm, not always sha256
  • address review findings in registry client and models

Other

  • bump dependencies
  • (deps) bump dependencies
  • (deps) update dependencies and fix keyring to 4.1

v0.2.2

Choose a tag to compare

@github-actions github-actions released this 25 Jun 20:12

Fixed

  • (registry) ensure we use the keyring::v1 Entry

v0.2.1

Choose a tag to compare

@github-actions github-actions released this 17 Jun 20:30
1262fc1

Fixed

  • (manifest) dispatch on mediaType when fetching manifests

v0.2.0

Choose a tag to compare

@jmt-lab jmt-lab released this 11 Jun 20:41

Other

  • (deps) migrate keyring v3 to v4
  • address review feedback for soundness, correctness, and API hygiene

Fixed (review-driven)

  • #1 Replaced all unsafe impl Send/Sync (RegistryClient, Registry, Decompress, Reader) with sound trait-bound types backed by Arc<dyn ... + Send + Sync> and Pin<Box<dyn AsyncRead + Send + Sync>>.
  • #2 Introduced Digest newtype (src/digest.rs) that validates algo:hex; replaced every digest unwrap() / strip_prefix("sha256:").unwrap() with Digest::parse(...)?.
  • #3 Token::parse and ECR base64 decoding now return typed InvalidAuth errors instead of panicking on malformed config.
  • #4 Replaced join_all with try_join_all in Image::to_tarball, Index::to_oci, and CLI copy/push so the first error aborts the operation.
  • #5/#19 Chunked-upload Location handling: start_blob_upload parses and resolves the upload URL; upload_part and finish_blob_upload PATCH/PUT against the URL returned by the previous response (preserving any pre-existing query string) instead of reformatting /v2/{repo}/blobs/uploads/{upload}.
  • #6 Removed all _progress API duplication: Layer::create, Layer::open, Image::filesystem, Image::to_tarball, and Index::to_oci now take Option<&dyn ProgressReporter> (or SharedProgress where spawning is required).
  • #7 Compression: lz4 now returns Error::Unsupported instead of misusing the LZMA decoder. Decompress::new is fallible; DockerImageRootfs(None) passes through uncompressed.
  • #8 Writer rewritten as an explicit state machine (Initial → Starting → Idle ↔ Uploading → Finishing → Done) with no wake_by_ref. Hash and offset advance only after the registry confirms each part. Done rejects further writes; poll_shutdown drains.
  • #9 Auth precedence enforced: .finch → .docker → keyring; loop breaks on the first hit and never overwrites a resolved token with None.
  • #10 Layer copy now advances by read_size, not chunk_size (was a real bug for size < MIN_CHUNK_SIZE); covered by copy_handles_short_reads test.
  • #11 Spawned JoinErrors now map to a typed Error::Join variant rather than being context-shifted into a generic error.
  • #12 Reader::poll_read ticks progress by after - before per poll instead of only at EOF.
  • #13 Reader validates streamed size and digest against expected values at EOF and returns LayerSizeMismatch / DigestMismatch.
  • #14 RegistryClient upload methods now take &self.
  • #15 Ctx exposes a single Arc-backed SharedProgress instead of leaking a MultiProgress; spawned tasks clone the Arc rather than relying on unsafe lifetime extension.

v0.1.0

Choose a tag to compare

@jmt-lab jmt-lab released this 30 Apr 18:18
9354e1e

Fixed

  • Improve doc comment formatting and remove review artifacts
  • Update documentation and styling
  • ECR repository names for both private and public
  • Public ECR list tags operation

Changed

  • Update dependencies, fix edition and migrate to bon

Other

  • Initial open source release

v0.1.0-beta.2

Choose a tag to compare

@github-actions github-actions released this 03 Jun 23:32

Other

  • enable github release in release-plz