Skip to content

Deprecate ImageID - #1336

Draft
sudo-bmitch wants to merge 1 commit into
opencontainers:mainfrom
sudo-bmitch:pr-image-id
Draft

Deprecate ImageID#1336
sudo-bmitch wants to merge 1 commit into
opencontainers:mainfrom
sudo-bmitch:pr-image-id

Conversation

@sudo-bmitch

Copy link
Copy Markdown
Contributor

Fixes #1333

Comment thread config.md

NOTE: Do not confuse DiffIDs with [layer digests](manifest.md#image-manifest-property-descriptions), often referenced in the manifest, which are digests over compressed or uncompressed content.

### Layer ChainID

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://github.com/opencontainers/image-spec/blob/main/identity/chainid.go should be deprecated in v1.2 and removed in v1.3-ish

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch. I'll revert this to a deprecation, and add a similar deprecation to the Go code.

@sudo-bmitch
sudo-bmitch marked this pull request as draft August 20, 2026 21:00
tianon
tianon previously approved these changes Aug 21, 2026
Signed-off-by: Brandon Mitchell <git@bmitch.net>
@sudo-bmitch

Copy link
Copy Markdown
Contributor Author

On a second viewing, ChainID is used by a lot of runtime tools, so I'm going to leave that.

https://pkg.go.dev/github.com/opencontainers/image-spec@v1.1.1/identity?tab=importedby

@sudo-bmitch sudo-bmitch changed the title Deprecate ImageID and remove Layer ChainID Deprecate ImageID Aug 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ImageID: allow hashing index instead of config

3 participants