---
title: "alloy 0.16.0 Breaking Changes on Hex | Since.dev"
description: "What each alloy release removed, renamed or changed: 8 breaking changes in 1 version on Hex, each with its source."
canonical_url: https://since.dev/packages/hex/alloy
last_updated: 2026-12-04
---

# alloy breaking changes

alloy 0.16.0 (November 27, 2026) is its newest release with breaking changes, 8 of them. The first: Custom providers receive injected :alloy_cancel_token and :reasoning keys in alloy 0.16.0. Every breaking API change we have recorded in alloy on Hex: 8 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.16.0`, released November 27, 2026. MIT license. [Source repository](https://github.com/alloy-ex/alloy)

## alloy 0.16.0 breaking changes

alloy 0.16.0, released November 27, 2026: 8 breaking changes.

- **Behavior changed**  

Custom providers with strict option validators must tolerate unknown :alloy\_\* keys and :reasoning in provider config. [github.com](https://github.com/alloy-ex/alloy/blob/v0.16.0/CHANGELOG.md)
- **Behavior changed** `Alloy.Events.build_correlation_id.1`  

Empty strings and invalid UTF-8 in context request_id or correlation_id now fall back to a generated correlation ID. [github.com](https://github.com/alloy-ex/alloy/blob/v0.16.0/CHANGELOG.md)
- **Behavior changed** `Alloy.Middleware.run_before_tool_call.2`  

Direct callers must handle the new :cancelled return value when the cancel token is cancelled. [github.com](https://github.com/alloy-ex/alloy/blob/v0.16.0/CHANGELOG.md)
- **Behavior changed** `Alloy.Provider.Anthropic`  

reasoning: :off now sends thinking type disabled. reasoning: nil still omits the thinking key. [github.com](https://github.com/alloy-ex/alloy/blob/v0.16.0/CHANGELOG.md)
- **Behavior changed** `Alloy.Provider.OpenAI`  

Conflicting tool-call headers and contradictory completed arguments now fail with a malformed reply error. [github.com](https://github.com/alloy-ex/alloy/blob/v0.16.0/CHANGELOG.md)
- **Behavior changed** `Alloy.Provider.OpenAIStream`  

Negative or malformed tool-call indices and conflicting tool id or name values now fail with a protocol error. Invalid argument JSON now fails with a retryable malformed reply. [github.com](https://github.com/alloy-ex/alloy/blob/v0.16.0/CHANGELOG.md)
- **Behavior changed** `Alloy.Result.status`  

Cancelled runs return {:error, %Alloy.Result{status: :cancelled, error: :cancelled}}. Code with exhaustive status or error-kind matches must handle :cancelled, and error may no longer be a string. [github.com](https://github.com/alloy-ex/alloy/blob/v0.16.0/CHANGELOG.md)
- **Configuration changed** `Alloy.Agent.Config`  

Auth and reasoning options are validated on every primary and fallback provider config. Callback api_key providers now need a non-empty string origin_key, and reasoning must use the portable format. [github.com](https://github.com/alloy-ex/alloy/blob/v0.16.0/CHANGELOG.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
