---
title: "Changelog — page 2"
canonical: https://www-stage.togohq.ai/changelog/page/2
entries: 20
---

# Changelog — page 2

## @togohq/sdk-node 2.1.0 — @togohq/sdk-node 2.1.0

Released November 14, 2026 · Node.js SDK
Permalink: https://www-stage.togohq.ai/changelog/sdk-node/2.1.0

### Breaking

- `email` and `name` are no longer keys of `set` or `setOnce`: pass them as the `email` and `name` parameters. A plain `email` or `name` key in `set` no longer type-checks, and the server drops one as `person_property_reserved`.
- A property key starting with `$` is reserved for Togo. Under a live key the SDK drops it, logs it once and still sends the event; under a test key it is sent, so `verify_tracking` reports `property_reserved` or `person_property_reserved`.

### New

- `init({ onError })` is called once for every event, or part of one, that will not be recorded, and once when the client stops sending. `flush()` waits for it. Pass it to your error tracker. Each error carries a `code`.
- `setPersonProperties({ email, name }, person)` sets a person's email address and name through typed parameters. `null` removes one.

### Fixed

- An empty or over-long event name is dropped on its own, instead of with the whole batch it was in.

### Migration

Pass email and name as parameters of `setPersonProperties()`, not as keys of `set`.

Before:

```ts
setPersonProperties({ set: { email: user.email, name: user.name } }, { userId });
```

After:

```ts
setPersonProperties({ email: user.email, name: user.name }, { userId });
```

The old form stops working in @togohq/sdk-node 2.1.0.

## @togohq/sdk-browser 2.1.0 — @togohq/sdk-browser 2.1.0

Released November 14, 2026 · Browser SDK
Permalink: https://www-stage.togohq.ai/changelog/sdk-browser/2.1.0

### Breaking

- `email` and `name` are no longer keys of `set` or `setOnce`: pass them as the `email` and `name` parameters. A plain `email` or `name` key in `set` no longer type-checks, and the server drops one as `person_property_reserved`.
- A property key starting with `$` is reserved for Togo. Under a live key the SDK drops it, logs it once and still sends the event; under a test key it is sent, so `verify_tracking` reports `property_reserved` or `person_property_reserved`.

### New

- `init({ onError })` is called once for every event, or part of one, that will not be recorded, and once when the client stops sending, in production too. Pass it to your error tracker: `onError: (e) => Sentry.captureMessage(e.message)`. Each error carries a `code`.
- `setPersonProperties({ email, name })` sets a person's email address and name through typed parameters. `null` removes one.

### Fixed

- A `queue_full` caused by one oversized event names that event, instead of reading as being offline.

### Migration

Pass email and name as parameters of `setPersonProperties()`, not as keys of `set`.

Before:

```ts
setPersonProperties({ set: { email: user.email, name: user.name } });
```

After:

```ts
setPersonProperties({ email: user.email, name: user.name });
```

The old form stops working in @togohq/sdk-browser 2.1.0.

## Togo v0.3.4 — Reserved properties: filter by `$os`, `$country` and more; `$email` and `$name` on profiles

Released November 14, 2026 · Dashboard, API, MCP
Permalink: https://www-stage.togohq.ai/changelog/v0.3.4

### Breaking

- A profile write's plain `email` or `name` key is now dropped, and reported as `person_property_reserved`. Set them with the `email` and `name` parameters of `setPersonProperties()` in `@togohq/sdk-browser` and `@togohq/sdk-node` 2.1.0. `get_person` returns them as `$email` and `$name`.

### New

- `get_trend` and `run_funnel` filter and break down by the properties Togo records on every event: `$os`, `$browser`, `$country`, `$path`, `$utm_source` and the rest. `get_event` lists them.
- A property key your app sends that starts with `$` is dropped and reported as `property_reserved`, because `$` names are Togo's.
- The Event registry lists the reserved properties beside the reserved events, and Live View marks a key dropped as reserved.
- Setting Togo up through an agent now wires `onError`, and `verify_tracking` names an event the SDK dropped before sending it.

### Fixed

- `update_event_definitions` reports every problem with a definition at once, including one next to a `$` property.

### Migration

Set email and name through the typed parameters of `setPersonProperties()`.

Before:

```ts
setPersonProperties({ set: { email: user.email, name: user.name } });
```

After:

```ts
setPersonProperties({ email: user.email, name: user.name });
```

The old form stops working in v0.3.4.

## @togohq/sdk-node 2.0.0 — Version 2.0.0 introduces experiment tracking and removes custom session ID support

Released November 12, 2026 · Node.js SDK
Permalink: https://www-stage.togohq.ai/changelog/sdk-node/2.0.0

### Breaking

- Custom session ID support via `init({ sessionId })` and `SessionIdMode 'custom'` is removed.

### New

- `getExperiment()` is now available for experiment tracking, sending `$experiment_entered` events.

### Improved

- The SDK now forwards session IDs from the browser's `getSessionId()` only, without sending `$session_started`.

### Fixed

- The reserved-name log in the Node SDK now correctly follows other drops, and non-string names are logged.

### Migration

Replace custom session ID usage with ordinary event properties.

Before:

```js
init({ sessionId: 'custom-id' });
```

After:

```js
track('event_name', { sessionId: 'custom-id' });
```

The old form stops working in @togohq/sdk-node 2.0.0.

## @togohq/sdk-browser 2.0.0 — Version 2.0.0 introduces breaking changes to session management and experiment tracking

Released November 12, 2026 · Browser SDK
Permalink: https://www-stage.togohq.ai/changelog/sdk-browser/2.0.0

### Breaking

- BREAKING: `init({ sessionId })` and `SessionIdMode 'custom'` options are removed. Session IDs are now managed by the SDK.

### New

- `getExperiment(name)` is introduced to manage experiment assignments, caching results and recording `$experiment_entered` events.
- `$session_started` is now automatically sent by the SDK, marking the start of a session.

### Improved

- The SDK now owns every session ID, automatically generating and managing them internally.

### Fixed

- The reserved-name log now correctly follows other drops, and non-string names are logged and dropped.

### Migration

Remove custom session ID initialization and rely on SDK-managed session IDs.

Before:

```js
init({ sessionId: 'custom-id' });
```

After:

```js
init();
```

The old form stops working in @togohq/sdk-browser 2.0.0.

## Togo v0.2.28 — Improved installation process and feedback options for Togo setup

Released November 6, 2026 · Dashboard, MCP
Permalink: https://www-stage.togohq.ai/changelog/v0.2.28

### New

- Claude Code now allows installation of the Togo plugin directly from the AI agent card and the install screen.

### Improved

- The install screen now correctly names the project it is setting up, preventing the creation of empty projects elsewhere in the organization.
- The install screen now instructs users to sign in through `/mcp` first, ensuring access to Togo tools during installation.
- The `give_feedback` tool now includes options for `install_report` and `feature_request`, allowing users to provide detailed feedback on installation issues and feature wishes.

## @togohq/sdk-node 1.3.1 — Version 1.3.1 corrects the 1.3.0 changelog

Released November 5, 2026 · Node.js SDK
Permalink: https://www-stage.togohq.ai/changelog/sdk-node/1.3.1

### Fixed

- The 1.3.0 entry in this changelog now describes the Node SDK's changes: `withFlush()`, `flushIntervalSeconds` replacing `flushIntervalMs`, the `batchSize` range and the `flush()` retry. It had listed browser-only session changes.

## @togohq/sdk-node 1.3.0 — Version 1.3.0 adds withFlush() for serverless handlers and takes the flush interval in seconds

Released November 5, 2026 · Node.js SDK
Permalink: https://www-stage.togohq.ai/changelog/sdk-node/1.3.0

### Breaking

- `flushIntervalSeconds` (10 to 60, default 10) replaces `flushIntervalMs`. A `flushIntervalMs` passed to `init()` is ignored, with a warning naming the replacement.

### New

- `withFlush(handler)` wraps a serverless handler so the queue is sent after it returns or throws, with its result passed through unchanged.

### Improved

- `batchSize` accepts 100 to 500. A value outside that range is moved into it, with a warning.
- `flush()` retries a network failure or a server error within a 2-second budget before it resolves, and never retries a `429`.

### Migration

Replace `flushIntervalMs` with `flushIntervalSeconds`, and wrap serverless handlers in `withFlush()`.

Before:

```ts
const analytics = init({ writeKey, flushIntervalMs: 10_000 });
```

After:

```ts
const analytics = init({ writeKey, flushIntervalSeconds: 10 });
export const handler = analytics.withFlush(async (event) => {
  analytics.track('order_paid', {}, { userId: event.userId });
});
```

The old form stops working in @togohq/sdk-node 1.3.0.

## @togohq/sdk-browser 1.3.0 — Version 1.3.0 introduces session timeout in seconds and fixes session timeout handling

Released November 5, 2026 · Browser SDK
Permalink: https://www-stage.togohq.ai/changelog/sdk-browser/1.3.0

### Breaking

- BREAKING: `DEFAULT_SESSION_TIMEOUT_MS` is now `DEFAULT_SESSION_TIMEOUT_SECONDS`, and `SESSION_HARD_CAP_MS` is no longer exported.
- BREAKING: `batchSize` and `flushIntervalMs` options are removed; batching is fixed at 50 events or 5 seconds.

### Deprecated

- `sessionTimeoutMs` is deprecated in favor of `sessionTimeoutSeconds` and will be removed in a future version.

### New

- `sessionTimeoutSeconds` is now available to set session idle timeout in seconds, defaulting to 1800.

### Fixed

- A null or NaN session timeout now defaults correctly, preventing sessions from being turned off unintentionally.

### Migration

Update session timeout and batching configurations to use new constants and options.

Before:

```ts
(DEFAULT_SESSION_TIMEOUT_MS, sessionTimeoutMs, batchSize, flushIntervalMs);
```

After:

```ts
(DEFAULT_SESSION_TIMEOUT_SECONDS, sessionTimeoutSeconds);
```

The old form stops working in @togohq/sdk-browser 1.3.0.

## @togohq/sdk-node 1.2.0 — This version introduces event ID returns and updates terminology for event definitions

Released November 4, 2026 · Node.js SDK
Permalink: https://www-stage.togohq.ai/changelog/sdk-node/1.2.0

### Breaking

- Terminology updated: "declare" and "contract" are now "define" and "definition" across the SDK, aligning with internal naming conventions.

### New

- `track()`, `identify()`, and `setPersonProperties()` now return the `eventId` of the event they queued, or `undefined` when no event is sent.

### Migration

Update code to use the new terminology for event definitions.

Before:

```js
declareEvent(); // uses 'declare' terminology
```

After:

```js
defineEvent(); // uses 'define' terminology
```

The old form stops working in @togohq/sdk-node 1.2.0.

## @togohq/sdk-browser 1.2.0 — Version 1.2.0 introduces event ID returns and updates email handling rules

Released November 4, 2026 · Browser SDK
Permalink: https://www-stage.togohq.ai/changelog/sdk-browser/1.2.0

### Breaking

- The governance wire's `declared` and `contractSha256` are now `defined` and `definitionSha256`; `DeclaredEvent` is now `DefinedEvent`.

### New

- `track()`, `identify()`, `setPersonProperties()` now return the `eventId` of the event they queued, or `undefined` when no event is sent.

### Improved

- Session IDs are no longer rejected for resembling emails; diagnostics attach to TEST events only.

### Fixed

- The scenario driver's Intl stub now survives a fake clock by using a regular function instead of an arrow function.

### Migration

Update governance wire and event types to use 'defined' instead of 'declared'.

Before:

```ts
(DeclaredEvent, declared, contractSha256);
```

After:

```ts
(DefinedEvent, defined, definitionSha256);
```

The old form stops working in @togohq/sdk-browser 1.2.0.

## Togo v0.2.19 — Enhancements and fixes in profile key management and feedback reporting

Released November 4, 2026 · API, MCP
Permalink: https://www-stage.togohq.ai/changelog/v0.2.19

### New

- The `list_person_properties` tool now returns dropped profile keys with their diagnostic codes, helping agents identify and fix issues more efficiently.
- The `give_feedback` tool allows agents to report issues directly to the support inbox, with a limit of 20 reports per member per hour.

### Improved

- Profile key drops are now named and recorded, making missing definitions visible in production.

### Fixed

- Clearing an undefined profile key is no longer incorrectly recorded as a drop.
- The `list_person_properties` tool now accurately indicates when the drop list is incomplete, preventing silent errors.

## Togo v0.2.17 — Minimum plugin version updated to 1.1.0 for MCP

Released November 3, 2026 · MCP
Permalink: https://www-stage.togohq.ai/changelog/v0.2.17

### New

- A notice is now displayed for plugins below version 1.1.0 when using the MCP surface. This informs users that they need to update their plugin to the latest version to ensure compatibility.

## Togo v0.2.14 — Changes to event definition terminology and email enforcement

Released November 3, 2026 · Ingestion
Permalink: https://www-stage.togohq.ai/changelog/v0.2.14

### Breaking

- The governance wire's `declared` and `contractSha256` are now `defined` and `definitionSha256`. This affects how controls are read by the CLI and SDKs.

### Improved

- Session IDs that resemble emails are no longer rejected at the edge. Instead, they are flagged in test events for diagnostics.

### Migration

Update code to use 'defined' instead of 'declared' and 'definitionSha256' instead of 'contractSha256'.

Before:

```ts
declared, contractSha256
```

After:

```ts
defined, definitionSha256
```

The old form stops working in v0.2.14.

## Togo v0.2.13 — Event governance terminology updated and PII filter enhancements

Released November 3, 2026 · Dashboard, API, MCP
Permalink: https://www-stage.togohq.ai/changelog/v0.2.13

### Breaking

- The governance wire's `declared` and `contractSha256` are now `defined` and `definitionSha256`. The `@togohq/sdk-browser`'s `DeclaredEvent` type is now `DefinedEvent`. This change affects the governance wire and SDKs.

### New

- The PII filter switch has been added to the Event governance card in the dashboard, allowing projects to opt-in to email-shaped property filtering.

### Improved

- The dashboard now consistently uses the term "event definition" instead of "declaration" or "contract".

### Fixed

- An error message is now displayed when an Event governance switch fails to save, providing better feedback to users.

### Migration

Update governance wire and SDKs to use new terminology.

Before:

```ts
declared, contractSha256, DeclaredEvent
```

After:

```ts
defined, definitionSha256, DefinedEvent
```

The old form stops working in v0.2.13.

## Togo v0.2.10 — Enhancements and fixes for MCP setup and agent connection

Released October 30, 2026 · Dashboard, MCP
Permalink: https://www-stage.togohq.ai/changelog/v0.2.10

### New

- Introduced a setup prompt in MCP for members to start setup manually, ensuring it remains up-to-date without holding tenant data.
- Added new tools for agents setting up Togo, including project creation, key creation per system, and access to Live View.

### Improved

- The `create_project` function now matches project names exactly, aligning with the database's case-sensitive checks.

### Fixed

- Resolved an issue where a signup initiated from an agent's sign-in would not return to the correct approval page after verification.

## @togohq/sdk-browser 1.1.1 — Version 1.1.1 fixes email redaction to use a consistent placeholder

Released October 29, 2026 · Browser SDK
Permalink: https://www-stage.togohq.ai/changelog/sdk-browser/1.1.1

### Fixed

- Email redaction now uses `REDACTED_EMAIL` as the placeholder for email addresses in page fields, ensuring consistency.

## @togohq/sdk-browser 1.1.0 — Version 1.1.0 introduces default properties, timezone, and page context features

Released October 29, 2026 · Browser SDK
Permalink: https://www-stage.togohq.ai/changelog/sdk-browser/1.1.0

### New

- `init({ defaultProperties })` now allows setting default properties that are stamped on every `track()` call. The browser SDK reads the device timezone at initialization, and page context includes URL and path per event, with referrer and UTM parameters captured once at init.

### Fixed

- Email redaction now correctly decodes only `%40` in email addresses from page fields, preventing malformed escape errors and ensuring proper redaction.
- An undefined event value no longer erases a default property, ensuring that undefined values are treated as absent.

## @togohq/sdk-node 1.1.0 — This version introduces default properties and fixes an event value handling issue

Released October 29, 2026 · Node.js SDK
Permalink: https://www-stage.togohq.ai/changelog/sdk-node/1.1.0

### New

- `init({ defaultProperties })` now supports default properties, fixed at initialization and stamped on every `track()` call.

### Fixed

- An undefined event value no longer erases a default property, ensuring consistent property handling.

## Togo v0.2.3 — Introduce per-project rate limiting on event ingestion

Released October 29, 2026 · Ingestion
Permalink: https://www-stage.togohq.ai/changelog/v0.2.3

### New

- Implemented per-project rate limiting on the `/v1/events` endpoint. Requests exceeding the limit receive a `429` status with a `Retry-After` header, which is now exposed to CORS for better handling by browser SDKs.
