From bfeb677a8a57f431e300d0a75d78b406252697d1 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 5 Feb 2025 23:25:14 +0000 Subject: [PATCH 1/4] chore(main): release 0.1.0 --- CHANGELOG.md | 43 +++++++++++++++++++++++++++++++++++++++++++ pyproject.toml | 2 +- 2 files changed, 44 insertions(+), 1 deletion(-) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..d957e1f8 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,43 @@ +# Changelog + +## 0.1.0 (2025-02-05) + + +### ⚠ BREAKING CHANGES + +* Improve PyPI package name. ([#17](https://github.com/googleapis/genai-toolbox-langchain-python/issues/17)) +* **langchain-sdk:** Migrate existing state and APIs to a tools level class. ([#171](https://github.com/googleapis/genai-toolbox-langchain-python/issues/171)) +* **toolbox-sdk:** deprecate 'add_auth_headers' in favor of 'add_auth_tokens' ([#170](https://github.com/googleapis/genai-toolbox-langchain-python/issues/170)) + +### Features + +* Add support for sync operations ([#15](https://github.com/googleapis/genai-toolbox-langchain-python/issues/15)) ([9885469](https://github.com/googleapis/genai-toolbox-langchain-python/commit/9885469703d88afc7c7aed10c85e97c099d7e532)) +* **langchain-sdk:** Add features for binding parameters to ToolboxTool class. ([#192](https://github.com/googleapis/genai-toolbox-langchain-python/issues/192)) ([4fcfc35](https://github.com/googleapis/genai-toolbox-langchain-python/commit/4fcfc3549038c52c495d452f36037817a30eed2e)) +* **langchain-sdk:** Add Toolbox SDK for LangChain ([#22](https://github.com/googleapis/genai-toolbox-langchain-python/issues/22)) ([d4a24e6](https://github.com/googleapis/genai-toolbox-langchain-python/commit/d4a24e66139cb985d7457d9162766ce564c36656)) +* **langchain-sdk:** Correctly parse Manifest API response as JSON ([#143](https://github.com/googleapis/genai-toolbox-langchain-python/issues/143)) ([86bcf1c](https://github.com/googleapis/genai-toolbox-langchain-python/commit/86bcf1c4db65aa5214f4db280d55cfc23edac361)) +* **langchain-sdk:** Migrate existing state and APIs to a tools level class. ([#171](https://github.com/googleapis/genai-toolbox-langchain-python/issues/171)) ([6fe2e39](https://github.com/googleapis/genai-toolbox-langchain-python/commit/6fe2e39eb16eeeeaedea0a31fc2125b105d633b4)) +* **langchain-sdk:** Support authentication in LangChain Toolbox SDK. ([#133](https://github.com/googleapis/genai-toolbox-langchain-python/issues/133)) ([b28bdb5](https://github.com/googleapis/genai-toolbox-langchain-python/commit/b28bdb5b12cdfe3fe6768345c00a65a65d91b81b)) +* **llamaindex-sdk:** Implement OAuth support for LlamaIndex. ([#159](https://github.com/googleapis/genai-toolbox-langchain-python/issues/159)) ([dc47da9](https://github.com/googleapis/genai-toolbox-langchain-python/commit/dc47da9282af876939f60d6b24e5a9cf3bf75dfd)) +* **sdk:** Make ClientSession optional when initializing ToolboxClient ([#55](https://github.com/googleapis/genai-toolbox-langchain-python/issues/55)) ([956591d](https://github.com/googleapis/genai-toolbox-langchain-python/commit/956591d1da69495df3f602fd9e5fd967bd7ea5ca)) + + +### Bug Fixes + +* **docs:** Correct outdated references to tool kinds ([#49](https://github.com/googleapis/genai-toolbox-langchain-python/issues/49)) ([da26916](https://github.com/googleapis/genai-toolbox-langchain-python/commit/da269162dd62b6197a34554a5414cc8070f9c525)) +* Fix issue causing client session to not close properly while closing SDK. ([#81](https://github.com/googleapis/genai-toolbox-langchain-python/issues/81)) ([748fad4](https://github.com/googleapis/genai-toolbox-langchain-python/commit/748fad4cb0b8bac5f5cc5a7b5cc015b9491c25cd)) +* Fix the errors showing up after setting up mypy type checker. ([#74](https://github.com/googleapis/genai-toolbox-langchain-python/issues/74)) ([0384114](https://github.com/googleapis/genai-toolbox-langchain-python/commit/0384114caad4b4ba42db6cd082a9185ff160a055)) +* Improve PyPI package name. ([#17](https://github.com/googleapis/genai-toolbox-langchain-python/issues/17)) ([cd95f3e](https://github.com/googleapis/genai-toolbox-langchain-python/commit/cd95f3e2bcc884436e1c13fbd4f654fc67c7d7fc)) +* **langchain-sdk:** Correct test name to ensure execution and full coverage. ([#145](https://github.com/googleapis/genai-toolbox-langchain-python/issues/145)) ([b95bb90](https://github.com/googleapis/genai-toolbox-langchain-python/commit/b95bb901ac79cb40661d0da1847b00fcdfd89532)) +* **langchain-sdk:** Inherit from BaseTool and implement placeholder _run method. ([f6f7af9](https://github.com/googleapis/genai-toolbox-langchain-python/commit/f6f7af9b9c9885c2a869051379b6c3bd34f4e118)) +* Schema float type ([#14](https://github.com/googleapis/genai-toolbox-langchain-python/issues/14)) ([e259642](https://github.com/googleapis/genai-toolbox-langchain-python/commit/e259642af177b60ee713aa38fa133ab813efe707)) +* **toolbox-sdk:** Deprecate 'add_auth_headers' in favor of 'add_auth_tokens' ([#170](https://github.com/googleapis/genai-toolbox-langchain-python/issues/170)) ([c5c699c](https://github.com/googleapis/genai-toolbox-langchain-python/commit/c5c699cc29bcc0708a31bff90e8cec489982fe2a)) + + +### Documentation + +* **langchain-sdk:** Update README file ([#54](https://github.com/googleapis/genai-toolbox-langchain-python/issues/54)) ([79e8303](https://github.com/googleapis/genai-toolbox-langchain-python/commit/79e83030c6bc85b3b7d31b471b81e289da5c58a5)) + + +### Miscellaneous Chores + +* Release 0.1.0 ([#24](https://github.com/googleapis/genai-toolbox-langchain-python/issues/24)) ([6fff8e2](https://github.com/googleapis/genai-toolbox-langchain-python/commit/6fff8e2ea18bd6df9f30d7790b6076cf0b32cc75)) diff --git a/pyproject.toml b/pyproject.toml index e4a68d9c..e6b5183c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "toolbox-langchain" -version="0.0.1" +version="0.1.0" description = "Python SDK for interacting with the Toolbox service with LangChain" license = {file = "LICENSE"} requires-python = ">=3.9" From 2cf12daabda4a9182c97f18775ef0c313fe310a6 Mon Sep 17 00:00:00 2001 From: Kurtis Van Gent <31518063+kurtisvg@users.noreply.github.com> Date: Wed, 5 Feb 2025 23:30:42 +0000 Subject: [PATCH 2/4] chore: tidy up release-notes --- CHANGELOG.md | 38 +++++++++++--------------------------- 1 file changed, 11 insertions(+), 27 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d957e1f8..033e19a7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,39 +5,23 @@ ### ⚠ BREAKING CHANGES -* Improve PyPI package name. ([#17](https://github.com/googleapis/genai-toolbox-langchain-python/issues/17)) -* **langchain-sdk:** Migrate existing state and APIs to a tools level class. ([#171](https://github.com/googleapis/genai-toolbox-langchain-python/issues/171)) -* **toolbox-sdk:** deprecate 'add_auth_headers' in favor of 'add_auth_tokens' ([#170](https://github.com/googleapis/genai-toolbox-langchain-python/issues/170)) +* Improve PyPI package name +* Migrate existing state and APIs to a tools level class +* deprecate 'add_auth_headers' in favor of 'add_auth_tokens' ### Features -* Add support for sync operations ([#15](https://github.com/googleapis/genai-toolbox-langchain-python/issues/15)) ([9885469](https://github.com/googleapis/genai-toolbox-langchain-python/commit/9885469703d88afc7c7aed10c85e97c099d7e532)) -* **langchain-sdk:** Add features for binding parameters to ToolboxTool class. ([#192](https://github.com/googleapis/genai-toolbox-langchain-python/issues/192)) ([4fcfc35](https://github.com/googleapis/genai-toolbox-langchain-python/commit/4fcfc3549038c52c495d452f36037817a30eed2e)) -* **langchain-sdk:** Add Toolbox SDK for LangChain ([#22](https://github.com/googleapis/genai-toolbox-langchain-python/issues/22)) ([d4a24e6](https://github.com/googleapis/genai-toolbox-langchain-python/commit/d4a24e66139cb985d7457d9162766ce564c36656)) -* **langchain-sdk:** Correctly parse Manifest API response as JSON ([#143](https://github.com/googleapis/genai-toolbox-langchain-python/issues/143)) ([86bcf1c](https://github.com/googleapis/genai-toolbox-langchain-python/commit/86bcf1c4db65aa5214f4db280d55cfc23edac361)) -* **langchain-sdk:** Migrate existing state and APIs to a tools level class. ([#171](https://github.com/googleapis/genai-toolbox-langchain-python/issues/171)) ([6fe2e39](https://github.com/googleapis/genai-toolbox-langchain-python/commit/6fe2e39eb16eeeeaedea0a31fc2125b105d633b4)) -* **langchain-sdk:** Support authentication in LangChain Toolbox SDK. ([#133](https://github.com/googleapis/genai-toolbox-langchain-python/issues/133)) ([b28bdb5](https://github.com/googleapis/genai-toolbox-langchain-python/commit/b28bdb5b12cdfe3fe6768345c00a65a65d91b81b)) -* **llamaindex-sdk:** Implement OAuth support for LlamaIndex. ([#159](https://github.com/googleapis/genai-toolbox-langchain-python/issues/159)) ([dc47da9](https://github.com/googleapis/genai-toolbox-langchain-python/commit/dc47da9282af876939f60d6b24e5a9cf3bf75dfd)) -* **sdk:** Make ClientSession optional when initializing ToolboxClient ([#55](https://github.com/googleapis/genai-toolbox-langchain-python/issues/55)) ([956591d](https://github.com/googleapis/genai-toolbox-langchain-python/commit/956591d1da69495df3f602fd9e5fd967bd7ea5ca)) +* Add support for sync operations ([9885469](https://github.com/googleapis/genai-toolbox-langchain-python/commit/9885469703d88afc7c7aed10c85e97c099d7e532)) +*Add features for binding parameters to ToolboxTool class. ([4fcfc35](https://github.com/googleapis/genai-toolbox-langchain-python/commit/4fcfc3549038c52c495d452f36037817a30eed2e)) +*Add Toolbox SDK for LangChain ([d4a24e6](https://github.com/googleapis/genai-toolbox-langchain-python/commit/d4a24e66139cb985d7457d9162766ce564c36656)) +* Correctly parse Manifest API response as JSON ([86bcf1c](https://github.com/googleapis/genai-toolbox-langchain-python/commit/86bcf1c4db65aa5214f4db280d55cfc23edac361)) +* Migrate existing state and APIs to a tools level class. ([6fe2e39](https://github.com/googleapis/genai-toolbox-langchain-python/commit/6fe2e39eb16eeeeaedea0a31fc2125b105d633b4)) +* Support authentication in LangChain Toolbox SDK. ([b28bdb5](https://github.com/googleapis/genai-toolbox-langchain-python/commit/b28bdb5b12cdfe3fe6768345c00a65a65d91b81b)) +* Implement OAuth support for LlamaIndex. ([dc47da9](https://github.com/googleapis/genai-toolbox-langchain-python/commit/dc47da9282af876939f60d6b24e5a9cf3bf75dfd)) +* Make ClientSession optional when initializing ToolboxClient ([956591d](https://github.com/googleapis/genai-toolbox-langchain-python/commit/956591d1da69495df3f602fd9e5fd967bd7ea5ca)) ### Bug Fixes -* **docs:** Correct outdated references to tool kinds ([#49](https://github.com/googleapis/genai-toolbox-langchain-python/issues/49)) ([da26916](https://github.com/googleapis/genai-toolbox-langchain-python/commit/da269162dd62b6197a34554a5414cc8070f9c525)) -* Fix issue causing client session to not close properly while closing SDK. ([#81](https://github.com/googleapis/genai-toolbox-langchain-python/issues/81)) ([748fad4](https://github.com/googleapis/genai-toolbox-langchain-python/commit/748fad4cb0b8bac5f5cc5a7b5cc015b9491c25cd)) -* Fix the errors showing up after setting up mypy type checker. ([#74](https://github.com/googleapis/genai-toolbox-langchain-python/issues/74)) ([0384114](https://github.com/googleapis/genai-toolbox-langchain-python/commit/0384114caad4b4ba42db6cd082a9185ff160a055)) -* Improve PyPI package name. ([#17](https://github.com/googleapis/genai-toolbox-langchain-python/issues/17)) ([cd95f3e](https://github.com/googleapis/genai-toolbox-langchain-python/commit/cd95f3e2bcc884436e1c13fbd4f654fc67c7d7fc)) -* **langchain-sdk:** Correct test name to ensure execution and full coverage. ([#145](https://github.com/googleapis/genai-toolbox-langchain-python/issues/145)) ([b95bb90](https://github.com/googleapis/genai-toolbox-langchain-python/commit/b95bb901ac79cb40661d0da1847b00fcdfd89532)) -* **langchain-sdk:** Inherit from BaseTool and implement placeholder _run method. ([f6f7af9](https://github.com/googleapis/genai-toolbox-langchain-python/commit/f6f7af9b9c9885c2a869051379b6c3bd34f4e118)) -* Schema float type ([#14](https://github.com/googleapis/genai-toolbox-langchain-python/issues/14)) ([e259642](https://github.com/googleapis/genai-toolbox-langchain-python/commit/e259642af177b60ee713aa38fa133ab813efe707)) * **toolbox-sdk:** Deprecate 'add_auth_headers' in favor of 'add_auth_tokens' ([#170](https://github.com/googleapis/genai-toolbox-langchain-python/issues/170)) ([c5c699c](https://github.com/googleapis/genai-toolbox-langchain-python/commit/c5c699cc29bcc0708a31bff90e8cec489982fe2a)) - -### Documentation - -* **langchain-sdk:** Update README file ([#54](https://github.com/googleapis/genai-toolbox-langchain-python/issues/54)) ([79e8303](https://github.com/googleapis/genai-toolbox-langchain-python/commit/79e83030c6bc85b3b7d31b471b81e289da5c58a5)) - - -### Miscellaneous Chores - -* Release 0.1.0 ([#24](https://github.com/googleapis/genai-toolbox-langchain-python/issues/24)) ([6fff8e2](https://github.com/googleapis/genai-toolbox-langchain-python/commit/6fff8e2ea18bd6df9f30d7790b6076cf0b32cc75)) From c6b46b551cfb1fa0bf161c7a691ccbf90d752a0b Mon Sep 17 00:00:00 2001 From: Kurtis Van Gent <31518063+kurtisvg@users.noreply.github.com> Date: Wed, 5 Feb 2025 23:34:37 +0000 Subject: [PATCH 3/4] chore: cleanup one more --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 033e19a7..e4ce5457 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,5 +23,5 @@ ### Bug Fixes -* **toolbox-sdk:** Deprecate 'add_auth_headers' in favor of 'add_auth_tokens' ([#170](https://github.com/googleapis/genai-toolbox-langchain-python/issues/170)) ([c5c699c](https://github.com/googleapis/genai-toolbox-langchain-python/commit/c5c699cc29bcc0708a31bff90e8cec489982fe2a)) +* Deprecate 'add_auth_headers' in favor of 'add_auth_tokens' ([c5c699c](https://github.com/googleapis/genai-toolbox-langchain-python/commit/c5c699cc29bcc0708a31bff90e8cec489982fe2a)) From cb3b6665fa996a6559f472a0f302a1cf7dbb5363 Mon Sep 17 00:00:00 2001 From: Kurtis Van Gent <31518063+kurtisvg@users.noreply.github.com> Date: Wed, 5 Feb 2025 16:37:33 -0700 Subject: [PATCH 4/4] Update pyproject.toml --- pyproject.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 213a29b4..e8d291b6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,5 @@ [project] name = "toolbox-langchain" -version="0.1.0" dynamic = ["version"] description = "Python SDK for interacting with the Toolbox service with LangChain" license = {file = "LICENSE"}