chore(release): 1.34.0 - #320
Merged
Merged
Conversation
Bumps package.json for the Privy identity clustering release (#304) and regenerates src/version.ts, which had drifted to 1.30.1 because earlier releases did not run the npm version lifecycle. The release workflow refuses to publish unless the tag matches package.json, so both must be correct before tagging. Also ignores .pnpm-store/, the local content-addressable store pnpm creates in the repo root. It was untracked and unignored, which made every `pnpm version` fail with ERR_PNPM_UNCLEAN_WORKING_TREE. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release PR for 1.34.0, covering the Privy identity clustering work merged in #304.
Changes
package.json1.33.1→1.34.0src/version.ts1.30.1→1.34.0(regenerated).gitignore.pnpm-store/src/version.tshad drifted three releases behind. It was still reporting1.30.1while the package shipped1.33.1, because earlier releases did not run the npmversionlifecycle that regenerates it. That value is compiled into the bundle and sent with events, so it has been misreporting the SDK version. Regenerated here..gitignorenow covers.pnpm-store/, the local content-addressable store pnpm creates in the repo root. It was untracked and unignored, so everypnpm versionfailed withERR_PNPM_UNCLEAN_WORKING_TREE.After merging
The release workflow triggers on a
v*tag and hard-fails if the tag does not matchpackage.json, so tag only after this lands on main:git checkout main && git pull git tag v1.34.0 git push origin v1.34.0Then verify:
npm view @formo/analytics versionWhat 1.34.0 contains
identify(user)accepts a Privy user directly and identifies every wallet linked to that user's DID, so a multi-wallet Privy user clusters into one Formo user instead of fragmenting into one per address.Verified end to end against a live Privy app and a real Formo project: one identify per linked wallet sharing the DID and
anonymous_id, attribution pinned to the active wallet, and each social link re-emitting exactly one identify per wallet with the socials landing on all addresses inuser_profiles_mv.Release notes
Two behaviour changes affecting all callers, not just Privy:
identify()whose properties changed re-emits instead of being suppressed for the session. This is what makes account linking propagate. Callers passing a volatile property (a timestamp, a random id) will emit one identify per call rather than one per session. Worth watching identify volume for 24-48h after release.tracking.excludeChainsno longer mutates identity state. Previously it updatedcurrentAddress/currentUserIdand wrote the user-id cookie, then dropped the event and left the wallet dedup-marked, so it never re-emitted after switching to an allowed chain.Verification
749 tests passing; lint,
tsc, and full build clean.package.jsonandsrc/version.tsagree, which is what the workflow checks.🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.