---
title: "Version 1.3.0 introduces session timeout in seconds and fixes session timeout handling"
canonical: https://www.togohq.ai/changelog/sdk-browser/1.3.0
package: "@togohq/sdk-browser"
version: "1.3.0"
released: 2026-11-05T18:27:38.029Z
published: 2026-11-05T00:00:00Z
breaking: true
---

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