-
Notifications
You must be signed in to change notification settings - Fork 193
chore: release main #860
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
chore: release main #860
Conversation
aebde07 to
3e2cadb
Compare
3e2cadb to
bd6180d
Compare
edf0cc2 to
e177bf2
Compare
e177bf2 to
9f1e203
Compare
|
@dtmeadows I'm a bit confused here, I don't see any changes in the diff for what is mentioned in the changelog |
e4b317f to
5db313f
Compare
fix(client): don't strip path from filename for skills endpoint
398ecdb to
f15abbc
Compare
docs: update README with Claude branding - Add Claude sparkle logo to header - Rename to "Claude SDK for TypeScript" - Use "Claude API" terminology instead of "Anthropic API" - Link to TypeScript SDK docs at platform.claude.com - Simplify and consolidate documentation sections Co-Authored-By: Claude <[email protected]>
0e77c2c to
ddb1572
Compare
7d44678 to
1cdc8ee
Compare
eba7ca7 to
626d943
Compare
626d943 to
fe86462
Compare
| runs-on: 'ubuntu-latest' | ||
| name: detect-breaking-changes | ||
| if: github.repository == 'anthropics/anthropic-sdk-typescript' | ||
| steps: | ||
| - name: Calculate fetch-depth | ||
| run: | | ||
| echo "FETCH_DEPTH=$(expr ${{ github.event.pull_request.commits }} + 1)" >> $GITHUB_ENV | ||
|
|
||
| - uses: actions/checkout@v4 | ||
| with: | ||
| # Ensure we can check out the pull request base in the script below. | ||
| fetch-depth: ${{ env.FETCH_DEPTH }} | ||
|
|
||
| - name: Set up Node | ||
| uses: actions/setup-node@v3 | ||
| with: | ||
| node-version: '20' | ||
| - name: Install dependencies | ||
| run: | | ||
| yarn install | ||
|
|
||
| - name: Detect breaking changes | ||
| run: | | ||
| # Try to check out previous versions of the breaking change detection script. This ensures that | ||
| # we still detect breaking changes when entire files and their tests are removed. | ||
| git checkout "${{ github.event.pull_request.base.sha }}" -- ./scripts/detect-breaking-changes 2>/dev/null || true | ||
| ./scripts/detect-breaking-changes ${{ github.event.pull_request.base.sha }} |
Check warning
Code scanning / CodeQL
Workflow does not contain permissions Medium
Show autofix suggestion
Hide autofix suggestion
Copilot Autofix
AI 6 days ago
In general, the fix is to explicitly define permissions for the workflow or for the specific job so that the GITHUB_TOKEN has only the minimal scopes required. For this job, we only need to read repository contents to check out code and run the breaking-change detection script, so setting contents: read at the job or workflow level is appropriate.
The best fix without changing existing functionality is to add a permissions block that grants contents: read for the job detect_breaking_changes. This keeps the scope tight and does not affect any other workflows. Concretely, in .github/workflows/detect-breaking-changes.yml, add a permissions: mapping under the detect_breaking_changes job, between the name: and if: lines. No new imports or external dependencies are required; this is purely a YAML configuration change.
-
Copy modified lines R12-R13
| @@ -9,6 +9,8 @@ | ||
| detect_breaking_changes: | ||
| runs-on: 'ubuntu-latest' | ||
| name: detect-breaking-changes | ||
| permissions: | ||
| contents: read | ||
| if: github.repository == 'anthropics/anthropic-sdk-typescript' | ||
| steps: | ||
| - name: Calculate fetch-depth |
6af42f3 to
fcb889c
Compare
fcb889c to
46ef06c
Compare
722c356 to
2f6d273
Compare
Co-authored-by: Vibeke Tengroth <[email protected]> Co-authored-by: Packy Gallagher <[email protected]>
d30a06b to
2c6a794
Compare
2c6a794 to
c96dcfc
Compare
✨ Stainless prepared a new release
sdk: 0.72.0
0.72.0 (2026-01-11)
Full Changelog: sdk-v0.71.2...sdk-v0.72.0
Features
Bug Fixes
Chores
Documentation
vertex-sdk: 0.14.2
0.14.2 (2026-01-11)
Full Changelog: vertex-sdk-v0.14.1...vertex-sdk-v0.14.2
Chores
Documentation
bedrock-sdk: 0.26.2
0.26.2 (2026-01-11)
Full Changelog: bedrock-sdk-v0.26.1...bedrock-sdk-v0.26.2
Chores
Documentation
foundry-sdk: 0.2.2
0.2.2 (2026-01-11)
Full Changelog: foundry-sdk-v0.2.1...foundry-sdk-v0.2.2
Chores
Documentation
This pull request is managed by Stainless's GitHub App.
The semver version number is based on included commit messages. Alternatively, you can manually set the version number in the title of this pull request.
For a better experience, it is recommended to use either rebase-merge or squash-merge when merging this pull request.
🔗 Stainless website
📚 Read the docs
🙋 Reach out for help or questions