Skip to content

feat(unixfs): use cidv1 by default#8886

Closed
schomatis wants to merge 1 commit into
masterfrom
schomatis/feat/cmds/files/use-cid-v1
Closed

feat(unixfs): use cidv1 by default#8886
schomatis wants to merge 1 commit into
masterfrom
schomatis/feat/cmds/files/use-cid-v1

Conversation

@schomatis

Copy link
Copy Markdown
Contributor

Toward #4143. Consumes dependency upgrade ipfs/go-unixfs#119.

@lidel Take a look at this change to see if it satisfies the CIDv1 upgrade for ipfs files and ipfs init. There's nothing in this PR but the upgrade in UnixFS. I think the ultimate solution is landing ipfs/go-merkledag#86, but this makes a small modification in the middle layer of UnixFS to set a CIDv1 by default without much propagating big changes.

I'm punting on fixing sharness until I have the modifications for the rest of the commands as I'll likely need to write a small script to parse CIDv0 and upgrade to CIDv1 all over those files. This is just a request for a manual test here and a code review in the dependency upgrade to see if I'm going in the right direction.

@lidel

lidel commented Jul 9, 2026

Copy link
Copy Markdown
Member

Closing in favor of #8185, which makes CIDv1 the default for new repos via the Import config and the IPIP-499 unixfs-v1-2025 profile. Existing repos stay on CIDv0 until they opt in, so no migration is involved. Thanks for the early push here; #8185 is where this continues.

@lidel lidel closed this Jul 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects
Status: 🔎 In Review

Development

Successfully merging this pull request may close these issues.

3 participants