From d0565e8873e0e3f887c40924a662d425408b044b Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 8 Jul 2024 16:52:51 +0000 Subject: [PATCH] release: 0.31.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 23 +++++++++++++++++++++++ pyproject.toml | 2 +- src/anthropic/_version.py | 2 +- 4 files changed, 26 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 20e1f11f..f81bf992 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.30.1" + ".": "0.31.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index c979562b..067a4e38 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,28 @@ # Changelog +## 0.31.0 (2024-07-08) + +Full Changelog: [v0.30.1...v0.31.0](https://github.com/anthropics/anthropic-sdk-python/compare/v0.30.1...v0.31.0) + +### Features + +* fix: Updated doc typo ([995a7bd](https://github.com/anthropics/anthropic-sdk-python/commit/995a7bdc0cafb590ca8c78431d3c50259d00a568)) +* **vertex:** add copy and with_options ([#578](https://github.com/anthropics/anthropic-sdk-python/issues/578)) ([b9827c1](https://github.com/anthropics/anthropic-sdk-python/commit/b9827c13fb15995bfe355d91a2856495c6dd64a9)) + + +### Bug Fixes + +* **client:** always respect content-type multipart/form-data if provided ([#574](https://github.com/anthropics/anthropic-sdk-python/issues/574)) ([73ed0cc](https://github.com/anthropics/anthropic-sdk-python/commit/73ed0cc3038cdd878231c2424418ae70cace12d0)) +* **streaming/messages:** more robust event type construction ([#576](https://github.com/anthropics/anthropic-sdk-python/issues/576)) ([0e50b4a](https://github.com/anthropics/anthropic-sdk-python/commit/0e50b4afeb0a081921b1e5f40f92d227227f04a3)) +* **vertex:** avoid credentials refresh on every request ([#575](https://github.com/anthropics/anthropic-sdk-python/issues/575)) ([0f6f11c](https://github.com/anthropics/anthropic-sdk-python/commit/0f6f11c95cea45cd24146d5025b7bcd3cb795f53)) + + +### Chores + +* **ci:** update rye to v0.35.0 ([#577](https://github.com/anthropics/anthropic-sdk-python/issues/577)) ([0407a1b](https://github.com/anthropics/anthropic-sdk-python/commit/0407a1baa974b911d1df1ae6657b767d78b83e8d)) +* **internal:** add helper method for constructing `BaseModel`s ([#572](https://github.com/anthropics/anthropic-sdk-python/issues/572)) ([9bd160b](https://github.com/anthropics/anthropic-sdk-python/commit/9bd160bff0427afd0dafcc687e7f52f81daa2e04)) +* **internal:** fix formatting ([b54cf09](https://github.com/anthropics/anthropic-sdk-python/commit/b54cf0962ca271a22d7f18ce60fd6dd640ab813e)) + ## 0.30.1 (2024-07-01) Full Changelog: [v0.30.0...v0.30.1](https://github.com/anthropics/anthropic-sdk-python/compare/v0.30.0...v0.30.1) diff --git a/pyproject.toml b/pyproject.toml index 3824bfca..491cbfc5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "anthropic" -version = "0.30.1" +version = "0.31.0" description = "The official Python library for the anthropic API" dynamic = ["readme"] license = "MIT" diff --git a/src/anthropic/_version.py b/src/anthropic/_version.py index 63778ab3..bb4a1435 100644 --- a/src/anthropic/_version.py +++ b/src/anthropic/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "anthropic" -__version__ = "0.30.1" # x-release-please-version +__version__ = "0.31.0" # x-release-please-version