Skip to content

Latest commit

Β 

History

History
322 lines (176 loc) Β· 19.3 KB

CHANGELOG.md

File metadata and controls

322 lines (176 loc) Β· 19.3 KB

Changelog

All notable changes to this project will be documented in this file.

0.9.0 (2025-02-11)

✨ Features

  • Add max_tokens option to generate_content (#5) (fc21cf2)

0.8.0 (2025-02-10)

✨ Features

♻️ Improvements

  • Remove tool_calls from Message struct and update related tests (265bdec)

πŸ‘· CI

  • Improve the Release Process Allowing to have Release Candidates (#3) (b97e5da)

πŸ“š Documentation

  • Remove unnecessary code block from README.md (dcb7c26)

0.8.0-rc.2 (2025-02-10)

♻️ Improvements

  • Implement Default trait for Message and MessageRole structs (cb43ca8)
  • Initialize the client with tools optionally (9c56170)
  • Use in the tests two different conventions to see what's possible (eef16e8)

πŸ“š Documentation

  • Enhance InferenceGatewayAPI docblocks with additional error handling and return details (b666c33)
  • Improve the docs for Tool-Use, update it (9e5f5da)
  • Improve the example by mentioning the workflow of messages exchange (ef474b4)
  • Remove redundant whitespace in InferenceGatewayAPI documentation (422e857)
  • Resort functions examples, healthcheck is less important so put it at the bottom (e6eb55d)
  • Update the example in the README.md (0fda0dc)

βœ… Miscellaneous

  • Add assertion for tool_calls length in response test (4edcd4b)

0.8.0-rc.1 (2025-02-09)

✨ Features

  • Add optional tool_call_id to Message struct and update serialization tests (d51e911)

0.7.1-rc.3 (2025-02-09)

♻️ Improvements

  • Remove ToolParameterType and ToolParameter structs to simplify code (0e4d1b4)
  • Rename parameters to arguments in ToolFunctionResponse and update ToolCallResponse structure (3f36c5f)

0.7.1-rc.2 (2025-02-09)

πŸ› Bug Fixes

  • Enhance Tool and ToolFunction structures with description and parameters updates, use JSON raw value for now (cdf6eca)

0.7.1-rc.1 (2025-02-08)

♻️ Improvements

  • Remove tool_calls from Message struct and update related tests (265bdec)

πŸ‘· CI

  • Improve the Release Process Allowing to have Release Candidates (#3) (b97e5da)

πŸ“š Documentation

  • Remove unnecessary code block from README.md (dcb7c26)

0.7.0 (2025-02-07)

✨ Features

  • Add tool call functionality to Message struct and related types (dba7f19)
  • Implement Tool-Use (#2) (1a484a7)

πŸ“š Documentation

  • openapi: Add Tool schema and update Message structure in OpenAPI definition (ae377e9)

0.6.3 (2025-02-04)

πŸ”§ Miscellaneous

  • Add Clone trait to Message struct for improved usability (e5ebd50)

0.6.2 (2025-02-02)

πŸ“š Documentation

  • Update README to include serde dependencies for stream response content deserialization (b9d2fa7)

0.6.1 (2025-02-02)

πŸ“š Documentation

  • Add Streaming Content section to README with usage examples (4e135a4)

0.6.0 (2025-02-02)

✨ Features

  • Add streaming support for content generation and enhance error handling (5c574c3)
  • Implement streaming API so the client can receive Server Sent Events (32060e0)

♻️ Improvements

  • Refactor content generation stream to use SSEvents struct for improved event handling (1411d15)

πŸ”§ Miscellaneous

  • Add TODO to enhance the error handling of streaming with retries (4162ad7)
  • Remove unnecessary blank line in content generation stream (b4698b8)
  • Update openapi - removed google AI Studio and Implemented Streaming (924e23e)

0.5.8 (2025-01-29)

πŸ“š Documentation

  • Update health check method to use async/await for improved API responsiveness (0e5d245)
  • Update README with client usage examples and enhance API interaction details (4d86541)

0.5.7 (2025-01-29)

πŸ”§ Miscellaneous

  • Add case-insensitive provider aliases and update URL generation (0715d11)

0.5.6 (2025-01-29)

βœ… Miscellaneous

  • Remove unnecessary lowercase conversion for provider string and enhance error handling in API responses (cdeb27c)

0.5.5 (2025-01-29)

πŸ› Bug Fixes

  • Ensure provider string is lowercase in URL generation for consistency (f84314c)

0.5.4 (2025-01-29)

πŸ“š Documentation

  • Update main function to return GatewayError instead of Box (9c8bbc3)

πŸ”§ Miscellaneous

  • Implement TryFrom for Provider just in case users want to convert the string to an enum (3da7e50)
  • Update dependencies and refactor main function for async support (b99d520)

0.5.3 (2025-01-28)

πŸ“š Documentation

  • Update README to include InferenceGatewayAPI in import statements for clarity (b6aba41)

πŸ”§ Miscellaneous

  • Update error handling to use thiserror crate and improve GatewayError structure (fe85dcb)

βœ… Miscellaneous

  • Add unit tests for GatewayError handling in InferenceGatewayClient (6b7e6d4)

0.5.2 (2025-01-28)

πŸ› Bug Fixes

  • Update model structure to use 'name' instead of 'id' for consistency (3e0ea86)

πŸ“š Documentation

  • fix: Update README to log model 'name' instead of 'id' for consistency (4dba8fe)

0.5.1 (2025-01-28)

πŸ”§ Miscellaneous

  • Update README to replace Role with MessageRole for consistency (f491774)

0.5.0 (2025-01-28)

✨ Features

  • Implement custom error handling for Inference Gateway API (ab8c732)

πŸ“š Documentation

  • Add static analysis step to CONTRIBUTING.md (8000794)
  • openapi: Download the latest openapi spec from inference-gateway (c49a9e6)
  • Update CONTRIBUTING.md to reflect new branch naming and task commands (0196eef)

πŸ”§ Miscellaneous

  • Rename Role to MessageRole enum for consistency with openapi (f97d44b)

0.4.0 (2025-01-28)

✨ Features

  • Add get_provider_models method to InferenceGatewayAPI and implement it in InferenceGatewayClient (92565a7)
  • Introduce Role enum for message roles and update usage in README and Message struct (6bcfa81)

πŸ› Bug Fixes

  • Simplify provider string formatting in get_provider_models method (e069fad)

πŸ“š Documentation

  • Add CONTRIBUTING.md with guidelines for contributing to the Inference Gateway Rust SDK (e649871)
  • fix: Update homepage link in Cargo.toml and README.md to reflect new repository URL (b93424a)
  • openapi: Download the latest OpenAPI specification (fa1edf6)
  • Update README.md to include examples for listing models and models by provider (7d44bb3)

πŸ“¦ Miscellaneous

  • Add lint, analyse, and test tasks to Taskfile for improved code quality (50461a3)

0.3.0 (2025-01-22)

✨ Features

  • Add Anthropic provider to the Provider enum (30004a5)
  • Add optional token support for InferenceGatewayClient requests (9145eb7)
  • Implement InferenceGatewayAPI trait for InferenceGatewayClient (dc47832)

πŸ‘· CI

  • Enhance release workflow with error handling for actual run of semantic-release (34279b8)
  • Fix syntax in release workflow for semantic-release execution (3b94bbc)
  • Remove debug output from release workflow (a7d03ad)

πŸ“š Documentation

  • Enhance InferenceGatewayAPI with health check and detailed documentation (c70a9e1)

0.2.5 (2025-01-21)

πŸ‘· CI

  • Improve version extraction from dry run output in release workflow (728b100)

0.2.4 (2025-01-21)

πŸ‘· CI

  • Fix dry-run output handling in release workflow (f822fda)
  • Refactor release workflow to improve dry-run output handling (79999b4)
  • Update semantic-release version and improve release condition checks (813a6ff)

0.2.3 (2025-01-21)

πŸ‘· CI

  • Add debug output to release workflow for better visibility (2264a48)

0.2.2 (2025-01-21)

πŸ‘· CI

  • Enhance release workflow to output new version and publish conditionally (424b92d)

0.2.1 (2025-01-21)

πŸ› Bug Fixes

  • Update README and lib.rs to include content in response and improve logging (97e2a29)

0.2.0 (2025-01-21)

✨ Features

  • Add Taskfile for OpenAPI specification download and update devcontainer configuration (7ea7473)
  • Enhance content generation with structured messages and logging (de4e8a7)

πŸ”§ Miscellaneous

  • Update OpenAPI specification from main repo (c9c92f6)

0.1.4 (2025-01-20)

πŸ› Bug Fixes

  • Correct launch.json path in devcontainer configuration (86717c4)

0.1.3 (2025-01-20)

♻️ Improvements

  • Update repository URLs in configuration and changelog (586febf)

0.1.2 (2025-01-20)

πŸ‘· CI

  • Enhance GitHub release configuration with asset management and custom release name (da054cf)

πŸ“š Documentation

0.1.1 (2025-01-20)

πŸ‘· CI

  • Reintroduce publish job in release workflow for crates.io and reverse the order (734875b)
  • Remove initialVersion from release configuration (50ec13c)
  • Simplify semantic-release command in release workflow (c973164)