Skip to content

Releases: Uralstech/UGemini

UGemini v2.3.0 Preview 5

10 Nov 11:41
70863c1
Compare
Choose a tag to compare
Pre-release

This release is a part of UGemini v2.3.0, pull request #45.

Changed

  • Updated File API sample.
  • Updated dependencies.

Full Changelog: 2.3.0-preview.4...2.3.0-preview.5

UGemini v2.3.0 Preview 4

10 Nov 07:55
9bddbde
Compare
Choose a tag to compare
Pre-release

This release is a part of UGemini v2.3.0, pull request #45.

Added

  • Support for the Google Search grounding tool.
  • ReaderProjectNumbers in tuned model patch requests.
  • Enum response type for generation.
  • New Gemini1_5Flash8B constant for Gemini Flash 8B in GeminiModel.
  • Implicit cast to string for GeminiCachedContent.

Full Changelog: 2.3.0-preview.3...2.3.0-preview.4

UGemini v2.3.0 Preview 3

30 Oct 06:24
3c3c882
Compare
Choose a tag to compare
Pre-release

This release is a part of UGemini v2.3.0, pull request #45.

Changes

  • Updated project to Unity 6.
  • Bumped dependencies.
  • Improved JSON serialization for some batch requests.

Full Changelog: 2.3.0-preview.2...2.3.0-preview.3

UGemini v2.3.0 Preview 2

04 Oct 19:46
18e76b6
Compare
Choose a tag to compare
Pre-release

This release is a part of UGemini v2.3.0, pull request #45.

Changes

  • Fixed documentation.

Full Changelog: 2.3.0-preview.1...2.3.0-preview.2

UGemini v2.3.0 Preview 1

03 Oct 18:12
3dd4417
Compare
Choose a tag to compare
Pre-release

This release is a part of UGemini v2.3.0, pull request #45.

Breaking Changes

  • GeminiMetadataCondition, GeminiMetadataConditionOperator and GeminiMetadataFilter have been moved to Uralstech.UGemini.CorporaAPI.Filters.
  • GeminiModelIdStringConverter is now GeminiModelIdToStringConverter.
  • GeminiFieldMaskGenerator has been moved up to the Uralstech.UGemini namespace.

Added

  • Support for the corpora endpoint.
  • Additional QOL constructors for GeminiFileUploadMetaData,

Full Changelog: 2.2.0...2.3.0-preview.1

UGemini v2.2.0

01 Oct 18:44
15a563d
Compare
Choose a tag to compare

Breaking Changes

  • GeminiModelIdStringConverter and GeminiSecondsToTimeSpanJsonConverter have been moved to Uralstech.UGemini.JsonConverters.
  • GeminiFile.Status is obsolete, use GeminiFile.Error instead.

Gemini API Update Changes

  • Added new field CachedContentTokenCount to GeminiTokenCountResponse.
  • Added new field MaxTemperature to GeminiModel.
  • Added new fields AvgLogprobs and LogprobsResult to GeminiCandidate.
  • Added new enum value Language to GeminiFinishReason.
  • Added new fields PresencePenalty, FrequencyPenalty, ResponseLogprobs and Logprobs to GeminiGenerationConfiguration.
  • Added new enum value Off to GeminiSafetyHarmBlockThreshold.
  • Added new enum value CivicIntegrity to GeminiSafetyHarmCategory.
  • Added new field MinItems to GeminiSchema.
  • Added new field ReaderProjectNumbers to GeminiTunedModelCreationData and GeminiTunedModel.

Other Changes

  • Fixed long values not converting to string JSON as expected by the API.
  • Added missing EnumMember attributes for some GeminiSchemaDataFormat.
  • GeminiCachedConent.cs has been renamed to GeminiCachedContent.cs.

Pull Requests

Full Changelog: 2.1.1...2.2.0

UGemini 2.2.0 Preview 1

30 Sep 17:01
5b3dd52
Compare
Choose a tag to compare
Pre-release

This release is a part of UGemini v2.2.0, pull request #42.

Breaking Changes

  • GeminiModelIdStringConverter and GeminiSecondsToTimeSpanJsonConverter have been moved to Uralstech.UGemini.JsonConverters.
  • GeminiFile.Status is obsolete, use GeminiFile.Error instead.

Gemini API Update Changes

  • Added new field CachedContentTokenCount to GeminiTokenCountResponse.
  • Added new field MaxTemperature to GeminiModel.
  • Added new fields AvgLogprobs and LogprobsResult to GeminiCandidate.
  • Added new enum value Language to GeminiFinishReason.
  • Added new fields PresencePenalty, FrequencyPenalty, ResponseLogprobs and Logprobs to GeminiGenerationConfiguration.
  • Added new enum value Off to GeminiSafetyHarmBlockThreshold.
  • Added new enum value CivicIntegrity to GeminiSafetyHarmCategory.
  • Added new field MinItems to GeminiSchema.
  • Added new field ReaderProjectNumbers to GeminiTunedModelCreationData and GeminiTunedModel.

Changes

  • Fixed long values not converting to string JSON as expected by the API.
  • Added missing EnumMember attributes for some GeminiSchemaDataFormat.
  • GeminiCachedConent.cs has been renamed to GeminiCachedContent.cs.

Full Changelog: 2.1.1...2.2.0-preview.1

UGemini v2.1.1

29 Sep 20:43
4e4e6fb
Compare
Choose a tag to compare

For those updating from v1.x.x and v2.0.0: Check the update notes for v2.0.0 and/or the update notes for v2.1.0 for an update guide.

Changes

  • Updated dependencies.

Pull Requests

Full Changelog: 2.1.0...2.1.1

UGemini v2.1.0

28 Sep 20:36
c8f90c6
Compare
Choose a tag to compare

For those updating from v1.x.x: Check the update notes for v2.0.0 for an update guide.

Breaking Changes

Added

  • Support for all method in the tunedModels endpoint.
  • Support for operations endpoints through UCloud.Operations.
  • Support for multiple authentication method (API Key, OAuth) for all requests. Most default to API key authentication.
  • Simple filters for GeminiTunedModelListRequests.
  • Improved error handling in GeminiManager with new GeminiResponseParsingException exception.
  • Documentation generation by DocFX.

Changed

  • Updated GeminiModelIdStringConverter to be more explicit in conversion.
  • Fixed possible exception in GeminiManager when an empty JSON object is returned for a request that expects an empty response.
  • All references to https://generativelanguage.googleapis.com have been changed to the new GeminiManager.BaseServiceUri constant.
  • All errors now log webRequest.uri.AbsoluteUri for improved debugging.
  • Some improvements to EnumExtensions and GeminiContentTypeExtensions.
  • Fixed some possible NullReferenceExceptions in GeminiModel and GeminiModelId.

Pull Requests

Full Changelog: 2.0.1...2.1.0

UGemini v2.1.0 Preview 9

28 Sep 11:35
9d7dbe0
Compare
Choose a tag to compare
Pre-release

This release is a part of UGemini v2.1.0, pull request #29.

Added

  • New GeminiFieldMaskGenerator extension type to generate field masks for all patch requests.

Changed

  • All errors now log webRequest.uri.AbsoluteUri for improved debugging.
  • Some improvements to EnumExtensions and GeminiContentTypeExtensions.
  • Fixed some possible NullReferenceExceptions in GeminiModel and GeminiModelId.

Full Changelog: 2.1.0-preview.8...2.1.0-preview.9