Releases: jhk0530/gemini.R
v0.17.0
What's Changed
- Add model selection to gemini_docs function by @jhk0530 in #55
- Add labels parameter to gemini.vertex function by @jhk0530 in #57
- feat: gemma (text) by @jhk0530 in #60
- feat: nano banana & util functions by @jhk0530 in #63
- make documentation by @jhk0530 in #64
- Deprecate
gen_image
&gemini_searchR
function
Full Changelog: v0.16.0...v0.17.0
v0.16.0
Critical Change: API Key Transmission Method Updated
API key transmission has been updated for improved security and compatibility.
Previously, the API key was sent as a URL query parameter (e.g., ?key=YOUR_API_KEY
).
Now, all functions send the API key using the HTTP header x-goog-api-key
, following Google Gemini API best practices.
This change enhances both security and future compatibility.
Users can continue to set their API key using setAPI("YOUR_API_KEY"). There is no change to the user-facing function interfaces.
The old method of passing the API key as a URL parameter is no longer supported.
See issue #52
What's Changed
- Add figure support to gemini_narrative function by @jhk0530 in #46
- feat: Add gemini_garden function by @jhk0530 in #47
- Update gemini_docs.R by @jhk0530 in #51
Full Changelog: v0.15.0...v0.16.0
v0.15.0
v0.14.1
What's Changed
- feat: gemini_docs by @jhk0530 in #34
- feat: update gemini.R to version 0.14.0 and add support for reading PDF by @jhk0530 in #38
- feat: update version to 0.14.1 and add timeout parameter to gemini and gemini.vertex functions by @jhk0530 in #41
New Contributors
Full Changelog: v0.13.0...v0.14.1
v0.13.0
What's Changed
- Relaxed the
model
parameter validation to support newly released models likegemini-2.5-flash-preview-04-17
Internal changes
- Enhanced error handling across all functions for improved stability
- Standardized response processing across all API functions
- Updated documentation to reflect expanded model compatibility
Full Changelog: v0.12.0...v0.13.0
gemini.R v0.12.0
What's Changed
- Added Gemini searching
gemini_search
for ground using gemini-2.0 models - Added Gemini searching
gemini_searchR
for retrive using gemini-1.5 models - styler applied to package.
Full Changelog: v0.11.0...v0.12.0
gemini.R v0.11.0
What's Changed
- Added Gemini 2.5-pro-exp model (
2.5-pro-exp-03-25
) - Deprecated Gemini 2.0-pro-exp model (
2.0-pro-exp-02-05
) - Now image generation possible with
gen_image()
using2.0-flash-exp-image-generation
model.
Full Changelog: v0.10.0...v0.11.0
gemini.R v0.10.0
What's Changed
countTokens
function for countTokens APIsetEnv
function added.- Add CRANlogs badge in readme
Important
- Deprecated Gemini 1.5 models (
1.5-pro
,1.5-flash
)
Full Changelog: v0.9.0...v0.10.0
gemini.R 0.9.0
What's Changed
- Updated parameters across all functions (
temperature
,maxOutputTokens
,topK
,topP
,seed
) - Adjusted default values: temperature to 1 and maxOutputTokens to 8192, model as 2.0-flash
Important
- {gemini.R} now only supports model for "2.0-flash", "2.0-flash-lite", "1.5-flash", "1.5-flash-8b", "1.5-pro". (deprecated '1.0-pro' and '2.0-flash-exp')
Full Changelog: v0.8.0...v0.9.0
gemini.R 0.8.0
What's Changed
- Add Vertex AI with new functions:
token.vertex()
,gemini.vertex()
,gemini_image.vertex()
,gemini_audio.vertex()
- These functions are in experimental stage and may change in future versions.