Skip to content

chore(deps): bump posthog-js from 1.417.1 to 1.422.5 - #1

Draft
posthog[bot] wants to merge 1 commit into
masterfrom
posthog-self-driving/choredeps-bump-posthog-js-from-14171-to-4f7b0b
Draft

chore(deps): bump posthog-js from 1.417.1 to 1.422.5#1
posthog[bot] wants to merge 1 commit into
masterfrom
posthog-self-driving/choredeps-bump-posthog-js-from-14171-to-4f7b0b

Conversation

@posthog

@posthog posthog Bot commented Aug 29, 2026

Copy link
Copy Markdown

Problem

  • The site loads posthog-js from the npm SDK, so the lockfile freezes the version every visitor runs — not the CDN, which used to self-update.
  • Nearly all portfolio web events last week ran posthog-js 1.417.1, five minor versions behind 1.422.5. That share trips PostHog's SDK health check (an outdated version over the traffic threshold).
  • Nothing is broken: events arrive normally and traffic is low. This is preventive maintenance to keep bug fixes, performance work, and new capture features flowing.

Changes

  • Bump the posthog-js pin to ^1.422.5 and refresh package-lock.json.
  • Lockfile now resolves posthog-js to 1.422.5; the only other churn is its PostHog transitive deps (@posthog/core, @posthog/types, @posthog/browser-common).
  • No source change. posthog.init and posthog.capture in src/components/Analytics.astro keep the same API.

Verification

  • npm install — lockfile resolves posthog-js@1.422.5.
  • npm run build — 91 pages built, no errors.
  • make check — all checks passed.
  • npm test — 80 tests passed.

The health issue clears on a later check once 1.417.1 traffic drops below the threshold.


Created with PostHog Desktop from this inbox report.

The site loads posthog-js from the npm SDK, so the lockfile freezes the version that every visitor runs. Move the pin to ^1.422.5 and refresh the lockfile to stay current with bug fixes, performance work, and new capture features.

No code change is needed in src/components/Analytics.astro; posthog.init and posthog.capture keep the same API.

Generated-By: PostHog Desktop
Task-Id: fe5e47cc-60b6-4104-a7f0-8f6f90e98204
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants