Skip to content

Commit 35f67d6

Browse files
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) | [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/PostHog/posthog-js/badge)](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 - [#&#8203;2529](https://redirect.github.com/PostHog/posthog-js/pull/2529) [`882d823`](https://redirect.github.com/PostHog/posthog-js/commit/882d823ca7bf9b31aa5bdcb0512d9109096bcba7) Thanks [@&#8203;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

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

bun.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"gray-matter": "4.0.3",
2828
"lucide-react": "0.552.0",
2929
"next": "15.5.6",
30-
"posthog-js": "1.283.0",
30+
"posthog-js": "1.284.0",
3131
"posthog-node": "5.11.0",
3232
"prettier": "3.6.2",
3333
"react": "19.2.0",
@@ -1765,7 +1765,7 @@
17651765

17661766
"postgres-interval": ["postgres-interval@1.2.0", "", { "dependencies": { "xtend": "^4.0.0" } }, "sha512-9ZhXKM/rw350N1ovuWHbGxnGh/SNJ4cnxHiM0rxE4VN41wsg8P8zWn9hv/buK00RP4WvlOyr/RBDiptyxVbkZQ=="],
17671767

1768-
"posthog-js": ["posthog-js@1.283.0", "", { "dependencies": { "@posthog/core": "1.5.0", "core-js": "^3.38.1", "fflate": "^0.4.8", "preact": "^10.19.3", "web-vitals": "^4.2.4" } }, "sha512-CJJiqK6wPCRTHkmCJ7i8zEDFYded1CURqZ1JSDL4au97TBFX8J50nxw5wI9jHoNlHlkIgfiBPPMDOlBsiIHpMQ=="],
1768+
"posthog-js": ["posthog-js@1.284.0", "", { "dependencies": { "@posthog/core": "1.5.0", "core-js": "^3.38.1", "fflate": "^0.4.8", "preact": "^10.19.3", "web-vitals": "^4.2.4" } }, "sha512-GmycRGKWdTO6gUSMn8qzzoVTryQhxVwjK2y1Mn0eV7kldLS+tZhr/wM+Z8fXBkbrRwWUjofKFgB83gd1WzbJrA=="],
17691769

17701770
"posthog-node": ["posthog-node@5.11.0", "", { "dependencies": { "@posthog/core": "1.5.0" } }, "sha512-9+gmWp/7AEryJMi0+/ywJjKQhpkmcjxf+eT030fTIIPvFTF84zeeagdZBGNC/Nh2Jc0grIAW6O1n5lxXiX3daA=="],
17711771

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"gray-matter": "4.0.3",
4040
"lucide-react": "0.552.0",
4141
"next": "15.5.6",
42-
"posthog-js": "1.283.0",
42+
"posthog-js": "1.284.0",
4343
"posthog-node": "5.11.0",
4444
"prettier": "3.6.2",
4545
"react": "19.2.0",

0 commit comments

Comments
 (0)