Skip to content

Conversation

@averikitsch
Copy link
Contributor

@averikitsch averikitsch commented Aug 15, 2025

Description


Update mongodb find one to unmarshal projectpayload

PR Checklist


Thank you for opening a Pull Request! Before submitting your PR, there are a
few things you can do to make sure it goes smoothly:

  • Make sure you reviewed
    CONTRIBUTING.md
  • Make sure to open an issue as a
    bug/issue
    before writing your code! That way we can discuss the change, evaluate
    designs, and agree on the general idea
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)
  • Make sure to add ! if this involve a breaking change

🛠️ Fixes #1153

@averikitsch averikitsch requested a review from a team as a code owner August 15, 2025 18:49
@averikitsch averikitsch changed the title fix: ProjectPayload unmarshaling fix(tools/mongodb-find-one): ProjectPayload unmarshaling Aug 15, 2025
@averikitsch averikitsch requested a review from duwenxin99 August 20, 2025 17:49
@averikitsch averikitsch merged commit 8ea6a98 into main Aug 21, 2025
8 checks passed
@averikitsch averikitsch deleted the mongo branch August 21, 2025 18:01
github-actions bot pushed a commit to bhardwajRahul/genai-toolbox that referenced this pull request Aug 21, 2025
…gleapis#1167)

## Description
---
Update mongodb find one to unmarshal projectpayload

## PR Checklist
---
> Thank you for opening a Pull Request! Before submitting your PR, there
are a
> few things you can do to make sure it goes smoothly:
- [ ] Make sure you reviewed

