---
title: "github.com/anthropics/anthropic-sdk-go (go) | Since.dev"
description: "What each github.com/anthropics/anthropic-sdk-go release removed, renamed or changed: 656 breaking changes in 70 versions on Go modules, each with its source."
canonical_url: https://since.dev/packages/go/github.com/anthropics/anthropic-sdk-go
last_updated: 2026-12-04
---

# github.com/anthropics/anthropic-sdk-go breaking changes

github.com/anthropics/anthropic-sdk-go v2.0.0 (October 21, 2026) is its newest release with breaking changes. The first: Signature changed Messages.New. Every breaking API change we have recorded in github.com/anthropics/anthropic-sdk-go on Go modules: 656 breaking changes in 70 versions. Below, its 70 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `v1.84.0`, released October 20, 2026. [Source repository](https://github.com/anthropics/anthropic-sdk-go)

Packages on Go modules run on Go. [Go end of life dates](https://since.dev/calendar/go.md).

- From [v1.84.0](#v-v1-84-0) to [v2.0.0](#v-v2-0-0): 1 breaking change in 1 version.
- From [v1.2.0](#v-v1-2-0) to [v2.0.0](#v-v2-0-0): 623 breaking changes in 69 versions.

## github.com/anthropics/anthropic-sdk-go v2.0.0 breaking changes

github.com/anthropics/anthropic-sdk-go v2.0.0, released October 21, 2026: 1 breaking change.

- **Signature changed** `Messages.New`  

Code that passes Temperature, TopP and TopK fails once it upgrades to github.com/anthropics/anthropic-sdk-go/v2 v2.0.0 or later. Recommended replacement: Omit and use prompting to guide model behavior. [platform.claude.com](https://platform.claude.com/docs/en/api/migration-2026-10-21)

## github.com/anthropics/anthropic-sdk-go v1.84.0 breaking changes

github.com/anthropics/anthropic-sdk-go v1.84.0, released October 20, 2026: 1 breaking change.

- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaWebhookEventDataUnion.JSON`  

Was JSON struct {ID respjson.Field OrganizationID respjson.Field Type respjson.Field WorkspaceID respjson.Field SessionThreadID respjson.Field VaultID respjson.Field raw string}; now JSON struct {ID respjson.Field OrganizationID... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.84.0)

## github.com/anthropics/anthropic-sdk-go v1.83.0 breaking changes

github.com/anthropics/anthropic-sdk-go v1.83.0, released October 20, 2026: 13 breaking changes.

- **Signature changed** `client.Beta.Organization.Analytics.CostReport.List`  

The List method's return page type changed from pagination.PageCursor to pagination.ReportPageCursor. Update code that declares or uses the old return type. [github.com](https://github.com/anthropics/anthropic-sdk-go/blob/v1.83.0/api.md)
- **Signature changed** `client.Beta.Organization.Analytics.UsageReport.List`  

The List method's return page type changed from pagination.PageCursor to pagination.ReportPageCursor. Update code that declares or uses the old return type. [github.com](https://github.com/anthropics/anthropic-sdk-go/blob/v1.83.0/api.md)
- **Signature changed** `client.Beta.Organization.Analytics.UserCostReport.List`  

The List method's return page type changed from pagination.PageCursor to pagination.ReportPageCursor. Update code that declares or uses the old return type. [github.com](https://github.com/anthropics/anthropic-sdk-go/blob/v1.83.0/api.md)
- **Signature changed** `client.Beta.Organization.Analytics.UserUsageReport.List`  

The List method's return page type changed from pagination.PageCursor to pagination.ReportPageCursor. Update code that declares or uses the old return type. [github.com](https://github.com/anthropics/anthropic-sdk-go/blob/v1.83.0/api.md)
- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaOrganizationAnalyticsCostReportService.List`  

Was func List(context.Context, BetaOrganizationAnalyticsCostReportListParams, ...option.RequestOption) (\*pagination.PageCursor\[BetaAnalyticsCostReportTimeBucket\], error); now func List(context.Context... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.83.0)
- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaOrganizationAnalyticsCostReportService.ListAutoPaging`  

Was func ListAutoPaging(context.Context, BetaOrganizationAnalyticsCostReportListParams, ...option.RequestOption) \*pagination.PageCursorAutoPager\[BetaAnalyticsCostReportTimeBucket\]; now func ListAutoPaging(context.Context... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.83.0)
- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaOrganizationAnalyticsUsageReportService.List`  

Was func List(context.Context, BetaOrganizationAnalyticsUsageReportListParams, ...option.RequestOption) (\*pagination.PageCursor\[BetaAnalyticsUsageReportTimeBucket\], error); now func List(context.Context... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.83.0)
- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaOrganizationAnalyticsUsageReportService.ListAutoPaging`  

Was func ListAutoPaging(context.Context, BetaOrganizationAnalyticsUsageReportListParams, ...option.RequestOption) \*pagination.PageCursorAutoPager\[BetaAnalyticsUsageReportTimeBucket\]; now func ListAutoPaging(context.Context... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.83.0)
- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaOrganizationAnalyticsUserCostReportService.List`  

Was func List(context.Context, BetaOrganizationAnalyticsUserCostReportListParams, ...option.RequestOption) (\*pagination.PageCursor\[BetaAnalyticsCostUsersItem\], error); now func List(context.Context... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.83.0)
- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaOrganizationAnalyticsUserCostReportService.ListAutoPaging`  

Was func ListAutoPaging(context.Context, BetaOrganizationAnalyticsUserCostReportListParams, ...option.RequestOption) \*pagination.PageCursorAutoPager\[BetaAnalyticsCostUsersItem\]; now func ListAutoPaging(context.Context... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.83.0)

And 3 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## github.com/anthropics/anthropic-sdk-go v1.82.0 breaking changes

github.com/anthropics/anthropic-sdk-go v1.82.0, released October 15, 2026: 3 breaking changes.

- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaThinkingTypes.JSON`  

Was JSON struct {Adaptive respjson.Field Disabled respjson.Field Enabled respjson.Field ExtraFields map\[string\]respjson.Field raw string}; now JSON struct {Adaptive respjson.Field BetweenTools respjson.Field Disabled respjson.Field Enabled... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.82.0)
- **Signature changed** `github.com/anthropics/anthropic-sdk-go.ThinkingTypes.JSON`  

Was JSON struct {Adaptive respjson.Field Disabled respjson.Field Enabled respjson.Field ExtraFields map\[string\]respjson.Field raw string}; now JSON struct {Adaptive respjson.Field BetweenTools respjson.Field Disabled respjson.Field Enabled... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.82.0)
- **Signature changed** `github.com/anthropics/anthropic-sdk-go.Usage.JSON`  

Was JSON struct {CacheCreation respjson.Field CacheCreationInputTokens respjson.Field CacheReadInputTokens respjson.Field InferenceGeo respjson.Field InputTokens respjson.Field OutputTokens respjson.Field OutputTokensDetails respjson.Field... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.82.0)

## github.com/anthropics/anthropic-sdk-go v1.81.0 breaking changes

github.com/anthropics/anthropic-sdk-go v1.81.0, released October 14, 2026: 6 breaking changes.

- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaManagedAgentsAgent.JSON`  

Was JSON struct {ID respjson.Field ArchivedAt respjson.Field CreatedAt respjson.Field Description respjson.Field MCPServers respjson.Field Metadata respjson.Field Model respjson.Field Multiagent respjson.Field Name respjson.Field Skills... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.81.0)
- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaManagedAgentsInlineAgent.JSON`  

Was JSON struct {Description respjson.Field MCPServers respjson.Field Model respjson.Field Name respjson.Field Skills respjson.Field System respjson.Field Tools respjson.Field Type respjson.Field ExtraFields map\[string\]respjson.Field raw... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.81.0)
- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaManagedAgentsSessionAgent.JSON`  

Was JSON struct {ID respjson.Field Description respjson.Field MCPServers respjson.Field Model respjson.Field Multiagent respjson.Field Name respjson.Field Skills respjson.Field System respjson.Field Tools respjson.Field Type respjson.Field... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.81.0)
- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaManagedAgentsSessionMultiagentCoordinatorAgentUnion.JSON`  

Was JSON struct {ID respjson.Field Description respjson.Field MCPServers respjson.Field Model respjson.Field Name respjson.Field Skills respjson.Field System respjson.Field Tools respjson.Field Type respjson.Field Version respjson.Field... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.81.0)
- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaManagedAgentsSessionThreadAgent.JSON`  

Was JSON struct {ID respjson.Field Description respjson.Field MCPServers respjson.Field Model respjson.Field Name respjson.Field Skills respjson.Field System respjson.Field Tools respjson.Field Type respjson.Field Version respjson.Field... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.81.0)
- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaManagedAgentsSessionThreadAgentUnion.JSON`  

Was JSON struct {ID respjson.Field Description respjson.Field MCPServers respjson.Field Model respjson.Field Name respjson.Field Skills respjson.Field System respjson.Field Tools respjson.Field Type respjson.Field Version respjson.Field... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.81.0)

## github.com/anthropics/anthropic-sdk-go v1.80.0 breaking changes

github.com/anthropics/anthropic-sdk-go v1.80.0, released October 9, 2026: 29 breaking changes.

- **Removed** `github.com/anthropics/anthropic-sdk-go.BetaManagedAgentsMultiagent`  

github.com/anthropics/anthropic-sdk-go.BetaManagedAgentsMultiagent was removed in github.com/anthropics/anthropic-sdk-go v1.80.0 [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.80.0)
- **Removed** `github.com/anthropics/anthropic-sdk-go.BetaManagedAgentsMultiagentAgentUnion`  

github.com/anthropics/anthropic-sdk-go.BetaManagedAgentsMultiagentAgentUnion was removed in github.com/anthropics/anthropic-sdk-go v1.80.0 [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.80.0)
- **Removed** `github.com/anthropics/anthropic-sdk-go.BetaManagedAgentsMultiagentParams`  

github.com/anthropics/anthropic-sdk-go.BetaManagedAgentsMultiagentParams was removed in github.com/anthropics/anthropic-sdk-go v1.80.0 [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.80.0)
- **Removed** `github.com/anthropics/anthropic-sdk-go.BetaManagedAgentsMultiagentParamsType`  

github.com/anthropics/anthropic-sdk-go.BetaManagedAgentsMultiagentParamsType was removed in github.com/anthropics/anthropic-sdk-go v1.80.0 [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.80.0)
- **Removed** `github.com/anthropics/anthropic-sdk-go.BetaManagedAgentsMultiagentParamsTypeCoordinator`  

github.com/anthropics/anthropic-sdk-go.BetaManagedAgentsMultiagentParamsTypeCoordinator was removed in github.com/anthropics/anthropic-sdk-go v1.80.0 [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.80.0)
- **Removed** `github.com/anthropics/anthropic-sdk-go.BetaManagedAgentsMultiagentType`  

github.com/anthropics/anthropic-sdk-go.BetaManagedAgentsMultiagentType was removed in github.com/anthropics/anthropic-sdk-go v1.80.0 [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.80.0)
- **Removed** `github.com/anthropics/anthropic-sdk-go.BetaManagedAgentsMultiagentTypeCoordinator`  

github.com/anthropics/anthropic-sdk-go.BetaManagedAgentsMultiagentTypeCoordinator was removed in github.com/anthropics/anthropic-sdk-go v1.80.0 [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.80.0)
- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaAgentNewParams.Multiagent`  

Was Multiagent BetaManagedAgentsMultiagentParams; now Multiagent BetaManagedAgentsMultiagentParamsUnion. [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.80.0)
- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaAgentUpdateParams.Multiagent`  

Was Multiagent BetaManagedAgentsMultiagentParams; now Multiagent BetaManagedAgentsMultiagentParamsUnion. [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.80.0)
- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaAnalyticsConnectorActivity.JSON`  

Was JSON struct {ChatMetrics respjson.Field ClaudeCodeMetrics respjson.Field ConnectorName respjson.Field CoworkMetrics respjson.Field DistinctUserCount respjson.Field OfficeMetrics respjson.Field ConnectorDisplayName respjson.Field... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.80.0)

And 19 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Older versions

64 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### github.com/anthropics/anthropic-sdk-go v1.79.0 breaking changes

github.com/anthropics/anthropic-sdk-go v1.79.0, released October 7, 2026: 14 breaking changes.

- **Renamed** `client.Beta.Messages.Batches.Results`  

client.Beta.Messages.Batches.Results was replaced by ResultsStreaming, which returns a JSONL stream. Update callers to use the new name and streaming return type. [github.com](https://github.com/anthropics/anthropic-sdk-go/blob/v1.78.0/api.md)
- **Renamed** `client.Beta.Sessions.Events.Stream`  

client.Beta.Sessions.Events.Stream was renamed to StreamEvents, which returns an SSE stream. Update callers to the new name. [github.com](https://github.com/anthropics/anthropic-sdk-go/blob/v1.79.0/api.md)

And 12 more in this version.

### github.com/anthropics/anthropic-sdk-go v1.78.0 breaking changes

github.com/anthropics/anthropic-sdk-go v1.78.0, released September 30, 2026: 1 breaking change.

- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaSpendLimit.JSON`  

Was JSON struct {ID respjson.Field Amount respjson.Field CreatedAt respjson.Field Currency respjson.Field Period respjson.Field Scope respjson.Field Type respjson.Field UpdatedAt respjson.Field ExtraFields map\[string\]respjson.Field raw... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.78.0)

### github.com/anthropics/anthropic-sdk-go v1.77.0 breaking changes

github.com/anthropics/anthropic-sdk-go v1.77.0, released September 30, 2026: 7 breaking changes.

- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaManagedAgentsMemoryStore.JSON`  

Was JSON struct {ID respjson.Field CreatedAt respjson.Field Name respjson.Field Type respjson.Field UpdatedAt respjson.Field ArchivedAt respjson.Field Description respjson.Field Metadata respjson.Field ExtraFields map\[string\]respjson.Field... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.77.0)
- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaManagedAgentsSessionErrorEventErrorUnion.JSON`  

Was JSON struct {Message respjson.Field RetryStatus respjson.Field Type respjson.Field MCPServerName respjson.Field CredentialID respjson.Field VaultID respjson.Field raw string}; now JSON struct {Message respjson.Field RetryStatus... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.77.0)

And 5 more in this version.

### github.com/anthropics/anthropic-sdk-go v1.76.0 breaking changes

github.com/anthropics/anthropic-sdk-go v1.76.0, released September 28, 2026: 5 breaking changes.

- **Removed** `github.com/anthropics/anthropic-sdk-go.BetaDiagnosticsCacheMissReasonUnion`  

github.com/anthropics/anthropic-sdk-go.BetaDiagnosticsCacheMissReasonUnion was removed in github.com/anthropics/anthropic-sdk-go v1.76.0 [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.76.0)
- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaDiagnostics.CacheMissReason`  

Was CacheMissReason BetaDiagnosticsCacheMissReasonUnion; now CacheMissReason BetaCacheMissReasonUnion. [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.76.0)

And 3 more in this version.

### github.com/anthropics/anthropic-sdk-go v1.75.0 breaking changes

github.com/anthropics/anthropic-sdk-go v1.75.0, released September 22, 2026: 17 breaking changes.

- **Removed** `github.com/anthropics/anthropic-sdk-go.BetaManagedAgentsAgentMCPToolUseEventEvaluatedPermission`  

github.com/anthropics/anthropic-sdk-go.BetaManagedAgentsAgentMCPToolUseEventEvaluatedPermission was removed in github.com/anthropics/anthropic-sdk-go v1.75.0 [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.75.0)
- **Removed** `github.com/anthropics/anthropic-sdk-go.BetaManagedAgentsAgentMCPToolUseEventEvaluatedPermissionAllow`  

github.com/anthropics/anthropic-sdk-go.BetaManagedAgentsAgentMCPToolUseEventEvaluatedPermissionAllow was removed in github.com/anthropics/anthropic-sdk-go v1.75.0 [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.75.0)

And 15 more in this version.

### github.com/anthropics/anthropic-sdk-go v1.74.0 breaking changes

github.com/anthropics/anthropic-sdk-go v1.74.0, released September 18, 2026: 2 breaking changes.

- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaOrganizationRateLimit.JSON`  

Was JSON struct {ID respjson.Field GroupType respjson.Field Limits respjson.Field Models respjson.Field Type respjson.Field ExtraFields map\[string\]respjson.Field raw string}; now JSON struct {ID respjson.Field Group respjson.Field... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.74.0)
- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaWorkspaceRateLimit.JSON`  

Was JSON struct {GroupType respjson.Field Limits respjson.Field Models respjson.Field RateLimitID respjson.Field Type respjson.Field WorkspaceID respjson.Field ExtraFields map\[string\]respjson.Field raw string}; now JSON struct {Group... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.74.0)

### github.com/anthropics/anthropic-sdk-go v1.73.0 breaking changes

github.com/anthropics/anthropic-sdk-go v1.73.0, released September 15, 2026: 9 breaking changes.

- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaCompactionBlock.JSON`  

Was JSON struct {Content respjson.Field EncryptedContent respjson.Field Type respjson.Field ExtraFields map\[string\]respjson.Field raw string}; now JSON struct {Content respjson.Field EncryptedContent respjson.Field Type respjson.Field... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.73.0)
- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaDataResidency.DefaultInferenceGeo`  

Was DefaultInferenceGeo string; now DefaultInferenceGeo BetaDataResidencyDefaultInferenceGeo. [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.73.0)

And 7 more in this version.

### github.com/anthropics/anthropic-sdk-go v1.72.0 breaking changes

github.com/anthropics/anthropic-sdk-go v1.72.0, released September 10, 2026: 6 breaking changes.

- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaManagedAgentsAgentMCPToolUseEvent.JSON`  

Was JSON struct {ID respjson.Field Input respjson.Field MCPServerName respjson.Field Name respjson.Field ProcessedAt respjson.Field Type respjson.Field EvaluatedPermission respjson.Field SessionThreadID respjson.Field ExtraFields... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.72.0)
- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaManagedAgentsAgentToolUseEvent.JSON`  

Was JSON struct {ID respjson.Field Input respjson.Field Name respjson.Field ProcessedAt respjson.Field Type respjson.Field EvaluatedPermission respjson.Field SessionThreadID respjson.Field ExtraFields map\[string\]respjson.Field raw string}... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.72.0)

And 4 more in this version.

### github.com/anthropics/anthropic-sdk-go v1.71.0 breaking changes

github.com/anthropics/anthropic-sdk-go v1.71.0, released September 4, 2026: 2 breaking changes.

- **Renamed** `github.com/anthropics/anthropic-sdk-go.BetaOrganizationComplianceSettingUpdateParamsStateUnion`  

Use github.com/anthropics/anthropic-sdk-go.BetaComplianceSettingsStateParamUnion instead. [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.71.0)
- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaOrganizationComplianceSettingUpdateParams.State`  

Was State BetaOrganizationComplianceSettingUpdateParamsStateUnion; now State BetaComplianceSettingsStateParamUnion. [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.71.0)

### github.com/anthropics/anthropic-sdk-go v1.70.0 breaking changes

github.com/anthropics/anthropic-sdk-go v1.70.0, released September 3, 2026: 15 breaking changes.

- **Signature changed** `client.Files.Delete`  

Delete now requires a FileDeleteParams argument after fileID. Callers must pass that argument. [github.com](https://github.com/anthropics/anthropic-sdk-go/blob/v1.70.0/api.md)
- **Signature changed** `client.Messages.Batches.Delete`  

Delete now requires a MessageBatchDeleteParams argument after messageBatchID. Callers must pass that argument. [github.com](https://github.com/anthropics/anthropic-sdk-go/blob/v1.70.0/api.md)

And 13 more in this version.

### github.com/anthropics/anthropic-sdk-go v1.69.0 breaking changes

github.com/anthropics/anthropic-sdk-go v1.69.0, released September 1, 2026: 23 breaking changes.

- **Removed** `github.com/anthropics/anthropic-sdk-go.BetaBrowserToolset20260801Param.AllowedCallers`  

github.com/anthropics/anthropic-sdk-go.BetaBrowserToolset20260801Param.AllowedCallers was removed in github.com/anthropics/anthropic-sdk-go v1.69.0 [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.69.0)
- **Removed** `github.com/anthropics/anthropic-sdk-go.BetaComputerToolset20260801Param.AllowedCallers`  

github.com/anthropics/anthropic-sdk-go.BetaComputerToolset20260801Param.AllowedCallers was removed in github.com/anthropics/anthropic-sdk-go v1.69.0 [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.69.0)

And 21 more in this version.

### github.com/anthropics/anthropic-sdk-go v1.68.0 breaking changes

github.com/anthropics/anthropic-sdk-go v1.68.0, released August 27, 2026: 32 breaking changes.

- **Removed** `github.com/anthropics/anthropic-sdk-go.BetaFileListParams.AfterID`  

github.com/anthropics/anthropic-sdk-go.BetaFileListParams.AfterID was removed in github.com/anthropics/anthropic-sdk-go v1.68.0 [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.68.0)
- **Removed** `github.com/anthropics/anthropic-sdk-go.BetaFileListParams.BeforeID`  

github.com/anthropics/anthropic-sdk-go.BetaFileListParams.BeforeID was removed in github.com/anthropics/anthropic-sdk-go v1.68.0 [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.68.0)

And 30 more in this version.

### github.com/anthropics/anthropic-sdk-go v1.67.0 breaking changes

github.com/anthropics/anthropic-sdk-go v1.67.0, released August 26, 2026: 2 breaking changes.

- **Removed** `github.com/anthropics/anthropic-sdk-go.BetaTunnelCertificateNewParams.CaCertificatePem`  

github.com/anthropics/anthropic-sdk-go.BetaTunnelCertificateNewParams.CaCertificatePem was removed in github.com/anthropics/anthropic-sdk-go v1.67.0 [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.67.0)
- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaCurrencyUsd`  

Was const BetaCurrencyUsd BetaCurrency; now const BetaCurrencyUsd. [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.67.0)

### github.com/anthropics/anthropic-sdk-go v1.66.0 breaking changes

github.com/anthropics/anthropic-sdk-go v1.66.0, released August 19, 2026: 27 breaking changes.

- **Removed** `github.com/anthropics/anthropic-sdk-go.BetaManagedAgentsAgentToolConfig`  

github.com/anthropics/anthropic-sdk-go.BetaManagedAgentsAgentToolConfig was removed in github.com/anthropics/anthropic-sdk-go v1.66.0 [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.66.0)
- **Removed** `github.com/anthropics/anthropic-sdk-go.BetaManagedAgentsAgentToolConfigName`  

github.com/anthropics/anthropic-sdk-go.BetaManagedAgentsAgentToolConfigName was removed in github.com/anthropics/anthropic-sdk-go v1.66.0 [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.66.0)

And 25 more in this version.

### github.com/anthropics/anthropic-sdk-go v1.65.0 breaking changes

github.com/anthropics/anthropic-sdk-go v1.65.0, released August 19, 2026: 21 breaking changes.

- **Removed** `github.com/anthropics/anthropic-sdk-go.FileMetadata.Scope`  

github.com/anthropics/anthropic-sdk-go.FileMetadata.Scope was removed in github.com/anthropics/anthropic-sdk-go v1.65.0 [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.65.0)
- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaContentBlockUnion.JSON`  

Was JSON struct {Citations respjson.Field Text respjson.Field Type respjson.Field Signature respjson.Field Thinking respjson.Field Data respjson.Field ID respjson.Field Input respjson.Field Name respjson.Field Caller respjson.Field Content... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.65.0)

And 19 more in this version.

### github.com/anthropics/anthropic-sdk-go v1.64.0 breaking changes

github.com/anthropics/anthropic-sdk-go v1.64.0, released August 19, 2026: 10 breaking changes.

- **Removed** `github.com/anthropics/anthropic-sdk-go.BetaContentBlockParamUnion.OfMidConvSystem`  

github.com/anthropics/anthropic-sdk-go.BetaContentBlockParamUnion.OfMidConvSystem was removed in github.com/anthropics/anthropic-sdk-go v1.64.0 [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.64.0)
- **Removed** `github.com/anthropics/anthropic-sdk-go.BetaMidConversationSystemBlockParam`  

github.com/anthropics/anthropic-sdk-go.BetaMidConversationSystemBlockParam was removed in github.com/anthropics/anthropic-sdk-go v1.64.0 [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.64.0)

And 8 more in this version.

### github.com/anthropics/anthropic-sdk-go v1.63.0 breaking changes

github.com/anthropics/anthropic-sdk-go v1.63.0, released August 11, 2026: 1 breaking change.

- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaDream.JSON`  

Was JSON struct {ID respjson.Field ArchivedAt respjson.Field CreatedAt respjson.Field EndedAt respjson.Field Error respjson.Field Inputs respjson.Field Instructions respjson.Field Model respjson.Field Outputs respjson.Field SessionID... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.63.0)

### github.com/anthropics/anthropic-sdk-go v1.62.0 breaking changes

github.com/anthropics/anthropic-sdk-go v1.62.0, released August 6, 2026: 24 breaking changes.

- **Removed** `github.com/anthropics/anthropic-sdk-go.BetaManagedAgentsSessionEventUnionContent.OfBetaManagedAgentsTextBlockArray`  

github.com/anthropics/anthropic-sdk-go.BetaManagedAgentsSessionEventUnionContent.OfBetaManagedAgentsTextBlockArray was removed in github.com/anthropics/anthropic-sdk-go v1.62.0 [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.62.0)
- **Removed** `github.com/anthropics/anthropic-sdk-go.BetaManagedAgentsStreamSessionEventsUnionContent.OfBetaManagedAgentsTextBlockArray`  

github.com/anthropics/anthropic-sdk-go.BetaManagedAgentsStreamSessionEventsUnionContent.OfBetaManagedAgentsTextBlockArray was removed in github.com/anthropics/anthropic-sdk-go v1.62.0 [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.62.0)

And 22 more in this version.

### github.com/anthropics/anthropic-sdk-go v1.61.0 breaking changes

github.com/anthropics/anthropic-sdk-go v1.61.0, released July 24, 2026: 10 breaking changes.

- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaMessageBatchNewParamsRequestParams.FallbackCreditToken`  

Was FallbackCreditToken param.Opt\[string\]; now FallbackCreditToken BetaMessageBatchNewParamsRequestParamsFallbackCreditTokenUnion. [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.61.0)
- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaMessageBatchNewParamsRequestParams.Fallbacks`  

Was Fallbacks \[\]BetaFallbackParam; now Fallbacks BetaFallbacksParamUnion. [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.61.0)

And 8 more in this version.

### github.com/anthropics/anthropic-sdk-go v1.59.0 breaking changes

github.com/anthropics/anthropic-sdk-go v1.59.0, released July 22, 2026: 4 breaking changes.

- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaAgentUpdateParams.Version`  

Was Version int64; now Version param.Opt\[int64\]. [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.59.0)
- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaEnvironmentDeleteResponse.Type`  

Was Type constant.EnvironmentDeleted; now Type BetaEnvironmentDeleteResponseType. [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.59.0)

And 2 more in this version.

### github.com/anthropics/anthropic-sdk-go v1.56.0 breaking changes

github.com/anthropics/anthropic-sdk-go v1.56.0, released July 2, 2026: 5 breaking changes.

- **Removed** `github.com/anthropics/anthropic-sdk-go.BetaMemoryStoreMemoryListParams.Order`  

github.com/anthropics/anthropic-sdk-go.BetaMemoryStoreMemoryListParams.Order was removed in github.com/anthropics/anthropic-sdk-go v1.56.0 [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.56.0)
- **Removed** `github.com/anthropics/anthropic-sdk-go.BetaMemoryStoreMemoryListParams.OrderBy`  

github.com/anthropics/anthropic-sdk-go.BetaMemoryStoreMemoryListParams.OrderBy was removed in github.com/anthropics/anthropic-sdk-go v1.56.0 [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.56.0)

And 3 more in this version.

### github.com/anthropics/anthropic-sdk-go v1.55.1 breaking changes

github.com/anthropics/anthropic-sdk-go v1.55.1, released July 1, 2026: 27 breaking changes.

- **Removed** `github.com/anthropics/anthropic-sdk-go.BetaFallbackRefusalTriggerCategoryMilitaryWeapons`  

github.com/anthropics/anthropic-sdk-go.BetaFallbackRefusalTriggerCategoryMilitaryWeapons was removed in github.com/anthropics/anthropic-sdk-go v1.55.1 [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.55.1)
- **Removed** `github.com/anthropics/anthropic-sdk-go.BetaRefusalStopDetailsCategoryMilitaryWeapons`  

github.com/anthropics/anthropic-sdk-go.BetaRefusalStopDetailsCategoryMilitaryWeapons was removed in github.com/anthropics/anthropic-sdk-go v1.55.1 [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.55.1)

And 25 more in this version.

### github.com/anthropics/anthropic-sdk-go v1.55.0 breaking changes

github.com/anthropics/anthropic-sdk-go v1.55.0, released June 30, 2026: 6 breaking changes.

- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaManagedAgentsCredentialAuthUnion.JSON`  

Was JSON struct {MCPServerURL respjson.Field Type respjson.Field ExpiresAt respjson.Field Refresh respjson.Field Networking respjson.Field SecretName respjson.Field raw string}; now JSON struct {MCPServerURL respjson.Field Type... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.55.0)
- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaManagedAgentsEnvironmentVariableAuthResponse.JSON`  

Was JSON struct {Networking respjson.Field SecretName respjson.Field Type respjson.Field ExtraFields map\[string\]respjson.Field raw string}; now JSON struct {InjectionLocation respjson.Field Networking respjson.Field SecretName... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.55.0)

And 4 more in this version.

### github.com/anthropics/anthropic-sdk-go v1.52.0 breaking changes

github.com/anthropics/anthropic-sdk-go v1.52.0, released June 24, 2026: 1 breaking change.

- **Removed** `github.com/anthropics/anthropic-sdk-go.BetaMessageBatchNewParamsRequestParams.UserProfileID`  

github.com/anthropics/anthropic-sdk-go.BetaMessageBatchNewParamsRequestParams.UserProfileID was removed in github.com/anthropics/anthropic-sdk-go v1.52.0 [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.52.0)

### github.com/anthropics/anthropic-sdk-go v1.51.0 breaking changes

github.com/anthropics/anthropic-sdk-go v1.51.0, released June 18, 2026: 3 breaking changes.

- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaContentBlockUnion.JSON`  

Was JSON struct {Citations respjson.Field Text respjson.Field Type respjson.Field Signature respjson.Field Thinking respjson.Field Data respjson.Field ID respjson.Field Input respjson.Field Name respjson.Field Caller respjson.Field Content... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.51.0)
- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaFallbackBlock.JSON`  

Was JSON struct {From respjson.Field To respjson.Field Type respjson.Field ExtraFields map\[string\]respjson.Field raw string}; now JSON struct {From respjson.Field To respjson.Field Trigger respjson.Field Type respjson.Field ExtraFields... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.51.0)

And 1 more in this version.

### github.com/anthropics/anthropic-sdk-go v1.50.2 breaking changes

github.com/anthropics/anthropic-sdk-go v1.50.2, released June 15, 2026: 5 breaking changes.

- **Removed** `github.com/anthropics/anthropic-sdk-go.ModelClaude_3_Haiku_20240307`  

github.com/anthropics/anthropic-sdk-go.ModelClaude_3_Haiku_20240307 was removed in github.com/anthropics/anthropic-sdk-go v1.50.2 [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.50.2)
- **Removed** `github.com/anthropics/anthropic-sdk-go.ModelClaudeOpus4_0`  

github.com/anthropics/anthropic-sdk-go.ModelClaudeOpus4_0 was removed in github.com/anthropics/anthropic-sdk-go v1.50.2 [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.50.2)

And 3 more in this version.

### github.com/anthropics/anthropic-sdk-go v1.50.0 breaking changes

github.com/anthropics/anthropic-sdk-go v1.50.0, released June 9, 2026: 11 breaking changes.

- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaManagedAgentsCredentialAuthUnion.JSON`  

Was JSON struct {MCPServerURL respjson.Field Type respjson.Field ExpiresAt respjson.Field Refresh respjson.Field raw string}; now JSON struct {MCPServerURL respjson.Field Type respjson.Field ExpiresAt respjson.Field Refresh respjson.Field... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.50.0)
- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaManagedAgentsSendSessionEventsDataUnionContent.JSON`  

Was JSON struct {OfBetaManagedAgentsUserMessageEventContentArray respjson.Field OfBetaManagedAgentsUserCustomToolResultEventContentArray respjson.Field OfBetaManagedAgentsUserToolResultEventContentArray respjson.Field raw string}; now JSON... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.50.0)

And 9 more in this version.

### github.com/anthropics/anthropic-sdk-go v1.49.0 breaking changes

github.com/anthropics/anthropic-sdk-go v1.49.0, released June 9, 2026: 7 breaking changes.

- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaContentBlockUnion.JSON`  

Was JSON struct {Citations respjson.Field Text respjson.Field Type respjson.Field Signature respjson.Field Thinking respjson.Field Data respjson.Field ID respjson.Field Input respjson.Field Name respjson.Field Caller respjson.Field Content... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.49.0)
- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaIterationsUsageItemUnion.JSON`  

Was JSON struct {CacheCreation respjson.Field CacheCreationInputTokens respjson.Field CacheReadInputTokens respjson.Field InputTokens respjson.Field OutputTokens respjson.Field Type respjson.Field Model respjson.Field raw string}; now JSON... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.49.0)

And 5 more in this version.

### github.com/anthropics/anthropic-sdk-go v1.48.0 breaking changes

github.com/anthropics/anthropic-sdk-go v1.48.0, released June 6, 2026: 5 breaking changes.

- **Removed** `github.com/anthropics/anthropic-sdk-go.BetaManagedAgentsCustomToolInputSchemaType`  

github.com/anthropics/anthropic-sdk-go.BetaManagedAgentsCustomToolInputSchemaType was removed in github.com/anthropics/anthropic-sdk-go v1.48.0 [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.48.0)
- **Removed** `github.com/anthropics/anthropic-sdk-go.BetaManagedAgentsCustomToolInputSchemaTypeObject`  

github.com/anthropics/anthropic-sdk-go.BetaManagedAgentsCustomToolInputSchemaTypeObject was removed in github.com/anthropics/anthropic-sdk-go v1.48.0 [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.48.0)

And 3 more in this version.

### github.com/anthropics/anthropic-sdk-go v1.46.0 breaking changes

github.com/anthropics/anthropic-sdk-go v1.46.0, released May 28, 2026: 9 breaking changes.

- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaAdvisorRedactedResultBlock.JSON`  

Was JSON struct {EncryptedContent respjson.Field Type respjson.Field ExtraFields map\[string\]respjson.Field raw string}; now JSON struct {EncryptedContent respjson.Field StopReason respjson.Field Type respjson.Field ExtraFields... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.46.0)
- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaAdvisorResultBlock.JSON`  

Was JSON struct {Text respjson.Field Type respjson.Field ExtraFields map\[string\]respjson.Field raw string}; now JSON struct {StopReason respjson.Field Text respjson.Field Type respjson.Field ExtraFields map\[string\]respjson.Field raw... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.46.0)

And 7 more in this version.

### github.com/anthropics/anthropic-sdk-go v1.45.0 breaking changes

github.com/anthropics/anthropic-sdk-go v1.45.0, released May 21, 2026: 3 breaking changes.

- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaRawContentBlockDeltaUnion.JSON`  

Was JSON struct {Text respjson.Field Type respjson.Field PartialJSON respjson.Field Citation respjson.Field Thinking respjson.Field Signature respjson.Field Content respjson.Field EncryptedContent respjson.Field raw string}; now JSON... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.45.0)
- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaRawMessageStreamEventUnionDelta.JSON`  

Was JSON struct {Container respjson.Field StopDetails respjson.Field StopReason respjson.Field StopSequence respjson.Field Text respjson.Field Type respjson.Field PartialJSON respjson.Field Citation respjson.Field Thinking respjson.Field... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.45.0)

And 1 more in this version.

### github.com/anthropics/anthropic-sdk-go v1.44.0 breaking changes

github.com/anthropics/anthropic-sdk-go v1.44.0, released May 19, 2026: 12 breaking changes.

- **Removed** `github.com/anthropics/anthropic-sdk-go.NewBetaCompactionBlock`  

github.com/anthropics/anthropic-sdk-go.NewBetaCompactionBlock was removed in github.com/anthropics/anthropic-sdk-go v1.44.0 [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.44.0)
- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaEnvironment.Config`  

Was Config BetaCloudConfig; now Config BetaEnvironmentConfigUnion. [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.44.0)

And 10 more in this version.

### github.com/anthropics/anthropic-sdk-go v1.43.0 breaking changes

github.com/anthropics/anthropic-sdk-go v1.43.0, released May 13, 2026: 7 breaking changes.

- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaManagedAgentsAgentMCPToolResultEventContentUnion.JSON`  

Was JSON struct {Text respjson.Field Type respjson.Field Source respjson.Field Context respjson.Field Title respjson.Field raw string}; now JSON struct {Text respjson.Field Type respjson.Field Source respjson.Field Context respjson.Field... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.43.0)
- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaManagedAgentsAgentMCPToolResultEventContentUnionSource.JSON`  

Was JSON struct {Data respjson.Field MediaType respjson.Field Type respjson.Field URL respjson.Field FileID respjson.Field raw string}; now JSON struct {OfString respjson.Field Data respjson.Field MediaType respjson.Field Type... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.43.0)

And 5 more in this version.

### github.com/anthropics/anthropic-sdk-go v1.41.0 breaking changes

github.com/anthropics/anthropic-sdk-go v1.41.0, released May 6, 2026: 19 breaking changes.

- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaManagedAgentsAgent.JSON`  

Was JSON struct {ID respjson.Field ArchivedAt respjson.Field CreatedAt respjson.Field Description respjson.Field MCPServers respjson.Field Metadata respjson.Field Model respjson.Field Name respjson.Field Skills respjson.Field System... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.41.0)
- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaManagedAgentsAgentCustomToolUseEvent.JSON`  

Was JSON struct {ID respjson.Field Input respjson.Field Name respjson.Field ProcessedAt respjson.Field Type respjson.Field ExtraFields map\[string\]respjson.Field raw string}; now JSON struct {ID respjson.Field Input respjson.Field Name... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.41.0)

And 17 more in this version.

### github.com/anthropics/anthropic-sdk-go v1.38.0 breaking changes

github.com/anthropics/anthropic-sdk-go v1.38.0, released April 23, 2026: 4 breaking changes.

- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaJSONOutputFormatParam.Schema`  

Was Schema map\[string\]any; now Schema any. [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.38.0)
- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaManagedAgentsSessionResourceUnion.JSON`  

Was JSON struct {ID respjson.Field CreatedAt respjson.Field MountPath respjson.Field Type respjson.Field UpdatedAt respjson.Field URL respjson.Field Checkout respjson.Field FileID respjson.Field raw string}; now JSON struct {ID... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.38.0)

And 2 more in this version.

### github.com/anthropics/anthropic-sdk-go v1.37.0 breaking changes

github.com/anthropics/anthropic-sdk-go v1.37.0, released April 16, 2026: 8 breaking changes.

- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaCompactionBlock.JSON`  

Was JSON struct {Content respjson.Field Type respjson.Field ExtraFields map\[string\]respjson.Field raw string}; now JSON struct {Content respjson.Field EncryptedContent respjson.Field Type respjson.Field ExtraFields... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.37.0)
- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaCompactionContentBlockDelta.JSON`  

Was JSON struct {Content respjson.Field Type respjson.Field ExtraFields map\[string\]respjson.Field raw string}; now JSON struct {Content respjson.Field EncryptedContent respjson.Field Type respjson.Field ExtraFields... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.37.0)

And 6 more in this version.

### github.com/anthropics/anthropic-sdk-go v1.35.0 breaking changes

github.com/anthropics/anthropic-sdk-go v1.35.0, released April 10, 2026: 1 breaking change.

- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaTool.Execute`  

Was func Execute(context.Context, json.RawMessage) (BetaToolResultBlockParamContentUnion, error); now func Execute(context.Context, json.RawMessage) (\[\]BetaToolResultBlockParamContentUnion, error). [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.35.0)

### github.com/anthropics/anthropic-sdk-go v1.34.0 breaking changes

github.com/anthropics/anthropic-sdk-go v1.34.0, released April 9, 2026: 3 breaking changes.

- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaContentBlockUnionContent.JSON`  

Was JSON struct {OfBetaWebSearchResultBlockArray respjson.Field OfString respjson.Field OfBetaMCPToolResultBlockContent respjson.Field ErrorCode respjson.Field Type respjson.Field Content respjson.Field RetrievedAt respjson.Field URL... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.34.0)
- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaIterationsUsageItemUnion.JSON`  

Was JSON struct {CacheCreation respjson.Field CacheCreationInputTokens respjson.Field CacheReadInputTokens respjson.Field InputTokens respjson.Field OutputTokens respjson.Field Type respjson.Field raw string}; now JSON struct... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.34.0)

And 1 more in this version.

### github.com/anthropics/anthropic-sdk-go v1.33.0 breaking changes

github.com/anthropics/anthropic-sdk-go v1.33.0, released April 8, 2026: 3 breaking changes.

- **Removed** `github.com/anthropics/anthropic-sdk-go/packages/pagination.PageCursor.HasMore`  

github.com/anthropics/anthropic-sdk-go/packages/pagination.PageCursor.HasMore was removed in github.com/anthropics/anthropic-sdk-go v1.33.0 [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.33.0)
- **Signature changed** `github.com/anthropics/anthropic-sdk-go.FileMetadata.JSON`  

Was JSON struct {ID respjson.Field CreatedAt respjson.Field Filename respjson.Field MimeType respjson.Field SizeBytes respjson.Field Type respjson.Field Downloadable respjson.Field ExtraFields map\[string\]respjson.Field raw string}; now... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.33.0)

And 1 more in this version.

### github.com/anthropics/anthropic-sdk-go v1.29.0 breaking changes

github.com/anthropics/anthropic-sdk-go v1.29.0, released April 1, 2026: 6 breaking changes.

- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaMessage.JSON`  

Was JSON struct {ID respjson.Field Container respjson.Field Content respjson.Field ContextManagement respjson.Field Model respjson.Field Role respjson.Field StopReason respjson.Field StopSequence respjson.Field Type respjson.Field Usage... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.29.0)
- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaRawMessageDeltaEventDelta.JSON`  

Was JSON struct {Container respjson.Field StopReason respjson.Field StopSequence respjson.Field ExtraFields map\[string\]respjson.Field raw string}; now JSON struct {Container respjson.Field StopDetails respjson.Field StopReason... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.29.0)

And 4 more in this version.

### github.com/anthropics/anthropic-sdk-go v1.27.1 breaking changes

github.com/anthropics/anthropic-sdk-go v1.27.1, released March 18, 2026: 2 breaking changes.

- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaModelInfo.JSON`  

Was JSON struct {ID respjson.Field CreatedAt respjson.Field DisplayName respjson.Field Type respjson.Field ExtraFields map\[string\]respjson.Field raw string}; now JSON struct {ID respjson.Field Capabilities respjson.Field CreatedAt... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.27.1)
- **Signature changed** `github.com/anthropics/anthropic-sdk-go.ModelInfo.JSON`  

Was JSON struct {ID respjson.Field CreatedAt respjson.Field DisplayName respjson.Field Type respjson.Field ExtraFields map\[string\]respjson.Field raw string}; now JSON struct {ID respjson.Field Capabilities respjson.Field CreatedAt... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.27.1)

### github.com/anthropics/anthropic-sdk-go v1.27.0 breaking changes

github.com/anthropics/anthropic-sdk-go v1.27.0, released March 16, 2026: 25 breaking changes.

- **Removed** `github.com/anthropics/anthropic-sdk-go.BetaBase64PDFBlockParam`  

github.com/anthropics/anthropic-sdk-go.BetaBase64PDFBlockParam was removed in github.com/anthropics/anthropic-sdk-go v1.27.0 [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.27.0)
- **Removed** `github.com/anthropics/anthropic-sdk-go.BetaBase64PDFBlockSourceUnionParam`  

github.com/anthropics/anthropic-sdk-go.BetaBase64PDFBlockSourceUnionParam was removed in github.com/anthropics/anthropic-sdk-go v1.27.0 [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.27.0)

And 23 more in this version.

### github.com/anthropics/anthropic-sdk-go v1.26.0 breaking changes

github.com/anthropics/anthropic-sdk-go v1.26.0, released February 19, 2026: 1 breaking change.

- **Signature changed** `github.com/anthropics/anthropic-sdk-go.NewBetaToolResultBlock`  

Was func NewBetaToolResultBlock(string) BetaContentBlockParamUnion; now func NewBetaToolResultBlock(string, string, bool) BetaContentBlockParamUnion. [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.26.0)

### github.com/anthropics/anthropic-sdk-go v1.25.0 breaking changes

github.com/anthropics/anthropic-sdk-go v1.25.0, released February 18, 2026: 24 breaking changes.

- **Signature changed** `github.com/anthropics/anthropic-sdk-go.MessageCountTokensToolUnionParam.GetUserLocation`  

Was func GetUserLocation() (messageCountTokensToolUnionParamUserLocation); now func GetUserLocation() \*UserLocationParam. [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.25.0)
- **Signature changed** `github.com/anthropics/anthropic-sdk-go.NewWebSearchToolRequestError`  

Was func NewWebSearchToolRequestError(WebSearchToolRequestErrorErrorCode) WebSearchToolResultBlockParamContentUnion; now func NewWebSearchToolRequestError(WebSearchToolResultErrorCode) WebSearchToolResultBlockParamContentUnion. [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.25.0)

And 22 more in this version.

### github.com/anthropics/anthropic-sdk-go v1.24.0 breaking changes

github.com/anthropics/anthropic-sdk-go v1.24.0, released February 18, 2026: 30 breaking changes.

- **Removed** `github.com/anthropics/anthropic-sdk-go.MessageCountTokensToolCodeExecutionTool20260120Param`  

github.com/anthropics/anthropic-sdk-go.MessageCountTokensToolCodeExecutionTool20260120Param was removed in github.com/anthropics/anthropic-sdk-go v1.24.0 [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.24.0)
- **Removed** `github.com/anthropics/anthropic-sdk-go.MessageCountTokensToolWebFetchTool20260209Param`  

github.com/anthropics/anthropic-sdk-go.MessageCountTokensToolWebFetchTool20260209Param was removed in github.com/anthropics/anthropic-sdk-go v1.24.0 [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.24.0)

And 28 more in this version.

### github.com/anthropics/anthropic-sdk-go v1.23.0 breaking changes

github.com/anthropics/anthropic-sdk-go v1.23.0, released February 17, 2026: 25 breaking changes.

- **Removed** `github.com/anthropics/anthropic-sdk-go.BetaWebSearchTool20250305UserLocationParam`  

github.com/anthropics/anthropic-sdk-go.BetaWebSearchTool20250305UserLocationParam was removed in github.com/anthropics/anthropic-sdk-go v1.23.0 [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.23.0)
- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaCodeExecutionToolResultBlockContentUnion.JSON`  

Was JSON struct {ErrorCode respjson.Field Type respjson.Field Content respjson.Field ReturnCode respjson.Field Stderr respjson.Field Stdout respjson.Field raw string}; now JSON struct {ErrorCode respjson.Field Type respjson.Field Content... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.23.0)

And 23 more in this version.

### github.com/anthropics/anthropic-sdk-go v1.22.0 breaking changes

github.com/anthropics/anthropic-sdk-go v1.22.0, released February 7, 2026: 1 breaking change.

- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaUsage.JSON`  

Was JSON struct {CacheCreation respjson.Field CacheCreationInputTokens respjson.Field CacheReadInputTokens respjson.Field InferenceGeo respjson.Field InputTokens respjson.Field Iterations respjson.Field OutputTokens respjson.Field... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.22.0)

### github.com/anthropics/anthropic-sdk-go v1.21.0 breaking changes

github.com/anthropics/anthropic-sdk-go v1.21.0, released February 5, 2026: 6 breaking changes.

- **Removed** `github.com/anthropics/anthropic-sdk-go.BetaContextManagementConfigEditUnionParam.GetTrigger`  

github.com/anthropics/anthropic-sdk-go.BetaContextManagementConfigEditUnionParam.GetTrigger was removed in github.com/anthropics/anthropic-sdk-go v1.21.0 [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.21.0)
- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaMessageDeltaUsage.JSON`  

Was JSON struct {CacheCreationInputTokens respjson.Field CacheReadInputTokens respjson.Field InputTokens respjson.Field OutputTokens respjson.Field ServerToolUse respjson.Field ExtraFields map\[string\]respjson.Field raw string}; now JSON... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.21.0)

And 4 more in this version.

### github.com/anthropics/anthropic-sdk-go v1.20.0 breaking changes

github.com/anthropics/anthropic-sdk-go v1.20.0, released January 29, 2026: 1 breaking change.

- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaServerToolUseBlock.JSON`  

Was JSON struct {ID respjson.Field Caller respjson.Field Input respjson.Field Name respjson.Field Type respjson.Field ExtraFields map\[string\]respjson.Field raw string}; now JSON struct {ID respjson.Field Input respjson.Field Name... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.20.0)

### github.com/anthropics/anthropic-sdk-go v1.19.0 breaking changes

github.com/anthropics/anthropic-sdk-go v1.19.0, released November 24, 2025: 6 breaking changes.

- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaContentBlockUnion.JSON`  

Was JSON struct {Citations respjson.Field Text respjson.Field Type respjson.Field Signature respjson.Field Thinking respjson.Field Data respjson.Field ID respjson.Field Input respjson.Field Name respjson.Field Content respjson.Field... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.19.0)
- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaContentBlockUnionContent.JSON`  

Was JSON struct {OfBetaWebSearchResultBlockArray respjson.Field OfString respjson.Field OfBetaMCPToolResultBlockContent respjson.Field ErrorCode respjson.Field Type respjson.Field Content respjson.Field RetrievedAt respjson.Field URL... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.19.0)

And 4 more in this version.

### github.com/anthropics/anthropic-sdk-go v1.16.0 breaking changes

github.com/anthropics/anthropic-sdk-go v1.16.0, released October 29, 2025: 2 breaking changes.

- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaContextManagementConfigParam.Edits`  

Was Edits \[\]BetaClearToolUses20250919EditParam; now Edits \[\]BetaContextManagementConfigEditUnionParam. [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.16.0)
- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaContextManagementResponse.AppliedEdits`  

Was AppliedEdits \[\]BetaClearToolUses20250919EditResponse; now AppliedEdits \[\]BetaContextManagementResponseAppliedEditUnion. [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.16.0)

### github.com/anthropics/anthropic-sdk-go v1.15.0 breaking changes

github.com/anthropics/anthropic-sdk-go v1.15.0, released October 28, 2025: 7 breaking changes.

- **Removed** `github.com/anthropics/anthropic-sdk-go.ModelClaude_3_5_Sonnet_20240620`  

github.com/anthropics/anthropic-sdk-go.ModelClaude_3_5_Sonnet_20240620 was removed in github.com/anthropics/anthropic-sdk-go v1.15.0 [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.15.0)
- **Removed** `github.com/anthropics/anthropic-sdk-go.ModelClaude3_5Sonnet20241022`  

github.com/anthropics/anthropic-sdk-go.ModelClaude3_5Sonnet20241022 was removed in github.com/anthropics/anthropic-sdk-go v1.15.0 [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.15.0)

And 5 more in this version.

### github.com/anthropics/anthropic-sdk-go v1.13.0 breaking changes

github.com/anthropics/anthropic-sdk-go v1.13.0, released September 29, 2025: 4 breaking changes.

- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaMessage.JSON`  

Was JSON struct {ID respjson.Field Container respjson.Field Content respjson.Field Model respjson.Field Role respjson.Field StopReason respjson.Field StopSequence respjson.Field Type respjson.Field Usage respjson.Field ExtraFields... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.13.0)
- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaMessageTokensCount.JSON`  

Was JSON struct {InputTokens respjson.Field ExtraFields map\[string\]respjson.Field raw string}; now JSON struct {ContextManagement respjson.Field InputTokens respjson.Field ExtraFields map\[string\]respjson.Field raw string}. [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.13.0)

And 2 more in this version.

### github.com/anthropics/anthropic-sdk-go v1.12.0 breaking changes

github.com/anthropics/anthropic-sdk-go v1.12.0, released September 10, 2025: 5 breaking changes.

- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaContentBlockUnionContent.JSON`  

Was JSON struct {OfBetaWebSearchResultBlockArray respjson.Field OfString respjson.Field OfBetaMCPToolResultBlockContent respjson.Field ErrorCode respjson.Field Type respjson.Field Content respjson.Field ReturnCode respjson.Field Stderr... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.12.0)
- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaContentBlockUnionContentContent.JSON`  

Was JSON struct {OfContent respjson.Field OfString respjson.Field raw string}; now JSON struct {OfContent respjson.Field OfString respjson.Field Citations respjson.Field Source respjson.Field Title respjson.Field Type respjson.Field raw... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.12.0)

And 3 more in this version.

### github.com/anthropics/anthropic-sdk-go v1.11.0 breaking changes

github.com/anthropics/anthropic-sdk-go v1.11.0, released September 5, 2025: 1 breaking change.

- **Signature changed** `github.com/anthropics/anthropic-sdk-go.ContentBlockSourceContentUnionParam.OfContentBlockSourceContent`  

Was OfContentBlockSourceContent \[\]ContentBlockSourceContentUnionParam; now OfContentBlockSourceContent \[\]ContentBlockSourceContentItemUnionParam. [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.11.0)

### github.com/anthropics/anthropic-sdk-go v1.10.0 breaking changes

github.com/anthropics/anthropic-sdk-go v1.10.0, released September 2, 2025: 7 breaking changes.

- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaContentBlockUnionContent.Content`  

Was Content \[\]BetaCodeExecutionOutputBlock; now Content BetaContentBlockUnionContentContent. [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.10.0)
- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaContentBlockUnionContent.JSON`  

Was JSON struct {OfBetaWebSearchResultBlockArray respjson.Field OfString respjson.Field OfBetaMCPToolResultBlockContent respjson.Field ErrorCode respjson.Field Type respjson.Field Content respjson.Field ReturnCode respjson.Field Stderr... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.10.0)

And 5 more in this version.

### github.com/anthropics/anthropic-sdk-go v1.8.0 breaking changes

github.com/anthropics/anthropic-sdk-go v1.8.0, released August 8, 2025: 4 breaking changes.

- **Signature changed** `github.com/anthropics/anthropic-sdk-go.CitationsDeltaCitationUnion.JSON`  

Was JSON struct {CitedText respjson.Field DocumentIndex respjson.Field DocumentTitle respjson.Field EndCharIndex respjson.Field FileID respjson.Field StartCharIndex respjson.Field Type respjson.Field EndPageNumber respjson.Field... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.8.0)
- **Signature changed** `github.com/anthropics/anthropic-sdk-go.TextCitationUnion.JSON`  

Was JSON struct {CitedText respjson.Field DocumentIndex respjson.Field DocumentTitle respjson.Field EndCharIndex respjson.Field FileID respjson.Field StartCharIndex respjson.Field Type respjson.Field EndPageNumber respjson.Field... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.8.0)

And 2 more in this version.

### github.com/anthropics/anthropic-sdk-go v1.7.0 breaking changes

github.com/anthropics/anthropic-sdk-go v1.7.0, released August 5, 2025: 17 breaking changes.

- **Removed** `github.com/anthropics/anthropic-sdk-go.MessageCountTokensToolTextEditor20250429Param`  

github.com/anthropics/anthropic-sdk-go.MessageCountTokensToolTextEditor20250429Param was removed in github.com/anthropics/anthropic-sdk-go v1.7.0 [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.7.0)
- **Removed** `github.com/anthropics/anthropic-sdk-go.ModelClaude_2_0`  

github.com/anthropics/anthropic-sdk-go.ModelClaude_2_0 was removed in github.com/anthropics/anthropic-sdk-go v1.7.0 [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.7.0)

And 15 more in this version.

### github.com/anthropics/anthropic-sdk-go v1.6.0 breaking changes

github.com/anthropics/anthropic-sdk-go v1.6.0, released July 18, 2025: 6 breaking changes.

- **Removed** `github.com/anthropics/anthropic-sdk-go.BetaSearchResultLocationCitation`  

github.com/anthropics/anthropic-sdk-go.BetaSearchResultLocationCitation was removed in github.com/anthropics/anthropic-sdk-go v1.6.0 [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.6.0)
- **Removed** `github.com/anthropics/anthropic-sdk-go.BetaSearchResultLocationCitationParam`  

github.com/anthropics/anthropic-sdk-go.BetaSearchResultLocationCitationParam was removed in github.com/anthropics/anthropic-sdk-go v1.6.0 [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.6.0)

And 4 more in this version.

### github.com/anthropics/anthropic-sdk-go v1.5.0 breaking changes

github.com/anthropics/anthropic-sdk-go v1.5.0, released July 3, 2025: 12 breaking changes.

- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaCitationsDeltaCitationUnion.JSON`  

Was JSON struct {CitedText respjson.Field DocumentIndex respjson.Field DocumentTitle respjson.Field EndCharIndex respjson.Field StartCharIndex respjson.Field Type respjson.Field EndPageNumber respjson.Field StartPageNumber respjson.Field... [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.5.0)
- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaContentBlockParamUnion.OfDocument`  

Was OfDocument \*BetaBase64PDFBlockParam; now OfDocument \*BetaRequestDocumentBlockParam. [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.5.0)

And 10 more in this version.

### github.com/anthropics/anthropic-sdk-go v1.4.0 breaking changes

github.com/anthropics/anthropic-sdk-go v1.4.0, released June 4, 2025: 4 breaking changes.

- **Removed** `github.com/anthropics/anthropic-sdk-go.ToolTextEditor20250429Param`  

github.com/anthropics/anthropic-sdk-go.ToolTextEditor20250429Param was removed in github.com/anthropics/anthropic-sdk-go v1.4.0 [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.4.0)
- **Signature changed** `github.com/anthropics/anthropic-sdk-go.MessageCountTokensToolUnionParam.OfTextEditor20250429`  

Was OfTextEditor20250429 \*ToolTextEditor20250429Param; now OfTextEditor20250429 \*MessageCountTokensToolTextEditor20250429Param. [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.4.0)

And 2 more in this version.

### github.com/anthropics/anthropic-sdk-go v1.2.2 breaking changes

github.com/anthropics/anthropic-sdk-go v1.2.2, released June 2, 2025: 2 breaking changes.

- **Signature changed** `github.com/anthropics/anthropic-sdk-go.CalculateNonStreamingTimeout`  

Was func CalculateNonStreamingTimeout(int, Model) (time.Duration, error); now func CalculateNonStreamingTimeout(int, Model, \[\]option.RequestOption) (time.Duration, error). [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.2.2)
- **Signature changed** `github.com/anthropics/anthropic-sdk-go/packages/param.MarshalWithExtras`  

Was func MarshalWithExtras\[T ParamStruct\](T, any, map\[string\]any) (\[\]byte, error); now func MarshalWithExtras\[T ParamStruct, R any\](T, any, map\[string\]R) (\[\]byte, error). [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.2.2)

### github.com/anthropics/anthropic-sdk-go v1.2.1 breaking changes

github.com/anthropics/anthropic-sdk-go v1.2.1, released May 28, 2025: 1 breaking change.

- **Signature changed** `github.com/anthropics/anthropic-sdk-go.BetaContentBlockUnion.Input`  

Was Input any; now Input json.RawMessage. [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.2.1)

### github.com/anthropics/anthropic-sdk-go v1.2.0 breaking changes

github.com/anthropics/anthropic-sdk-go v1.2.0, released May 22, 2025: 33 breaking changes.

- **Removed** `github.com/anthropics/anthropic-sdk-go.BetaWebSearchToolRequestErrorErrorCode`  

github.com/anthropics/anthropic-sdk-go.BetaWebSearchToolRequestErrorErrorCode was removed in github.com/anthropics/anthropic-sdk-go v1.2.0 [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.2.0)
- **Removed** `github.com/anthropics/anthropic-sdk-go.BetaWebSearchToolRequestErrorErrorCodeInvalidToolInput`  

github.com/anthropics/anthropic-sdk-go.BetaWebSearchToolRequestErrorErrorCodeInvalidToolInput was removed in github.com/anthropics/anthropic-sdk-go v1.2.0 [pkg.go.dev](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go@v1.2.0)

And 31 more in this version.

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