PackUpgradedevent type
Installed pack was upgraded. Minor upgrades auto-apply; major version bumps require a migration_spec_ref per Q8.
Full spec
{
"name": "PackUpgraded",
"description": "Installed pack was upgraded. Minor upgrades auto-apply; major version bumps require a migration_spec_ref per Q8.",
"current_version": 1,
"actor_type_allowed": [
"human"
],
"object_type": "WorkstreamPack",
"payload_versions": {
"v1": {
"type": "object",
"additionalProperties": false,
"required": [
"pack_id",
"old_version",
"new_version",
"upgrade_kind",
"upgraded_by"
],
"properties": {
"pack_id": {
"type": "string",
"format": "uuid"
},
"old_version": {
"type": "string",
"pattern": "^\\d+\\.\\d+\\.\\d+$"
},
"new_version": {
"type": "string",
"pattern": "^\\d+\\.\\d+\\.\\d+$"
},
"upgrade_kind": {
"type": "string",
"enum": [
"patch",
"minor",
"major"
]
},
"migration_spec_ref": {
"type": [
"string",
"null"
],
"description": "Q8: required for major version bumps; references the published migration spec (R2 artifact key)."
},
"new_registry_version_hash": {
"type": "string",
"minLength": 1
},
"upgraded_by": {
"type": "string",
"format": "uuid"
}
}
}
},
"projections_consuming": [
"installed_packs_view",
"tenant_overrides_view",
"audit_log"
],
"canonicalizer_module": "event-canonicalizers/pack_upgraded.ts"
}