Skip to content

chore(deps): bump anthropic from 1.15.0 to 2.3.0 - #1771

Merged
xzawed merged 1 commit into
mainfrom
dependabot/pip/anthropic-2.1.0
Oct 29, 2026
Merged

xzawed merged 1 commit into
mainfrom
dependabot/pip/anthropic-2.1.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Bumps anthropic from 1.15.0 to 2.3.0.

Release notes

Sourced from anthropic's releases.

v2.3.0

Features

  • api: add Claude Tag endpoints for Claude Enterprise organizations

Bug Fixes

  • google-cloud: send user profiles requests to the organization endpoint

Chores

  • client: stop sending query params hardcoded in endpoint paths
  • docs: improve the descriptions of the code execution tool and its encrypted results
  • docs: reword work queue, skill and external key descriptions
  • docs: update descriptions of the per-user usage and cost reports
  • internal: carry endpoint path query params to the request layer
  • internal: check the repository by owner and public name in workflows
  • internal: read the beta route qualifier instead of the beta=true query
  • internal: remove preview build upload from CI
  • internal: stop sending the beta query param from parse and stream

Documentation

  • mcp: remove the stray await from the async tool_runner examples
  • google-cloud: update the product name
  • client: link the Bedrock and Vertex raw response docstrings to the SDK documentation
  • update the README and the example request

v2.2.0

Features

  • api: add support for message threads
  • api: add usage and cost reports by dimension, mark older reports legacy

Bug Fixes

  • client: stop suggesting math.inf in the max_retries error message
  • tools: leave the tool runner's history to the caller after append_messages(), and keep the current reply out of the set_messages_params() callback
  • tools: keep running the tool runner's function tools when set_messages_params() gives tools as definitions, and stop running one it takes out of tools
  • tools: give the set_messages_params() callback of a tool runner its tools as definitions again
  • tools: keep a tool runner's betas, user_profile_id and workspace_id when set_messages_params() leaves them out

Chores

  • deps: bump certifi in the dev lockfile

... (truncated)

Changelog

Sourced from anthropic's changelog.

2.3.0 (2026-10-23)

Features

  • api: add Claude Tag endpoints for Claude Enterprise organizations

Bug Fixes

  • google-cloud: send user profiles requests to the organization endpoint

Chores

  • client: stop sending query params hardcoded in endpoint paths
  • docs: improve the descriptions of the code execution tool and its encrypted results
  • docs: reword work queue, skill and external key descriptions
  • docs: update descriptions of the per-user usage and cost reports
  • internal: carry endpoint path query params to the request layer
  • internal: check the repository by owner and public name in workflows
  • internal: read the beta route qualifier instead of the beta=true query
  • internal: remove preview build upload from CI
  • internal: stop sending the beta query param from parse and stream

Documentation

  • mcp: remove the stray await from the async tool_runner examples
  • google-cloud: update the product name
  • client: link the Bedrock and Vertex raw response docstrings to the SDK documentation
  • update the README and the example request

2.2.0 (2026-10-23)

Features

  • api: add support for message threads
  • api: add usage and cost reports by dimension, mark older reports legacy

Bug Fixes

  • client: stop suggesting math.inf in the max_retries error message
  • tools: leave the tool runner's history to the caller after append_messages(), and keep the current reply out of the set_messages_params() callback
  • tools: keep running the tool runner's function tools when set_messages_params() gives tools as definitions, and stop running one it takes out of tools
  • tools: give the set_messages_params() callback of a tool runner its tools as definitions again
  • tools: keep a tool runner's betas, user_profile_id and workspace_id when set_messages_params() leaves them out

Chores

... (truncated)

Commits
  • 202db72 release: 2.3.0
  • d0cbc80 Merge pull request #1069 from anthropics/synced/published
  • aba9374 feat(api): add Claude Tag endpoints for Claude Enterprise organizations
  • 013f5a2 chore(internal): remove preview build upload from CI (#1077)
  • 10908cd chore(docs): improve the descriptions of the code execution tool and its encr...
  • f46b53c docs: update the README and the example request
  • 5da2887 docs(client): link the Bedrock and Vertex raw response docstrings to the SDK ...
  • 7c50ea2 chore(internal): stop sending the beta query param from parse and stream (#1076)
  • 4866287 chore(internal): check the repository by owner and public name in workflows
  • 691be0d chore(client): stop sending query params hardcoded in endpoint paths
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Oct 26, 2026
@codecov

codecov Bot commented Oct 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@xzawed

xzawed commented Oct 28, 2026

Copy link
Copy Markdown
Owner

메이저 판(1.15.0 → 2.1.0) 검토 — 우리 호출에 닿는 변화 없음 · 머지 가능

두 wheel 을 내려받아 소스를 비교했다(pip download --no-deps → diff -r).

바이트 동일 — 재시도·미들웨어·예외 분류가 사는 곳

_base_client.py · _middleware.py · _exceptions.py · _utils/ · types/stop_reason.py 는 두 판이 같다.
→ 재시도 판정·Retry-After 읽기·backoff, _RetryAfterCap(request.retries_taken · response.http_response · 헤더 재작성), isinstance(exc, anthropic.APIStatusError / APIError) 가 그대로다. #1706 §5 트리거(_base_client 의 CancelledError·ExceptionGroup)도 같은 파일이라 변화 없음.

실제로 바뀌는 것 2가지

변화 우리 쪽
기본 헤더 anthropic-version: 2023-06-01 → 2026-10-21 (_constants.py) 공식 migration guide 의 Messages API 400 조건 3종 — ① assistant 메시지 안 document 블록 ② user 메시지 text 블록의 비어 있지 않은 citations ③ temperature·top_p·top_k 전송(기본값이어도). 우리 세 호출(ai_review · 대시보드 인사이트 · 리포 인사이트)은 model·max_tokens·system(text + cache_control)·output_config·messages=[{"role":"user","content":str}] 만 보낸다 — 세 조건 모두 해당 없음. 리포 전체에 temperature/top_p/top_k 0건
API 키 헤더 X-Api-Key → Authorization: Bearer (_client.py::_api_key_auth) Claude API 는 둘 다 받는다(가이드 원문). 키를 읽는 프록시·코드 없음 — 운영은 기본 호스트, 테스트는 ANTHROPIC_BASE_URL=http://127.0.0.1:1

그 밖: MessageParam 이 Union 별칭이 됨(호출하면 TypeError — 우리는 dict 리터럴만 씀) · 자격증명 둘 이상 전달 시 ValueError(우리는 api_key 하나, 빈 키는 세 호출부 모두 클라이언트 생성 전에 반환 · .claude/hooks/doc_review_gate.py::_credentials 도 하나만 돌려준다) · message_create_params.py 차이는 docstring 뿐.

Grok claim-review

  • session: 06aa6b41-3e97-4e02-84cd-79506c456d57
  • claim: 세 Messages 호출이 2026-10-21 의 400 조건에 걸리지 않는다
  • verdict: SURVIVES
  • claim: 재시도·Retry-After·미들웨어·예외 분류 동작이 바뀌지 않는다
  • verdict: SURVIVES

머지 뒤 확인할 것 (사람 / Claude)

  • 첫 운영 AI 리뷰 1건이 claude_api_calls.status='success' 로 남는지 — 헤더 두 개가 바뀌는 첫 실호출이다.
  • src/github_client/repos.py 의 직접 HTTP 호출(x-api-key + anthropic-version: 2023-06-01)은 SDK 를 거치지 않아 이 PR 과 무관하다.

@xzawed

xzawed commented Oct 29, 2026

Copy link
Copy Markdown
Owner

@dependabot rebase

Bumps [anthropic](https://github.com/anthropics/anthropic-sdk-python) from 1.15.0 to 2.3.0.
- [Release notes](https://github.com/anthropics/anthropic-sdk-python/releases)
- [Changelog](https://github.com/anthropics/anthropic-sdk-python/blob/main/CHANGELOG.md)
- [Commits](anthropics/anthropic-sdk-python@v1.15.0...v2.3.0)

---
updated-dependencies:
- dependency-name: anthropic
  dependency-version: 2.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title chore(deps): bump anthropic from 1.15.0 to 2.1.0 chore(deps): bump anthropic from 1.15.0 to 2.3.0 Oct 29, 2026
@dependabot
dependabot Bot force-pushed the dependabot/pip/anthropic-2.1.0 branch from 2e1ee20 to 5631f57 Compare October 29, 2026 03:02
@xzawed

xzawed commented Oct 29, 2026

Copy link
Copy Markdown
Owner

⚠️ AI 리뷰가 완전 검증되지 않음 — 기본값이 적용됐습니다(비활성/API 키 없음/빈 diff). AI 배점은 측정값이 아니므로 총점을 부분 점수로 보세요.

🔵 SCAManager 분석 결과

총점: 89/100 (등급 B)

점수 상세

항목 점수 만점
커밋 메시지 13 15
코드 품질 25 25
보안 20 20
구현 방향성 (AI) 21 25
테스트 10 15

@xzawed xzawed left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ 자동 승인: 점수 89점 (기준: 60점 이상)

@xzawed

xzawed commented Oct 29, 2026

Copy link
Copy Markdown
Owner

2.1.0 → 2.3.0 추가 검토 — Dependabot 이 rebase 하며 대상을 바꿨다

두 wheel 을 zip 으로만 읽어 비교했다(실행 없음).

→ 위 2.1.0 검토의 결론(우리 호출에 닿는 변화 없음 · 머지 가능)이 그대로 유지된다.

@xzawed
xzawed merged commit 0927262 into main Oct 29, 2026
14 checks passed
@xzawed
xzawed deleted the dependabot/pip/anthropic-2.1.0 branch October 29, 2026 03:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant