Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Apr 22, 2024

This PR contains the following updates:

Package Change Age Confidence
@google/generative-ai ^0.7.1^0.24.0 age confidence

Release Notes

google/generative-ai-js (@​google/generative-ai)

v0.24.1

Compare Source

Patch Changes
  • 2a82804: Update package description to include deprecation notice.

v0.24.0

Compare Source

Minor Changes
  • 13466b3: added support for buffers in uploadFile
  • 64e5af7: BREAKING CHANGE: Enforce format safety when using string schemas

v0.23.0

Compare Source

Minor Changes
  • da7ed0e: Introduce a new error type to represent AbortError from SDK
Patch Changes
  • 16737d3: Fixes issue #​218 by ensuring system instructions are formatted always, not just when TTL is specified
  • 9e95663: fix: Exclude content with empty parts from chat history
  • be83756: Added custom header support to the Server package, matching functionality on the client package
  • 33c3c24: add HARM_CATEGORY_CIVIC_INTEGRITY

v0.22.0

Compare Source

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

v0.21.0

Compare Source

Minor Changes
  • 8543716: Add search grounding feature to SDK.

v0.20.0

Compare Source

Minor Changes
  • dda0b5c: Add frequencyPenalty, presencePenalty, responseLogprobs, and logProbs parameters support for generationConfig. Added avgLogprobs and logprobsResult to GenerateContentResponse. Updated test cases.

v0.19.0

Compare Source

Minor Changes
  • 00dc7a1: Use lowercase SchemaType enum values to match json-schema.

v0.18.0

Compare Source

Minor Changes
  • fc008a1: Add ability to set modelParams (generationConfig, safetySettings) on getGenerativeModelFromCachedContent().

v0.17.2

Compare Source

Patch Changes
  • d8f6b4f: Fix language marker in text helper for executable code results.

v0.17.1

Compare Source

Patch Changes
  • fdfb5bd: Fix reference to requestOptions in startChat.

v0.17.0

Compare Source

Minor Changes
  • 3b5daae: Fix Schema type to reference itself and not a derived type in its items array and properties map.

v0.16.1

Compare Source

This is a cherry-picked patch to fix an bug for users pinned to versions 0.16.x.

Patch Changes
  • fdfb5bd: Fix reference to requestOptions in startChat.

v0.16.0

Compare Source

Minor Changes
  • d2d42ca: Adds SingleRequestOptions with AbortSignal support to most of the asynchronous methods of GenerativeModel, GoogleAIFileManager and ChatSession.

v0.15.0

Compare Source

Minor Changes
  • 05b8631: Add FinishReason.LANGUAGE enum value.
Patch Changes
  • e87d5b0: Fix countTokens to include any params set on the model instance.

v0.14.1

Compare Source

Patch Changes
  • 0c23bb3: Add CodeExecutionTool to Tool type.

v0.14.0

Compare Source

Minor Changes
  • fb1c0f2: Add a cachedContentTokenCount field to the UsageMetadata interface returned by generateContent responses.
  • 06216be: Add code execution feature.

v0.13.0

Compare Source

Minor Changes
  • 83ec4ac: Expand the model's countTokens method to alternatively accept a GenerateContentRequest.
  • 5df61d1: Added GoogleAICacheManager utility to allow caching large content to be used in inference. This class is exported from the @google/generative-ai/server subpath. Breaking change: The GoogleAIFileManager class has been moved to be exported from this subpath as well instead of the /files subpath.
