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.27.2 #178

Merged
merged 1 commit into from
Sep 11, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 11, 2024

This PR contains the following updates:

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

Release Notes

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

v0.27.2

Full Changelog: sdk-v0.27.1...sdk-v0.27.2

Bug Fixes
  • client: correct File construction from node-fetch Responses (#​518) (62ae46f)
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

openai debug - [puLL-Merge] - anthropics/anthropic-sdk-typescript@sdk-v0.27.1..sdk-v0.27.2

Description

This pull request introduces several key changes to the anthropic-sdk-typescript repository to improve the software quality and user experience. The main changes include:

  1. CI Workflow Modification:

    • Replaces the yarn install step with a ./scripts/bootstrap step to centralize dependency installation and initial setup.
  2. Version Updates:

    • Bumps the version from 0.27.1 to 0.27.2 in multiple files (package.json, .release-please-manifest.json, src/version.ts).
  3. Changelog Addition:

    • Adds a new section to CHANGELOG.md documenting the changes in version 0.27.2.
  4. Deprecation Warnings:

    • Adds deprecation warnings for specified models in the create method of the Messages resource.
  5. TypeScript Improvements:

    • Enhances the lint script to include TypeScript compilation checks.
  6. File Handling Fix:

    • Fixes a bug in the toFile method to correctly handle Blob objects in node-fetch responses.
  7. Tests:

    • Adds unit tests for deprecated models to ensure the deprecation warnings work as expected.

Possible Issues

None

Security Hotspots

None

Changes

Changes

  • .github/workflows/ci.yml:

    • Replaces yarn install with ./scripts/bootstrap.
  • .release-please-manifest.json:

    • Changes version from 0.27.1 to 0.27.2.
  • CHANGELOG.md:

    • Updates the changelog to include changes for version 0.27.2.
  • package.json:

    • Bumps version from 0.27.1 to 0.27.2.
  • scripts/lint:

    • Adds a TypeScript compilation (tsc --noEmit) step to the lint script.
  • src/resources/messages.ts:

    • Adds deprecation warnings for specified models when the create method is called.
  • src/uploads.ts:

    • Fixes file creation from node-fetch responses by converting Blob objects into array buffers.
  • src/version.ts:

    • Updates the version constant to 0.27.2.
  • tests/api-resources/messages.test.ts:

    • Adds new tests to verify deprecation warnings for deprecated models.

Copy link

anthropic debug - [puLL-Merge] - anthropics/anthropic-sdk-typescript@sdk-v0.27.1..sdk-v0.27.2

Description

This PR introduces several changes to the Anthropic SDK for TypeScript, including version updates, CI improvements, deprecation warnings for certain models, and bug fixes. The main goals appear to be improving the development process, updating the SDK version, and preparing users for upcoming model deprecations.

Changes

Changes

  1. .github/workflows/ci.yml:

    • Replaced yarn install with ./scripts/bootstrap for dependency installation in CI jobs.
  2. .release-please-manifest.json and package.json:

    • Updated the SDK version from 0.27.1 to 0.27.2.
  3. CHANGELOG.md:

    • Added entries for version 0.27.2, including bug fixes, chores, and API changes.
  4. scripts/lint:

    • Added TypeScript compilation check (tsc --noEmit) to the lint script.
  5. src/resources/messages.ts:

    • Implemented deprecation warnings for certain Claude models.
    • Added a DEPRECATED_MODELS constant with end-of-life dates.
  6. src/uploads.ts:

    • Fixed a bug related to File construction from node-fetch Responses.
  7. src/version.ts:

    • Updated the SDK version to 0.27.2.
  8. tests/api-resources/messages.test.ts:

    • Added tests for the new model deprecation warnings.

Possible Issues

The introduction of deprecation warnings for certain models may cause unexpected console output for users who are still using these models. While this is intentional, it might surprise some users who haven't been following the deprecation announcements closely.

Security Hotspots

There are no apparent security issues introduced by this PR.

Copy link

bedrock debug - [puLL-Merge] - anthropics/anthropic-sdk-typescript@sdk-v0.27.1..sdk-v0.27.2

Description

This PR includes several changes to the Anthropic SDK for TypeScript, including bug fixes, dependency updates, and improvements to the CI process. It also introduces deprecation warnings for certain Claude models and updates the version number to 0.27.2.

Changes

Changes

  1. .github/workflows/ci.yml:

    • Replaced yarn install with ./scripts/bootstrap for installing dependencies in CI workflows.
  2. .release-please-manifest.json:

    • Updated the version number to 0.27.2.
  3. CHANGELOG.md:

    • Added entries for version 0.27.2, including bug fixes, chores, and dependency updates.
  4. package.json:

    • Updated the version number to 0.27.2.
  5. scripts/lint:

    • Added a step to run tsc --noEmit as part of the lint script.
  6. src/resources/messages.ts:

    • Introduced deprecation warnings for certain Claude models.
    • Added a DEPRECATED_MODELS constant with end-of-life dates for specific models.
  7. src/uploads.ts:

    • Fixed an issue with File construction from node-fetch Responses.
  8. src/version.ts:

    • Updated the version number to 0.27.2.
  9. tests/api-resources/messages.test.ts:

    • Added tests for the new deprecation warnings.

Possible Issues

The introduction of deprecation warnings for certain Claude models may cause unexpected console output in applications using these models. Developers should be aware of this change and update their code accordingly.

Security Hotspots

There are no apparent security hotspots in this change.

@thypon thypon merged commit 4fcd15e into main Sep 11, 2024
8 checks passed
@thypon thypon deleted the renovate/anthropic-ai-sdk-0.x branch September 11, 2024 14:22
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