Skip to content

Commit 55e369d

Browse files
authored
Merge pull request #788 from anthropics/release-please--branches--main--changes--next
chore: release main
2 parents 9996cc2 + 5b16fbf commit 55e369d

File tree

21 files changed

+327
-69
lines changed

21 files changed

+327
-69
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
timeout-minutes: 10
1818
name: lint
1919
runs-on: ${{ github.repository == 'stainless-sdks/anthropic-typescript' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
20+
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
2021
steps:
2122
- uses: actions/checkout@v4
2223

@@ -42,6 +43,7 @@ jobs:
4243
timeout-minutes: 5
4344
name: build
4445
runs-on: ${{ github.repository == 'stainless-sdks/anthropic-typescript' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
46+
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
4547
permissions:
4648
contents: read
4749
id-token: write
@@ -80,6 +82,7 @@ jobs:
8082
timeout-minutes: 10
8183
name: test
8284
runs-on: ${{ github.repository == 'stainless-sdks/anthropic-typescript' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
85+
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
8386
steps:
8487
- uses: actions/checkout@v4
8588

.github/workflows/publish-npm.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
# workflow for re-running publishing to NPM in case it fails for some reason
2-
# you can run this workflow by navigating to https://www.github.com/anthropics/anthropic-sdk-typescript/actions/workflows/publish-npm.yml
1+
# This workflow publishes the package to NPM.
2+
# You can run this workflow manually by navigating to https://www.github.com/anthropics/anthropic-sdk-typescript/actions/workflows/publish-npm.yml
33
name: Publish NPM
44
on:
5-
6-
75
workflow_dispatch:
86
inputs:
97
path:

.release-please-manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
".": "0.55.0",
2+
".": "0.55.1",
33
"packages/vertex-sdk": "0.11.5",
4-
"packages/bedrock-sdk": "0.22.2"
4+
"packages/bedrock-sdk": "0.22.3"
55
}

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 26
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/anthropic%2Fanthropic-a7b84017aa1126ad99443296dcd81ab2b53f1c346014b92096226cf993f30502.yml
33
openapi_spec_hash: 58d4e72c7906bd8a680ab17b99de6215
4-
config_hash: 0d82158a1e3c18a76a63f7424d293ec6
4+
config_hash: a70fca044c61bcbf321355acc81c541d

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# Changelog
22

3+
## 0.55.1 (2025-06-30)
4+
5+
Full Changelog: [sdk-v0.55.0...sdk-v0.55.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.55.0...sdk-v0.55.1)
6+
7+
### Bug Fixes
8+
9+
* **ci:** release-doctor — report correct token name ([5fa2ebf](https://github.com/anthropics/anthropic-sdk-typescript/commit/5fa2ebfd2c13ddfb7811160da795d0935161d7d7))
10+
* **client:** get fetchOptions type more reliably ([60673ab](https://github.com/anthropics/anthropic-sdk-typescript/commit/60673abd8ca59ec0491a205ae259cc36cb640a22))
11+
* **client:** use proxy in bedrock when requesting credentials from AWS ([8cfd227](https://github.com/anthropics/anthropic-sdk-typescript/commit/8cfd227dd82686101ea54d5d32a0c1d6ad04d336))
12+
13+
14+
### Chores
15+
16+
* **ci:** only run for pushes and fork pull requests ([3d1c911](https://github.com/anthropics/anthropic-sdk-typescript/commit/3d1c911d8c2cf2c9999ba1284c036edbf4f0078e))
17+
* **client:** improve path param validation ([1638f13](https://github.com/anthropics/anthropic-sdk-typescript/commit/1638f1315b1eb836dc933e41f8d89222a4374e35))
18+
319
## 0.55.0 (2025-06-24)
420

521
Full Changelog: [sdk-v0.54.0...sdk-v0.55.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.54.0...sdk-v0.55.0)

bin/check-release-environment

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ if [ -z "${STAINLESS_API_KEY}" ]; then
77
fi
88

99
if [ -z "${NPM_TOKEN}" ]; then
10-
errors+=("The ANTHROPIC_NPM_TOKEN secret has not been set. Please set it in either this repository's secrets or your organization secrets")
10+
errors+=("The NPM_TOKEN secret has not been set. Please set it in either this repository's secrets or your organization secrets")
1111
fi
1212

1313
lenErrors=${#errors[@]}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@anthropic-ai/sdk",
3-
"version": "0.55.0",
3+
"version": "0.55.1",
44
"description": "The official TypeScript library for the Anthropic API",
55
"author": "Anthropic <[email protected]>",
66
"types": "dist/index.d.ts",

packages/bedrock-sdk/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## 0.22.3 (2025-06-30)
4+
5+
Full Changelog: [bedrock-sdk-v0.22.2...bedrock-sdk-v0.22.3](https://github.com/anthropics/anthropic-sdk-typescript/compare/bedrock-sdk-v0.22.2...bedrock-sdk-v0.22.3)
6+
7+
### Bug Fixes
8+
9+
* **client:** use proxy in bedrock when requesting credentials from AWS ([8cfd227](https://github.com/anthropics/anthropic-sdk-typescript/commit/8cfd227dd82686101ea54d5d32a0c1d6ad04d336))
10+
311
## 0.22.2 (2025-06-24)
412

513
Full Changelog: [bedrock-sdk-v0.22.1...bedrock-sdk-v0.22.2](https://github.com/anthropics/anthropic-sdk-typescript/compare/bedrock-sdk-v0.22.1...bedrock-sdk-v0.22.2)

packages/bedrock-sdk/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@anthropic-ai/bedrock-sdk",
3-
"version": "0.22.2",
3+
"version": "0.22.3",
44
"description": "The official TypeScript library for the Anthropic Bedrock API",
55
"author": "Anthropic <[email protected]>",
66
"types": "dist/index.d.ts",
@@ -27,7 +27,7 @@
2727
"@aws-sdk/client-bedrock-runtime": "^3.797.0",
2828
"@aws-sdk/credential-providers": "^3.796.0",
2929
"@smithy/eventstream-serde-node": "^2.0.10",
30-
"@smithy/fetch-http-handler": "^2.2.1",
30+
"@smithy/fetch-http-handler": "^5.0.4",
3131
"@smithy/protocol-http": "^3.0.6",
3232
"@smithy/signature-v4": "^3.1.1",
3333
"@smithy/smithy-client": "^2.1.9",

packages/bedrock-sdk/src/client.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ export class AnthropicBedrock extends BaseAnthropic {
9999
awsAccessKey: this.awsAccessKey,
100100
awsSecretKey: this.awsSecretKey,
101101
awsSessionToken: this.awsSessionToken,
102+
fetchOptions: this.fetchOptions,
102103
});
103104
request.headers = buildHeaders([headers, request.headers]).values;
104105
}

0 commit comments

Comments
 (0)