Patch Changes
  • 1440a05: Removed the model field from the internally formatted payload of countToken requests as it was unnecessary.
  • 03eb57b: Fix missing usageMetadata in streamed aggregated response (#​174)

v0.12.0

Compare Source

Minor Changes
  • 85ff2c4: Added responseSchema to GenerationConfig to allow user to provide a JSON schema when responseMimeType is set to JSON.

v0.11.5

Compare Source

Patch Changes
  • 42ba6ca: Fix paths to @​google/generative-ai/files.

v0.11.4

Compare Source

Patch Changes
  • ee02ff0: Add additional properties videoMetadata and error to FileMetadataResponse type.

v0.11.3

Compare Source

Patch Changes
  • c7c0b50: Fixed FileState enum values to be strings.

v0.11.2

Compare Source

Patch Changes
  • cefa8f2: Lifted a restriction in chat sessions that required a specific order of content roles.

v0.11.1

Compare Source

Patch Changes
  • 819501f: Fix a bug that caused file uploads to be named "undefined" if no file name is provided.

v0.11.0

Compare Source

Minor Changes
  • 58ab777: Added responseMimeType to GenerationConfig to allow for JSON formatted responses.
Patch Changes
  • c39015c: Fixed a bug where text() did not handle multiple TextParts in a single candidate. Added state field to FileMetadataResponse.

v0.10.0

Compare Source

Minor Changes
  • 657799a: Added UsageMetadata to GenerateContentResponses.
  • 4562366: Add a request option for custom headers

v0.9.0

Compare Source

Minor Changes
  • ca62400: Allow text-only systemInstruction as well as Part and Content.
  • 111e970: Export error classes and add more properties to fetch errors.

v0.8.0

Compare Source

Minor Changes
  • a89d427: Add GoogleAIFileManager for file uploads.

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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@vercel
Copy link

vercel bot commented Apr 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
chat-chat ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 20, 2025 10:31pm

@renovate renovate bot force-pushed the renovate/google-generative-ai-0.x branch from ea4a829 to 2baec80 Compare April 29, 2024 19:35
@renovate renovate bot changed the title fix(deps): update dependency @google/generative-ai to ^0.8.0 fix(deps): update dependency @google/generative-ai to ^0.9.0 Apr 29, 2024
@renovate renovate bot changed the title fix(deps): update dependency @google/generative-ai to ^0.9.0 fix(deps): update dependency @google/generative-ai to ^0.10.0 May 3, 2024
@renovate renovate bot force-pushed the renovate/google-generative-ai-0.x branch from 2baec80 to 2343a94 Compare May 3, 2024 21:40
@renovate renovate bot force-pushed the renovate/google-generative-ai-0.x branch from 2343a94 to 4041f37 Compare May 8, 2024 23:23
@renovate renovate bot changed the title fix(deps): update dependency @google/generative-ai to ^0.10.0 fix(deps): update dependency @google/generative-ai to ^0.11.0 May 8, 2024
@renovate renovate bot force-pushed the renovate/google-generative-ai-0.x branch from 4041f37 to d6da4d8 Compare May 28, 2024 08:14
@renovate renovate bot force-pushed the renovate/google-generative-ai-0.x branch from d6da4d8 to 6ef2b10 Compare May 29, 2024 13:46
@renovate renovate bot force-pushed the renovate/google-generative-ai-0.x branch from 6ef2b10 to aa4d0f9 Compare May 29, 2024 21:10
@renovate renovate bot changed the title fix(deps): update dependency @google/generative-ai to ^0.11.0 fix(deps): update dependency @google/generative-ai to ^0.12.0 May 29, 2024
@renovate renovate bot changed the title fix(deps): update dependency @google/generative-ai to ^0.12.0 fix(deps): update dependency @google/generative-ai to ^0.13.0 Jun 18, 2024
@renovate renovate bot force-pushed the renovate/google-generative-ai-0.x branch from aa4d0f9 to 36a318a Compare June 18, 2024 15:42
@renovate renovate bot force-pushed the renovate/google-generative-ai-0.x branch from 36a318a to bbf894e Compare June 27, 2024 03:52
@renovate renovate bot changed the title fix(deps): update dependency @google/generative-ai to ^0.13.0 fix(deps): update dependency @google/generative-ai to ^0.14.0 Jun 27, 2024
@renovate renovate bot force-pushed the renovate/google-generative-ai-0.x branch from bbf894e to b6e45fe Compare July 15, 2024 20:22
@renovate renovate bot changed the title fix(deps): update dependency @google/generative-ai to ^0.14.0 fix(deps): update dependency @google/generative-ai to ^0.15.0 Jul 15, 2024
@renovate renovate bot force-pushed the renovate/google-generative-ai-0.x branch from b6e45fe to 4b4b4cf Compare July 24, 2024 22:20
@renovate renovate bot changed the title fix(deps): update dependency @google/generative-ai to ^0.15.0 fix(deps): update dependency @google/generative-ai to ^0.16.0 Jul 24, 2024
@renovate renovate bot force-pushed the renovate/google-generative-ai-0.x branch from 4b4b4cf to 611dbf5 Compare August 13, 2024 16:48
@renovate renovate bot changed the title fix(deps): update dependency @google/generative-ai to ^0.16.0 fix(deps): update dependency @google/generative-ai to ^0.17.0 Aug 13, 2024
@renovate renovate bot force-pushed the renovate/google-generative-ai-0.x branch from 611dbf5 to 16f06ab Compare September 11, 2024 22:58
@renovate renovate bot changed the title fix(deps): update dependency @google/generative-ai to ^0.17.0 fix(deps): update dependency @google/generative-ai to ^0.18.0 Sep 11, 2024
@renovate renovate bot force-pushed the renovate/google-generative-ai-0.x branch from 16f06ab to ac320c1 Compare September 12, 2024 19:17
@renovate renovate bot changed the title fix(deps): update dependency @google/generative-ai to ^0.18.0 fix(deps): update dependency @google/generative-ai to ^0.19.0 Sep 12, 2024
@renovate renovate bot force-pushed the renovate/google-generative-ai-0.x branch from ac320c1 to 0463bf3 Compare September 27, 2024 01:27
@renovate renovate bot changed the title fix(deps): update dependency @google/generative-ai to ^0.19.0 fix(deps): update dependency @google/generative-ai to ^0.20.0 Sep 27, 2024
@renovate renovate bot changed the title fix(deps): update dependency @google/generative-ai to ^0.20.0 fix(deps): update dependency @google/generative-ai to ^0.21.0 Oct 3, 2024
@renovate renovate bot force-pushed the renovate/google-generative-ai-0.x branch from 0463bf3 to cd1af3c Compare October 3, 2024 00:51
@renovate renovate bot changed the title fix(deps): update dependency @google/generative-ai to ^0.21.0 fix(deps): update dependency @google/generative-ai to ^0.22.0 Feb 20, 2025
@renovate renovate bot force-pushed the renovate/google-generative-ai-0.x branch from cd1af3c to 6a3c24d Compare February 20, 2025 22:27
@renovate renovate bot force-pushed the renovate/google-generative-ai-0.x branch from 6a3c24d to c06e0c8 Compare March 3, 2025 19:36
@renovate renovate bot changed the title fix(deps): update dependency @google/generative-ai to ^0.22.0 fix(deps): update dependency @google/generative-ai to ^0.23.0 Mar 3, 2025
@renovate renovate bot force-pushed the renovate/google-generative-ai-0.x branch from c06e0c8 to 0fa72cc Compare March 7, 2025 02:03
@renovate renovate bot changed the title fix(deps): update dependency @google/generative-ai to ^0.23.0 fix(deps): update dependency @google/generative-ai to ^0.24.0 Mar 7, 2025
@renovate renovate bot force-pushed the renovate/google-generative-ai-0.x branch from 0fa72cc to 28d9972 Compare August 10, 2025 14:53
@renovate renovate bot force-pushed the renovate/google-generative-ai-0.x branch from 28d9972 to 7858821 Compare December 31, 2025 16:49
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.

1 participant