releases.shpreview

unsetPersonProperties() added; token removal now warns

@posthog/core@1.33.0

1 feature1 fixThis release1 featureNew capabilities1 fixBug fixesAI-tallied from the release notes

1.33.0

Minor Changes

  • #3709 c6c163a Thanks @posthog! - Add unsetPersonProperties() to remove person properties, the counterpart to setPersonProperties(). Previously the only way to unset a person property was to hand-pass a $unset array inside a capture() call. (2026-06-16)

Patch Changes

  • #3756 b3ec845 Thanks @archievi! - Drop the event and log a warning when a before_send hook removes the token property, instead of silently sending an event that ingest rejects with a 401. (2026-06-16)
  • Updated dependencies [c9c7df1, c6c163a]:
    • @posthog/types@1.387.0

Fetched June 16, 2026