Extends the sweep beyond packages/ to the whole repo (178 files): workflows,
.eslintrc, playground, examples, tooling, root docs. Zero upstream-brand refs and
zero such filenames outside the exemptions.
REVERTS A LICENSING ERROR (from earlier rebrand e43ab1af, not this sweep):
- LICENSE had its copyright holder rewritten to 'Insights'. Restored to the real
holder: 'Copyright 2020 Posthog / Hiberly, Inc.' (+ Mixpanel, Inc.).
- NOTICE credited a non-existent upstream (github.com/getinsights/insights-js).
Restored to the real one: github.com/PostHog/posthog-js.
Apache-2.0 4(c) requires retaining upstream attribution; rewriting a third
party's copyright line falsifies ownership. Both files are now excluded from the
guard and documented as exempt in LLM.md.
Also:
- Deleted junk: AGENTS.md~upstream_main (merge leftover), the now-obsolete
rebrand script; renamed upload-*-s3.ts tooling (still used by cli.ts).
- Removed 42 stale playground/example pnpm-lock.yaml files: they pinned upstream
packages the package.json no longer references. Regenerated on install —
sed-ing a lockfile would corrupt its integrity hashes.
- Guard renamed no-posthog.yml -> brand-guard.yml and now assembles the pattern
at runtime, so no filename or file content carries the string (the previous
guard was swept by its own rule, inverting it to forbid 'insights').
30 KiB
@insights/next
0.4.73
Patch Changes
- Updated dependencies [
3aff16e]:
0.4.72
Patch Changes
- Updated dependencies [
8fcf40d]:
0.4.71
Patch Changes
- Updated dependencies [
8181354]:
0.4.70
Patch Changes
0.4.69
Patch Changes
- Updated dependencies [
663e250]:
0.4.68
Patch Changes
0.4.67
Patch Changes
0.4.66
Patch Changes
- Updated dependencies [
9cac1f6]:
0.4.65
Patch Changes
- Updated dependencies [
cafa9cc]:
0.4.64
Patch Changes
- Updated dependencies [
5568f12]:
0.4.63
Patch Changes
- Updated dependencies [
5d7a2d3]:
0.4.62
Patch Changes
0.4.61
Patch Changes
0.4.60
Patch Changes
- Updated dependencies [
f42f371]:
0.4.59
Patch Changes
- #3646
4f87827Thanks @marandaneto! - Avoid throwing or initializing InsightsProvider when no API key or client is provided (2026-05-21) - Updated dependencies [
87e2145,4f87827,280832b]:- [email protected].4
- @insights/[email protected]
- @insights/[email protected].7
- [email protected].9
0.4.58
Patch Changes
- Updated dependencies [
12ef3f6]:
0.4.57
Patch Changes
0.4.56
Patch Changes
- Updated dependencies [
e119eec]:
0.4.55
Patch Changes
- Updated dependencies [
df91995]:
0.4.54
Patch Changes
- Updated dependencies [
07a0f5f]:
0.4.53
Patch Changes
0.4.52
Patch Changes
- Updated dependencies [
221973e]:
0.4.51
Patch Changes
- #3549
77ee9dfThanks @brandonhines-mialabs! - Fix@insights/next/pagesdefault export condition to resolve to the client barrel (pages.client.js) instead of the server barrel (pages.js), matching the behavior of the root"."export. This prevents bundlers that don't match a more specific condition from pulling inserver-onlyandinsights-nodeunnecessarily. (2026-05-14)
0.4.50
Patch Changes
- #3608
afb0ae8Thanks @marandaneto! - Fix Next.js pageview tracking to send absolute current URLs (2026-05-13)
0.4.49
Patch Changes
- Updated dependencies [
4b895bf]:
0.4.48
Patch Changes
- #3599
ad60818Thanks @turnipdabeets! - Expose UUID and cookie helpers from@insights/coreandinsights-nodefor users managing distinct_id outside the browser SDK (e.g. Lambda functions handing out cross-domain redirects). The helpers were already implemented in@insights/next— this change lifts them to core so all SDKs can re-use them.@insights/nextnow re-exports the same surface from@insights/coreto keep existing consumers working without churn. Closes #2143. (2026-05-12) - Updated dependencies [
ad60818]:
0.4.47
Patch Changes
- Updated dependencies [
223d925]:
0.4.46
Patch Changes
- Updated dependencies [
7d027bc]:
0.4.45
Patch Changes
0.4.44
Patch Changes
0.4.43
Patch Changes
- #3543
ece3097Thanks @dustinbyrne! - Publish@insights/nextfrom the release workflow so npm catches up with the versions already recorded in the changelog. (2026-05-07)
0.4.42
Patch Changes
-
#3533
eb546b4Thanks @brandonhines-mialabs! - Fix@insights/next/pagespackaging so the documented Pages Router setup builds without aserver-onlyimport error.The
./pagessubpath previously had no per-runtimeexportsconditions, so any module importing from@insights/next/pages(e.g.pages/_app.tsx) transitively pulled in'server-only'andinsights-node. Next.js rejects'server-only'from client modules before tree-shaking can drop the unused re-exports, breakingnext build. The barrel is now split per runtime:browser→./dist/pages.client.js—InsightsProvider,InsightsPageViewedge-light/edge/worker→./dist/pages.edge.js—insightsMiddleware,InsightsPageView,DEFAULT_INGEST_PATHreact-server/default→./dist/pages.js— full surface includinggetServerSideInsightsandgetInsights
Existing imports (
from '@insights/next/pages') keep working unchanged; the resolver picks the right barrel per runtime. (2026-05-06)
0.4.41
Patch Changes
- Updated dependencies [
026e09d]:
0.4.40
Patch Changes
0.4.39
Patch Changes
- Updated dependencies [
8aee3d5]:
0.4.38
Patch Changes
- Updated dependencies [
f8bc02f]:
0.4.37
Patch Changes
0.4.36
Patch Changes
- Updated dependencies [
70ba8f8]:
0.4.35
Patch Changes
- Updated dependencies [
974e4b2]:
0.4.34
Patch Changes
- Updated dependencies [
c726aae]:
0.4.33
Patch Changes
- Updated dependencies [
5a6b2a5]:
0.4.32
Patch Changes
- Updated dependencies [
5b8efc3]:
0.4.31
Patch Changes
- Updated dependencies [
cba2570]:
0.4.30
Patch Changes
- Updated dependencies [
70508df]:
0.4.29
Patch Changes
- Updated dependencies [
eaa1322]:
0.4.28
Patch Changes
- Updated dependencies [
3c4fc1e]:
0.4.27
Patch Changes
- #3428
afc7655Thanks @dustinbyrne! - Fix native ESM module resolution in@insights/nextso it can be imported from Vitest and other Node ESM environments. (2026-04-24) - Updated dependencies [
61cf83e,daf028d]:
0.4.26
Patch Changes
- Updated dependencies [
eadbcd7]:
0.4.25
Patch Changes
- Updated dependencies [
96f19b7]:
0.4.24
Patch Changes
- Updated dependencies [
2da17e8]:
0.4.23
Patch Changes
- Updated dependencies [
1a8b727]:
0.4.22
Patch Changes
- Updated dependencies [
6f19ce8]:
0.4.21
Patch Changes
- Updated dependencies [
922a1c1]:
0.4.20
Patch Changes
- Updated dependencies [
b26c57c]:
0.4.19
Patch Changes
- #3426
1a0b58dThanks @marandaneto! - Trim surrounding whitespace from user-provided API keys, personal API keys, and host config values before using them. (2026-04-21) - Updated dependencies [
1a0b58d]:
0.4.18
Patch Changes
- Updated dependencies [
d61bce1]:
0.4.17
Patch Changes
0.4.16
Patch Changes
- Updated dependencies [
4a65604]:
0.4.15
Patch Changes
0.4.14
Patch Changes
- #3376
e8548a5Thanks @dustinbyrne! - fix: pass bootstrap flags via React context so feature flag hooks return correct values during SSR (2026-04-15)
0.4.13
Patch Changes
0.4.12
Patch Changes
- Updated dependencies [
f1bea33]:
0.4.11
Patch Changes
- Updated dependencies [
d7c71b1]:
0.4.10
Patch Changes
0.4.9
Patch Changes
- Updated dependencies [
353be9a]:
0.4.8
Patch Changes
- Updated dependencies [
575e354]:
0.4.7
Patch Changes
- Updated dependencies [
802bf39]:
0.4.6
Patch Changes
- Updated dependencies [
b599672]:
0.4.5
Patch Changes
- Updated dependencies [
c735b08]:
0.4.4
Patch Changes
- Updated dependencies [
3939856]:
0.4.3
Patch Changes
- Updated dependencies [
dbdddca]:
0.4.2
Patch Changes
- Updated dependencies [
c387f6d]:
0.4.1
Patch Changes
- Updated dependencies [
57ee5b2]:
0.4.0
Minor Changes
- #3302
fc5589fThanks @dmarticus! - preserve $set_once semantics in local flag evaluation cache (2026-04-07)
Patch Changes
- Updated dependencies [
fc5589f]:
0.3.1
Patch Changes
- Updated dependencies [
b25b689]:
0.3.0
Minor Changes
- #3301
bd4b0acThanks @dustinbyrne! - Read Insights tracing headers (X-INSIGHTS-SESSION-ID, X-INSIGHTS-DISTINCT-ID, X-INSIGHTS-WINDOW-ID) in getInsights() and getServerSideInsights() (2026-04-02)
Patch Changes
0.2.19
Patch Changes
- #3309
197eedaThanks @marandaneto! - Extract CLI and sourcemap utilities from @insights/core into @insights/plugin-utils to remove cross-spawn from React Native dependencies (2026-04-01) - Updated dependencies [
197eeda,c5feb5c,7b944fc]:
0.2.18
Patch Changes
- Updated dependencies [
2365df5]:
0.2.17
Patch Changes
- Updated dependencies [
bab5f3a]:
0.2.16
Patch Changes
0.2.15
Patch Changes
- Updated dependencies [
4bdfdbc]:
0.2.14
Patch Changes
0.2.13
Patch Changes
- Updated dependencies [
32edaad]:
0.2.12
Patch Changes
- Updated dependencies [
5784dca]:
0.2.11
Patch Changes
0.2.10
Patch Changes
- Updated dependencies [
664a11b]:
0.2.9
Patch Changes
- Updated dependencies [
42fbd41]:
0.2.8
Patch Changes
0.2.7
Patch Changes
- Updated dependencies [
314120a]:
0.2.6
Patch Changes
0.2.5
Patch Changes
0.2.4
Patch Changes
- Updated dependencies [
c265d62]:
0.2.3
Patch Changes
0.2.2
Patch Changes
0.2.1
Patch Changes
- Updated dependencies [
4009c15]:
0.2.0
Minor Changes
-
#3215
429b389Thanks @dustinbyrne! - feat: renameoptOutByDefaulttoseedAnonymousCookieRenamed to better express what the option does: to control whether the middleware seeds a cookie containing an anonymous identifier on first page load.
Migration: replace
optOutByDefault: truewithseedAnonymousCookie: false. (2026-03-10)
0.1.1
Patch Changes
0.1.0
Minor Changes
- #3122
706adb8Thanks @dustinbyrne! - Initial release of @insights/next, a Insights integration with Next.js (2026-03-06)
Patch Changes
- Updated dependencies [
2b0cd52]: