---
title: "Version 1.2.0 introduces event ID returns and updates email handling rules"
canonical: https://www.togohq.ai/changelog/sdk-browser/1.2.0
package: "@togohq/sdk-browser"
version: "1.2.0"
released: 2026-11-04T06:11:31.111Z
published: 2026-11-05T00:00:00Z
breaking: true
---

# @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.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.
