Skip to content

Add explicit serialization codec versioning - #720

Open
zhenrongliew wants to merge 1 commit into
dl/serializer-codec-versionfrom
dl/serializer-codec-versioning
Open

Add explicit serialization codec versioning#720
zhenrongliew wants to merge 1 commit into
dl/serializer-codec-versionfrom
dl/serializer-codec-versioning

Conversation

@zhenrongliew

@zhenrongliew zhenrongliew commented Sep 1, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add a Kirin-controlled integer codec_version to the serialization module.
  • Define the post Optimize shared-method serialization with method references #717 wire format as codec v2.
  • Treat missing codec_version as legacy unversioned v1.
  • Keep the existing SerializationModule.version caller-controlled and independent from the wire codec.

split from original #717 into stacked PR.
This follows the direction discussed in #618.

@zhenrongliew
zhenrongliew requested a review from kaihsin September 1, 2026 22:32
@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

☂️ Code Coverage

current status: ✅

Overall Coverage

Statements Covered Coverage Threshold Status
11842 10671 90% 0% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
src/kirin/serialization/core/_init_.py 100% 🟢
src/kirin/serialization/core/serializationmodule.py 100% 🟢
src/kirin/serialization/jsonserializer.py 96% 🟢
TOTAL 99% 🟢

updated for commit: 83b6a8a by action🐍

@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://QuEraComputing.github.io/kirin/pr-preview/pr-720/

Built to branch gh-pages at 2026-09-01 22:33 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@zhenrongliew zhenrongliew added the category: breaking change Category: breaking changes or proposed changes to APIs. label Sep 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category: breaking change Category: breaking changes or proposed changes to APIs.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant