Skip to content

Commit 089fe05

Browse files
chore: release main (#987)
Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com> Co-authored-by: Mike Cluck <mike@stainless.com>
1 parent 73f128f commit 089fe05

30 files changed

+146
-85
lines changed

.release-please-manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
".": "0.87.0",
3-
"packages/vertex-sdk": "0.15.0",
2+
".": "0.88.0",
3+
"packages/vertex-sdk": "0.16.0",
44
"packages/bedrock-sdk": "0.28.1",
55
"packages/foundry-sdk": "0.2.3",
66
"packages/aws-sdk": "0.2.5"

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 72
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/anthropic%2Fanthropic-d87d3ef6f636c667a0256be82cebef0699d17403d409c26ec15813683cfc3263.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/anthropic%2Fanthropic-dfe504526eed07979685a729ac9afd45e59cc2879291714b9f4674f2ef1247c7.yml
33
openapi_spec_hash: d849fdf2c4dd6631a60c4340e9bc1322
4-
config_hash: 062be10c6bf39b6719b3a5ea2bf758b3
4+
config_hash: 831f90480c5b2b863b726e89eabaa90c

CHANGELOG.md

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

3+
## 0.88.0 (2026-04-10)
4+
5+
Full Changelog: [sdk-v0.87.0...sdk-v0.88.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.87.0...sdk-v0.88.0)
6+
7+
### Features
8+
9+
* vertex eu region ([#882](https://github.com/anthropics/anthropic-sdk-typescript/issues/882)) ([1933857](https://github.com/anthropics/anthropic-sdk-typescript/commit/193385760676b1c941a1f500aa91d0f7a3204b40))
10+
11+
12+
### Documentation
13+
14+
* improve examples ([de4f483](https://github.com/anthropics/anthropic-sdk-typescript/commit/de4f483c1eb4f758116887da5d19305eccb6f8f4))
15+
* update examples ([454e1c5](https://github.com/anthropics/anthropic-sdk-typescript/commit/454e1c594cfd420eb11e891baefbf6a6530d7131))
16+
317
## 0.87.0 (2026-04-09)
418

519
Full Changelog: [sdk-v0.86.1...sdk-v0.87.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.86.1...sdk-v0.87.0)

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

packages/vertex-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.16.0 (2026-04-10)
4+
5+
Full Changelog: [vertex-sdk-v0.15.0...vertex-sdk-v0.16.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/vertex-sdk-v0.15.0...vertex-sdk-v0.16.0)
6+
7+
### Features
8+
9+
* vertex eu region ([#882](https://github.com/anthropics/anthropic-sdk-typescript/issues/882)) ([1933857](https://github.com/anthropics/anthropic-sdk-typescript/commit/193385760676b1c941a1f500aa91d0f7a3204b40))
10+
311
## 0.15.0 (2026-04-03)
412

513
Full Changelog: [vertex-sdk-v0.14.4...vertex-sdk-v0.15.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/vertex-sdk-v0.14.4...vertex-sdk-v0.15.0)

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

packages/vertex-sdk/src/client.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,9 @@ export class AnthropicVertex extends BaseAnthropic {
9494
case 'us':
9595
baseURL = 'https://aiplatform.us.rep.googleapis.com/v1';
9696
break;
97+
case 'eu':
98+
baseURL = 'https://aiplatform.eu.rep.googleapis.com/v1';
99+
break;
97100
default:
98101
baseURL = `https://${region}-aiplatform.googleapis.com/v1`;
99102
}

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,15 @@ describe('AnthropicVertex', () => {
3434
expect(client.baseURL).toBe('https://aiplatform.us.rep.googleapis.com/v1');
3535
});
3636

37+
test('eu region eues correct base URL', () => {
38+
const client = new AnthropicVertex({
39+
region: 'eu',
40+
projectId: 'test-project',
41+
accessToken: 'fake-token',
42+
});
43+
expect(client.baseURL).toBe('https://aiplatform.eu.rep.googleapis.com/v1');
44+
});
45+
3746
test.each(['us-central1', 'europe-west1', 'asia-southeast1'])(
3847
'regional endpoint %s uses correct base URL format',
3948
(region) => {

packages/vertex-sdk/yarn.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
"@anthropic-ai/sdk@file:../../dist":
1919
# x-release-please-start-version
20-
version "0.87.0"
20+
version "0.88.0"
2121
# x-release-please-end-version
2222
dependencies:
2323
json-schema-to-ts "^3.1.1"

src/resources/beta/messages/messages.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,8 @@ export class Messages extends APIResource {
200200
* ```ts
201201
* const betaMessageTokensCount =
202202
* await client.beta.messages.countTokens({
203-
* messages: [{ content: 'string', role: 'user' }],
204-
* model: 'claude-mythos-preview',
203+
* messages: [{ content: 'Hello, world', role: 'user' }],
204+
* model: 'claude-opus-4-6',
205205
* });
206206
* ```
207207
*/

0 commit comments

Comments
 (0)