Wenxin Du
2bdcc0841a
fix: nil parameter error when arrays are used ( #801 )
...
- Spanner: convert array to typed before querying, as Spanner does not
accept non-typed array []any
- BigQuery: fix https://github.com/googleapis/genai-toolbox/issues/793
- Bigtable: add the required `ElemType` for array-type params
- Redis/Valkey: change indexing to append to avoid extra spaces
Add integration tests for array parameters, skipped for the sources not
supporting arrays:
- SQLite
- Cloud SQL MSSQL
- Cloud SQL MySQL
- MSSQL
- MySQL
2025-07-09 17:40:49 -04:00
Mend Renovate
a6693ab8b0
chore(deps): update module go.opentelemetry.io/contrib/propagators/autoprop to v0.62.0 ( #836 )
...
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
|
[go.opentelemetry.io/contrib/propagators/autoprop](https://redirect.github.com/open-telemetry/opentelemetry-go-contrib )
| `v0.61.0` -> `v0.62.0` |
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
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.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/googleapis/genai-toolbox ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4yMy4yIiwidXBkYXRlZEluVmVyIjoiNDEuMjMuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Co-authored-by: Yuan Teoh <45984206+Yuan325@users.noreply.github.com >
2025-07-09 21:19:58 +00:00
Mend Renovate
e1325880d1
chore(deps): update dependency go to v1.24.5 ( #808 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [go](https://go.dev/ )
([source](https://redirect.github.com/golang/go )) | toolchain | patch |
`1.24.4` -> `1.24.5` |
---
### Release Notes
<details>
<summary>golang/go (go)</summary>
###
[`v1.24.5`](https://redirect.github.com/golang/go/compare/go1.24.4...go1.24.5 )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
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.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/googleapis/genai-toolbox ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4yMy4yIiwidXBkYXRlZEluVmVyIjoiNDEuMjMuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Co-authored-by: Yuan Teoh <45984206+Yuan325@users.noreply.github.com >
2025-07-09 14:06:04 -07:00
Mend Renovate
b7230a93df
chore(deps): update module cloud.google.com/go/alloydbconn to v1.15.4 ( #809 )
...
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
|
[cloud.google.com/go/alloydbconn](https://redirect.github.com/googlecloudplatform/alloydb-go-connector )
| `v1.15.3` -> `v1.15.4` |
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Release Notes
<details>
<summary>googlecloudplatform/alloydb-go-connector
(cloud.google.com/go/alloydbconn)</summary>
###
[`v1.15.4`](https://redirect.github.com/GoogleCloudPlatform/alloydb-go-connector/releases/tag/v1.15.4 )
[Compare
Source](https://redirect.github.com/googlecloudplatform/alloydb-go-connector/compare/v1.15.3...v1.15.4 )
##### Bug Fixes
- update dependencies to latest
([#​693](https://redirect.github.com/GoogleCloudPlatform/alloydb-go-connector/issues/693 ))
([86a621d](86a621d0a7 ))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
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.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/googleapis/genai-toolbox ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4yMy4yIiwidXBkYXRlZEluVmVyIjoiNDEuMjMuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Co-authored-by: Yuan Teoh <45984206+Yuan325@users.noreply.github.com >
2025-07-09 20:58:59 +00:00
Mend Renovate
32712fa018
chore(deps): update module google.golang.org/api to v0.241.0 ( #835 )
...
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
|
[google.golang.org/api](https://redirect.github.com/googleapis/google-api-go-client )
| `v0.240.0` -> `v0.241.0` |
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Release Notes
<details>
<summary>googleapis/google-api-go-client
(google.golang.org/api)</summary>
###
[`v0.241.0`](https://redirect.github.com/googleapis/google-api-go-client/releases/tag/v0.241.0 )
[Compare
Source](https://redirect.github.com/googleapis/google-api-go-client/compare/v0.240.0...v0.241.0 )
##### Features
- **all:** Auto-regenerate discovery clients
([#​3219](https://redirect.github.com/googleapis/google-api-go-client/issues/3219 ))
([987e4ab](987e4abe1e ))
- **all:** Auto-regenerate discovery clients
([#​3221](https://redirect.github.com/googleapis/google-api-go-client/issues/3221 ))
([7e31abb](7e31abbe69 ))
- **all:** Auto-regenerate discovery clients
([#​3222](https://redirect.github.com/googleapis/google-api-go-client/issues/3222 ))
([3346ebb](3346ebb070 ))
- **all:** Auto-regenerate discovery clients
([#​3223](https://redirect.github.com/googleapis/google-api-go-client/issues/3223 ))
([f94c92c](f94c92cafe ))
- **all:** Auto-regenerate discovery clients
([#​3224](https://redirect.github.com/googleapis/google-api-go-client/issues/3224 ))
([3f1f756](3f1f756570 ))
- **all:** Auto-regenerate discovery clients
([#​3225](https://redirect.github.com/googleapis/google-api-go-client/issues/3225 ))
([8799cd8](8799cd8e4c ))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
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.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/googleapis/genai-toolbox ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4yMy4yIiwidXBkYXRlZEluVmVyIjoiNDEuMjMuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Co-authored-by: Yuan Teoh <45984206+Yuan325@users.noreply.github.com >
2025-07-09 13:51:55 -07:00
Yuan Teoh
35e0919184
chore(deps): update opentelemetry-go monorepo to v1.37.0 ( #834 )
...
This require updates of the semconv version to
`go.opentelemetry.io/otel/semconv/v1.34.0` library.
2025-07-09 16:40:03 -04:00
Anubhav Dhawan
72a7282797
docs: Add Toolbox SDKs repo links to relevant doc snippets ( #828 )
...
This PR adds Toolbox SDK github repo links to the relevant parts where
these SDKs are introduced in the `README` for additional context.
2025-07-09 16:34:57 +05:30
Anmol Shukla
29fe3b93cd
docs: fix copy to clipboard button visibility in light mode ( #826 )
...
This PR fixes the issue #791 and updated the info box color so that tags
are visible in dark mode as well in docsite.
2025-07-09 14:13:12 +05:30
Anubhav Dhawan
fb3f66acf4
docs: Correct link for Cloud Run datasource setup ( #794 )
...
Updated the link in the Cloud Run deployment guide for `tools.yaml`
setup. The previous link incorrectly pointed to a `localhost` source
example, which causes confusion and deployment failures. The new link
directs users to the guide for configuring cloud-based sources, ensuring
a correct setup.
2025-07-09 06:11:18 +00:00
Yuan Teoh
1f95eb134b
test: add more time to spanner integration test ctx ( #819 )
...
Occasionally the Spanner integration test's `context` timeout before the
`DROP` operation could finish.
2025-07-09 01:21:22 +00:00
AlexTalreja
4c240ac3c9
feat: dynamic reloading for toolbox config ( #800 )
...
Allow Toolbox server to automatically update when users modify their
tool configuration file(s), instead of requiring a restart.
This feature is automatically enabled, but can be turned off with the
flag `--disable-reload`.
2025-07-08 17:28:12 -07:00
Huan Chen
c6ab74c5da
feat: add optional projectID parameter to bigquery tools ( #799 )
...
Optional projectID parameter enables dynamic, cross-project resource
access in BigQuery tools.
This allows a single tool configuration to target different projects at
runtime, rather than being fixed to the project in its source
configuration.
---------
Co-authored-by: Yuan Teoh <45984206+Yuan325@users.noreply.github.com >
Co-authored-by: Wenxin Du <117315983+duwenxin99@users.noreply.github.com >
2025-07-08 18:02:42 -04:00
Yuan Teoh
04e2529ba9
test: add null column test case ( #768 )
...
Add integration tests to check for `null` columns. ref #757
2025-07-08 20:20:16 +00:00
Mend Renovate
53dd247e6e
chore(deps): update module google.golang.org/api to v0.240.0 ( #778 )
...
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
|
[google.golang.org/api](https://redirect.github.com/googleapis/google-api-go-client )
| `v0.239.0` -> `v0.240.0` |
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>googleapis/google-api-go-client
(google.golang.org/api)</summary>
###
[`v0.240.0`](https://redirect.github.com/googleapis/google-api-go-client/releases/tag/v0.240.0 )
[Compare
Source](https://redirect.github.com/googleapis/google-api-go-client/compare/v0.239.0...v0.240.0 )
##### Features
- **all:** Auto-regenerate discovery clients
([#​3210](https://redirect.github.com/googleapis/google-api-go-client/issues/3210 ))
([c0efdb5](c0efdb50d5 ))
- **all:** Auto-regenerate discovery clients
([#​3212](https://redirect.github.com/googleapis/google-api-go-client/issues/3212 ))
([c699558](c699558a9c ))
- **all:** Auto-regenerate discovery clients
([#​3214](https://redirect.github.com/googleapis/google-api-go-client/issues/3214 ))
([7b43598](7b43598833 ))
- **all:** Auto-regenerate discovery clients
([#​3215](https://redirect.github.com/googleapis/google-api-go-client/issues/3215 ))
([22e2c38](22e2c38068 ))
- **all:** Auto-regenerate discovery clients
([#​3216](https://redirect.github.com/googleapis/google-api-go-client/issues/3216 ))
([e8c3504](e8c3504399 ))
- **all:** Auto-regenerate discovery clients
([#​3217](https://redirect.github.com/googleapis/google-api-go-client/issues/3217 ))
([604190c](604190c29e ))
- **all:** Auto-regenerate discovery clients
([#​3218](https://redirect.github.com/googleapis/google-api-go-client/issues/3218 ))
([0a46af7](0a46af7bb3 ))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
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.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/googleapis/genai-toolbox ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNy4yIiwidXBkYXRlZEluVmVyIjoiNDEuMTcuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Co-authored-by: Yuan <45984206+Yuan325@users.noreply.github.com >
2025-07-07 16:08:01 -07:00
Twisha Bansal
648eede62b
docs: add introduction snippets for JS SDK ( #785 )
...
Using nested tabs in hugo is hard and flaky. So, we're using different
heading for the multiple languages here.
2025-07-08 00:11:49 +05:30
Yuan
9b2dfcc553
chore: update int test variable name to be consistent ( #766 )
...
Update `_` variables to camelcase.
2025-07-04 05:21:39 +00:00
Twisha Bansal
cb514209b6
docs: add JS SDK to readme ( #776 )
...
Co-authored-by: Kurtis Van Gent <31518063+kurtisvg@users.noreply.github.com >
2025-07-03 22:35:13 +05:30
Twisha Bansal
0a93b0482c
fix: fix docs preview deployment pipeline ( #787 )
...
The code for the preview build is now sourced from the target branch,
whereas it was previously sourced from the main branch.
2025-07-03 21:54:10 +05:30
release-please[bot]
f13e9635ba
chore(main): release 0.8.0 ( #689 )
...
🤖 I have created a release *beep* *boop*
---
##
[0.8.0](https://github.com/googleapis/genai-toolbox/compare/v0.7.0...v0.8.0 )
(2025-07-02)
### ⚠ BREAKING CHANGES
* **postgres,mssql,cloudsqlmssql:** encode source connection url for
sources ([#727 ](https://github.com/googleapis/genai-toolbox/issues/727 ))
### Features
* Add support for multiple YAML configuration files
([#760 ](https://github.com/googleapis/genai-toolbox/issues/760 ))
([40679d7 ](40679d700e ))
* Add support for optional parameters
([#617 ](https://github.com/googleapis/genai-toolbox/issues/617 ))
([4827771 ](4827771b78 )),
closes [#475 ](https://github.com/googleapis/genai-toolbox/issues/475 )
* **mcp:** Support MCP version 2025-03-26
([#755 ](https://github.com/googleapis/genai-toolbox/issues/755 ))
([474df57 ](474df57d62 ))
* **sources/http:** Support disable SSL verification for HTTP Source
([#674 ](https://github.com/googleapis/genai-toolbox/issues/674 ))
([4055b0c ](4055b0c356 ))
* **tools/bigquery:** Add templateParameters field for bigquery
([#699 ](https://github.com/googleapis/genai-toolbox/issues/699 ))
([f5f771b ](f5f771b0f3 ))
* **tools/bigtable:** Add templateParameters field for bigtable
([#692 ](https://github.com/googleapis/genai-toolbox/issues/692 ))
([1c06771 ](1c067715fa ))
* **tools/couchbase:** Add templateParameters field for couchbase
([#723 ](https://github.com/googleapis/genai-toolbox/issues/723 ))
([9197186 ](9197186b8b ))
* **tools/http:** Add support for HTTP Tool pathParams
([#726 ](https://github.com/googleapis/genai-toolbox/issues/726 ))
([fd300dc ](fd300dc606 ))
* **tools/redis:** Add Redis Source and Tool
([#519 ](https://github.com/googleapis/genai-toolbox/issues/519 ))
([f0aef29 ](f0aef29b0c ))
* **tools/spanner:** Add templateParameters field for spanner
([#691 ](https://github.com/googleapis/genai-toolbox/issues/691 ))
([075dfa4 ](075dfa47e1 ))
* **tools/sqlitesql:** Add templateParameters field for sqlitesql
([#687 ](https://github.com/googleapis/genai-toolbox/issues/687 ))
([75e254c ](75e254c0a4 ))
* **tools/valkey:** Add Valkey Source and Tool
([#532 ](https://github.com/googleapis/genai-toolbox/issues/532 ))
([054ec19 ](054ec198b9 ))
### Bug Fixes
* **bigquery,mssql:** Fix panic on tools with array param
([#722 ](https://github.com/googleapis/genai-toolbox/issues/722 ))
([7a6644c ](7a6644cf0c ))
* **postgres,mssql,cloudsqlmssql:** Encode source connection url for
sources ([#727 ](https://github.com/googleapis/genai-toolbox/issues/727 ))
([67964d9 ](67964d939f )),
closes [#717 ](https://github.com/googleapis/genai-toolbox/issues/717 )
* Set default value to field's type during unmarshalling
([#774 ](https://github.com/googleapis/genai-toolbox/issues/774 ))
([fafed24 ](fafed24858 )),
closes [#771 ](https://github.com/googleapis/genai-toolbox/issues/771 )
* **server/mcp:** Do not listen from port for stdio
([#719 ](https://github.com/googleapis/genai-toolbox/issues/719 ))
([d51dbc7 ](d51dbc759b )),
closes [#711 ](https://github.com/googleapis/genai-toolbox/issues/711 )
* **tools/mysqlexecutesql:** Handle nil panic and connection leak in
Invoke ([#757 ](https://github.com/googleapis/genai-toolbox/issues/757 ))
([7badba4 ](7badba42ee ))
* **tools/mysqlsql:** Handle nil panic and connection leak in invoke
([#758 ](https://github.com/googleapis/genai-toolbox/issues/758 ))
([cbb4a33 ](cbb4a33351 ))
---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please ). See
[documentation](https://github.com/googleapis/release-please#release-please ).
---------
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Yuan <45984206+Yuan325@users.noreply.github.com >
v0.8.0
2025-07-02 09:30:33 -06:00
Yuan
fafed24858
fix: set default value to field's type during unmarshalling ( #774 )
...
When go-yaml decode into CommonParameter with Default being an any type,
int will be converted into []uint64.
It will fail the Parse() when the value is being used since it does not
belong to either of the int types.
Unmarshal `default` value into each field's type directly.
Fixes #771
2025-07-02 14:58:42 +00:00
Mend Renovate
6337434623
chore(deps): update module github.com/go-playground/validator/v10 to v10.27.0 ( #775 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/go-playground/validator/v10](https://redirect.github.com/go-playground/validator )
| `v10.26.0` -> `v10.27.0` |
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>go-playground/validator
(github.com/go-playground/validator/v10)</summary>
###
[`v10.27.0`](https://redirect.github.com/go-playground/validator/releases/tag/v10.27.0 ):
Release 10.27.0
[Compare
Source](https://redirect.github.com/go-playground/validator/compare/v10.26.0...v10.27.0 )
#### What's Changed
- Fix Release version badge on README page by
[@​nodivbyzero](https://redirect.github.com/nodivbyzero ) in
[https://github.com/go-playground/validator/pull/1406 ](https://redirect.github.com/go-playground/validator/pull/1406 )
- fix russian E.164 error message by
[@​prigornitskiy](https://redirect.github.com/prigornitskiy ) in
[https://github.com/go-playground/validator/pull/1349 ](https://redirect.github.com/go-playground/validator/pull/1349 )
- chore: remove unnecessary statement by
[@​qshuai](https://redirect.github.com/qshuai ) in
[https://github.com/go-playground/validator/pull/1200 ](https://redirect.github.com/go-playground/validator/pull/1200 )
- Re-enable several linters by
[@​nodivbyzero](https://redirect.github.com/nodivbyzero ) in
[https://github.com/go-playground/validator/pull/1412 ](https://redirect.github.com/go-playground/validator/pull/1412 )
- add support to tag validateFn by
[@​peczenyj](https://redirect.github.com/peczenyj ) in
[https://github.com/go-playground/validator/pull/1363 ](https://redirect.github.com/go-playground/validator/pull/1363 )
- Bump golang.org/x/crypto from 0.33.0 to 0.35.0 in
/\_examples/validate\_fn by
[@​dependabot](https://redirect.github.com/dependabot ) in
[https://github.com/go-playground/validator/pull/1418 ](https://redirect.github.com/go-playground/validator/pull/1418 )
- Bump golang.org/x/net from 0.34.0 to 0.38.0 in
/\_examples/validate\_fn by
[@​dependabot](https://redirect.github.com/dependabot ) in
[https://github.com/go-playground/validator/pull/1419 ](https://redirect.github.com/go-playground/validator/pull/1419 )
- Align required\_without with the contract stated in the documentation
by [@​jmfrees](https://redirect.github.com/jmfrees ) in
[https://github.com/go-playground/validator/pull/1422 ](https://redirect.github.com/go-playground/validator/pull/1422 )
- Add translation example by
[@​cxlblm](https://redirect.github.com/cxlblm ) in
[https://github.com/go-playground/validator/pull/1394 ](https://redirect.github.com/go-playground/validator/pull/1394 )
- doc(errors): mention RegisterTagNameFunc for FieldError.Field by
[@​khan-ajamal](https://redirect.github.com/khan-ajamal ) in
[https://github.com/go-playground/validator/pull/1358 ](https://redirect.github.com/go-playground/validator/pull/1358 )
- Bump golangci/golangci-lint-action from 7 to 8 by
[@​dependabot](https://redirect.github.com/dependabot ) in
[https://github.com/go-playground/validator/pull/1425 ](https://redirect.github.com/go-playground/validator/pull/1425 )
- feat(translation): add en translation for urn\_rfc2141 by
[@​ryanmalesic](https://redirect.github.com/ryanmalesic ) in
[https://github.com/go-playground/validator/pull/1431 ](https://redirect.github.com/go-playground/validator/pull/1431 )
- fix: panics when private field is validated by
[@​ykalchevskiy](https://redirect.github.com/ykalchevskiy ) in
[https://github.com/go-playground/validator/pull/1423 ](https://redirect.github.com/go-playground/validator/pull/1423 )
- Fix: support validation for map values with struct types by
[@​JunaidIslam2105](https://redirect.github.com/JunaidIslam2105 )
in
[https://github.com/go-playground/validator/pull/1433 ](https://redirect.github.com/go-playground/validator/pull/1433 )
- Omitzero does not work with slice and map bug by
[@​JunaidIslam2105](https://redirect.github.com/JunaidIslam2105 )
in
[https://github.com/go-playground/validator/pull/1436 ](https://redirect.github.com/go-playground/validator/pull/1436 )
- Fix: Validator panics when 'nil' is used along with required if for
slices and maps by
[@​JunaidIslam2105](https://redirect.github.com/JunaidIslam2105 )
in
[https://github.com/go-playground/validator/pull/1442 ](https://redirect.github.com/go-playground/validator/pull/1442 )
- docs: typos by [@​eqsdxr](https://redirect.github.com/eqsdxr ) in
[https://github.com/go-playground/validator/pull/1440 ](https://redirect.github.com/go-playground/validator/pull/1440 )
- fix: make "file://" fail `url` validation by
[@​bfabio](https://redirect.github.com/bfabio ) in
[https://github.com/go-playground/validator/pull/1444 ](https://redirect.github.com/go-playground/validator/pull/1444 )
- disable way too aggressive and disagreeable linters by
[@​deankarn](https://redirect.github.com/deankarn ) in
[https://github.com/go-playground/validator/pull/1445 ](https://redirect.github.com/go-playground/validator/pull/1445 )
- use golangci lint file for disables by
[@​deankarn](https://redirect.github.com/deankarn ) in
[https://github.com/go-playground/validator/pull/1447 ](https://redirect.github.com/go-playground/validator/pull/1447 )
#### New Contributors
- [@​prigornitskiy](https://redirect.github.com/prigornitskiy )
made their first contribution in
[https://github.com/go-playground/validator/pull/1349 ](https://redirect.github.com/go-playground/validator/pull/1349 )
- [@​qshuai](https://redirect.github.com/qshuai ) made their first
contribution in
[https://github.com/go-playground/validator/pull/1200 ](https://redirect.github.com/go-playground/validator/pull/1200 )
- [@​peczenyj](https://redirect.github.com/peczenyj ) made their
first contribution in
[https://github.com/go-playground/validator/pull/1363 ](https://redirect.github.com/go-playground/validator/pull/1363 )
- [@​jmfrees](https://redirect.github.com/jmfrees ) made their
first contribution in
[https://github.com/go-playground/validator/pull/1422 ](https://redirect.github.com/go-playground/validator/pull/1422 )
- [@​cxlblm](https://redirect.github.com/cxlblm ) made their first
contribution in
[https://github.com/go-playground/validator/pull/1394 ](https://redirect.github.com/go-playground/validator/pull/1394 )
- [@​khan-ajamal](https://redirect.github.com/khan-ajamal ) made
their first contribution in
[https://github.com/go-playground/validator/pull/1358 ](https://redirect.github.com/go-playground/validator/pull/1358 )
- [@​ryanmalesic](https://redirect.github.com/ryanmalesic ) made
their first contribution in
[https://github.com/go-playground/validator/pull/1431 ](https://redirect.github.com/go-playground/validator/pull/1431 )
- [@​ykalchevskiy](https://redirect.github.com/ykalchevskiy ) made
their first contribution in
[https://github.com/go-playground/validator/pull/1423 ](https://redirect.github.com/go-playground/validator/pull/1423 )
- [@​JunaidIslam2105](https://redirect.github.com/JunaidIslam2105 )
made their first contribution in
[https://github.com/go-playground/validator/pull/1433 ](https://redirect.github.com/go-playground/validator/pull/1433 )
- [@​eqsdxr](https://redirect.github.com/eqsdxr ) made their first
contribution in
[https://github.com/go-playground/validator/pull/1440 ](https://redirect.github.com/go-playground/validator/pull/1440 )
- [@​bfabio](https://redirect.github.com/bfabio ) made their first
contribution in
[https://github.com/go-playground/validator/pull/1444 ](https://redirect.github.com/go-playground/validator/pull/1444 )
**Full Changelog**:
https://github.com/go-playground/validator/compare/v10.26.0...v10.27.0
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
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.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/googleapis/genai-toolbox ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC42Mi4xIiwidXBkYXRlZEluVmVyIjoiNDAuNjIuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
2025-07-02 05:32:35 +00:00
Mend Renovate
822708afaa
chore(deps): update module cloud.google.com/go/bigtable to v1.38.0 ( #773 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[cloud.google.com/go/bigtable](https://redirect.github.com/googleapis/google-cloud-go )
| `v1.37.0` -> `v1.38.0` |
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
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.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/googleapis/genai-toolbox ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC42Mi4xIiwidXBkYXRlZEluVmVyIjoiNDAuNjIuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
2025-07-02 05:14:59 +00:00
Yuan
010c278cbf
chore: release 0.8.0 ( #769 )
...
Release-As: 0.8.0
2025-06-30 18:32:48 +00:00
Mohd Mujtaba
40679d700e
feat: add support for multiple YAML configuration files ( #760 )
...
# Add Multiple YAML Configuration File Support
## 🎯 Overview
This PR introduces support for loading and merging multiple YAML
configuration files in Toolbox, addressing the need for modular
configuration management in complex deployments.
## ✨ New Features
### 1. Multiple Files Support (`--tools-files`)
- **Usage**: `--tools-files=file1.yaml,file2.yaml,file3.yaml`
- Load and intelligently merge multiple YAML configuration files
- Comma-separated file paths for maximum flexibility
### 2. Directory Support (`--tools-folder`)
- **Usage**: `--tools-folder=config-directory`
- Automatically discover and load all `.yaml` and `.yml` files from a
directory
- Simplifies configuration management for organized deployments
### 3. Smart Merging Logic
- **Sources/AuthServices/Tools**: Later files override earlier files
with same names
- **Toolsets**: Tools from same-named toolsets are combined without
duplicates
- Preserves all existing functionality while enabling composition
## 🔒 Safety & Validation
- **Mutual Exclusivity**: Prevents simultaneous use of `--tools-file`,
`--tools-files`, `--tools-folder`, and `--prebuilt`
- **Clear Error Messages**: Descriptive validation errors guide users to
correct usage
- **Comprehensive Error Handling**: Proper handling of missing files,
directories, and parsing errors
- **Full Backward Compatibility**: Existing configurations continue to
work unchanged
## 🏗️ Implementation Details
### Core Functions Added
- `mergeToolsFiles()` - Smart merging with configurable override rules
- `loadAndMergeToolsFiles()` - Multi-file loading and processing
- `loadAndMergeToolsFolder()` - Directory scanning and batch loading
### Command Structure Updates
- New `tools_files []string` field for multiple file paths
- New `tools_folder string` field for directory path
- Enhanced validation logic in `run()` function
- Updated flag definitions with proper descriptions
## 📋 Use Cases
### Organizational Benefits
- **Modular Configuration**: Separate database, API, and auth
configurations
- **Team Collaboration**: Multiple developers can work on different
config files
- **Environment Management**: Easy configuration swapping for different
environments
- **Scalability**: Large configurations can be broken into manageable
chunks
### Example Usage Patterns
```bash
# Multiple specific files
./toolbox --tools-files=database.yaml,apis.yaml,auth.yaml
# Directory-based loading
./toolbox --tools-folder=./production-configs
# Error case (properly handled)
./toolbox --tools-file=single.yaml --tools-folder=configs
# ERROR: --tools-file, --tools-files, and --tools-folder flags cannot be used simultaneously
---------
Co-authored-by: Wenxin Du <117315983+duwenxin99@users.noreply.github.com >
2025-06-30 14:00:49 -04:00
Mend Renovate
5fb056ee43
chore(deps): update module github.com/microsoft/go-mssqldb to v1.9.2 ( #767 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/microsoft/go-mssqldb](https://redirect.github.com/microsoft/go-mssqldb )
| `v1.9.1` -> `v1.9.2` |
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>microsoft/go-mssqldb
(github.com/microsoft/go-mssqldb)</summary>
###
[`v1.9.2`](https://redirect.github.com/microsoft/go-mssqldb/compare/v1.9.1...v1.9.2 )
[Compare
Source](https://redirect.github.com/microsoft/go-mssqldb/compare/v1.9.1...v1.9.2 )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
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.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/googleapis/genai-toolbox ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC42Mi4xIiwidXBkYXRlZEluVmVyIjoiNDAuNjIuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
2025-06-30 17:06:28 +00:00
Wenxin Du
a1b60100c2
chore: Group tools by type ( #743 )
...
Group tools of the same type into the same folder so that they are more
discoverable and our tools are more organized as the number grows.
2025-06-30 11:37:48 -04:00
Mend Renovate
cb92883330
chore(deps): update module cloud.google.com/go/spanner to v1.83.0 ( #763 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[cloud.google.com/go/spanner](https://redirect.github.com/googleapis/google-cloud-go )
| `v1.82.0` -> `v1.83.0` |
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
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.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/googleapis/genai-toolbox ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC42Mi4xIiwidXBkYXRlZEluVmVyIjoiNDAuNjIuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
2025-06-27 19:06:39 +00:00
Mend Renovate
bd2f1956bd
chore(deps): update module github.com/valkey-io/valkey-go to v1.0.62 ( #762 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/valkey-io/valkey-go](https://redirect.github.com/valkey-io/valkey-go )
| `v1.0.61` -> `v1.0.62` |
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>valkey-io/valkey-go (github.com/valkey-io/valkey-go)</summary>
###
[`v1.0.62`](https://redirect.github.com/valkey-io/valkey-go/releases/tag/v1.0.62 ):
1.0.62
[Compare
Source](https://redirect.github.com/valkey-io/valkey-go/compare/v1.0.61...v1.0.62 )
### Changes
- feat: support the SendToReplicas option in the Sentinel client.
- feat: deterministic SendToReplicas routing in the Cluster client.
- perf: changed atomic.Value to atomic.Pointer in the pipe.
- docs: fix typos and spellings.
#### Contributors
We'd like to thank all the contributors who worked on this release!
[@​PingXie](https://redirect.github.com/PingXie ),
[@​jsoref](https://redirect.github.com/jsoref ),
[@​nithinputhenveettil](https://redirect.github.com/nithinputhenveettil ),
[@​proost](https://redirect.github.com/proost ) and
[@​rueian](https://redirect.github.com/rueian )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
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.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/googleapis/genai-toolbox ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC42Mi4xIiwidXBkYXRlZEluVmVyIjoiNDAuNjIuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
2025-06-27 12:32:36 -04:00
Yuan
cbb4a33351
fix(tools/mysqlsql): Handle nil panic and connection leak in invoke ( #758 )
...
Copy fix from #757 .
The Invoke function had two bugs:
A panic would occur when scanning a row containing a NULL value in a
TEXT or VARCHAR column. The code did not check for nil before attempting
a type assertion on the scanned value.
The *sql.Rows result was not being closed on all code paths, leading to
connection leaks that could exhaust the database connection pool.
This change corrects both issues. A guard clause now checks for nil
values before processing, and rows.Close() is deferred to guarantee the
connection is released.
2025-06-26 20:54:59 +00:00
megatron0000
7badba42ee
fix(tools/mysqlexecutesql): Handle nil panic and connection leak in Invoke ( #757 )
...
The Invoke function had two bugs:
1. A panic would occur when scanning a row containing a NULL value in a
TEXT or VARCHAR column. The code did not check for nil before attempting
a type assertion on the scanned value.
2. The *sql.Rows result was not being closed on all code paths, leading
to connection leaks that could exhaust the database connection pool.
This change corrects both issues. A guard clause now checks for nil
values before processing, and rows.Close() is deferred to guarantee the
connection is released.
Co-authored-by: Yuan <45984206+Yuan325@users.noreply.github.com >
2025-06-26 13:12:45 -07:00
Twisha Bansal
f72e426314
docs: fix grammar ( #751 )
2025-06-26 10:40:15 +05:30
Wenxin Du
7a6644cf0c
fix(bigquery,mssql): fix panic on tools with array param ( #722 )
...
Fix: https://github.com/googleapis/genai-toolbox/issues/701
Things done:
1. Replace the `AsReversedMap()` helper with `AsMap()`
2. BigQuery's QueryParameter only accepts typed slices as input, but our
arrays are passed in as []any. Therefore, add a logic to convert []any
to a typed array based on the item type.
Tested on MCP inspector:
<img width="409" alt="Screenshot 2025-06-16 at 5 15 55 PM"
src="https://github.com/user-attachments/assets/8053cad5-270e-4d82-b97c-856238c42154 "
/>
---------
Co-authored-by: Kurtis Van Gent <31518063+kurtisvg@users.noreply.github.com >
2025-06-25 22:54:26 -04:00
Mend Renovate
184c681797
chore(deps): update module google.golang.org/api to v0.239.0 ( #754 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[google.golang.org/api](https://redirect.github.com/googleapis/google-api-go-client )
| `v0.238.0` -> `v0.239.0` |
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Release Notes
<details>
<summary>googleapis/google-api-go-client
(google.golang.org/api)</summary>
###
[`v0.239.0`](https://redirect.github.com/googleapis/google-api-go-client/releases/tag/v0.239.0 )
[Compare
Source](https://redirect.github.com/googleapis/google-api-go-client/compare/v0.238.0...v0.239.0 )
##### Features
- **all:** Auto-regenerate discovery clients
([#​3199](https://redirect.github.com/googleapis/google-api-go-client/issues/3199 ))
([2bdd042](2bdd042ac9 ))
- **all:** Auto-regenerate discovery clients
([#​3201](https://redirect.github.com/googleapis/google-api-go-client/issues/3201 ))
([8eff56f](8eff56f43f ))
- **all:** Auto-regenerate discovery clients
([#​3202](https://redirect.github.com/googleapis/google-api-go-client/issues/3202 ))
([f7c299e](f7c299e9c0 ))
- **all:** Auto-regenerate discovery clients
([#​3203](https://redirect.github.com/googleapis/google-api-go-client/issues/3203 ))
([459c5a8](459c5a8db5 ))
- **all:** Auto-regenerate discovery clients
([#​3205](https://redirect.github.com/googleapis/google-api-go-client/issues/3205 ))
([ca610d5](ca610d5390 ))
- **all:** Auto-regenerate discovery clients
([#​3206](https://redirect.github.com/googleapis/google-api-go-client/issues/3206 ))
([98b7398](98b739881e ))
- **all:** Auto-regenerate discovery clients
([#​3207](https://redirect.github.com/googleapis/google-api-go-client/issues/3207 ))
([71fe287](71fe287d9c ))
- **all:** Auto-regenerate discovery clients
([#​3209](https://redirect.github.com/googleapis/google-api-go-client/issues/3209 ))
([27d1aa4](27d1aa43d1 ))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
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.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/googleapis/genai-toolbox ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC42Mi4xIiwidXBkYXRlZEluVmVyIjoiNDAuNjIuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Co-authored-by: Yuan <45984206+Yuan325@users.noreply.github.com >
2025-06-26 01:26:08 +00:00
Yuan
474df57d62
feat: support MCP version 2025-03-26 ( #755 )
...
This feature includes the following:
* Implement initialize lifecycle (including version negotiation)
* Add the v20250326 schema
* Supporting the `DELETE` and `GET` endpoint for MCP.
* Supporting streamable HTTP (without SSE).
* Terminating sessions after timeout (default = 10 minutes from last
active).
* Toolbox do not support batch request. Will response with `Invalid
requests` if batch requests is received.
2025-06-26 00:34:37 +00:00
Wenxin Du
fc1a3813ea
ci: Add integration test coverage by source ( #742 )
...
Add a script for checking coverage for each source package with its
compatible tools.
Fail with coverage under 50%
2025-06-25 15:07:00 -04:00
Yuan
c7fe3c7f38
docs: fix linting in docs ( #749 )
...
Fix long lines and table column width lints in docs.
2025-06-25 17:03:42 +00:00
Anubhav Dhawan
dc2690bd39
docs: Document correct syntax for array parameters in SQL queries ( #750 )
...
## Problem
Users attempting to filter results in a SQL query based on an array
parameter from a tool may intuitively write a `statement` using the `IN`
clause, like so:
```sql
SELECT * FROM flights WHERE preferred_airlines IN ($1);
```
When this query is executed with an array argument (e.g., `["Delta",
"United"]`), it fails with a cryptic error message from the database
driver:
```
Exception: error while invoking tool: unable to execute query: failed to encode args[0]: unable to encode []interface {}{"Delta", "United"} into text format for text (OID 25): cannot find encode plan
```
This error occurs because the driver does not automatically expand the
single `$1` placeholder into a list of values `('Delta', 'United')`.
Instead, it tries to encode the entire Go slice `[]interface{}` as a
single text value, which fails. This creates a point of friction, as the
correct syntax is not immediately obvious and can lead to user
frustration and debugging time.
## Solution
This PR updates our documentation and example usage to demonstrate the
correct SQL syntax for handling array parameters. The proper way to
check for a value's existence in an array parameter is by using
PostgreSQL's `ANY()` operator:
```sql
SELECT * FROM flights WHERE preferred_airlines = ANY($1);
```
When this syntax is used, the database driver correctly interprets the
Go slice passed as `$1` as a PostgreSQL array, and the query executes as
intended.
## Impact
Saves developers time they would otherwise spend troubleshooting a
non-obvious database driver behavior.
2025-06-25 20:32:30 +05:30
Mend Renovate
b78f7480cf
chore(deps): update module github.com/microsoft/go-mssqldb to v1.9.1 ( #746 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/microsoft/go-mssqldb](https://redirect.github.com/microsoft/go-mssqldb )
| `v1.8.2` -> `v1.9.1` |
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>microsoft/go-mssqldb
(github.com/microsoft/go-mssqldb)</summary>
###
[`v1.9.1`](https://redirect.github.com/microsoft/go-mssqldb/compare/v1.9.0...v1.9.1 )
[Compare
Source](https://redirect.github.com/microsoft/go-mssqldb/compare/v1.9.0...v1.9.1 )
###
[`v1.9.0`](https://redirect.github.com/microsoft/go-mssqldb/compare/v1.8.2...v1.9.0 )
[Compare
Source](https://redirect.github.com/microsoft/go-mssqldb/compare/v1.8.2...v1.9.0 )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
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.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/googleapis/genai-toolbox ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC42Mi4xIiwidXBkYXRlZEluVmVyIjoiNDAuNjIuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Co-authored-by: Yuan <45984206+Yuan325@users.noreply.github.com >
2025-06-24 23:38:49 +00:00
Mend Renovate
ffe9b74211
chore(deps): update module github.com/redis/go-redis/v9 to v9.11.0 ( #745 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/redis/go-redis/v9](https://redirect.github.com/redis/go-redis )
| `v9.10.0` -> `v9.11.0` |
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>redis/go-redis (github.com/redis/go-redis/v9)</summary>
###
[`v9.11.0`](https://redirect.github.com/redis/go-redis/releases/tag/v9.11.0 ):
9.11.0
[Compare
Source](https://redirect.github.com/redis/go-redis/compare/v9.10.0...v9.11.0 )
#### 🚀 Highlights
Fixes `TxPipeline` to work correctly in cluster scenarios, allowing
execution of commands
only in the same slot for a given transaction.
### Changes
#### 🚀 New Features
- Set cluster slot for `scan` commands, rather than random
([#​2623](https://redirect.github.com/redis/go-redis/pull/2623 ))
- Add CredentialsProvider field to UniversalOptions
([#​2927](https://redirect.github.com/redis/go-redis/pull/2927 ))
- feat(redisotel): add WithCallerEnabled option
([#​3415](https://redirect.github.com/redis/go-redis/pull/3415 ))
#### 🐛 Bug Fixes
- fix(txpipeline): keyless commands should take the slot of the keyed
([#​3411](https://redirect.github.com/redis/go-redis/pull/3411 ))
- fix(loading): cache the loaded flag for slave nodes
([#​3410](https://redirect.github.com/redis/go-redis/pull/3410 ))
- fix(txpipeline): should return error on multi/exec on multiple slots
([#​3408](https://redirect.github.com/redis/go-redis/pull/3408 ))
- fix: check if the shard exists to avoid returning nil
([#​3396](https://redirect.github.com/redis/go-redis/pull/3396 ))
#### 🧰 Maintenance
- feat: optimize connection pool waitTurn
([#​3412](https://redirect.github.com/redis/go-redis/pull/3412 ))
- chore(ci): update CI redis builds
([#​3407](https://redirect.github.com/redis/go-redis/pull/3407 ))
- chore: remove a redundant method from `Ring`, `Client` and
`ClusterClient`
([#​3401](https://redirect.github.com/redis/go-redis/pull/3401 ))
- test: refactor TestBasicCredentials using table-driven tests
([#​3406](https://redirect.github.com/redis/go-redis/pull/3406 ))
- perf: reduce unnecessary memory allocation operations
([#​3399](https://redirect.github.com/redis/go-redis/pull/3399 ))
- fix: insert entry during iterating over a map
([#​3398](https://redirect.github.com/redis/go-redis/pull/3398 ))
- DOC-5229 probabilistic data type examples
([#​3413](https://redirect.github.com/redis/go-redis/pull/3413 ))
- chore(deps): bump rojopolis/spellcheck-github-actions from 0.49.0 to
0.51.0
([#​3414](https://redirect.github.com/redis/go-redis/pull/3414 ))
#### Contributors
We'd like to thank all the contributors who worked on this release!
[@​andy-stark-redis](https://redirect.github.com/andy-stark-redis ),
[@​boekkooi-impossiblecloud](https://redirect.github.com/boekkooi-impossiblecloud ),
[@​cxljs](https://redirect.github.com/cxljs ),
[@​dcherubini](https://redirect.github.com/dcherubini ),
[@​iamamirsalehi](https://redirect.github.com/iamamirsalehi ),
[@​ndyakov](https://redirect.github.com/ndyakov ),
[@​pete-woods](https://redirect.github.com/pete-woods ),
[@​twz915](https://redirect.github.com/twz915 )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
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.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/googleapis/genai-toolbox ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC42Mi4xIiwidXBkYXRlZEluVmVyIjoiNDAuNjIuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Co-authored-by: Yuan <45984206+Yuan325@users.noreply.github.com >
2025-06-24 23:27:34 +00:00
Averi Kitsch
e1355660d4
chore: Update Developer and Contributing docs ( #738 )
...
Co-authored-by: Wenxin Du <117315983+duwenxin99@users.noreply.github.com >
2025-06-24 13:58:47 -07:00
Twisha Bansal
d8e2abe2dd
fix: fix adk quickstart ( #741 )
2025-06-24 12:04:11 +05:30
Twisha Bansal
7b3539e9ff
chore: reorder quickstart ( #740 )
...
Reorder quickstart.
Order from
`GoogleGenAI -> ADK -> Langchain -> Llamaindex`
to
`ADK -> Langchain -> Llamaindex -> GoogleGenAI`
2025-06-24 11:55:01 +05:30
Wenxin Du
1d658c3b14
docs: Add guide for writing integration tests ( #737 )
...
Detailed instruction for writing integration tests.
2025-06-23 09:36:46 -07:00
Wenxin Du
fd300dc606
feat: Add support for HTTP Tool pathParams ( #726 )
...
Allow users to specify dynamic path for HTTP tools.
fix: https://github.com/googleapis/genai-toolbox/issues/680
2025-06-20 14:53:49 -04:00
Yuan
4827771b78
feat: add support for optional parameters ( #617 )
...
Add a `default` field to parameters, that enables users to specify a
default value.
e.g.
```
parameters:
- name: name
type: string
default: "some-default-value"
description: The name of the hotel.
```
if this parameter is invoked without specifying `name`, the parameter
would default to "some-default-value"
For parameter manifest, there will be an additional `Required` field.
The default `Required` field is true. If a `default` value is presented,
`Required: false`. Array parameter's item's `Required` field will
inherit the array's `Required` field.
Fixes #475
2025-06-20 10:46:59 -07:00
dependabot[bot]
a8df414b11
chore(deps): bump github.com/go-chi/chi/v5 from 5.2.1 to 5.2.2 ( #734 )
...
Bumps [github.com/go-chi/chi/v5](https://github.com/go-chi/chi ) from
5.2.1 to 5.2.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/go-chi/chi/releases ">github.com/go-chi/chi/v5's
releases</a>.</em></p>
<blockquote>
<h2>v5.2.2</h2>
<h2>What's Changed</h2>
<ul>
<li>Use strings.Cut in a few places by <a
href="https://github.com/JRaspass "><code>@JRaspass</code></a> in <a
href="https://redirect.github.com/go-chi/chi/pull/971 ">go-chi/chi#971</a></li>
<li>Fix non-constant format strings in t.Fatalf by <a
href="https://github.com/JRaspass "><code>@JRaspass</code></a> in <a
href="https://redirect.github.com/go-chi/chi/pull/972 ">go-chi/chi#972</a></li>
<li>Apply fieldalignment fixes to optimize struct memory layout by <a
href="https://github.com/pixel365 "><code>@pixel365</code></a> in <a
href="https://redirect.github.com/go-chi/chi/pull/974 ">go-chi/chi#974</a></li>
<li>go 1.24 by <a
href="https://github.com/pkieltyka "><code>@pkieltyka</code></a> in <a
href="https://redirect.github.com/go-chi/chi/pull/977 ">go-chi/chi#977</a></li>
<li>chore: delint ioutil usage by <a
href="https://github.com/costela "><code>@costela</code></a> in <a
href="https://redirect.github.com/go-chi/chi/pull/962 ">go-chi/chi#962</a></li>
<li>Fixed typo in Router interface definition by <a
href="https://github.com/mithileshgupta12 "><code>@mithileshgupta12</code></a>
in <a
href="https://redirect.github.com/go-chi/chi/pull/958 ">go-chi/chi#958</a></li>
<li>Add support for TinyGo by <a
href="https://github.com/efraimbart "><code>@efraimbart</code></a> in <a
href="https://redirect.github.com/go-chi/chi/pull/978 ">go-chi/chi#978</a></li>
<li>Exclude middleware/profiler.go in TinyGo, as there's no
net/http/pprof pkg by <a
href="https://github.com/cxjava "><code>@cxjava</code></a> in <a
href="https://redirect.github.com/go-chi/chi/pull/982 ">go-chi/chi#982</a></li>
<li>Make use of strings.Cut by <a
href="https://github.com/scop "><code>@scop</code></a> in <a
href="https://redirect.github.com/go-chi/chi/pull/1005 ">go-chi/chi#1005</a></li>
<li>Change install command format to code block by <a
href="https://github.com/sglkc "><code>@sglkc</code></a> in <a
href="https://redirect.github.com/go-chi/chi/pull/1001 ">go-chi/chi#1001</a></li>
<li>Correct documentation by <a
href="https://github.com/mrdomino "><code>@mrdomino</code></a> in <a
href="https://redirect.github.com/go-chi/chi/pull/992 ">go-chi/chi#992</a></li>
</ul>
<h2>Security fix</h2>
<ul>
<li>Fixes <a
href="https://github.com/go-chi/chi/security/advisories/GHSA-vrw8-fxc6-2r93 ">GHSA-vrw8-fxc6-2r93</a>
- "Host Header Injection Leads to Open Redirect in
RedirectSlashes" <a
href="1be7ad938c ">commit</a>
<ul>
<li>a lower-severity Open Redirect that can't be exploited in browser or
email client, as it requires manipulation of a Host header</li>
<li>reported by Anuraag Baishya, <a
href="https://github.com/anuraagbaishya "><code>@anuraagbaishya</code></a>.
Thank you!</li>
</ul>
</li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/pixel365 "><code>@pixel365</code></a>
made their first contribution in <a
href="https://redirect.github.com/go-chi/chi/pull/974 ">go-chi/chi#974</a></li>
<li><a
href="https://github.com/mithileshgupta12 "><code>@mithileshgupta12</code></a>
made their first contribution in <a
href="https://redirect.github.com/go-chi/chi/pull/958 ">go-chi/chi#958</a></li>
<li><a
href="https://github.com/efraimbart "><code>@efraimbart</code></a> made
their first contribution in <a
href="https://redirect.github.com/go-chi/chi/pull/978 ">go-chi/chi#978</a></li>
<li><a href="https://github.com/cxjava "><code>@cxjava</code></a> made
their first contribution in <a
href="https://redirect.github.com/go-chi/chi/pull/982 ">go-chi/chi#982</a></li>
<li><a href="https://github.com/sglkc "><code>@sglkc</code></a> made
their first contribution in <a
href="https://redirect.github.com/go-chi/chi/pull/1001 ">go-chi/chi#1001</a></li>
<li><a href="https://github.com/mrdomino "><code>@mrdomino</code></a>
made their first contribution in <a
href="https://redirect.github.com/go-chi/chi/pull/992 ">go-chi/chi#992</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/go-chi/chi/compare/v5.2.1...v5.2.2 ">https://github.com/go-chi/chi/compare/v5.2.1...v5.2.2 </a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="23c395f852 "><code>23c395f</code></a>
Correct documentation (<a
href="https://redirect.github.com/go-chi/chi/issues/992 ">#992</a>)</li>
<li><a
href="5516d147c1 "><code>5516d14</code></a>
docs: change install code to code block (<a
href="https://redirect.github.com/go-chi/chi/issues/1001 ">#1001</a>)</li>
<li><a
href="e235052c10 "><code>e235052</code></a>
Make use of strings.Cut (<a
href="https://redirect.github.com/go-chi/chi/issues/1005 ">#1005</a>)</li>
<li><a
href="1be7ad938c "><code>1be7ad9</code></a>
Merge commit from fork</li>
<li><a
href="d7034fdfda "><code>d7034fd</code></a>
Exclude profiler when use tinygo (<a
href="https://redirect.github.com/go-chi/chi/issues/982 ">#982</a>)</li>
<li><a
href="d04703412f "><code>d047034</code></a>
support tinygo (<a
href="https://redirect.github.com/go-chi/chi/issues/978 ">#978</a>)</li>
<li><a
href="fe2c065bc0 "><code>fe2c065</code></a>
Fixed the typo (<a
href="https://redirect.github.com/go-chi/chi/issues/958 ">#958</a>)</li>
<li><a
href="1aae5b2d2d "><code>1aae5b2</code></a>
chore: delint ioutil usage (<a
href="https://redirect.github.com/go-chi/chi/issues/962 ">#962</a>)</li>
<li><a
href="c6225e35a4 "><code>c6225e3</code></a>
go 1.24 (<a
href="https://redirect.github.com/go-chi/chi/issues/977 ">#977</a>)</li>
<li><a
href="e846b8304c "><code>e846b83</code></a>
Apply fieldalignment fixes to optimize struct memory layout (<a
href="https://redirect.github.com/go-chi/chi/issues/974 ">#974</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/go-chi/chi/compare/v5.2.1...v5.2.2 ">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/googleapis/genai-toolbox/network/alerts ).
</details>
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-20 17:29:12 +00:00
Yuan
0bf4ebabf1
ci: increase releases vCPU ( #731 )
...
As Toolbox add more dependencies, the release time is taking longer (due
to longer binary building time). This PR increases vCPU for the
continuous release and versioned release.
2025-06-19 23:14:51 -07:00
Yuan
67964d939f
fix(postgres,mssql,cloudsqlmssql)!: encode source connection url for sources ( #727 )
...
Have to encode special character in connection url. Only needed for
`postgres`, `mssql`, `cloud-sql-mssql` sources.
Fixes #717
2025-06-18 15:32:46 -07:00
Mend Renovate
f77c829271
chore(deps): update module google.golang.org/api to v0.238.0 ( #728 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[google.golang.org/api](https://redirect.github.com/googleapis/google-api-go-client )
| `v0.237.0` -> `v0.238.0` |
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>googleapis/google-api-go-client
(google.golang.org/api)</summary>
###
[`v0.238.0`](https://redirect.github.com/googleapis/google-api-go-client/releases/tag/v0.238.0 )
[Compare
Source](https://redirect.github.com/googleapis/google-api-go-client/compare/v0.237.0...v0.238.0 )
##### Features
- **all:** Auto-regenerate discovery clients
([#​3192](https://redirect.github.com/googleapis/google-api-go-client/issues/3192 ))
([3ad3118](3ad311895f ))
- **all:** Auto-regenerate discovery clients
([#​3196](https://redirect.github.com/googleapis/google-api-go-client/issues/3196 ))
([8cb55ce](8cb55ce504 ))
- **all:** Auto-regenerate discovery clients
([#​3197](https://redirect.github.com/googleapis/google-api-go-client/issues/3197 ))
([98994c4](98994c4004 ))
- **all:** Auto-regenerate discovery clients
([#​3198](https://redirect.github.com/googleapis/google-api-go-client/issues/3198 ))
([5824597](582459736e ))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
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.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/googleapis/genai-toolbox ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC41MC4wIiwidXBkYXRlZEluVmVyIjoiNDAuNjAuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Co-authored-by: Yuan <45984206+Yuan325@users.noreply.github.com >
2025-06-18 21:52:47 +00:00
Mend Renovate
d2977ed1ba
chore(deps): update module github.com/googlecloudplatform/opentelemetry-operations-go/exporter/metric to v0.53.0 ( #729 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/metric](https://redirect.github.com/GoogleCloudPlatform/opentelemetry-operations-go )
| `v0.52.0` -> `v0.53.0` |
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>GoogleCloudPlatform/opentelemetry-operations-go
(github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/metric)</summary>
###
[`v0.53.0`](https://redirect.github.com/GoogleCloudPlatform/opentelemetry-operations-go/releases/tag/v0.53.0 ):
v1.29.0/v0.53.0
[Compare
Source](https://redirect.github.com/GoogleCloudPlatform/opentelemetry-operations-go/compare/v0.52.0...v0.53.0 )
##### What's Changed
- exporter/metric: add WithMetricClient option by
[@​enocom](https://redirect.github.com/enocom ) in
[https://github.com/GoogleCloudPlatform/opentelemetry-operations-go/pull/1033 ](https://redirect.github.com/GoogleCloudPlatform/opentelemetry-operations-go/pull/1033 )
- go.mod: use go 1.23 by
[@​braydonk](https://redirect.github.com/braydonk ) in
[https://github.com/GoogleCloudPlatform/opentelemetry-operations-go/pull/1048 ](https://redirect.github.com/GoogleCloudPlatform/opentelemetry-operations-go/pull/1048 )
##### New Contributors
- [@​enocom](https://redirect.github.com/enocom ) made their first
contribution in
[https://github.com/GoogleCloudPlatform/opentelemetry-operations-go/pull/1033 ](https://redirect.github.com/GoogleCloudPlatform/opentelemetry-operations-go/pull/1033 )
**Full Changelog**:
https://github.com/GoogleCloudPlatform/opentelemetry-operations-go/compare/v0.52.0...v0.53.0
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
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.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/googleapis/genai-toolbox ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC42MC4xIiwidXBkYXRlZEluVmVyIjoiNDAuNjAuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
2025-06-18 21:47:07 +00:00