> ## Documentation Index
> Fetch the complete documentation index at: https://developer.suki.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# June 2025

> June 2025 release notes for Suki APIs and SDKs

This release adds Bearer token authentication, session context method, and resolves ambient event and ID state issues. It also removes the insert script option from section editing.

## What's new

<span id="bearer-token-and-session-context" />

<Update label="June 2025 - New" description="Bearer token and session context" tags={["New Features"]}>
  ### New features

  <Badge icon="cube" size="sm" color="green">Web SDK v2.0.3</Badge>

  **Bearer token authentication**: We've added support for Bearer token authentication by allowing you to pass `providerId` during SDK initialization.

  <Badge icon="mobile" size="sm" color="purple">iOS SDK v2.2.0</Badge>

  **Session context method**: We've introduced `setSessionContext(with:onCompletion:)` for setting patient, provider context, and LOINC codes after session creation, with improved session workflow and LOINC integration.

  **Why it matters**: Bearer token auth fits common auth flows. Session context lets you set patient and provider data after session creation for more flexible workflows.
</Update>

## What's fixed

<span id="ambient-event-and-id-state-fixed" />

<Update label="June 2025 - Fixed" description="Ambient event and ID state" tags={["Resolved Issues"]}>
  ### Resolved issues

  <Badge icon="cube" size="sm" color="green">Web SDK v2.0.3</Badge>

  **Ambient event and ID state**: We've fixed incorrect `isAmbientInProgress` and `isAmbientPaused` flags in `ambient:update` events and fixed `activeAmbientId` not resetting in the `useSuki` hook after a session is submitted or cancelled.

  **Why it matters**: Ensures your UI reflects the correct ambient state and avoids stale session IDs.
</Update>

## What's removed

<span id="section-editing-removed" />

<Update label="June 2025 - Removed" description="Section editing" tags={["Removed"]}>
  ### Removed

  <Badge icon="cube" size="sm" color="green">Web SDK v2.0.3</Badge>

  **Section editing**: We've removed the insert script option from section editing in the note page.

  **Why it matters**: If you rely on the insert script option, you will need an alternative approach.
</Update>
