Skip to content

Latest commit

 

History

History
339 lines (193 loc) · 23.9 KB

File metadata and controls

339 lines (193 loc) · 23.9 KB

Changes

0.16.0 (2026-04-02)

0.15.0 (2026-01-08)

Features

  • add IMAGE_RECITATION reason when generation is stopped due to recitation (db65e79)
  • add json_name for GenerationConfig.response_json_schema_ordered field (db65e79)
  • add support for GoogleMaps and FileSearch tools (db65e79)
  • add support for GroundingMetadata.google_maps_widget_context_token (db65e79)
  • add support for RetrievalConfig (db65e79)

0.14.0 (2025-10-22)

Features

  • add Computer Use tool type
  • add URL_RETRIEVAL_STATUS_UNSAFE and URL_RETRIEVAL_STATUS_PAYWALL statuses for url retrieval
  • add log_probability_sum
  • add support for FunctionResponsePart
  • add support for additional reasons to stop image generation
  • add support for finish_message that contain details the reason why the model stopped generating tokens
  • add support for image generation features
  • add support for raw media bytes for function response

Bug Fixes

  • replaced GenerateVideoResponse by PredictLongRunningGeneratedVideoResponse field

Documentation

  • deprecation notice for HarmCategory.HARM_CATEGORY_CIVIC_INTEGRITY

0.13.0 (2025-09-04)

