### 总体概要
本次文档更新主要涉及将 Amazon Bedrock 的“遗留”集成重命名为更具描述性的“Opus 4.6 及更早版本”,更新了模型生命周期表(新增了 Fable 5 和 Sonnet 5 模型),并大幅清理了 Google Cloud Vertex AI 的代码示例以减少冗余。
### 核心主题
* **Bedrock 集成命名规范化**:在 4 个页面中将 "Amazon Bedrock (legacy)" 统一更名为 "Amazon Bedrock (Opus 4.6 and earlier)",明确了该集成支持的模型版本范围。
* **模型列表更新**:在模型弃用页面中新增了 `claude-fable-5` 和 `claude-sonnet-5` 模型,并将 `claude-mythos-preview` 的退休日期推迟至 2026 年 7 月 21 日。
* **Vertex AI 文档精简与升级**:优化了 Vertex AI 的安装指南(移除了 Python 的 `google-cloud-aiplatform` 依赖),将 Java SDK 升级至 `2.48.0` 并调整了依赖结构,同时移除了“快速入门”中大量冗余的多语言代码示例。
* **文档一致性微调**:对部分标题(如 API Errors)、标点符号及链接文本进行了标准化修正。
### 影响等级
**Low**
**理由**:这些更改主要是文档层面的术语标准化、内容整理和版本更新。虽然 Java SDK 版本号有变,但这通常对应文档同步更新,而非强制性的破坏性 API 变更。新模型的列示属于信息更新,不直接影响现有运行的代码。
### 开发者行动项
1. **更新内部文档引用**:如果您在内部文档或教程中引用了 "Claude on Amazon Bedrock (legacy)",请将其更新为 "Claude on Amazon Bedrock (Opus 4.6 and earlier)" 以保持一致。
2. **检查 Java 依赖**:如果在 Vertex AI 上使用 Java SDK,建议将 `anthropic-java` 和 `anthropic-java-vertex` 依赖更新至最新的 `2.48.0` 版本。
3. **留意新模型发布**:关注 `claude-fable-5` 和 `claude-sonnet-5` 的状态更新,以便在后续开发中测试和采用新模型。
💭 Model Reasoning
1. **Analyze the Request**:
* **Role**: World-class programmer/developer tools expert.
* **Task**: Analyze documentation changes (batch of 7 pages).
* **Output**: Concise, insightful markdown analysis.
* **Language**: Chinese.
* **Structure**:
1. Overall Summary (1-2 sentences).
2. Key Themes.
3. Impact Level (Low/Medium/High/Breaking) + reasoning.
4. Action Items (max 5).
2. **Analyze the Diff Data**:
* **Page 1: `about-claude/model-deprecations.md`**:
* Renamed "Amazon Bedrock (legacy)" -> "Amazon Bedrock (Opus 4.6 and earlier)".
* Grammar fixes ("60 days' notice", sentence structure).
* **Important**: Updated table. Added `claude-fable-5`, `claude-sonnet-5`.
* **Important**: Updated retirement date for `claude-mythos-preview` (June 30, 2026 -> July 21, 2026).
* General table updates for active/deprecated statuses.
* **Page 2: `api/errors.md`**:
* Title change: "Errors" -> "Claude API errors". Minor consistency update.
* **Page 3: `build-with-claude/pdf-support.md`**:
* Renamed link text: "Claude on Amazon Bedrock (legacy)" -> "Claude on Amazon Bedrock (Opus 4.6 and earlier)".
* **Page 4: `build-with-claude/prompt-caching.md`**:
* Renamed link text: "Amazon Bedrock (legacy)" -> "Amazon Bedrock (Opus 4.6 and earlier)".
* **Page 5: `build-with-claude/claude-on-amazon-bedrock.md`**:
* Title change: "Claude on Amazon Bedrock (legacy)" -> "Claude on Amazon Bedrock (Opus 4.6 and earlier)".
* **Page 6: `build-with-claude/claude-on-vertex-ai.md`**:
* **Python**: Removed `google-cloud-aiplatform` from pip install.
* **Java**: Updated versions to `2.48.0`. Added `anthropic-java` dependency alongside `anthropic-java-vertex`. Refined code snippet.
* **cURL**: Simplified URL structure (removed `-global-` redundancy, though essentially same endpoint). Removed `LOCATION` var, hardcoding logic slightly.
* **Deleted Content**: Large chunk of code removed (TypeScript, C#, Go, Java, PHP, Ruby examples were in the diff view, likely duplicated or moved/reorganized). The diff shows a massive removal (-265 lines) and small addition (+59 lines). This suggests a major cleanup/reduction of redundancy in the "Quick Start" section, keeping only the most relevant examples (likely Python/Java/cURL remain, others were removed or moved elsewhere in the document not shown, but the diff implies they are gone from *this* specific view).
* **Note**: The "Data retention" and "Activity logging" sections were cut off in the diff, indicating potential truncation or removal.
* **Page 7: `build-with-claude/prompt-engineering/overview.md`**:
* Added link to a blog post about general prompt engineering.
* Minor grammar tweaks (parentheses usage).
3. **Synthesize Findings**:
* **Theme 1: Rebranding "Legacy"**: The most consistent change across 4 pages is renaming "Legacy" Amazon Bedrock integration to "Opus 4.6 and earlier". This is a naming convention update, likely to be more descriptive about the models it supports rather than just calling it "old".
* **Theme 2: Model Lifecycle**: Updates to the deprecation page showing new models (Fable 5, Sonnet 5) and date shifts (Mythos Preview).
* **Theme 3: SDK/Code Cleanup**: The Vertex AI page saw significant refactoring. Java dependencies changed. Python install instructions changed. A lot of code examples (TS, C#, Go, etc.) were removed from the "Quick Start" section, likely to reduce clutter or move them to a "Client SDKs" section referenced at the bottom.
* **Theme 4: Documentation Polish**: General grammar fixes, title clarity ("Claude API errors").
4. **Draft the Analysis (in Chinese)**:
* *Summary*: Mainly rebranding of the Bedrock legacy integration to "Opus 4.6 and earlier", updating model lifecycle tables (adding new models), and cleaning up code examples for Google Cloud Vertex AI.
* *Themes*:
* Bedrock Naming: Legacy -> Opus 4.6 and earlier.
* Model Availability: Added Fable 5, Sonnet 5. Updated Mythos date.
* Vertex AI Cleanup: Simplified installation, updated Java versions, removed duplicate code examples.
* *Impact*: Low. Mostly naming and cleanup. No breaking API changes indicated.
* *Action Items*:
* Update internal references if linking to "Claude on Amazon Bedrock (legacy)".
* Be aware of new model availability (Fable/Sonnet 5).
* If using Java on Vertex AI, update dependencies to 2.48.0.
5. **Refine and Format (Markdown)**:
* *Summary*: 本次更新主要集中在重命名 Amazon Bedrock 的“遗留”集成名称、更新模型生命周期表(新增 Fable 5 和 Sonnet 5),以及清理 Google Cloud Vertex AI 的代码示例。
* *Themes*:
* **Bedrock 集成重命名**: 将多处 "Amazon Bedrock (legacy)" 更名为 "Amazon Bedrock (Opus 4.6 and earlier)",以明确其支持的模型范围。
* **模型生命周期更新**: 新增 `claude-fable-5` 和 `claude-sonnet-5` 到活跃模型表,调整了 `claude-mythos-preview` 的退休日期。
* **Vertex AI 文档清理**: 优化了 Python 和 Java 的安装与依赖说明,大幅精简了代码示例区域,移除了冗余的多语言“快速入门”代码块。
* *Impact*: **Low**。主要是文档层面的术语规范和内容整理,未涉及 API 的破坏性变更。
* *Action Items*:
* 如果项目中有硬编码或文档内部链接指向 "Claude on Amazon Bedrock (legacy)",请更新为新名称。
* 如在 Vertex AI 使用 Java SDK,需将依赖版本升级至 `2.48.0`。
* 关注新增的 `claude-fable-5` 和 `claude-sonnet-5` 模型状态,便于未来的版本规划。
6. **Final Review**: Does this meet "world-class programmer" persona? Yes, it's precise, identifies the renaming pattern which implies a strategy shift in naming legacy components, and flags the version bump. The prompt engineering change is minor but noted.
7. **Output Generation** (Translating thoughts to final output).