Skip to content

5.58.2

Choose a tag to compare

@github-actions github-actions released this 30 Oct 15:32
· 29 commits to main since this release
Immutable release. Only release title and notes can be modified.
6f6d63b

Patch Changes

  • ce069ea: Keep events in call order on every platform except Windows and Linux while an async beforeSend runs. A reset(), identify(), alias(), register(), group(), optIn() or optOut() made after an un-awaited capture(), screen() or captureException() now applies after that event, so the event goes out with the user, super properties, groups and consent it was captured under, as in the native SDKs. While a beforeSend callback runs, later PostHog calls (getters included) wait for it; one that runs longer than 10 seconds stops holding them back, and its event is still sent when it finishes, with the user, super properties, groups and consent current by then.