Skip to content

Switching to CIDv1 by default #11

@RubenKelevra

Description

@RubenKelevra

IPFS will soon switch to CIDv1 by default (bafy.....) vs the old CIDv0 (Qm.....):

If you can't decide between CIDv0 and CIDv1, consider choosing CIDv1 for your new project and opt in by passing a version flag (ipfs add --cid-version 1). This is more future-proof and safe for use in browser contexts.

The IPFS project will switch to CIDv1 as the new default in the near future.

Source

They are much better to handle, as they are not case sensitive. So using them in directly in the browser with ipfs:// works.

As there's no downside using CIDv1 - and converting existing CIDv0 to CIDv1 in any output git-lfs-ipfs makes, like ipfs does when you set --upgrade-cidv0-in-output - the change should be a no-brainer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions