Skip to content

Commit f2d4103

Browse files
authored
Merge pull request #802 from anthropics/release-please--branches--main--changes--next
chore: release main
2 parents 8dd8d88 + 151744b commit f2d4103

File tree

12 files changed

+99
-12
lines changed

12 files changed

+99
-12
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
".": "0.58.0",
2+
".": "0.59.0",
33
"packages/vertex-sdk": "0.13.0",
44
"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-43f38b1226d74e1e6093196a1a9585c240e656a463f5791ffe32c8910726f55b.yml
3-
openapi_spec_hash: f09142bb93ac7ed78f4dc1a47af7b5ed
4-
config_hash: 7154b62ac6eb8c65499cf4d876d618d4
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/anthropic%2Fanthropic-ac0fdb790058bd2235b08ddae6576152b9fa43593fe260d35d7bee6bceece7d3.yml
3+
openapi_spec_hash: e3c27dba60dbd66bd9bd1191817cf625
4+
config_hash: dd8784d7be29ec37986f77ec4b1f3187

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.59.0 (2025-08-08)
4+
5+
Full Changelog: [sdk-v0.58.0...sdk-v0.59.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.58.0...sdk-v0.59.0)
6+
7+
### Features
8+
9+
* **api:** search result content blocks ([f372c0d](https://github.com/anthropics/anthropic-sdk-typescript/commit/f372c0dc7e3ecd6376de657431c2a3053be7bc84))
10+
11+
12+
### Chores
13+
14+
* **internal:** move publish config ([5c1689e](https://github.com/anthropics/anthropic-sdk-typescript/commit/5c1689e277b9b7313a3c21217acea09bbe6da6e8))
15+
316
## 0.58.0 (2025-08-05)
417

518
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)

api.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,11 @@ Types:
2929
- <code><a href="./src/resources/messages/messages.ts">CitationContentBlockLocationParam</a></code>
3030
- <code><a href="./src/resources/messages/messages.ts">CitationPageLocation</a></code>
3131
- <code><a href="./src/resources/messages/messages.ts">CitationPageLocationParam</a></code>
32+
- <code><a href="./src/resources/messages/messages.ts">CitationSearchResultLocationParam</a></code>
3233
- <code><a href="./src/resources/messages/messages.ts">CitationWebSearchResultLocationParam</a></code>
3334
- <code><a href="./src/resources/messages/messages.ts">CitationsConfigParam</a></code>
3435
- <code><a href="./src/resources/messages/messages.ts">CitationsDelta</a></code>
36+
- <code><a href="./src/resources/messages/messages.ts">CitationsSearchResultLocation</a></code>
3537
- <code><a href="./src/resources/messages/messages.ts">CitationsWebSearchResultLocation</a></code>
3638
- <code><a href="./src/resources/messages/messages.ts">ContentBlock</a></code>
3739
- <code><a href="./src/resources/messages/messages.ts">ContentBlockParam</a></code>
@@ -61,6 +63,7 @@ Types:
6163
- <code><a href="./src/resources/messages/messages.ts">RawMessageStreamEvent</a></code>
6264
- <code><a href="./src/resources/messages/messages.ts">RedactedThinkingBlock</a></code>
6365
- <code><a href="./src/resources/messages/messages.ts">RedactedThinkingBlockParam</a></code>
66+
- <code><a href="./src/resources/messages/messages.ts">SearchResultBlockParam</a></code>
6467
- <code><a href="./src/resources/messages/messages.ts">ServerToolUsage</a></code>
6568
- <code><a href="./src/resources/messages/messages.ts">ServerToolUseBlock</a></code>
6669
- <code><a href="./src/resources/messages/messages.ts">ServerToolUseBlockParam</a></code>

bin/publish-npm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,4 @@ else
5858
fi
5959

6060
# Publish with the appropriate tag
61-
yarn publish --access public --tag "$TAG"
61+
yarn publish --tag "$TAG"

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@anthropic-ai/sdk",
3-
"version": "0.58.0",
3+
"version": "0.59.0",
44
"description": "The official TypeScript library for the Anthropic API",
55
"author": "Anthropic <support@anthropic.com>",
66
"types": "dist/index.d.ts",
@@ -13,6 +13,9 @@
1313
"**/*"
1414
],
1515
"private": false,
16+
"publishConfig": {
17+
"access": "public"
18+
},
1619
"scripts": {
1720
"test": "./scripts/test",
1821
"build": "./scripts/build-all",

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.58.0"
20+
version "0.59.0"
2121
# x-release-please-end-version
2222

2323
"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.12.13", "@babel/code-frame@^7.22.13", "@babel/code-frame@^7.23.5":

src/client.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,11 @@ import {
5151
CitationContentBlockLocationParam,
5252
CitationPageLocation,
5353
CitationPageLocationParam,
54+
CitationSearchResultLocationParam,
5455
CitationWebSearchResultLocationParam,
5556
CitationsConfigParam,
5657
CitationsDelta,
58+
CitationsSearchResultLocation,
5759
CitationsWebSearchResultLocation,
5860
ContentBlock,
5961
ContentBlockDeltaEvent,
@@ -93,6 +95,7 @@ import {
9395
RawMessageStreamEvent,
9496
RedactedThinkingBlock,
9597
RedactedThinkingBlockParam,
98+
SearchResultBlockParam,
9699
ServerToolUsage,
97100
ServerToolUseBlock,
98101
ServerToolUseBlockParam,
@@ -976,9 +979,11 @@ export declare namespace Anthropic {
976979
type CitationContentBlockLocationParam as CitationContentBlockLocationParam,
977980
type CitationPageLocation as CitationPageLocation,
978981
type CitationPageLocationParam as CitationPageLocationParam,
982+
type CitationSearchResultLocationParam as CitationSearchResultLocationParam,
979983
type CitationWebSearchResultLocationParam as CitationWebSearchResultLocationParam,
980984
type CitationsConfigParam as CitationsConfigParam,
981985
type CitationsDelta as CitationsDelta,
986+
type CitationsSearchResultLocation as CitationsSearchResultLocation,
982987
type CitationsWebSearchResultLocation as CitationsWebSearchResultLocation,
983988
type ContentBlock as ContentBlock,
984989
type ContentBlockDeltaEvent as ContentBlockDeltaEvent,
@@ -1012,6 +1017,7 @@ export declare namespace Anthropic {
10121017
type RawMessageStreamEvent as RawMessageStreamEvent,
10131018
type RedactedThinkingBlock as RedactedThinkingBlock,
10141019
type RedactedThinkingBlockParam as RedactedThinkingBlockParam,
1020+
type SearchResultBlockParam as SearchResultBlockParam,
10151021
type ServerToolUsage as ServerToolUsage,
10161022
type ServerToolUseBlock as ServerToolUseBlock,
10171023
type ServerToolUseBlockParam as ServerToolUseBlockParam,

src/resources/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,11 @@ export {
3434
type CitationContentBlockLocationParam,
3535
type CitationPageLocation,
3636
type CitationPageLocationParam,
37+
type CitationSearchResultLocationParam,
3738
type CitationWebSearchResultLocationParam,
3839
type CitationsConfigParam,
3940
type CitationsDelta,
41+
type CitationsSearchResultLocation,
4042
type CitationsWebSearchResultLocation,
4143
type ContentBlock,
4244
type ContentBlockParam,
@@ -67,6 +69,7 @@ export {
6769
type RawMessageStreamEvent,
6870
type RedactedThinkingBlock,
6971
type RedactedThinkingBlockParam,
72+
type SearchResultBlockParam,
7073
type ServerToolUsage,
7174
type ServerToolUseBlock,
7275
type ServerToolUseBlockParam,

src/resources/messages/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,11 @@ export {
2626
type CitationContentBlockLocationParam,
2727
type CitationPageLocation,
2828
type CitationPageLocationParam,
29+
type CitationSearchResultLocationParam,
2930
type CitationWebSearchResultLocationParam,
3031
type CitationsConfigParam,
3132
type CitationsDelta,
33+
type CitationsSearchResultLocation,
3234
type CitationsWebSearchResultLocation,
3335
type ContentBlock,
3436
type ContentBlockParam,
@@ -58,6 +60,7 @@ export {
5860
type RawMessageStreamEvent,
5961
type RedactedThinkingBlock,
6062
type RedactedThinkingBlockParam,
63+
type SearchResultBlockParam,
6164
type ServerToolUsage,
6265
type ServerToolUseBlock,
6366
type ServerToolUseBlockParam,

0 commit comments

Comments
 (0)