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.23.0 #146

Merged
merged 1 commit into from
Jun 20, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 19, 2024

Mend Renovate

This PR contains the following updates:

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

Release Notes

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

v0.23.0

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

Features
Bug Fixes

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.22.0..sdk-v0.23.0

Description

This PR updates the Anthropic SDK TypeScript repository to version 0.23.0. The main changes include support for application/octet-stream request bodies and a bug fix for allowing git imports using pnpm. It also includes housekeeping updates like version bumps and changelog entries.

Changes

Changes

  • .release-please-manifest.json

    • Updated the root project version from 0.22.0 to 0.23.0.
  • CHANGELOG.md

    • Added entries for the 0.23.0 release, detailing new features and bug fixes:
      • Feature: Support for application/octet-stream request bodies.
      • Bug Fix: Allow git imports for pnpm.
  • package.json

    • Updated the package version from 0.22.0 to 0.23.0.
    • Removed the prepack script.
  • src/core.ts

    • Extended request processing to handle various binary body types like BlobLike, DataView, and ArrayBuffer.
    • Enhanced calculateContentLength to support ArrayBuffer.
    • Added __binaryRequest to RequestOptions to signify binary request bodies.
    • Updated FinalRequestOptions to include DataView.
  • src/version.ts

    • Updated the version constant from 0.22.0 to 0.23.0.

Possible Issues

  1. TypeScript Type Definitions: Extending RequestOptions to accept multiple binary types (BlobLike, ArrayBufferView, ArrayBuffer) could lead to type ambiguity or misuse if not properly documented and validated.
  2. Backward Compatibility: Removing the prepack script might impact users relying on this script for packaging workflows.
Changes

Changes

  • .release-please-manifest.json

    • Update project version: 0.22.0 -> 0.23.0
  • CHANGELOG.md

    • Add version 0.23.0 details
  • package.json

    • Update version: 0.22.0 -> 0.23.0
    • Remove prepack script
  • src/core.ts

    • Add support for multiple binary body types: BlobLike, DataView, ArrayBuffer.
    • Enhance calculateContentLength for handling ArrayBuffer.
    • Add __binaryRequest flag in RequestOptions.
    • Update FinalRequestOptions type.
  • src/version.ts

    • Update version constant: 0.22.0 -> 0.23.0

Copy link

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

Description

This PR bumps the version of the Anthropic SDK from 0.22.0 to 0.23.0. It adds support for application/octet-stream request bodies and fixes an issue to allow git imports with pnpm.

Changes

Changes

.release-please-manifest.json

  • Version bumped from 0.22.0 to 0.23.0

CHANGELOG.md

  • Added changelog entry for 0.23.0 release
  • Lists new features:
    • Support for application/octet-stream request bodies (#436)
  • Lists bug fixes:
    • Allow git imports for pnpm (#433)

package.json

  • Version bumped from 0.22.0 to 0.23.0
  • Removed prepack script

src/core.ts

  • Added handling for ArrayBuffer, ArrayBufferView and BlobLike request body types
  • Set contentLength header for ArrayBufferView request bodies
  • Pass ArrayBuffer, ArrayBufferView, BlobLike request bodies directly, without JSON stringifying
  • Added __binaryRequest option to RequestOptions type

src/version.ts

  • Version bumped from 0.22.0 to 0.23.0

Copy link

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

Description

This PR bumps the version of the Anthropic TypeScript SDK from 0.22.0 to 0.23.0. It adds support for application/octet-stream request bodies and fixes an issue to allow git imports for pnpm.

Changes

Changes

  • .release-please-manifest.json: Bumps the version from 0.22.0 to 0.23.0.
  • CHANGELOG.md:
    • Adds a new section for the 0.23.0 release.
    • Documents the new features (support for application/octet-stream request bodies) and bug fixes (allowing git imports for pnpm).
  • package.json:
    • Bumps the version from 0.22.0 to 0.23.0.
    • Removes the prepack script.
  • src/core.ts:
    • Adds handling for ArrayBuffer, ArrayBufferView, and BlobLike request body types.
    • Calculates the Content-Length header for ArrayBufferView request bodies.
    • Adds a new __binaryRequest option to RequestOptions to indicate the request body is binary data.
    • Expands RequestOptions type to allow ArrayBuffer, ArrayBufferView and BlobLike request body types.
  • src/version.ts: Bumps the VERSION constant from 0.22.0 to 0.23.0.

The main changes are in src/core.ts to add support for binary request bodies. The other changes are to bump the version and update documentation.

@thypon thypon merged commit 0270c20 into main Jun 20, 2024
8 checks passed
@thypon thypon deleted the renovate/anthropic-ai-sdk-0.x branch June 20, 2024 04:32
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