[CONTRIBUTING.md](https://github.com/googleapis/genai-toolbox/blob/main/CONTRIBUTING.md)
- [ ] Make sure to open an issue as a

[bug/issue](https://github.com/googleapis/langchain-google-alloydb-pg-python/issues/new/choose)
before writing your code! That way we can discuss the change, evaluate
  designs, and agree on the general idea
- [ ] Ensure the tests and linter pass
- [ ] Code coverage does not decrease (if any source code was changed)
- [ ] Appropriate docs were updated (if necessary)
- [ ] Make sure to add `!` if this involve a breaking change

🛠️ Fixes googleapis#1153 8ea6a98
Yuan325 added a commit that referenced this pull request Aug 27, 2025
🤖 I have created a release *beep* *boop*
---


##
[0.13.0](v0.12.0...v0.13.0)
(2025-08-27)


### ⚠ BREAKING CHANGES

* **prebuilt/alloydb:** Add bearer token support for
alloydb-wait-for-operation
([#1183](#1183))


### Features

* Add capability to set default for environment variable in config
([#1248](#1248))
([5bcd52e](5bcd52e))
* **firebird:** Add Firebird SQL 2.5+ source and tool
([#1011](#1011))
([4f6b806](4f6b806))
* **oceanbase:** Add Oceanbase source and tool
([#895](#895))
([6fc4982](6fc4982))
* **server/mcp:** Support `ping` mechanism
([#1178](#1178))
([5dcc66c](5dcc66c))
* **server:** Fail-fast on environment variable substitution
([#1177](#1177))
([212aaba](212aaba))
* **server:** Implement Tool call auth error propagation
([#1235](#1235))
([b94a021](b94a021))
* **sources/bigquery:** Add support for user-credential passthrough
([#1067](#1067))
([650e2e2](650e2e2))
* **tool/looker:** Add support for `description` field in looker tool
([#1199](#1199))
([97f0dd2](97f0dd2))
* **tools/bigquery-ask-data-insights:** Add bigquery `ask-data-insights`
tool ([#932](#932))
([7651357](7651357))
* **tools/bigquery-forecast:** Add bigqueryforecast tool
([#1148](#1148))
([2ad0ccf](2ad0ccf))
* **tools/firestore-add-documents:** Add firestore-add-documents tool
([#1107](#1107))
([ee4a70a](ee4a70a))
* **tools/firestore-update-document:** Add firestore-update-document
tool ([#1191](#1191))
([0010123](0010123))
* **tools/looker:** Control over whether hidden objects are surfaced
([#1222](#1222))
([bc91559](bc91559))
* **trino:** Add Trino source and tools
([#948](#948))
([7dd123b](7dd123b))


### Bug Fixes

* **tools/looker:** Lookergetdashboards uses proper Authorized helper
func ([#1255](#1255))
([00866bc](00866bc))
* **tools/mongodb-find-one:** ProjectPayload unmarshaling
([#1167](#1167))
([8ea6a98](8ea6a98))
* **tools/mysql:** Fix encoded text for mysql
([#1161](#1161))
([a37cfa8](a37cfa8)),
closes [#840](#840)


---
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 Teoh <45984206+Yuan325@users.noreply.github.com>
github-actions bot pushed a commit that referenced this pull request Aug 27, 2025
🤖 I have created a release *beep* *boop*
---

##
[0.13.0](v0.12.0...v0.13.0)
(2025-08-27)

### ⚠ BREAKING CHANGES

* **prebuilt/alloydb:** Add bearer token support for
alloydb-wait-for-operation
([#1183](#1183))

### Features

* Add capability to set default for environment variable in config
([#1248](#1248))
([5bcd52e](5bcd52e))
* **firebird:** Add Firebird SQL 2.5+ source and tool
([#1011](#1011))
([4f6b806](4f6b806))
* **oceanbase:** Add Oceanbase source and tool
([#895](#895))
([6fc4982](6fc4982))
* **server/mcp:** Support `ping` mechanism
([#1178](#1178))
([5dcc66c](5dcc66c))
* **server:** Fail-fast on environment variable substitution
([#1177](#1177))
([212aaba](212aaba))
* **server:** Implement Tool call auth error propagation
([#1235](#1235))
([b94a021](b94a021))
* **sources/bigquery:** Add support for user-credential passthrough
([#1067](#1067))
([650e2e2](650e2e2))
* **tool/looker:** Add support for `description` field in looker tool
([#1199](#1199))
([97f0dd2](97f0dd2))
* **tools/bigquery-ask-data-insights:** Add bigquery `ask-data-insights`
tool ([#932](#932))
([7651357](7651357))
* **tools/bigquery-forecast:** Add bigqueryforecast tool
([#1148](#1148))
([2ad0ccf](2ad0ccf))
* **tools/firestore-add-documents:** Add firestore-add-documents tool
([#1107](#1107))
([ee4a70a](ee4a70a))
* **tools/firestore-update-document:** Add firestore-update-document
tool ([#1191](#1191))
([0010123](0010123))
* **tools/looker:** Control over whether hidden objects are surfaced
([#1222](#1222))
([bc91559](bc91559))
* **trino:** Add Trino source and tools
([#948](#948))
([7dd123b](7dd123b))

### Bug Fixes

* **tools/looker:** Lookergetdashboards uses proper Authorized helper
func ([#1255](#1255))
([00866bc](00866bc))
* **tools/mongodb-find-one:** ProjectPayload unmarshaling
([#1167](#1167))
([8ea6a98](8ea6a98))
* **tools/mysql:** Fix encoded text for mysql
([#1161](#1161))
([a37cfa8](a37cfa8)),
closes [#840](#840)

---
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 Teoh <45984206+Yuan325@users.noreply.github.com> 1a6dfe8
github-actions bot pushed a commit to renovate-bot/googleapis-_-genai-toolbox that referenced this pull request Aug 27, 2025
🤖 I have created a release *beep* *boop*
---

##
[0.13.0](googleapis/genai-toolbox@v0.12.0...v0.13.0)
(2025-08-27)

### ⚠ BREAKING CHANGES

* **prebuilt/alloydb:** Add bearer token support for
alloydb-wait-for-operation
([googleapis#1183](googleapis#1183))

### Features

* Add capability to set default for environment variable in config
([googleapis#1248](googleapis#1248))
([5bcd52e](googleapis@5bcd52e))
* **firebird:** Add Firebird SQL 2.5+ source and tool
([googleapis#1011](googleapis#1011))
([4f6b806](googleapis@4f6b806))
* **oceanbase:** Add Oceanbase source and tool
([googleapis#895](googleapis#895))
([6fc4982](googleapis@6fc4982))
* **server/mcp:** Support `ping` mechanism
([googleapis#1178](googleapis#1178))
([5dcc66c](googleapis@5dcc66c))
* **server:** Fail-fast on environment variable substitution
([googleapis#1177](googleapis#1177))
([212aaba](googleapis@212aaba))
* **server:** Implement Tool call auth error propagation
([googleapis#1235](googleapis#1235))
([b94a021](googleapis@b94a021))
* **sources/bigquery:** Add support for user-credential passthrough
([googleapis#1067](googleapis#1067))
([650e2e2](googleapis@650e2e2))
* **tool/looker:** Add support for `description` field in looker tool
([googleapis#1199](googleapis#1199))
([97f0dd2](googleapis@97f0dd2))
* **tools/bigquery-ask-data-insights:** Add bigquery `ask-data-insights`
tool ([googleapis#932](googleapis#932))
([7651357](googleapis@7651357))
* **tools/bigquery-forecast:** Add bigqueryforecast tool
([googleapis#1148](googleapis#1148))
([2ad0ccf](googleapis@2ad0ccf))
* **tools/firestore-add-documents:** Add firestore-add-documents tool
([googleapis#1107](googleapis#1107))
([ee4a70a](googleapis@ee4a70a))
* **tools/firestore-update-document:** Add firestore-update-document
tool ([googleapis#1191](googleapis#1191))
([0010123](googleapis@0010123))
* **tools/looker:** Control over whether hidden objects are surfaced
([googleapis#1222](googleapis#1222))
([bc91559](googleapis@bc91559))
* **trino:** Add Trino source and tools
([googleapis#948](googleapis#948))
([7dd123b](googleapis@7dd123b))

### Bug Fixes

* **tools/looker:** Lookergetdashboards uses proper Authorized helper
func ([googleapis#1255](googleapis#1255))
([00866bc](googleapis@00866bc))
* **tools/mongodb-find-one:** ProjectPayload unmarshaling
([googleapis#1167](googleapis#1167))
([8ea6a98](googleapis@8ea6a98))
* **tools/mysql:** Fix encoded text for mysql
([googleapis#1161](googleapis#1161))
([a37cfa8](googleapis@a37cfa8)),
closes [googleapis#840](googleapis#840)

---
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 Teoh <45984206+Yuan325@users.noreply.github.com> 1a6dfe8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cve-find-one returns invalid document length error

2 participants