Skip to content

Commit 2d5d93c

Browse files
jmcentireclaude
andcommitted
Fix artifact metadata version to match v0.3.0
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent bf17f30 commit 2d5d93c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/pact/schemas.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ class LearningEntry(BaseModel):
533533

534534
class ArtifactMetadata(BaseModel):
535535
"""Provenance metadata for a generated artifact."""
536-
pact_version: str = "0.2.0"
536+
pact_version: str = "0.3.0"
537537
model: str = Field(default="", description="Model ID that generated this artifact")
538538
component_id: str = ""
539539
artifact_type: Literal["contract", "test_suite", "implementation", "composition"] = "contract"

tests/test_artifact_metadata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def test_metadata_creation(self):
2424

2525
def test_metadata_defaults(self):
2626
meta = ArtifactMetadata()
27-
assert meta.pact_version == "0.1.0"
27+
assert meta.pact_version == "0.3.0"
2828
assert meta.model == ""
2929
assert meta.cost_usd == 0.0
3030

0 commit comments

Comments
 (0)