[PR #336] [MERGED] Bump @google/generative-ai from 0.20.0 to 0.22.0 #370

Closed
opened 2026-03-03 13:54:15 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jehna/humanify/pull/336
Author: @dependabot[bot]
Created: 2/21/2025
Status: Merged
Merged: 2/21/2025
Merged by: @github-actions[bot]

Base: mainHead: dependabot/npm_and_yarn/google/generative-ai-0.22.0


📝 Commits (1)

  • e414b2d Bump @google/generative-ai from 0.20.0 to 0.22.0

📊 Changes

2 files changed (+6 additions, -5 deletions)

View changed files

📝 package-lock.json (+5 -4)
📝 package.json (+1 -1)

📄 Description

Bumps @google/generative-ai from 0.20.0 to 0.22.0.

Changelog

Sourced from @​google/generative-ai's changelog.

0.22.0

Minor Changes

  • b546cba: Breaking change: Fix typo of groundingChunks
  • 85621eb: Breaking change: Fix typo of 'groundingSupport' -> 'groundingSupports'
  • 3004d3b: The schema types are now more specific, using a discriminated union based on the 'type' field to more accurately define which fields are allowed.

Patch Changes

  • 864afb7: Swapped the package manager to npm, in order to take advantage of npm audit fix
  • 070bcdc: Fix undefined candidate index.
  • 6a99ed8: Make sure chat api do not send empty text request after encounter any server error that returns empty response. This fixes issue #124 and issue #286.
  • 25d3a92: update FinishReason enum
  • d87cf1d: Fix flaky integration test with tools

0.21.0

Minor Changes

  • 8543716: Add search grounding feature to SDK.
Commits

Dependabot compatibility score

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 commands and options

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)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jehna/humanify/pull/336 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 2/21/2025 **Status:** ✅ Merged **Merged:** 2/21/2025 **Merged by:** [@github-actions[bot]](https://github.com/apps/github-actions) **Base:** `main` ← **Head:** `dependabot/npm_and_yarn/google/generative-ai-0.22.0` --- ### 📝 Commits (1) - [`e414b2d`](https://github.com/jehna/humanify/commit/e414b2dad2883b26684af63081610c92c990f5d9) Bump @google/generative-ai from 0.20.0 to 0.22.0 ### 📊 Changes **2 files changed** (+6 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `package-lock.json` (+5 -4) 📝 `package.json` (+1 -1) </details> ### 📄 Description Bumps [@google/generative-ai](https://github.com/google/generative-ai-js) from 0.20.0 to 0.22.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/google-gemini/generative-ai-js/blob/main/CHANGELOG.md"><code>@​google/generative-ai</code>'s changelog</a>.</em></p> <blockquote> <h2>0.22.0</h2> <h3>Minor Changes</h3> <ul> <li>b546cba: Breaking change: Fix typo of groundingChunks</li> <li>85621eb: Breaking change: Fix typo of 'groundingSupport' -&gt; 'groundingSupports'</li> <li>3004d3b: The schema types are now more specific, using a <a href="https://www.typescriptlang.org/docs/handbook/2/narrowing.html#discriminated-unions">discriminated union</a> based on the 'type' field to more accurately define which fields are allowed.</li> </ul> <h3>Patch Changes</h3> <ul> <li>864afb7: Swapped the package manager to npm, in order to take advantage of npm audit fix</li> <li>070bcdc: Fix undefined candidate index.</li> <li>6a99ed8: Make sure chat api do not send empty text request after encounter any server error that returns empty response. This fixes issue <a href="https://redirect.github.com/google/generative-ai-js/issues/124">#124</a> and issue <a href="https://redirect.github.com/google/generative-ai-js/issues/286">#286</a>.</li> <li>25d3a92: update FinishReason enum</li> <li>d87cf1d: Fix flaky integration test with tools</li> </ul> <h2>0.21.0</h2> <h3>Minor Changes</h3> <ul> <li>8543716: Add search grounding feature to SDK.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/google-gemini/generative-ai-js/commit/3004d3b14435fa69cbb8777a87cc30254d3b15ee"><code>3004d3b</code></a> Make Schema a discriminated union (<a href="https://redirect.github.com/google/generative-ai-js/issues/296">#296</a>)</li> <li><a href="https://github.com/google-gemini/generative-ai-js/commit/6a99ed87fbb0a5b3557ac2adaa4240521bd114cb"><code>6a99ed8</code></a> Fix the issue <a href="https://redirect.github.com/google/generative-ai-js/issues/124">#124</a> (Add the changeset) (<a href="https://redirect.github.com/google/generative-ai-js/issues/293">#293</a>)</li> <li><a href="https://github.com/google-gemini/generative-ai-js/commit/6ec2c270f08c92ef73eaa504cec90de509ea5c35"><code>6ec2c27</code></a> Fix the issue <a href="https://redirect.github.com/google/generative-ai-js/issues/124">#124</a> (<a href="https://redirect.github.com/google/generative-ai-js/issues/290">#290</a>)</li> <li><a href="https://github.com/google-gemini/generative-ai-js/commit/927f6f0d11e8fde9c53c115099e7f01558f5570a"><code>927f6f0</code></a> Fix samples and update yarn.lock (<a href="https://redirect.github.com/google/generative-ai-js/issues/283">#283</a>)</li> <li><a href="https://github.com/google-gemini/generative-ai-js/commit/25d3a9243a978668bcc686d0ee1ced216ee9843a"><code>25d3a92</code></a> Update <code>FinishReason</code> enum (<a href="https://redirect.github.com/google/generative-ai-js/issues/270">#270</a>)</li> <li><a href="https://github.com/google-gemini/generative-ai-js/commit/bb553d087ae689f213297a79f29b1ff9cee17738"><code>bb553d0</code></a> Add samples for log prob and search grounding (<a href="https://redirect.github.com/google/generative-ai-js/issues/273">#273</a>)</li> <li><a href="https://github.com/google-gemini/generative-ai-js/commit/cec7440c0d34d29298333d920d4f44f8478d27d5"><code>cec7440</code></a> Version Packages (<a href="https://redirect.github.com/google/generative-ai-js/issues/272">#272</a>)</li> <li><a href="https://github.com/google-gemini/generative-ai-js/commit/854371611b67d9335ad8f2bc990737da4f4a7735"><code>8543716</code></a> Search grounding (<a href="https://redirect.github.com/google/generative-ai-js/issues/271">#271</a>)</li> <li><a href="https://github.com/google-gemini/generative-ai-js/commit/a6cf83f3c37f27c0e1288016c75bd5d907f06040"><code>a6cf83f</code></a> Added a files_create_pdf example. (<a href="https://redirect.github.com/google/generative-ai-js/issues/263">#263</a>)</li> <li>See full diff in <a href="https://github.com/google/generative-ai-js/compare/v0.20.0...v0.22.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@google/generative-ai&package-manager=npm_and_yarn&previous-version=0.20.0&new-version=0.22.0)](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) </details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 13:54:15 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/humanify#370
No description provided.