---
title: "This version introduces event ID returns and updates terminology for event definitions"
canonical: https://www.togohq.ai/changelog/sdk-node/1.2.0
package: "@togohq/sdk-node"
version: "1.2.0"
released: 2026-11-04T06:32:44.072Z
published: 2026-11-05T00:00:00Z
breaking: true
---

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