PackageTrack
Sign in Get early access

github.com/google/generative-ai-go

v0.20.1 #2642 most downloaded on Go modules google/generative-ai-go

What this package is like to depend on

Last release 1 years ago

08 Aug 2025

Release timing varies

gaps range from 8 days to 4 months

Some releases are documented

notes for 10 of 24 stable releases

Nothing withdrawn

no release was ever pulled

3 years old

106 releases · first in 2023

0 releases in the last 12 months

see the full history below

Release timeline

106 releases · Dec 2023 to Aug 2025
2024 2025 2026
Release Pre-release

Releases

latest 60 of 106
  1. v0.20.2-0.20250808182502-b1a1f5eba2c1 08 Aug 2025 pre-release

    Nothing published for this version

  2. v0.20.2-0.20250611181635-eb5dc0cace46 11 Jun 2025 pre-release

    Nothing published for this version

  3. v0.20.1 02 May 2025
    Release notes

    Fix godoc formatting.

    Full Changelog: v0.20.0...v0.20.1

    Open source →
  4. v0.20.0 01 May 2025
    Release notes

    What's Changed

    • Added Deprecation tags to README and doc.go
    • fix: change in string for condition check by @VadirajKranam in #232
    • build(deps): bump golang.org/x/crypto from 0.24.0 to 0.31.0 in the go_modules group by @dependabot in #236

    New Contributors

    Full Changelog: v0.19.0...v0.19.1

    Open source →
  5. v0.19.1-0.20250327001804-1a2951b1bd5e 27 Mar 2025 pre-release

    Nothing published for this version

  6. v0.19.1-0.20250325002804-07a42c01a028 25 Mar 2025 pre-release

    Nothing published for this version

  7. v0.19.1-0.20241212031612-7276bbc8524c 12 Dec 2024 pre-release

    Nothing published for this version

  8. v0.19.1-0.20241204165116-3d14f4039eae 04 Dec 2024 pre-release

    Nothing published for this version

  9. v0.19.0 04 Dec 2024
    Release notes

    What's Changed

    • Update prompt in json_no_schema snippet by @pcoet in #210
    • Fix typo in resumable.go by @windmaple in #215
    • genai: fix text of error message by @eliben in #216
    • all: fix license headers and add a check by @jba in #218
    • genai: test invalid text file encoding by @eliben in #224
    • genai: omit empty text parts from session history by @jba in #226
    • genai: add error check to example by @jba in #227
    • genai: add file with 1251 encoding to test error by @eliben in #228
    • genai: fix link to MIME types doc by @jba in #230
    • genai: bump version for v0.19.0 release by @eliben in #235

    New Contributors

    Full Changelog: v0.18.0...v0.19.0

    Open source →
  10. v0.18.1-0.20241125174948-274f56b82ee2 25 Nov 2024 pre-release

    Nothing published for this version

  11. v0.18.1-0.20241125140048-0633561f0005 25 Nov 2024 pre-release

    Nothing published for this version

  12. v0.18.1-0.20241118200222-f453d2d6ca8c 18 Nov 2024 pre-release

    Nothing published for this version

  13. v0.18.1-0.20241118200157-30b5de5ce554 18 Nov 2024 pre-release

    Nothing published for this version

  14. v0.18.1-0.20241008182425-6d5822849cf6 08 Oct 2024 pre-release

    Nothing published for this version

  15. v0.18.1-0.20241007140418-e7499d1507df 07 Oct 2024 pre-release

    Nothing published for this version

  16. v0.18.1-0.20241004135859-10463915ed54 04 Oct 2024 pre-release

    Nothing published for this version

  17. v0.18.1-0.20240912140342-2ec7e23d0c92 12 Sep 2024 pre-release

    Nothing published for this version

  18. v0.18.0 09 Sep 2024
    Release notes

    What's Changed

    • genai: update comment in one of the samples by @eliben in #195
    • genai: adjust uploadFile comment in examples by @eliben in #189
    • genai: add explicit MIME type CreateCachedContent example by @jba in #199
    • genai: update samples with explicit file upload for video, and comments by @eliben in #200
    • genai: add basic PDF uploading example by @eliben in #202
    • genai: add convenience client.UploadFileFromPath method by @eliben in #203
    • genai: add additional samples by @eliben in #206
    • genai: change all examples to use client.UploadFileFromPath by @eliben in #205
    • genai: additional image and audio samples by @eliben in #207
    • genai: bump version for 0.18 release by @eliben in #209

    Full Changelog: v0.17.0...v0.18.0

    Open source →
  19. v0.17.1-0.20240807122618-32bb384db7f0 07 Aug 2024 pre-release

    Nothing published for this version

  20. v0.17.1-0.20240806225835-4a62952a0271 06 Aug 2024 pre-release

    Nothing published for this version

  21. v0.17.1-0.20240805134833-7d222a05691a 05 Aug 2024 pre-release

    Nothing published for this version

  22. v0.17.1-0.20240802214855-fb56fc262798 02 Aug 2024 pre-release

    Nothing published for this version

  23. v0.17.1-0.20240730170216-361f1cee5263 30 Jul 2024 pre-release

    Nothing published for this version

  24. v0.17.1-0.20240726133941-2bfb559f3eef 26 Jul 2024 pre-release

    Nothing published for this version

  25. v0.17.1-0.20240723140812-a0252ef7d8cc 23 Jul 2024 pre-release

    Nothing published for this version

  26. v0.17.0 19 Jul 2024
    Release notes

    What's Changed

    • Remove unnecessary lines by @kasugamirai in #156
    • genai: fix tool-using example and test by @eliben in #163
    • build(deps): bump google.golang.org/grpc from 1.64.0 to 1.64.1 in the go_modules group by @dependabot in #165
    • genai: move source of truth of example_test and add code generator by @eliben in #164
    • genai: add WithAttribution client option by @jba in #159
    • genai: fix list syntax in doc comment by @eliben in #166
    • genai: switch gen-examples flow to use go:generate by @eliben in #168
    • genai: add more samples for CountTokens by @eliben in #167
    • genai: adjust samples for count tokens by @eliben in #170
    • genai: rename source snippets file to docs-snippets_test.go by @eliben in #171
    • genai: fix end marker in one of the snippets by @eliben in #172
    • genai: factor out uploadFile function for examples by @eliben in #173
    • genai: more text generation samples by @eliben in #175
    • genai: update discovery client and make tests more resilient by @eliben in #176
    • genai: additional content generation examples by @eliben in #177
    • genai: add debug printing of requests by @jba in #178
    • genai: add examples of file upload/list/get by @eliben in #179
    • genai: validate MIME type detection for audio files by @jba in #182
    • genai: improve file upload doc by @jba in #183
    • genai: samples for counting tokens in video by @eliben in #181
    • genai: add uploading audio example, clarify comment in uploadFile by @eliben in #184
    • genai: add samples for caching by @eliben in #186
    • genai: generalize uploadFile in examples and add comment by @eliben in #185
    • Fix region tags: "START [" > "[START " by @MarkDaoust in https://github.com//pull/187
    • genai: add helper function NewUserContent by @eliben in #188
    • genai: add sample for tokens_tools by @eliben in #190
    • Bump version for next release by @eliben in #191

    New Contributors

    Full Changelog: v0.16.0...v0.17.0

    Open source →
  27. v0.16.1-0.20240718200541-0fdd3600fe73 18 Jul 2024 pre-release

    Nothing published for this version

  28. v0.16.1-0.20240716171353-cc3dd1f767ea 16 Jul 2024 pre-release

    Nothing published for this version

  29. v0.16.1-0.20240715165324-71888e71fed4 15 Jul 2024 pre-release

    Nothing published for this version

  30. v0.16.1-0.20240713204152-608d3299431b 13 Jul 2024 pre-release

    Nothing published for this version

  31. v0.16.1-0.20240712223922-b48f58ac50fe 12 Jul 2024 pre-release

    Nothing published for this version

  32. v0.16.1-0.20240712172517-07009580144e 12 Jul 2024 pre-release

    Nothing published for this version

  33. v0.16.1-0.20240711234226-3d279eb85795 11 Jul 2024 pre-release

    Nothing published for this version

  34. v0.16.1-0.20240711222609-09946422abc6 11 Jul 2024 pre-release

    Nothing published for this version

  35. v0.16.1-0.20240711011716-07bb9dca3e3d 11 Jul 2024 pre-release

    Nothing published for this version

  36. v0.16.1-0.20240709221344-cf09b4f40577 09 Jul 2024 pre-release

    Nothing published for this version

  37. v0.16.1-0.20240701180422-f043fb2ce8e5 01 Jul 2024 pre-release

    Nothing published for this version

  38. v0.16.0 01 Jul 2024
    Release notes
    Open source →
  39. v0.15.1 28 Jun 2024
    Release notes

    What's Changed

    • genai: wrap errors so we can understand where they come from by @eliben in #150
    • genai: make custom HTTP client work again by @eliben in #152
    • genai: prepare to release 0.15.1 by @eliben in #153

    Full Changelog: v0.15.0...v0.15.1

    Open source →
  40. v0.15.1-0.20240627181618-8e25c3992be0 27 Jun 2024 pre-release

    Nothing published for this version

  41. v0.15.0 26 Jun 2024
    Release notes

    What's Changed

    • genai: use different model for tests requiring vision by @eliben in #135
    • genai: fix nil pointer converting file metadata by @jba in #137
    • genai: spell name of HTTP client option correctly by @jba in #139
    • genai: get Live tests to pass by @jba in #141
    • genai: remove support package by @jba in #142
    • genai: update Tool example to be more resilient to model differences by @eliben in #146
    • genai: turn conversion panics to errors by @jba in #143
    • genai: improve code generation command by @jba in #144
    • genai: upgrade cloud.google.com/go/ai to v0.7.0 by @jba in #145
    • genai: add content caching by @jba in #147
    • genai: pass cached content in request by @jba in #149
    • genai: bump version for 0.15 release by @eliben in #148

    Full Changelog: v0.14.0...v0.15.0

    Open source →
  42. v0.14.1-0.20240625173000-147c8a54a2ea 25 Jun 2024 pre-release

    Nothing published for this version

  43. v0.14.1-0.20240624134520-761f4d9d3c61 24 Jun 2024 pre-release

    Nothing published for this version

  44. v0.14.1-0.20240623174350-bffd28bb15f4 23 Jun 2024 pre-release

    Nothing published for this version

  45. v0.14.1-0.20240623174147-26ef0cd0d82b 23 Jun 2024 pre-release

    Nothing published for this version

  46. v0.14.1-0.20240618073058-6b2b0ac5749e 18 Jun 2024 pre-release

    Nothing published for this version

  47. v0.14.1-0.20240611122955-5c40193a982f 11 Jun 2024 pre-release

    Nothing published for this version

  48. v0.14.1-0.20240610220030-07538e582a63 10 Jun 2024 pre-release

    Nothing published for this version

  49. v0.14.0 10 Jun 2024
    Release notes

    What's Changed

    • genai: expose the merged response from streaming by @jba in #128
    • genai: populate CountTokens request with GenerateContentRequest by @jba in #130
    • genai: add File.Error and File.Metadata by @jba in #131
    • genai: improve some field documentation by @jba in #132

    Full Changelog: v0.13.0...v0.14.0

    Open source →
  50. v0.13.1-0.20240609170022-d138bb95a24e 09 Jun 2024 pre-release

    Nothing published for this version

  51. v0.13.1-0.20240530125111-8decc9df4add 30 May 2024 pre-release

    Nothing published for this version

  52. v0.13.1-0.20240529155535-314f183fe204 29 May 2024 pre-release

    Nothing published for this version

  53. v0.13.0 29 May 2024
    Release notes

    New features:

    • A schema can be provided to control the response output. See the example.
    • File type now has CreateTime, UpdateTime and ExpirationTime.
    Open source →
  54. v0.12.1-0.20240526115947-665f6f7b9acc 26 May 2024 pre-release

    Nothing published for this version

  55. v0.12.1-0.20240521212131-a8c05d5d31bc 21 May 2024 pre-release

    Nothing published for this version

  56. v0.12.1-0.20240514173057-88fcdb1373d2 14 May 2024 pre-release

    Nothing published for this version

  57. v0.12.1-0.20240510185812-badcf7fcf867 10 May 2024 pre-release

    Nothing published for this version

  58. v0.12.1-0.20240510182736-9748c0281eff 10 May 2024 pre-release

    Nothing published for this version

  59. v0.12.0 10 May 2024

    Nothing published for this version

  60. v0.11.3-0.20240508191304-e973ba747aaa 08 May 2024 pre-release

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive