Skip to content

Commit 67c0428

Browse files
chore(deps): update dependency posthog-js to v1.311.0 (#1044)
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.310.1` -> `1.311.0`](https://renovatebot.com/diffs/npm/posthog-js/1.310.1/1.311.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.311.0`](https://redirect.github.com/PostHog/posthog-js/releases/tag/posthog-js%401.311.0) [Compare Source](https://redirect.github.com/PostHog/posthog-js/compare/posthog-js@1.310.2...posthog-js@1.311.0) #### 1.311.0 ##### Minor Changes - [#&#8203;2813](https://redirect.github.com/PostHog/posthog-js/pull/2813) [`4b7443c`](https://redirect.github.com/PostHog/posthog-js/commit/4b7443c10e93d4647c84751e07500c416b140457) Thanks [@&#8203;ordehi](https://redirect.github.com/ordehi)! - feat(flags): add updateFlags() method for injecting flags without network request Adds `posthog.updateFlags(flags, payloads?, options?)` to inject feature flag values from an external source (e.g., server-side evaluation, edge middleware) without making a network request. Supports `{ merge: true }` option to merge with existing flags instead of replacing. (2025-12-29) ### [`v1.310.2`](https://redirect.github.com/PostHog/posthog-js/compare/posthog-js@1.310.1...posthog-js@1.310.2) [Compare Source](https://redirect.github.com/PostHog/posthog-js/compare/posthog-js@1.310.1...posthog-js@1.310.2) </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:eyJjcmVhdGVkSW5WZXIiOiI0Mi41OS4wIiwidXBkYXRlZEluVmVyIjoiNDIuNTkuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19--> <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Upgrade posthog-js from 1.310.1 to 1.311.0. This adds the updateFlags() API to inject feature flags without a network request, with an option to merge with existing flags. <sup>Written for commit 599df8e. 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 a4a0b56 commit 67c0428

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

bun.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"mermaid": "11.12.2",
4444
"next": "16.1.1",
4545
"next-validate-link": "1.6.3",
46-
"posthog-js": "1.310.1",
46+
"posthog-js": "1.311.0",
4747
"react": "19.2.3",
4848
"react-dom": "19.2.3",
4949
"react-medium-image-zoom": "5.4.0",

0 commit comments

Comments
 (0)