Features

  • ai/generativelanguage: Add a flag whether the model supports thinking (51583bd)
  • ai/generativelanguage: Add a flag whether the model supports thinking (bfcae15)
  • ai/generativelanguage: Add AudioTranscriptionConfig (51583bd)
  • ai/generativelanguage: Add MultiSpeakerVoiceConfig to speech config (51583bd)
  • ai/generativelanguage: Add support for function response scheduling in the conversation (51583bd)
  • ai/generativelanguage: Add support for thought_signature (51583bd)
  • ai/generativelanguage: Add support for UrlContextMetadata (bfcae15)
  • ai/generativelanguage: Add support for video_metadata (51583bd)
  • ai/generativelanguage: Add support for video_metadata (#12771) (bfcae15)
  • ai/generativelanguage: Add time_range_filter to GoogleSearch tool type (51583bd)
  • ai/generativelanguage: Add UNEXPECTED_TOOL_CALL to the Candidate.FinishReason enum (51583bd)
  • ai/generativelanguage: Add url_context to GoogleSearch tool type (51583bd)

0.12.1 (2025-06-04)

Bug Fixes

  • ai: Fix: upgrade gRPC service registration func (6a871e0)

0.12.0 (2025-05-13)

Features

0.11.1 (2025-05-06)

Bug Fixes

  • ai: Upgrade gRPC service registration func (7c01015)

0.11.0 (2025-04-30)

Features

  • ai/generativelanguage: Add CODE_RETRIEVAL_QUERY embedding task type (19c60f9)
  • ai/generativelanguage: Add CODE_RETRIEVAL_QUERY embedding task type (a6c85f6)
  • ai/generativelanguage: Add language_code to speech config (a6c85f6)
  • ai/generativelanguage: Add minimum, maximum, any_of, property_ordering, default and null type to Schema (a6c85f6)
  • ai/generativelanguage: Add seed to GenerationConfig (19c60f9)
  • ai/generativelanguage: Add support for live API (https (a6c85f6)
  • ai/generativelanguage: Add support for ModalityTokenCounts in UsageMetadata responses (19c60f9)
  • ai/generativelanguage: Add support for ModalityTokenCounts in UsageMetadata responses (a6c85f6)
  • ai/generativelanguage: Add support for Veo (a6c85f6)
  • ai/generativelanguage: Add ThinkingConfig, MediaResolution, and seed to GenerationConfig (a6c85f6)

0.10.2 (2025-04-15)

Bug Fixes

  • ai: Update google.golang.org/api to 0.229.0 (3319672)

0.10.1 (2025-03-13)

Bug Fixes

  • ai: Update golang.org/x/net to 0.37.0 (1144978)

0.10.0 (2025-01-08)

Features

  • ai/generativelanguage: Add civic_integrity toggle (2e4feb9)
  • ai/generativelanguage: Add civic_integrity toggle to generation_config (2e4feb9)
  • ai/generativelanguage: Add GenerateContentRespoinse.model_version (1036734)
  • ai/generativelanguage: Add GoogleSearch tool type (2e4feb9)
  • ai/generativelanguage: Add GroundingMetadata.web_search_queries (1036734)
  • ai/generativelanguage: Add id to FunctionCall and FunctionResponse (2e4feb9)
  • ai/generativelanguage: Add image_safety block_reason + finish_reason (2e4feb9)
  • ai/generativelanguage: Add image_safety block_reason + finish_reason (2e4feb9)
  • ai/generativelanguage: Add response_modalities to generation_config (2e4feb9)
  • ai/generativelanguage: Add return type Schema response to function declarations (2e4feb9)
  • ai/generativelanguage: Add voice_config to generation_config (2e4feb9)
  • ai/generativelanguage: Adds GenerateContentResponse.model_version output (1036734)
  • ai/generativelanguage: Adds search grounding (1036734)
  • ai: New client(s) (#11407) (5b04931)

Bug Fixes

  • ai: Update golang.org/x/net to v0.33.0 (e9b0b69)

Documentation

  • ai/generativelanguage: Small updates (1036734)
  • ai/generativelanguage: Some small updates. (1036734)
  • ai/generativelanguage: Update safety filter list to include civic_integrity (2e4feb9)
  • ai/generativelanguage: Update safety filter list to include civic_integrity (2e4feb9)

0.9.0 (2024-11-13)

Features

  • ai/generativelanguage: Add GenerationConfig.{presence_penalty, frequency_penalty, logprobs, response_logprobs, logprobs} and Candidate.{avg_logprobs, logprobs_result} (7250d71)
  • ai/generativelanguage: Add GenerationConfig.{presence_penalty, frequency_penalty, logprobs, response_logprobs, logprobs} and Candidate.{avg_logprobs, logprobs_result} (7250d71)
  • ai/generativelanguage: Add GoogleSearchRetrieval tool and candidate.grounding_metadata (7250d71)
  • ai/generativelanguage: Add HarmBlockThreshold.OFF (7250d71)
  • ai/generativelanguage: Add HarmBlockThreshold.OFF (7250d71)
  • ai/generativelanguage: Add HarmCategory.HARM_CATEGORY_CIVIC_INTEGRITY (7250d71)
  • ai/generativelanguage: Add HarmCategory.HARM_CATEGORY_CIVIC_INTEGRITY (7250d71)
  • ai/generativelanguage: Add model max_temperature (84461c0)
  • ai/generativelanguage: Add new PromptFeedback and FinishReason entries (84461c0)
  • ai/generativelanguage: Add new PromptFeedback and FinishReason entries for https (84461c0)
  • ai/generativelanguage: Add PredictionService (for Imagen) (7250d71)
  • ai/generativelanguage: Add Schema.min_items (7250d71)
  • ai/generativelanguage: Add TunedModels.reader_project_numbers (7250d71)
  • ai: Add support for Go 1.23 iterators (84461c0)

Bug Fixes

  • ai: Bump dependencies (2ddeb15)
  • ai: Update google.golang.org/api to v0.191.0 (5b32644)
  • ai: Update google.golang.org/api to v0.203.0 (8bb87d5)
  • ai: WARNING: On approximately Dec 1, 2024, an update to Protobuf will change service registration function signatures to use an interface instead of a concrete type in generated .pb.go files. This change is expected to affect very few if any users of this client library. For more information, see https://togithub.com/googleapis/google-cloud-go/issues/11020. (8bb87d5)

Documentation

  • ai/generativelanguage: Many small fixes (84461c0)
  • ai/generativelanguage: Many small fixes (84461c0)
  • ai/generativelanguage: Small fixes (7250d71)
  • ai/generativelanguage: Small fixes (7250d71)
  • ai/generativelanguage: Tag HarmCategories by the model family they're used on. (7250d71)
  • ai/generativelanguage: Tag HarmCategories by the model family they're used on. (7250d71)

0.8.2 (2024-07-22)

Bug Fixes

  • ai: Update dependencies (257c40b)

0.8.1 (2024-07-19)

Bug Fixes

  • ai: Bump google.golang.org/api@v0.187.0 (8fa9e39)
  • ai: Bump google.golang.org/grpc@v1.64.1 (8ecc4e9)

0.8.0 (2024-07-01)

Features

  • ai/generativelanguage: Add code execution (eec7a3b)
  • ai/generativelanguage: Add max_temperature (eec7a3b)

Documentation

  • ai/generativelanguage: Minor fixes (eec7a3b)

0.7.0 (2024-06-12)

Features

  • ai/generativelanguage/apiv1beta: Add SetGoogleClientInfo for all clients (#10272) (0dee490)
  • ai/generativelanguage: Add cached_content_token_count to CountTokensResponse (fc9e895)
  • ai/generativelanguage: Add cached_content_token_count to generative_service's UsageMetadata (fc9e895)
  • ai/generativelanguage: Add content caching (fc9e895)

Documentation

  • ai/generativelanguage: Small fixes (fc9e895)

0.6.0 (2024-05-29)

Features

  • ai/generativelanguage: Add generate_content_request to CountTokensRequest (652ba8f)
  • ai/generativelanguage: Add usage metadata to GenerateContentResponse (#10179) (652ba8f)
  • ai/generativelanguage: Add video metadata to files API (5238dbc)
  • ai/generativelanguage: Update timeouts (652ba8f)
  • ai/generativelanguage: Update timeouts for generate content (5238dbc)

Documentation

  • ai/generativelanguage: Minor updates (5238dbc)
  • ai/generativelanguage: Minor updates (652ba8f)

0.5.0 (2024-05-09)

Features

  • ai/generativelanguage: Add FileState to File (3e25053)

0.4.1 (2024-05-01)

Bug Fixes

  • ai: Bump x/net to v0.24.0 (ba31ed5)

0.4.0 (2024-04-15)

Features

  • ai/generativelanguage: Add question_answering and fact_verification task types for AQA (#9745) (cca3f47)
  • ai/generativelanguage: Add rest binding for tuned models (8892943)
  • ai/generativelanguage: Add system instructions (dd7c8e5)

0.3.4 (2024-03-19)

Bug Fixes

  • ai/generativelanguage: Make learning rate a one-of (a3bb7c0)

0.3.3 (2024-03-14)

Bug Fixes

  • ai: Update protobuf dep to v1.33.0 (30b038d)

0.3.2 (2024-01-30)

Bug Fixes

  • ai/generativelanguage: Fix content.proto's Schema - type should be required (97d62c7)
  • ai: Enable universe domain resolution options (fd1d569)

0.3.1 (2024-01-22)

Documentation

  • ai/generativelanguage: Fixed minor documentation typos for field function_declarations in message .google.ai.generativelanguage.v1beta.Tool (af2f8b4)

0.3.0 (2023-12-13)

Features

0.2.0 (2023-12-11)

Features

  • ai/generativelanguage: Add v1beta, adds GenerativeService and RetrievalService (29effe6)
  • ai: New clients (#9126) (c09249e)

0.1.4 (2023-11-01)

Bug Fixes

  • ai: Bump google.golang.org/api to v0.149.0 (8d2ab9f)

0.1.3 (2023-10-26)

Bug Fixes

  • ai: Update grpc-go to v1.59.0 (81a97b0)

0.1.2 (2023-10-12)

Bug Fixes

  • ai: Update golang.org/x/net to v0.17.0 (174da47)

0.1.1 (2023-07-24)

Documentation

0.1.0 (2023-07-10)

Features

  • ai/generativelanguage: Start generating apiv1beta2 (#8229) (837f325)

Changes