Skip to content

feat: add version.json to match go-multicodec#52

Open
sumanjeet0012 wants to merge 2 commits into
multiformats:masterfrom
sumanjeet0012:feature-issue-8-version-json
Open

feat: add version.json to match go-multicodec#52
sumanjeet0012 wants to merge 2 commits into
multiformats:masterfrom
sumanjeet0012:feature-issue-8-version-json

Conversation

@sumanjeet0012

Copy link
Copy Markdown
Contributor

Closes #44.

What was changed:

  • Added version.json at the repository root containing {"version": "v1.0.0"}.
  • Added a [[tool.bumpversion.files]] entry to pyproject.toml so bump-my-version automatically keeps version.json in sync with pyproject.toml and multicodec/__init__.py on every release.

Why the change was needed:

  • go-multicodec ships a version.json file used by ecosystem tooling to track version compatibility across implementations. py-multicodec was the only implementation missing this file, creating an inconsistency in the multiformats ecosystem.

How it was verified:

  • Ran pre-commit run --all-files (ruff lint, ruff format, pyupgrade, mypy — all passed).
  • Ran pytest tests — all 689 tests passed.
  • Confirmed the check-toml pre-commit hook validates the updated pyproject.toml successfully.

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.

Add version.json to match go-multicodec

1 participant