Skip to content

Add version.json to match go-multibase #46

Description

@sumanjeet0012

go-multibase has a version.json file that tracks the library version. py-multibase should have one for consistency across the multiformats ecosystem.

Problem

go-multibase includes:

{
  "version": "v0.6.0"
}

This file is used by ecosystem tooling to track version compatibility across implementations. py-multibase does not have this file — version info exists only in pyproject.toml and __init__.py.

Proposed Solution

  1. Create version.json at the repository root:

    {
      "version": "v2.0.0"
    }
  2. Add it to the bump-my-version configuration in pyproject.toml:

    [[tool.bumpversion.files]]
    filename = "version.json"
    search = '"version": "v{current_version}"'
    replace = '"version": "v{new_version}"'

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions