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.20.9 #130

Merged
merged 1 commit into from
May 15, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 15, 2024

Mend Renovate

This PR contains the following updates:

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

Release Notes

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

v0.20.9

Full Changelog: sdk-v0.20.8...sdk-v0.20.9

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

Copy link

openai debug - [puLL-Merge] - anthropics/anthropic-sdk-typescript@sdk-v0.20.8..sdk-v0.20.9

Description

This pull request introduces a variety of changes to the anthropic-sdk-typescript repository, including CI enhancements, introduction of new scripts for building and testing, general refactoring including file relocation for several scripts to a utility directory, and version bumps for both the main package and its sub-packages. The motivation appears to involve improving the build process, integration testing, version management, and maintaining consistent and up-to-date dependency versions across the repository.

Changes

Changes

.github/workflows/ci.yml

  • Added a new job for running tests on the ubuntu-latest runner, with Node version 18 setup, and custom scripts for bootstrap and running tests.

.gitignore

  • Added Brewfile.lock.json to the list of ignored files, likely in relation to the new dependency management practices using Homebrew.

.release-please-manifest.json and respective CHANGELOG.md files for the entire project and sub-packages bedrock-sdk and vertex-sdk

  • Updated version references to reflect new minor updates.

package.json, packages/bedrock-sdk/package.json, packages/vertex-sdk/package.json

  • Incremented version numbers to align with the changes logged in the changelogs.

Addition of Brewfile

  • New file suggesting the use of Homebrew for dependency management, at least on macOS, with a dependency on Node.

Removal of bin/check-test-server

  • Deprecated custom script for testing if a Prism mock server is running, possibly replaced or deemed redundant by new scripts.

Build scripts (build, packages/bedrock-sdk/build, packages/vertex-sdk/build)

  • Modifications for build scripts to accommodate relocated utility scripts.

Test scripts (scripts/test, inclusion of automated testing steps in ci.yml)

  • Enhanced testing procedures, including provision for automated testing within CI, and more robust handling of test prerequisites like checking for running instances of mock servers or using a live API endpoint as defined by an environment variable.

Scripts Renamed/Modified

  • Numerous scripts have been relocated to a utils directory or consolidated, reflecting an effort to organize and potentially simplify the build and deployment pipelines.

Possible Issues

  • Dependency on Homebrew: The reliance on Homebrew can introduce issues for non-macOS users unless equivalent setups or checks are implemented for other operating systems.
  • Reorganization of Scripts: While generally an improvement for maintainability, reorganizing scripts can introduce errors if references to these scripts are not updated everywhere or if the new organization introduces path resolution issues in certain contexts.

Security Hotspots

This section is omitted as there are no changes suggesting immediate or significant security risks from the information provided in the pull request. The overall changes seem oriented towards infrastructure and build processes, without direct implications on runtime security. However, the usual caution regarding up-to-date dependency management and careful exposure of endpoints via CI should be maintained.

Copy link

anthropic debug - [puLL-Merge] - anthropics/anthropic-sdk-typescript@sdk-v0.20.8..sdk-v0.20.9

Description

This PR makes several improvements to the build and test scripts of the Anthropic TypeScript SDK:

  • Refactors the build, test, lint, and other scripts to be more modular and consistent
  • Adds a bootstrap script to install Homebrew and Node dependencies
  • Improves the mock script to specify an exact version of the Prism CLI
  • Improves the test script to provide better error messages when the mock server isn't running
  • Moves utility scripts into a scripts/utils directory
  • Adds a GitHub Actions workflow to run tests on PRs
  • Updates changelog, versions, and release manifest for a new 0.20.9 release
Changes

Changes

  • .github/workflows/ci.yml: Adds a new test job to the CI workflow to run tests
  • .gitignore: Ignores Brewfile.lock.json
  • .release-please-manifest.json, package.json, src/version.ts, CHANGELOG.md, packages/*/CHANGELOG.md, packages/*/package.json: Updates versions and changelogs for 0.20.9 release
  • .stats.yml: Adds openapi_spec_url field
  • Brewfile: Adds a Brewfile to install Node via Homebrew
  • bin/check-test-server: Removes this script, functionality moved into scripts/test
  • scripts/bootstrap: Adds script to bootstrap development environment
  • build -> scripts/build, build-all -> scripts/build-all: Moves top-level build scripts into scripts/
  • scripts/lint: Adds script to run linter
  • scripts/mock: Improves mock script to specify Prism CLI version
  • scripts/test: Improves test script with better error handling
  • scripts/check-is-in-git-install.sh -> scripts/utils/check-is-in-git-install.sh, scripts/*.cjs -> scripts/utils/*.cjs: Moves utility scripts to scripts/utils
  • packages/*/build: Updates build scripts to reference utility scripts in new location

Possible Issues

No major issues identified. The changes are primarily to the build and test infrastructure.

Copy link

bedrock debug - [puLL-Merge] - anthropics/anthropic-sdk-typescript@sdk-v0.20.8..sdk-v0.20.9

Description

This PR makes several changes to the SDK codebase, primarily focused on refactoring and improving the build and test scripts. It adds a new test job to the CI workflow, updates dependencies, and fixes a bug related to the client file.

Changes

Changes

  • .github/workflows/ci.yml: Adds a new test job that runs on Ubuntu and Node 18. It checks out the code, sets up Node, bootstraps the project, and runs the tests.
  • .gitignore: Ignores the Brewfile.lock.json file.
  • .release-please-manifest.json: Bumps the version numbers for the SDK and sub-packages.
  • .stats.yml: Adds a link to the OpenAPI spec used by the SDK.
  • Brewfile: New file that specifies node as a Homebrew dependency.
  • CHANGELOG.md, packages/bedrock-sdk/CHANGELOG.md, packages/vertex-sdk/CHANGELOG.md: Updated with changes for the new version.
  • bin/check-test-server: Removed.
  • package.json, packages/bedrock-sdk/package.json, packages/vertex-sdk/package.json: Version bumps and script changes to reference new locations of scripts.
  • scripts/bootstrap: New script to install Homebrew and Node dependencies.
  • build -> scripts/build: Moved build script and updated to reference utility scripts in their new location.
  • build-all -> scripts/build-all: Moved script.
  • scripts/lint: New script to run ESLint.
  • scripts/mock, scripts/test: Improved mock server and test scripts. Integrated functionality from removed check-test-server script.
  • scripts/check-is-in-git-install.sh and other scripts moved to scripts/utils/: Reorganized utility scripts into subdirectory.
  • src/version.ts: Version bump.

Possible Issues

No major issues identified. The changes are primarily to the build and test infrastructure.

@thypon thypon merged commit 19e26fc into main May 15, 2024
9 checks passed
@thypon thypon deleted the renovate/anthropic-ai-sdk-0.x branch May 15, 2024 16:36
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.

None yet

1 participant