Skip to content
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

fix(deps): update dependency @anthropic-ai/sdk to v0.30.0 #196

Merged
merged 1 commit into from
Oct 23, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 23, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@anthropic-ai/sdk 0.29.2 -> 0.30.0 age adoption passing confidence

Release Notes

anthropics/anthropic-sdk-typescript (@​anthropic-ai/sdk)

v0.30.0

Full Changelog: sdk-v0.29.2...sdk-v0.30.0

Features
  • api: add new model and computer-use-2024-10-22 beta (6981d89)
  • bedrock: add beta.messages.create() method (6317592)
  • vertex: add beta.messages.create() (22cfdba)
Bug Fixes
  • client: respect x-stainless-retry-count default headers (#​562) (274573f)
Chores

Configuration

📅 Schedule: Branch creation - "* 0-4 * * 3" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link

bedrock debug - [puLL-Merge] - anthropics/[email protected]

Description

This pull request updates the Anthropic TypeScript SDK from version 0.29.0 to 0.29.2. It includes bug fixes, changes to the beta features handling, and updates to the changelog and version numbers.

Changes

Changes

  1. .release-please-manifest.json:

    • Updated the version number from 0.29.0 to 0.29.2
  2. .stats.yml:

    • Updated the OpenAPI spec URL
  3. CHANGELOG.md:

    • Added entries for versions 0.29.2 and 0.29.1, detailing bug fixes and chores
  4. package.json:

    • Updated the version number from 0.29.0 to 0.29.2
  5. src/resources/beta/messages/batches.ts:

    • Modified the handling of the betas parameter in multiple methods
    • Updated the BatchCreateParams interface to omit the betas property from MessageCreateParamsNonStreaming
  6. src/resources/beta/prompt-caching/messages.ts:

    • Modified the handling of the betas parameter in the create method
  7. src/version.ts:

    • Updated the VERSION constant from 0.29.0 to 0.29.2

The main changes focus on improving the handling of beta features and fixing issues related to the betas parameter. The PR also includes version updates and changelog entries to reflect these changes.

Possible Issues

The changes to the betas parameter handling in multiple files might cause unexpected behavior if not properly tested, especially in edge cases where betas is undefined or an empty array.

Copy link

openai debug - [puLL-Merge] - anthropics/[email protected]

Description

This pull request increments the version number of the anthropic-sdk-typescript package from 0.29.0 to 0.29.2, reflecting the addition of bug fixes and internal chore updates. Specifically, it modifies the handling of the betas parameter within the Batch API by ensuring it correctly merges with the default values. Additionally, the OpenAPI specification URL is updated to a newer version in the configuration file.

Changes

Changes

  • .release-please-manifest.json

    • Updated the version from 0.29.0 to 0.29.2.
  • .stats.yml

    • Changed the openapi_spec_url to point to a new location.
  • CHANGELOG.md

    • Added entries for version 0.29.2 and 0.29.1, detailing the changes including bug fixes and the internal spec URL update.
  • package.json

    • Updated the version from 0.29.0 to 0.29.2.
  • src/resources/beta/messages/batches.ts

    • Modified several API requests to merge betas param with a default value of 'message-batches-2024-09-24'.
  • src/resources/beta/prompt-caching/messages.ts

    • Similarly updated to merge betas param with a default value of 'prompt-caching-2024-07-31'.
  • src/version.ts

    • Updated the version constant from 0.29.0 to 0.29.2.

Possible Issues

  • No significant issues identified.

Security Hotspots

  • None identified.

The updates primarily involve versioning, documentation, and internal parameter handling which do not introduce any security risks.

Copy link

anthropic debug - [puLL-Merge] - anthropics/[email protected]

Description

This PR updates the Anthropic TypeScript SDK from version 0.29.0 to 0.29.2. It includes bug fixes, minor improvements, and version updates across various files.

Changes

Changes

  1. .release-please-manifest.json:

    • Updated the main package version from 0.29.0 to 0.29.2
  2. .stats.yml:

    • Updated the openapi_spec_url to a new version
  3. CHANGELOG.md:

    • Added entries for versions 0.29.2 and 0.29.1
    • Documented bug fixes and chores for each version
  4. package.json:

    • Updated the version from 0.29.0 to 0.29.2
  5. src/resources/beta/messages/batches.ts:

    • Modified the handling of the betas parameter in API calls
    • Updated the BatchCreateParams interface to omit the betas property from MessageCreateParamsNonStreaming
  6. src/resources/beta/prompt-caching/messages.ts:

    • Updated the handling of the betas parameter in the API call
  7. src/version.ts:

    • Updated the VERSION constant from 0.29.0 to 0.29.2

The main changes in this PR are:

  1. Fixing the handling of the betas parameter in API calls
  2. Removing a misleading betas property from the BatchCreateParams interface
  3. Updating the SDK version and changelog

These changes aim to improve the SDK's functionality and maintain consistency with the latest API specifications.

@thypon thypon merged commit 4ae0f00 into main Oct 23, 2024
8 checks passed
@thypon thypon deleted the renovate/anthropic-ai-sdk-0.x branch October 23, 2024 03:58
@renovate renovate bot changed the title fix(deps): update dependency @anthropic-ai/sdk to v0.29.2 fix(deps): update dependency @anthropic-ai/sdk to v0.30.0 Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant