Skip to content

Commit 8dd8d88

Browse files
authored
Merge pull request #794 from anthropics/release-please--branches--main--changes--next
chore: release main
2 parents 21ec3aa + 2e7df82 commit 8dd8d88

30 files changed

+295
-74
lines changed

.release-please-manifest.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
".": "0.57.0",
3-
"packages/vertex-sdk": "0.12.1",
4-
"packages/bedrock-sdk": "0.23.0"
2+
".": "0.58.0",
3+
"packages/vertex-sdk": "0.13.0",
4+
"packages/bedrock-sdk": "0.24.0"
55
}

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 26
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/anthropic%2Fanthropic-59aad2898ad5b11d8c367967ca73213a83bb46f1ca20cd006ee00fc8010c5e65.yml
3-
openapi_spec_hash: 6dcdf2b065d61612f4403a1786c3bee2
4-
config_hash: 29170d4f110e44c786b2ce308d7b6410
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/anthropic%2Fanthropic-43f38b1226d74e1e6093196a1a9585c240e656a463f5791ffe32c8910726f55b.yml
3+
openapi_spec_hash: f09142bb93ac7ed78f4dc1a47af7b5ed
4+
config_hash: 7154b62ac6eb8c65499cf4d876d618d4

CHANGELOG.md

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

