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.24.0 #150

Merged
merged 1 commit into from
Jun 26, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 26, 2024

Mend Renovate

This PR contains the following updates:

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

Release Notes

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

v0.24.0

Full Changelog: sdk-v0.23.0...sdk-v0.24.0

Features

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 has been generated by Mend Renovate. View repository job log here.

Copy link

openai debug - [puLL-Merge] - anthropics/anthropic-sdk-typescript@sdk-v0.23.0..sdk-v0.24.0

Description

This pull request updates the SDK from version 0.23.0 to 0.24.0. The update brings several changes:

  1. A new model claude-3-5-sonnet-20240620 is added.
  2. Modified the system parameter to accept an array of TextBlockParam.
  3. Updated OpenAPI spec URL in .stats.yml.
  4. Adjusted version numbers in various configuration files.
  5. Extended corresponding test cases to include the new model.

Security Hotspots

There are no significant security hotspots identified in this PR.

Changes

Changes

.release-please-manifest.json

  • Updated version from 0.23.0 to 0.24.0.

.stats.yml

  • Changed the openapi_spec_url to a new URL.

CHANGELOG.md

  • Added changelog entry for version 0.24.0, including reference to new model addition.

package.json

  • Updated version from 0.23.0 to 0.24.0.

src/resources/messages.ts

  • Added claude-3-5-sonnet-20240620 to the list of models.
  • Modified the type of system parameter to include Array<TextBlockParam>.

src/version.ts

  • Updated version constant to 0.24.0.

tests/api-resources/messages.test.ts

  • Updated test cases to use claude-3-5-sonnet-20240620.
  • Modified system parameter test to use an array of TextBlockParam.

Copy link

anthropic debug - [puLL-Merge] - anthropics/anthropic-sdk-typescript@sdk-v0.23.0..sdk-v0.24.0

Description

This PR updates the Anthropic SDK for TypeScript to version 0.24.0. The main change is the addition of a new Claude model, 'claude-3-5-sonnet-20240620', and an update to the system parameter in message creation to allow for an array of TextBlockParam objects.

Changes

Changes

  1. Version Updates:

    • .release-please-manifest.json: Updated version from 0.23.0 to 0.24.0
    • package.json: Updated version from 0.23.0 to 0.24.0
    • src/version.ts: Updated VERSION constant from 0.23.0 to 0.24.0
  2. OpenAPI Spec Update:

    • .stats.yml: Updated the OpenAPI spec URL to a new version
  3. Changelog Update:

    • CHANGELOG.md: Added entry for version 0.24.0, mentioning the new Claude model
  4. API Resource Update:

    • src/resources/messages.ts:
      • Added 'claude-3-5-sonnet-20240620' as a new model option
      • Updated the system parameter type to allow for string | Array<TextBlockParam>
  5. Test Update:

    • tests/api-resources/messages.test.ts:
      • Updated the model used in tests from 'claude-3-opus-20240229' to 'claude-3-5-sonnet-20240620'
      • Updated the system parameter in the test to use the new array format

Possible Issues

No major issues identified. The changes appear to be straightforward updates to support a new model and enhance the flexibility of the system parameter.

Copy link

bedrock debug - [puLL-Merge] - anthropics/anthropic-sdk-typescript@sdk-v0.23.0..sdk-v0.24.0

Description

This PR updates the Anthropic SDK to version 0.24.0. The main change is adding support for a new model, claude-3-5-sonnet-20240620. It also allows passing an array of TextBlockParam objects for the system parameter when creating messages.

Changes

Changes

  • .release-please-manifest.json: Bumped version to 0.24.0
  • .stats.yml: Updated the openapi_spec_url to point to a new API spec
  • CHANGELOG.md: Added entry for 0.24.0 release noting the new model addition
  • package.json: Bumped version to 0.24.0
  • src/resources/messages.ts:
    • Added 'claude-3-5-sonnet-20240620' as an allowed value for the model parameter
    • Changed type of system parameter to allow an array of TextBlockParam objects in addition to a string
  • src/version.ts: Updated SDK version to 0.24.0
  • tests/api-resources/messages.test.ts:
    • Updated test to use the new claude-3-5-sonnet-20240620 model
    • Changed system parameter in test to use an array of TextBlockParam

@thypon thypon merged commit dc011eb into main Jun 26, 2024
8 checks passed
@thypon thypon deleted the renovate/anthropic-ai-sdk-0.x branch June 26, 2024 15:06
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