Commit 35f67d6
authored
chore(deps): update dependency posthog-js to v1.284.0 (#842)
This PR contains the following updates:
| Package | Type | Update | Change | OpenSSF |
|---|---|---|---|---|
| [posthog-js](https://posthog.com/docs/libraries/js)
([source](https://redirect.github.com/PostHog/posthog-js)) |
dependencies | minor | [`1.283.0` ->
`1.284.0`](https://renovatebot.com/diffs/npm/posthog-js/1.283.0/1.284.0)
| [](https://securityscorecards.dev/viewer/?uri=github.com/PostHog/posthog-js)
|
---
### Release Notes
<details>
<summary>PostHog/posthog-js (posthog-js)</summary>
###
[`v1.284.0`](https://redirect.github.com/PostHog/posthog-js/releases/tag/posthog-js%401.284.0)
[Compare
Source](https://redirect.github.com/PostHog/posthog-js/compare/posthog-js@1.283.0...posthog-js@1.284.0)
#### 1.284.0
##### Minor Changes
-
[#​2529](https://redirect.github.com/PostHog/posthog-js/pull/2529)
[`882d823`](https://redirect.github.com/PostHog/posthog-js/commit/882d823ca7bf9b31aa5bdcb0512d9109096bcba7)
Thanks [@​MattBro](https://redirect.github.com/MattBro)! -
feat(surveys): add URL prefill and auto-submit support
Surveys can now be prefilled and automatically submitted via URL
parameters.
**New configuration options:**
```javascript
posthog.init('token', {
surveys: {
prefillFromUrl: true,
autoSubmitIfComplete: true,
autoSubmitDelay: 800,
},
})
```
**URL format:** `?q0=1&q1=8&auto_submit=true`
- `q{N}` = question index (0-based)
- Value = choice index or rating value
- `auto_submit=true` enables auto-submission
**Supported question types:**
- Single choice (choice index)
- Multiple choice (multiple q{N} params)
- Rating (numeric value, validated against scale)
**Use cases:**
- Pre-filled NPS surveys from email campaigns
- One-click survey responses from notifications
- SMS surveys with embedded feedback
- QR code surveys at events
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At 12:00 AM through 04:59 AM and 10:00
PM through 11:59 PM, Monday through Friday ( * 0-4,22-23 * * 1-5 ), Only
on Sunday and Saturday ( * * * * 0,6 ) (UTC), Automerge - At any time
(no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/settlemint/docs).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNTkuNCIsInVwZGF0ZWRJblZlciI6IjQxLjE1OS40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
<!-- This is an auto-generated description by cubic. -->
---
## Summary by cubic
Upgrade posthog-js from 1.283.0 to 1.284.0. This adds survey URL prefill
and optional auto-submit support; no app code changes required.
<sup>Written for commit ae08603.
Summary will update automatically on new commits.</sup>
<!-- End of auto-generated description by cubic. -->
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>1 parent a2741ee commit 35f67d6
2 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
1765 | 1765 | | |
1766 | 1766 | | |
1767 | 1767 | | |
1768 | | - | |
| 1768 | + | |
1769 | 1769 | | |
1770 | 1770 | | |
1771 | 1771 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
0 commit comments