Skip to content

chore(release): version package - #33

Merged
multiplehats merged 1 commit into
mainfrom
changeset-release/main
Jul 28, 2026
Merged

chore(release): version package#33
multiplehats merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

trakoo@1.0.0

Major Changes

  • Publish provider SDKs as optional peer dependencies and load them only when (107774a)
    their provider initializes. Trakoo no longer auto-installs or bundles unused
    PostHog, OpenPanel, Bento, or EmitKit SDKs.

  • Replace the proxy wire format with version 2. Proxy track events now carry raw (1fceb0b)
    registry input for server-side validation, and server identity must be derived
    with resolveIdentity instead of trusting browser claims.

  • Replace type-asserted event collections with runtime defineEvents() registries based on Standard Schema. Add direct validator interoperability, validator-free typed<T>() events, propertyless events, inferred client/server factories, normalized validation failures, and validated provider outputs. Server track() calls now fail closed with the new invalid_options code when the options argument contains an unrecognized key, and Proxy replay no longer re-runs Standard Schema validators against already-validated client output. This removes the legacy event helper types and client singleton convenience API; see the Standard Schema migration guide. (#32)

Minor Changes

  • Add bounded proxy request parsing, batch limits, authorization and admission (8090859)
    hooks, and typed HTTP errors for malformed or rejected analytics requests.

Patch Changes

  • Initialize each PostHog browser provider with its own named SDK object, (133e341)
    isolating live configuration and identify, capture, and reset method dispatch
    while preserving PostHog's token- and persistence_name-based storage
    semantics.

  • Attribute PostHog server page views to user identity supplied on the current (a5b579b)
    call instead of always recording them as anonymous.

  • Retain proxy events until transport acceptance, serialize concurrent flushes, (e4e4a96)
    bound batch latency from the first event, and await in-flight delivery during
    shutdown.

  • Wait for asynchronous provider initialization before dispatching first-use (9504d75)
    client and server analytics operations, and allow initialization retry after a
    transient failure.

  • Treat regex metacharacters literally in provider event patterns while (5d4af5c)
    preserving * as the only routing wildcard.

  • Stop provider debug logs from serializing configuration, identity, event (b1d124a)
    properties, context, and external SDK error objects.

  • Snapshot browser identity, session, context, and timestamp when track() is (19f1819)
    called so asynchronous initialization or validation cannot reattribute an event.

  • Prevent Bento and EmitKit server providers from retaining one request's user (6772c8f)
    identity for later events. Server events now use only identity supplied on the
    current call.

@vercel

vercel Bot commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
trakoo Ready Ready Preview, Comment Jul 28, 2026 7:30am

@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 3bfc20b to 50eb8a5 Compare July 28, 2026 07:30
@multiplehats
multiplehats merged commit a545009 into main Jul 28, 2026
2 checks passed
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.

1 participant