Alias() drops missing identities with warning
posthog-v7.37.4
1 fixThis release1 fixBug fixesAI-tallied from the release notes
From the original release noteView original ↗
Patch changes
- 6397d78
alias()now validates both identities before enqueuing. Previouslyalias(None, "user-123")(or an empty-stringprevious_id) sent a$create_aliasevent with a null/emptydistinct_id, which cannot link anything and just adds an unusable event to the project. Missing identities are now dropped with a warning instead, matching the sdk-specsaliascontract. The drop that already happened when no alias target could be resolved now logs a warning too, and a non-stringprevious_idsuch as0is stringified consistently in bothdistinct_idandproperties.distinct_id. — Thanks @posthog[bot]!
Fetched August 5, 2026
