Repository navigation
Comparing changes
Open a pull request
base repository: googleapis/java-genai
base: v2.4.0
head repository: googleapis/java-genai
compare: v2.5.0
- 12 commits
- 29 files changed
- 5 contributors
Commits on Nov 16, 2026
-
chore(main): release 2.5.0-SNAPSHOT (#1460)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for c1687f9 - Browse repository at this point
Copy the full SHA c1687f9View commit details -
test: run the shared gemini-embedding-001 Vertex test in us-central1
PiperOrigin-RevId: 1023105664
Configuration menu - View commit details
-
Copy full SHA for ca64f2a - Browse repository at this point
Copy the full SHA ca64f2aView commit details
Commits on Nov 17, 2026
-
docs: note that the Live API and caches are not available on v1
PiperOrigin-RevId: 1023247351
Configuration menu - View commit details
-
Copy full SHA for e5dc84c - Browse repository at this point
Copy the full SHA e5dc84cView commit details -
fix(interactions): preserve 3-arg Function constructor in Java SDK
PiperOrigin-RevId: 1023320995
Configuration menu - View commit details
-
Copy full SHA for d19d94e - Browse repository at this point
Copy the full SHA d19d94eView commit details -
feat(environments): introduce self-hosted BYOS mode, system_instructi…
…on, custom_config, and environment_key in SDKs and CLI PiperOrigin-RevId: 1023372629
Configuration menu - View commit details
-
Copy full SHA for cbcfc03 - Browse repository at this point
Copy the full SHA cbcfc03View commit details -
chore: explicitly use v1beta for Gemini API caching and Live tests
PiperOrigin-RevId: 1023409102
Configuration menu - View commit details
-
Copy full SHA for 21865f6 - Browse repository at this point
Copy the full SHA 21865f6View commit details -
feat: Add a history parameter to Chats.create and AsyncChats.create
A chat session can now start from earlier turns, like `history` in the Python, Go and JavaScript SDKs: Chat chat = client.chats.create(model, config, history); The history is curated the same way as in those SDKs. Every turn must have the role `user` or `model`; otherwise `create` throws `IllegalArgumentException`. A `model` turn with invalid content is not sent to the model, and neither is the `user` turn before it. fix: Chat history no longer reorders turns after an invalid model response, and a turn without a role throws `IllegalArgumentException` instead of `NoSuchElementException`. PiperOrigin-RevId: 1023972476Configuration menu - View commit details
-
Copy full SHA for a0c58aa - Browse repository at this point
Copy the full SHA a0c58aaView commit details -
refactor: Compare chat history roles with role.equals("user") in Chat…
…Base A missing role now defaults to "" instead of null, so the role checks in `extractCuratedHistory` can read `role.equals("user")` rather than `"user".equals(role)`. Behavior is unchanged: a turn with no role still throws `IllegalArgumentException`. PiperOrigin-RevId: 1023984918Configuration menu - View commit details
-
Copy full SHA for 1b75883 - Browse repository at this point
Copy the full SHA 1b75883View commit details -
chore: add a load-only mode to the Go and Java table tests
PiperOrigin-RevId: 1024127887
Configuration menu - View commit details
-
Copy full SHA for 1e63416 - Browse repository at this point
Copy the full SHA 1e63416View commit details
Commits on Nov 18, 2026
-
feat(sdk): Add tool retrieval and function result schemas in public SDK
PiperOrigin-RevId: 1024345066
Configuration menu - View commit details
-
Copy full SHA for 1893dbe - Browse repository at this point
Copy the full SHA 1893dbeView commit details -
fix: Override transitive commons-codec 1.11 with 1.18.0
fixes #896 PiperOrigin-RevId: 1024350097
Configuration menu - View commit details
-
Copy full SHA for 367f859 - Browse repository at this point
Copy the full SHA 367f859View commit details -
chore(main): release 2.5.0 (#1462)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for f8d4775 - Browse repository at this point
Copy the full SHA f8d4775View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v2.4.0...v2.5.0