github PostHog/posthog-js @posthog/core@1.32.0

latest releases: posthog-react-native@4.46.30, @posthog/ai@8.1.9, @posthog/webpack-plugin@1.5.20...
6 hours ago

1.32.0

Minor Changes

  • #3634 612f97a Thanks @lucasheriques! - feat(surveys): add opt-in appearance.allowGoBack for multi-question surveys, and make button labels translatable

    Renders a "Back" button on web surveys after the first question. Default is off — existing surveys are unchanged. Uses a visited-index history stack so back-navigation respects branching paths (response_based, specific_question), and abandoned-branch responses are pruned before submission so analytics aren't polluted. Returning to a question pre-fills the prior answer. appearance.backButtonText overrides the default label. The button uses the survey's text color so it stays readable on any background, and it also shows in survey previews.

    Also adds submitButtonText and backButtonText to survey-level translations, so both the submit and back button labels can be localized via appearance translations (previously only the per-question button text was translatable). (2026-06-10)

Patch Changes

  • Updated dependencies []:
    • @posthog/types@1.386.0

Don't miss a new posthog-js release

NewReleases is sending notifications on new releases.