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.3 #156

Merged
merged 1 commit into from
Jul 10, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 10, 2024

Mend Renovate

This PR contains the following updates:

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

Release Notes

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

v0.24.3

Full Changelog: sdk-v0.24.2...sdk-v0.24.3

Bug Fixes
  • types: avoid errors on certain TS versions (dd6aca5)

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/[email protected]

Description

This PR updates the version of the anthropic-sdk-typescript library from 0.24.2 to 0.24.3. The motivation behind this update includes:

  • A bug fix to avoid errors on certain TypeScript versions.
  • Updates to the versioning metadata.
Changes

Changes

  • .release-please-manifest.json

    • Updated the version of the root package from 0.24.2 to 0.24.3.
  • CHANGELOG.md

    • Added a new section for version 0.24.3 with a link to the full changelog and a description of the bug fix.
  • package.json

    • Updated the package version from 0.24.2 to 0.24.3.
  • src/_vendor/partial-json-parser/parser.ts

    • Enhanced type annotations for the tokenize function by explicitly defining the return type and initializing the tokens array with the Token type.
  • src/lib/MessageStream.ts

    • Changed import statements to use the type modifier for TypeScript types to improve code readability and maintainability.
    • Fixed rearrangement of imports for the TextBlock type.
  • src/version.ts

    • Updated the constant VERSION from 0.24.2 to 0.24.3.

No major issues or security hotspots were identified in this update.

Copy link

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

Description

This PR is a minor version update from 0.24.2 to 0.24.3. The main changes involve bug fixes related to TypeScript types and some minor refactoring to improve type safety.

Changes

Changes

  1. .release-please-manifest.json:

    • Updated the version number from 0.24.2 to 0.24.3.
  2. CHANGELOG.md:

    • Added an entry for version 0.24.3, dated 2024-07-01.
    • Included a bug fix note: "avoid errors on certain TS versions".
  3. package.json:

    • Updated the version number from 0.24.2 to 0.24.3.
  4. src/_vendor/partial-json-parser/parser.ts:

    • Added explicit type annotations to improve type safety:
      • The tokenize function now explicitly returns Token[].
      • The tokens variable is now explicitly typed as Token[].
  5. src/lib/MessageStream.ts:

    • Refactored import statements to use type imports for better type safety.
    • Added type import for TextBlock.
  6. src/version.ts:

    • Updated the VERSION constant from '0.24.2' to '0.24.3'.

Overall, this PR focuses on minor version updates and TypeScript type improvements to enhance type safety and compatibility across different TypeScript versions.

Copy link

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

Description

This PR updates the Anthropic SDK to version 0.24.3. The main changes are:

  • Bumping the version number in various configuration files
  • Fixing a TypeScript type error that occurred on certain TS versions
  • Adding explicit type annotations in a few places

The motivation seems to be fixing a TypeScript compatibility issue and publishing an updated version of the SDK.

Changes

Changes

  • .release-please-manifest.json: Bumped version from 0.24.2 to 0.24.3
  • CHANGELOG.md:
    • Added a new section for version 0.24.3
    • Noted the TypeScript type fix under "Bug Fixes"
  • package.json: Bumped version from 0.24.2 to 0.24.3
  • src/_vendor/partial-json-parser/parser.ts:
    • Added explicit return type Token[] to tokenize function
    • Added explicit type Token[] to tokens variable
  • src/lib/MessageStream.ts:
    • Imported some types explicitly using type keyword instead of directly
  • src/version.ts: Updated the VERSION constant to '0.24.3'

@thypon thypon merged commit f1b08d4 into main Jul 10, 2024
8 checks passed
@thypon thypon deleted the renovate/anthropic-ai-sdk-0.x branch July 10, 2024 07:28
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