3+
## 0.58.0 (2025-08-05)
4+
5+
Full Changelog: [sdk-v0.57.0...sdk-v0.58.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.57.0...sdk-v0.58.0)
6+
7+
### Features
8+
9+
* **api:** add claude-opus-4-1-20250805 ([08c61db](https://github.com/anthropics/anthropic-sdk-typescript/commit/08c61dbcb1f7e7fa6889d4578b38717586bfec20))
10+
* **api:** adds support for text_editor_20250728 tool ([ca57d74](https://github.com/anthropics/anthropic-sdk-typescript/commit/ca57d7444db6512880786aec7cc11c32522e86f0))
11+
* **api:** removed older deprecated models ([352a5fd](https://github.com/anthropics/anthropic-sdk-typescript/commit/352a5fd17372ac37277a2f001122973537579968))
12+
* update streaming error message to say 'required' not 'recommended' ([ffac3e0](https://github.com/anthropics/anthropic-sdk-typescript/commit/ffac3e0dd9162c88a98102c204aea08a9c9a60e7))
13+
* update streaming error message to say 'required' not 'recommended' ([82a9ae5](https://github.com/anthropics/anthropic-sdk-typescript/commit/82a9ae5835c3dde1f061fc4147e5c06dbf546ef2))
14+
* **vertex:** support global endpoint ([#449](https://github.com/anthropics/anthropic-sdk-typescript/issues/449)) ([1c42030](https://github.com/anthropics/anthropic-sdk-typescript/commit/1c420301c4a1e9a2bfacf45067eb5473a7cdb53c))
15+
16+
17+
### Bug Fixes
18+
19+
* **internal/bootstrap:** install dependencies for all packages ([d3734f9](https://github.com/anthropics/anthropic-sdk-typescript/commit/d3734f98ebecaee5d37206794bc35fcac9c8b3ec))
20+
* **internal/bootstrap:** only build main package ([82428c7](https://github.com/anthropics/anthropic-sdk-typescript/commit/82428c728c9cd164d43087a8d3c055b3aa8a14d3))
21+
* **internal/bootstrap:** run build before installing other packages ([301f504](https://github.com/anthropics/anthropic-sdk-typescript/commit/301f50444bdb28a68c6dd8e012422a7267617e80))
22+
* **internal/test:** use jest directly ([dab423b](https://github.com/anthropics/anthropic-sdk-typescript/commit/dab423bc7fe5be2c97ba311c4fc38532a2bdf293))
23+
24+
25+
### Chores
26+
27+
* **client:** add TextEditor_20250429 tool ([bcb557d](https://github.com/anthropics/anthropic-sdk-typescript/commit/bcb557d23e13e6ea73020bf1247447a54b317653))
28+
* **internal:** remove redundant imports config ([555769d](https://github.com/anthropics/anthropic-sdk-typescript/commit/555769da822dc3b105b96d1481108b9b62666c99))
29+
* **internal:** version bump ([eb97e85](https://github.com/anthropics/anthropic-sdk-typescript/commit/eb97e8577279fb150582297d2a0924a297185c3c))
30+
331
## 0.57.0 (2025-07-21)
432

533
Full Changelog: [sdk-v0.56.0...sdk-v0.57.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.56.0...sdk-v0.57.0)

api.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ Types:
8686
- <code><a href="./src/resources/messages/messages.ts">ToolChoiceTool</a></code>
8787
- <code><a href="./src/resources/messages/messages.ts">ToolResultBlockParam</a></code>
8888
- <code><a href="./src/resources/messages/messages.ts">ToolTextEditor20250124</a></code>
89+
- <code><a href="./src/resources/messages/messages.ts">ToolTextEditor20250429</a></code>
90+
- <code><a href="./src/resources/messages/messages.ts">ToolTextEditor20250728</a></code>
8991
- <code><a href="./src/resources/messages/messages.ts">ToolUnion</a></code>
9092
- <code><a href="./src/resources/messages/messages.ts">ToolUseBlock</a></code>
9193
- <code><a href="./src/resources/messages/messages.ts">ToolUseBlockParam</a></code>
@@ -274,6 +276,7 @@ Types:
274276
- <code><a href="./src/resources/beta/messages/messages.ts">BetaToolTextEditor20241022</a></code>
275277
- <code><a href="./src/resources/beta/messages/messages.ts">BetaToolTextEditor20250124</a></code>
276278
- <code><a href="./src/resources/beta/messages/messages.ts">BetaToolTextEditor20250429</a></code>
279+
- <code><a href="./src/resources/beta/messages/messages.ts">BetaToolTextEditor20250728</a></code>
277280
- <code><a href="./src/resources/beta/messages/messages.ts">BetaToolUnion</a></code>
278281
- <code><a href="./src/resources/beta/messages/messages.ts">BetaToolUseBlock</a></code>
279282
- <code><a href="./src/resources/beta/messages/messages.ts">BetaToolUseBlockParam</a></code>

package.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@anthropic-ai/sdk",
3-
"version": "0.57.0",
3+
"version": "0.58.0",
44
"description": "The official TypeScript library for the Anthropic API",
55
"author": "Anthropic <support@anthropic.com>",
66
"types": "dist/index.d.ts",
@@ -46,10 +46,6 @@
4646
"typescript": "5.8.3",
4747
"typescript-eslint": "8.31.1"
4848
},
49-
"imports": {
50-
"@anthropic-ai/sdk": ".",
51-
"@anthropic-ai/sdk/*": "./src/*"
52-
},
5349
"bin": {
5450
"anthropic-ai-sdk": "bin/cli"
5551
},

packages/bedrock-sdk/CHANGELOG.md

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

3+
## 0.24.0 (2025-08-05)
4+
5+
Full Changelog: [bedrock-sdk-v0.23.0...bedrock-sdk-v0.24.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/bedrock-sdk-v0.23.0...bedrock-sdk-v0.24.0)
6+
7+
### Features
8+
9+
* **api:** removed older deprecated models ([352a5fd](https://github.com/anthropics/anthropic-sdk-typescript/commit/352a5fd17372ac37277a2f001122973537579968))
10+
11+
12+
### Chores
13+
14+
* **internal:** version bump ([eb97e85](https://github.com/anthropics/anthropic-sdk-typescript/commit/eb97e8577279fb150582297d2a0924a297185c3c))
15+
316
## 0.23.0 (2025-07-21)
417

518
Full Changelog: [bedrock-sdk-v0.22.4...bedrock-sdk-v0.23.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/bedrock-sdk-v0.22.4...bedrock-sdk-v0.23.0)

packages/bedrock-sdk/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/bedrock-sdk",
3-
"version": "0.23.0",
3+
"version": "0.24.0",
44
"description": "The official TypeScript library for the Anthropic Bedrock API",
55
"author": "Anthropic <support@anthropic.com>",
66
"types": "dist/index.d.ts",

packages/bedrock-sdk/tests/client.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ describe('Bedrock model ARN URL encoding integration test', () => {
8585
});
8686

8787
// Regular model name (still contains characters that need encoding)
88-
const modelName = 'anthropic.claude-3-sonnet-20240229-v1:0';
88+
const modelName = 'anthropic.claude-3-5-sonnet-20241022-v2:0';
8989

9090
// Make a request to trigger the URL construction
9191
try {
@@ -105,7 +105,7 @@ describe('Bedrock model ARN URL encoding integration test', () => {
105105
const fetchUrl = mockFetch.mock.calls[0][0];
106106

107107
// Expected URL with properly encoded model name
108-
const expectedUrl = 'http://localhost:4010/model/anthropic.claude-3-sonnet-20240229-v1:0/invoke';
108+
const expectedUrl = 'http://localhost:4010/model/anthropic.claude-3-5-sonnet-20241022-v2:0/invoke';
109109

110110
// Verify the exact URL matches what we expect
111111
expect(fetchUrl).toBe(expectedUrl);

packages/vertex-sdk/CHANGELOG.md

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

3+
## 0.13.0 (2025-08-05)
4+
5+
Full Changelog: [vertex-sdk-v0.12.1...vertex-sdk-v0.13.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/vertex-sdk-v0.12.1...vertex-sdk-v0.13.0)
6+
7+
### Features
8+
9+
* **vertex:** support global endpoint ([#449](https://github.com/anthropics/anthropic-sdk-typescript/issues/449)) ([1c42030](https://github.com/anthropics/anthropic-sdk-typescript/commit/1c420301c4a1e9a2bfacf45067eb5473a7cdb53c))
10+
11+
12+
### Chores
13+
14+
* **internal:** version bump ([eb97e85](https://github.com/anthropics/anthropic-sdk-typescript/commit/eb97e8577279fb150582297d2a0924a297185c3c))
15+
316
## 0.12.1 (2025-07-21)
417

518
Full Changelog: [vertex-sdk-v0.12.0...vertex-sdk-v0.12.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/vertex-sdk-v0.12.0...vertex-sdk-v0.12.1)

packages/vertex-sdk/jest.config.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import type { JestConfigWithTsJest } from 'ts-jest';
2+
3+
const config: JestConfigWithTsJest = {
4+
preset: 'ts-jest/presets/default-esm',
5+
testEnvironment: 'node',
6+
transform: {
7+
'^.+\\.(t|j)sx?$': ['@swc/jest', { sourceMaps: 'inline' }],
8+
},
9+
moduleNameMapper: {
10+
'^@anthropic-ai/vertex-sdk$': '<rootDir>/src/index.ts',
11+
'^@anthropic-ai/vertex-sdk/(.*)$': '<rootDir>/src/$1',
12+
},
13+
modulePathIgnorePatterns: ['<rootDir>/dist/', '<rootDir>/deno/'],
14+
testPathIgnorePatterns: ['scripts'],
15+
};
16+
17+
export default config;

0 commit comments

Comments
 (0)