Skip to content

Conversation

@github-actions
Copy link
Contributor

πŸ€– New release

  • rig-core: 0.21.0 -> 0.22.0 (⚠ API breaking changes)
  • rig-lancedb: 0.2.23 -> 0.2.24 (βœ“ API compatible changes)
  • rig-mongodb: 0.2.23 -> 0.2.24 (βœ“ API compatible changes)
  • rig-neo4j: 0.3.7 -> 0.3.8 (βœ“ API compatible changes)
  • rig-postgres: 0.1.21 -> 0.1.22 (βœ“ API compatible changes)
  • rig-qdrant: 0.1.26 -> 0.1.27 (βœ“ API compatible changes)
  • rig-scylladb: 0.1.12 -> 0.1.13 (βœ“ API compatible changes)
  • rig-sqlite: 0.1.23 -> 0.1.24 (βœ“ API compatible changes)
  • rig-eternalai: 0.3.8 -> 0.3.9 (βœ“ API compatible changes)
  • rig-fastembed: 0.2.12 -> 0.2.13 (βœ“ API compatible changes)
  • rig-bedrock: 0.3.2 -> 0.3.3 (βœ“ API compatible changes)
  • rig-helixdb: 0.1.0 -> 0.1.1 (βœ“ API compatible changes)
  • rig-surrealdb: 0.1.18 -> 0.1.19
  • rig-milvus: 0.1.12 -> 0.1.13
  • rig-s3vectors: 0.1.9 -> 0.1.10

⚠ rig-core breaking changes

--- failure constructible_struct_adds_field: externally-constructible struct adds field ---

Description:
A pub struct constructible with a struct literal has a new pub field. Existing struct literals must be updated to include the new field.
        ref: https://doc.rust-lang.org/reference/expressions/struct-expr.html
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.43.0/src/lints/constructible_struct_adds_field.ron

Failed in:
  field CompletionRequest.tool_choice in /tmp/.tmpIJYS2L/rig/rig-core/src/completion/request.rs:465
  field CompletionRequest.tool_choice in /tmp/.tmpIJYS2L/rig/rig-core/src/completion/request.rs:465
  field ToolConfig.function_calling_config in /tmp/.tmpIJYS2L/rig/rig-core/src/providers/gemini/completion.rs:1666

--- failure constructible_struct_adds_private_field: struct no longer constructible due to new private field ---

Description:
A struct constructible with a struct literal has a new non-public field. It can no longer be constructed using a struct literal outside of its crate.
        ref: https://doc.rust-lang.org/reference/expressions/struct-expr.html
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.43.0/src/lints/constructible_struct_adds_private_field.ron

Failed in:
  field CompletionRequest.tool_choice in /tmp/.tmpIJYS2L/rig/rig-core/src/providers/openai/responses_api/mod.rs:57

--- failure enum_no_repr_variant_discriminant_changed: enum variant had its discriminant change value ---

Description:
The enum's variant had its discriminant value change. This breaks downstream code that used its value via a numeric cast like `as isize`.
        ref: https://doc.rust-lang.org/reference/items/enumerations.html#assigning-discriminant-values
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.43.0/src/lints/enum_no_repr_variant_discriminant_changed.ron

Failed in:
  variant UserContent::Audio 2 -> 3 in /tmp/.tmpIJYS2L/rig/rig-core/src/providers/openai/responses_api/mod.rs:1264
  variant UserContent::ToolResult 3 -> 4 in /tmp/.tmpIJYS2L/rig/rig-core/src/providers/openai/responses_api/mod.rs:1268
  variant ToolChoice::Tool 2 -> 3 in /tmp/.tmpIJYS2L/rig/rig-core/src/providers/anthropic/completion.rs:705

--- failure enum_struct_variant_field_added: pub enum struct variant field added ---

Description:
An enum's exhaustive struct variant has a new field, which has to be included when constructing or matching on this variant.
        ref: https://doc.rust-lang.org/reference/attributes/type_system.html#the-non_exhaustive-attribute
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.43.0/src/lints/enum_struct_variant_field_added.ron

Failed in:
  field detail of variant UserContent::InputImage in /tmp/.tmpIJYS2L/rig/rig-core/src/providers/openai/responses_api/mod.rs:1254

--- failure enum_variant_added: enum variant added on exhaustive enum ---

Description:
A publicly-visible enum without #[non_exhaustive] has a new variant.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#enum-variant-new
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.43.0/src/lints/enum_variant_added.ron

Failed in:
  variant UserContent:InputFile in /tmp/.tmpIJYS2L/rig/rig-core/src/providers/openai/responses_api/mod.rs:1256
  variant ToolChoice:None in /tmp/.tmpIJYS2L/rig/rig-core/src/providers/anthropic/completion.rs:704
  variant ContentDelta:ThinkingDelta in /tmp/.tmpIJYS2L/rig/rig-core/src/providers/anthropic/streaming.rs:60
  variant ContentDelta:SignatureDelta in /tmp/.tmpIJYS2L/rig/rig-core/src/providers/anthropic/streaming.rs:61
  variant PromptError:ToolServerError in /tmp/.tmpIJYS2L/rig/rig-core/src/completion/request.rs:133
  variant PromptError:PromptCancelled in /tmp/.tmpIJYS2L/rig/rig-core/src/completion/request.rs:147
  variant PromptError:ToolServerError in /tmp/.tmpIJYS2L/rig/rig-core/src/completion/request.rs:133
  variant PromptError:PromptCancelled in /tmp/.tmpIJYS2L/rig/rig-core/src/completion/request.rs:147
  variant ToolSetError:Interrupted in /tmp/.tmpIJYS2L/rig/rig-core/src/tool/mod.rs:400

--- failure function_requires_different_generic_type_params: function now requires a different number of generic type parameters ---

Description:
A function now requires a different number of generic type parameters than it used to. Uses of this function that supplied the previous number of generic types (e.g. via turbofish syntax) will be broken.
        ref: https://doc.rust-lang.org/reference/items/generics.html
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.43.0/src/lints/function_requires_different_generic_type_params.ron

Failed in:
  function from_response (0 -> 1 generic types) in /tmp/.tmpIJYS2L/rig/rig-core/src/providers/anthropic/decoders/sse.rs:207

--- failure inherent_method_missing: pub method removed or renamed ---

Description:
A publicly-visible method or associated fn is no longer available under its prior name. It may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.43.0/src/lints/inherent_method_missing.ron

Failed in:
  ClientBuilder::custom_client, previously in file /tmp/.tmppIx6bX/rig-core/src/providers/moonshot.rs:52
  ClientBuilder::custom_client, previously in file /tmp/.tmppIx6bX/rig-core/src/providers/galadriel.rs:62
  Client::builder, previously in file /tmp/.tmppIx6bX/rig-core/src/providers/cohere/client.rs:98
  Client::builder, previously in file /tmp/.tmppIx6bX/rig-core/src/providers/cohere/client.rs:98
  ClientBuilder::custom_client, previously in file /tmp/.tmppIx6bX/rig-core/src/providers/huggingface/client.rs:135
  ClientBuilder::custom_client, previously in file /tmp/.tmppIx6bX/rig-core/src/providers/huggingface/client.rs:135
  ClientBuilder::custom_client, previously in file /tmp/.tmppIx6bX/rig-core/src/providers/gemini/client.rs:39
  ClientBuilder::custom_client, previously in file /tmp/.tmppIx6bX/rig-core/src/providers/hyperbolic.rs:56
  ClientBuilder::custom_client, previously in file /tmp/.tmppIx6bX/rig-core/src/providers/azure.rs:65
  ClientBuilder::custom_client, previously in file /tmp/.tmppIx6bX/rig-core/src/providers/deepseek.rs:60
  ClientBuilder::custom_client, previously in file /tmp/.tmppIx6bX/rig-core/src/providers/groq.rs:66
  ClientBuilder::custom_client, previously in file /tmp/.tmppIx6bX/rig-core/src/providers/xai/client.rs:32
  ClientBuilder::custom_client, previously in file /tmp/.tmppIx6bX/rig-core/src/providers/openai/client.rs:53
  ClientBuilder::custom_client, previously in file /tmp/.tmppIx6bX/rig-core/src/providers/openai/client.rs:53
  ClientBuilder::custom_client, previously in file /tmp/.tmppIx6bX/rig-core/src/providers/perplexity.rs:53
  ClientBuilder::custom_client, previously in file /tmp/.tmppIx6bX/rig-core/src/providers/ollama.rs:90
  ClientBuilder::custom_client, previously in file /tmp/.tmppIx6bX/rig-core/src/providers/anthropic/client.rs:64
  ClientBuilder::custom_client, previously in file /tmp/.tmppIx6bX/rig-core/src/providers/anthropic/client.rs:64
  ClientBuilder::custom_client, previously in file /tmp/.tmppIx6bX/rig-core/src/providers/voyageai.rs:34
  ClientBuilder::custom_client, previously in file /tmp/.tmppIx6bX/rig-core/src/providers/openrouter/client.rs:35
  ClientBuilder::custom_client, previously in file /tmp/.tmppIx6bX/rig-core/src/providers/openrouter/client.rs:35
  Client::builder, previously in file /tmp/.tmppIx6bX/rig-core/src/providers/anthropic/client.rs:138
  Client::builder, previously in file /tmp/.tmppIx6bX/rig-core/src/providers/anthropic/client.rs:138
  ClientBuilder::custom_client, previously in file /tmp/.tmppIx6bX/rig-core/src/providers/mistral/client.rs:35
  ClientBuilder::custom_client, previously in file /tmp/.tmppIx6bX/rig-core/src/providers/mistral/client.rs:35
  ClientBuilder::custom_client, previously in file /tmp/.tmppIx6bX/rig-core/src/providers/together/client.rs:33
  ClientBuilder::custom_client, previously in file /tmp/.tmppIx6bX/rig-core/src/providers/mira.rs:134
  ClientBuilder::custom_client, previously in file /tmp/.tmppIx6bX/rig-core/src/providers/cohere/client.rs:50

--- failure module_missing: pub module removed or renamed ---

Description:
A publicly-visible module cannot be imported by its prior path. A `pub use` may have been removed, or the module may have been renamed, removed, or made non-public.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.43.0/src/lints/module_missing.ron

Failed in:
  mod rig::cli_chatbot, previously in file /tmp/.tmppIx6bX/rig-core/src/cli_chatbot.rs:1

--- failure struct_missing: pub struct removed or renamed ---

Description:
A publicly-visible struct cannot be imported by its prior path. A `pub use` may have been removed, or the struct itself may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.43.0/src/lints/struct_missing.ron

Failed in:
  struct rig::cli_chatbot::ChatBotBuilder, previously in file /tmp/.tmppIx6bX/rig-core/src/cli_chatbot.rs:26
  struct rig::cli_chatbot::ChatBot, previously in file /tmp/.tmppIx6bX/rig-core/src/cli_chatbot.rs:28
  struct rig::cli_chatbot::NoImplProvided, previously in file /tmp/.tmppIx6bX/rig-core/src/cli_chatbot.rs:10
  struct rig::cli_chatbot::ChatImpl, previously in file /tmp/.tmppIx6bX/rig-core/src/cli_chatbot.rs:12
  struct rig::cli_chatbot::AgentImpl, previously in file /tmp/.tmppIx6bX/rig-core/src/cli_chatbot.rs:16

--- failure struct_pub_field_missing: pub struct's pub field removed or renamed ---

Description:
A publicly-visible struct has at least one public field that is no longer available under its prior name. It may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.43.0/src/lints/struct_pub_field_missing.ron

Failed in:
  field static_tools of struct Agent, previously in file /tmp/.tmppIx6bX/rig-core/src/agent/completion.rs:52
  field dynamic_tools of struct Agent, previously in file /tmp/.tmppIx6bX/rig-core/src/agent/completion.rs:62
  field tools of struct Agent, previously in file /tmp/.tmppIx6bX/rig-core/src/agent/completion.rs:64
  field schema of struct ToolConfig, previously in file /tmp/.tmppIx6bX/rig-core/src/providers/gemini/completion.rs:1504

--- failure trait_added_supertrait: non-sealed trait added new supertraits ---

Description:
A non-sealed trait added one or more supertraits, which breaks downstream implementations of the trait
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#generic-bounds-tighten
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.43.0/src/lints/trait_added_supertrait.ron

Failed in:
  trait rig::streaming::StreamingChat gained WasmCompatSend in file /tmp/.tmpIJYS2L/rig/rig-core/src/streaming.rs:292
  trait rig::streaming::StreamingChat gained WasmCompatSync in file /tmp/.tmpIJYS2L/rig/rig-core/src/streaming.rs:292
  trait rig::embeddings::embedding::EmbeddingModel gained WasmCompatSend in file /tmp/.tmpIJYS2L/rig/rig-core/src/embeddings/embedding.rs:46
  trait rig::embeddings::embedding::EmbeddingModel gained WasmCompatSync in file /tmp/.tmpIJYS2L/rig/rig-core/src/embeddings/embedding.rs:46
  trait rig::embeddings::EmbeddingModel gained WasmCompatSend in file /tmp/.tmpIJYS2L/rig/rig-core/src/embeddings/embedding.rs:46
  trait rig::embeddings::EmbeddingModel gained WasmCompatSync in file /tmp/.tmpIJYS2L/rig/rig-core/src/embeddings/embedding.rs:46
  trait rig::transcription::TranscriptionModelDyn gained WasmCompatSend in file /tmp/.tmpIJYS2L/rig/rig-core/src/transcription.rs:93
  trait rig::transcription::TranscriptionModelDyn gained WasmCompatSync in file /tmp/.tmpIJYS2L/rig/rig-core/src/transcription.rs:93
  trait rig::completion::request::CompletionModel gained WasmCompatSend in file /tmp/.tmpIJYS2L/rig/rig-core/src/completion/request.rs:343
  trait rig::completion::request::CompletionModel gained WasmCompatSync in file /tmp/.tmpIJYS2L/rig/rig-core/src/completion/request.rs:343
  trait rig::completion::CompletionModel gained WasmCompatSend in file /tmp/.tmpIJYS2L/rig/rig-core/src/completion/request.rs:343
  trait rig::completion::CompletionModel gained WasmCompatSync in file /tmp/.tmpIJYS2L/rig/rig-core/src/completion/request.rs:343
  trait rig::completion::request::CompletionModelDyn gained WasmCompatSend in file /tmp/.tmpIJYS2L/rig/rig-core/src/completion/request.rs:375
  trait rig::completion::request::CompletionModelDyn gained WasmCompatSync in file /tmp/.tmpIJYS2L/rig/rig-core/src/completion/request.rs:375
  trait rig::completion::CompletionModelDyn gained WasmCompatSend in file /tmp/.tmpIJYS2L/rig/rig-core/src/completion/request.rs:375
  trait rig::completion::CompletionModelDyn gained WasmCompatSync in file /tmp/.tmpIJYS2L/rig/rig-core/src/completion/request.rs:375
  trait rig::vector_store::VectorStoreIndexDyn gained WasmCompatSend in file /tmp/.tmpIJYS2L/rig/rig-core/src/vector_store/mod.rs:76
  trait rig::vector_store::VectorStoreIndexDyn gained WasmCompatSync in file /tmp/.tmpIJYS2L/rig/rig-core/src/vector_store/mod.rs:76
  trait rig::vector_store::VectorStoreIndex gained WasmCompatSend in file /tmp/.tmpIJYS2L/rig/rig-core/src/vector_store/mod.rs:58
  trait rig::vector_store::VectorStoreIndex gained WasmCompatSync in file /tmp/.tmpIJYS2L/rig/rig-core/src/vector_store/mod.rs:58
  trait rig::pipeline::try_op::TryOp gained WasmCompatSend in file /tmp/.tmpIJYS2L/rig/rig-core/src/pipeline/try_op.rs:14
  trait rig::pipeline::try_op::TryOp gained WasmCompatSync in file /tmp/.tmpIJYS2L/rig/rig-core/src/pipeline/try_op.rs:14
  trait rig::pipeline::TryOp gained WasmCompatSend in file /tmp/.tmpIJYS2L/rig/rig-core/src/pipeline/try_op.rs:14
  trait rig::pipeline::TryOp gained WasmCompatSync in file /tmp/.tmpIJYS2L/rig/rig-core/src/pipeline/try_op.rs:14
  trait rig::embeddings::embedding::EmbeddingModelDyn gained WasmCompatSend in file /tmp/.tmpIJYS2L/rig/rig-core/src/embeddings/embedding.rs:74
  trait rig::embeddings::embedding::EmbeddingModelDyn gained WasmCompatSync in file /tmp/.tmpIJYS2L/rig/rig-core/src/embeddings/embedding.rs:74
  trait rig::vector_store::InsertDocuments gained WasmCompatSend in file /tmp/.tmpIJYS2L/rig/rig-core/src/vector_store/mod.rs:48
  trait rig::vector_store::InsertDocuments gained WasmCompatSync in file /tmp/.tmpIJYS2L/rig/rig-core/src/vector_store/mod.rs:48
  trait rig::agent::PromptHook gained WasmCompatSend in file /tmp/.tmpIJYS2L/rig/rig-core/src/agent/prompt_request/mod.rs:165
  trait rig::agent::PromptHook gained WasmCompatSync in file /tmp/.tmpIJYS2L/rig/rig-core/src/agent/prompt_request/mod.rs:165
  trait rig::completion::request::Chat gained WasmCompatSend in file /tmp/.tmpIJYS2L/rig/rig-core/src/completion/request.rs:215
  trait rig::completion::request::Chat gained WasmCompatSync in file /tmp/.tmpIJYS2L/rig/rig-core/src/completion/request.rs:215
  trait rig::completion::Chat gained WasmCompatSend in file /tmp/.tmpIJYS2L/rig/rig-core/src/completion/request.rs:215
  trait rig::completion::Chat gained WasmCompatSync in file /tmp/.tmpIJYS2L/rig/rig-core/src/completion/request.rs:215
  trait rig::embeddings::embedding::ImageEmbeddingModel gained WasmCompatSend in file /tmp/.tmpIJYS2L/rig/rig-core/src/embeddings/embedding.rs:115
  trait rig::embeddings::embedding::ImageEmbeddingModel gained WasmCompatSync in file /tmp/.tmpIJYS2L/rig/rig-core/src/embeddings/embedding.rs:115
  trait rig::pipeline::op::Op gained WasmCompatSend in file /tmp/.tmpIJYS2L/rig/rig-core/src/pipeline/op.rs:10
  trait rig::pipeline::op::Op gained WasmCompatSync in file /tmp/.tmpIJYS2L/rig/rig-core/src/pipeline/op.rs:10
  trait rig::pipeline::Op gained WasmCompatSend in file /tmp/.tmpIJYS2L/rig/rig-core/src/pipeline/op.rs:10
  trait rig::pipeline::Op gained WasmCompatSync in file /tmp/.tmpIJYS2L/rig/rig-core/src/pipeline/op.rs:10
  trait rig::transcription::TranscriptionModel gained WasmCompatSend in file /tmp/.tmpIJYS2L/rig/rig-core/src/transcription.rs:75
  trait rig::transcription::TranscriptionModel gained WasmCompatSync in file /tmp/.tmpIJYS2L/rig/rig-core/src/transcription.rs:75
  trait rig::completion::request::Prompt gained WasmCompatSend in file /tmp/.tmpIJYS2L/rig/rig-core/src/completion/request.rs:199
  trait rig::completion::request::Prompt gained WasmCompatSync in file /tmp/.tmpIJYS2L/rig/rig-core/src/completion/request.rs:199
  trait rig::completion::Prompt gained WasmCompatSend in file /tmp/.tmpIJYS2L/rig/rig-core/src/completion/request.rs:199
  trait rig::completion::Prompt gained WasmCompatSync in file /tmp/.tmpIJYS2L/rig/rig-core/src/completion/request.rs:199
  trait rig::tool::Tool gained WasmCompatSend in file /tmp/.tmpIJYS2L/rig/rig-core/src/tool/mod.rs:95
  trait rig::tool::Tool gained WasmCompatSync in file /tmp/.tmpIJYS2L/rig/rig-core/src/tool/mod.rs:95
  trait rig::tool::ToolDyn gained WasmCompatSend in file /tmp/.tmpIJYS2L/rig/rig-core/src/tool/mod.rs:155
  trait rig::tool::ToolDyn gained WasmCompatSync in file /tmp/.tmpIJYS2L/rig/rig-core/src/tool/mod.rs:155

--- failure trait_method_missing: pub trait method removed or renamed ---

Description:
A trait method is no longer callable, and may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#major-any-change-to-trait-item-signatures
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.43.0/src/lints/trait_method_missing.ron

Failed in:
  method on_stream_completion_response_finish of trait PromptHook, previously in file /tmp/.tmppIx6bX/rig-core/src/agent/prompt_request/mod.rs:166

--- failure trait_method_parameter_count_changed: pub trait method parameter count changed ---

Description:
A trait method now takes a different number of parameters.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#major-any-change-to-trait-item-signatures
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.43.0/src/lints/trait_method_parameter_count_changed.ron

Failed in:
  PromptHook::on_completion_call now takes 4 instead of 3 parameters, in file /tmp/.tmpIJYS2L/rig/rig-core/src/agent/prompt_request/mod.rs:171
  PromptHook::on_completion_response now takes 4 instead of 3 parameters, in file /tmp/.tmpIJYS2L/rig/rig-core/src/agent/prompt_request/mod.rs:182
  PromptHook::on_tool_call now takes 4 instead of 3 parameters, in file /tmp/.tmpIJYS2L/rig/rig-core/src/agent/prompt_request/mod.rs:193
  PromptHook::on_tool_result now takes 5 instead of 4 parameters, in file /tmp/.tmpIJYS2L/rig/rig-core/src/agent/prompt_request/mod.rs:204

--- failure trait_newly_sealed: pub trait became sealed ---

Description:
A publicly-visible trait became sealed, so downstream crates are no longer able to implement it
        ref: https://rust-lang.github.io/api-guidelines/future-proofing.html#sealed-traits-protect-against-downstream-implementations-c-sealed
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.43.0/src/lints/trait_newly_sealed.ron

Failed in:
  trait rig::tool::ToolDyn in file /tmp/.tmpIJYS2L/rig/rig-core/src/tool/mod.rs:155
  trait rig::vector_store::VectorStoreIndexDyn in file /tmp/.tmpIJYS2L/rig/rig-core/src/vector_store/mod.rs:76
  trait rig::transcription::TranscriptionModelDyn in file /tmp/.tmpIJYS2L/rig/rig-core/src/transcription.rs:93
  trait rig::client::verify::VerifyClientDyn in file /tmp/.tmpIJYS2L/rig/rig-core/src/client/verify.rs:29
  trait rig::completion::request::CompletionModelDyn in file /tmp/.tmpIJYS2L/rig/rig-core/src/completion/request.rs:375
  trait rig::completion::CompletionModelDyn in file /tmp/.tmpIJYS2L/rig/rig-core/src/completion/request.rs:375
  trait rig::embeddings::embedding::EmbeddingModelDyn in file /tmp/.tmpIJYS2L/rig/rig-core/src/embeddings/embedding.rs:74

--- failure trait_requires_more_generic_type_params: trait now requires more generic type parameters ---

Description:
A trait now requires more generic type parameters than it used to. Uses of this trait that supplied the previously-required number of generic types will be broken. To fix this, consider supplying default values for newly-added generic types.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#trait-new-parameter-no-default
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.43.0/src/lints/trait_requires_more_generic_type_params.ron

Failed in:
  trait CompletionModel (0 -> 1 required generic types) in /tmp/.tmpIJYS2L/rig/rig-core/src/providers/mira.rs:340
  trait TranscriptionModel (0 -> 1 required generic types) in /tmp/.tmpIJYS2L/rig/rig-core/src/providers/groq.rs:597
  trait CompletionModel (0 -> 1 required generic types) in /tmp/.tmpIJYS2L/rig/rig-core/src/providers/perplexity.rs:273
  trait CompletionModel (0 -> 1 required generic types) in /tmp/.tmpIJYS2L/rig/rig-core/src/providers/groq.rs:393
  trait CompletionModel (0 -> 1 required generic types) in /tmp/.tmpIJYS2L/rig/rig-core/src/providers/ollama.rs:458
  trait EmbeddingModel (0 -> 1 required generic types) in /tmp/.tmpIJYS2L/rig/rig-core/src/providers/ollama.rs:295
  trait AudioGenerationModel (0 -> 1 required generic types) in /tmp/.tmpIJYS2L/rig/rig-core/src/providers/hyperbolic.rs:713
  trait CompletionModel (0 -> 1 required generic types) in /tmp/.tmpIJYS2L/rig/rig-core/src/providers/hyperbolic.rs:378
  trait ImageGenerationModel (0 -> 1 required generic types) in /tmp/.tmpIJYS2L/rig/rig-core/src/providers/hyperbolic.rs:579
  trait EmbeddingModel (0 -> 1 required generic types) in /tmp/.tmpIJYS2L/rig/rig-core/src/providers/voyageai.rs:235

--- failure type_requires_more_generic_type_params: type now requires more generic type parameters ---

Description:
A type now requires more generic type parameters than it used to. Uses of this type that supplied the previously-required number of generic types will be broken. To fix this, consider supplying default values for newly-added generic types.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#trait-new-parameter-no-default
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.43.0/src/lints/type_requires_more_generic_type_params.ron

Failed in:
  Struct CompletionModel (0 -> 1 required generic types) in /tmp/.tmpIJYS2L/rig/rig-core/src/providers/mira.rs:340
  Struct TranscriptionModel (0 -> 1 required generic types) in /tmp/.tmpIJYS2L/rig/rig-core/src/providers/groq.rs:597
  Struct CompletionModel (0 -> 1 required generic types) in /tmp/.tmpIJYS2L/rig/rig-core/src/providers/perplexity.rs:273
  Struct CompletionModel (0 -> 1 required generic types) in /tmp/.tmpIJYS2L/rig/rig-core/src/providers/groq.rs:393
  Struct CompletionModel (0 -> 1 required generic types) in /tmp/.tmpIJYS2L/rig/rig-core/src/providers/ollama.rs:458
  Struct EmbeddingModel (0 -> 1 required generic types) in /tmp/.tmpIJYS2L/rig/rig-core/src/providers/ollama.rs:295
  Struct AudioGenerationModel (0 -> 1 required generic types) in /tmp/.tmpIJYS2L/rig/rig-core/src/providers/hyperbolic.rs:713
  Struct CompletionModel (0 -> 1 required generic types) in /tmp/.tmpIJYS2L/rig/rig-core/src/providers/hyperbolic.rs:378
  Struct ImageGenerationModel (0 -> 1 required generic types) in /tmp/.tmpIJYS2L/rig/rig-core/src/providers/hyperbolic.rs:579
  Struct EmbeddingModel (0 -> 1 required generic types) in /tmp/.tmpIJYS2L/rig/rig-core/src/providers/voyageai.rs:235
Changelog

rig-core

0.22.0 - 2025-10-14

Added

  • Implement thinking for anthropic streaming (#928)
  • (rig-937) evals (#905)
  • (rig-986) tool servers (#916)
  • (rig-988) cancel streaming prompts from prompt hook (#918)
  • (rig-990) allow configuring optional lancedb features (#923)
  • return usage when streaming completions from a dynamic client (#903)
  • (rig-979) discord bot integration (#900)
  • (rig-935) support cancelling multi-turn prompt loop from hook (#904)
  • (rig-951) generic HTTP client (#875)
  • (rig-977) add description field to Agent, update tool impl (#895)
  • (rig-848) extract JSON with chat history (#888)
  • (rig-955) set up tool choice capability for Extractor (#884)
  • (rig-964) add tool choice to agent (#883)
  • (rig-973) DocumentSourceKind::String (#882)

Fixed

  • (rig-991) nested struct conversion to Gemini OpenAPI type schema (#926)
  • (rig-982) embedding_model_with_ndims() doesn't pass dimensions parameter to OpenAI API
  • (rig-983) http request fail due to no content type header set (#909)
  • Correct data structure for OpenAI responses images and PDFs (#880)

Other

  • (rig-975) split streaming portion of PromptHook (#889)
  • (rig-975) split streaming portion of PromptHook
  • (rig-959) Documents in Huggingface are not converted properly (#874)

rig-lancedb

0.2.24 - 2025-10-14

Added

  • (rig-990) allow configuring optional lancedb features (#923)
  • (rig-951) generic HTTP client (#875)

Fixed

  • trying to fix test regressions part 2 (#913)
  • test regression (#912)

rig-mongodb

0.2.24 - 2025-10-14

Added

  • (rig-951) generic HTTP client (#875)

Fixed

  • trying to fix test regressions part 2 (#913)
  • test regression (#912)
  • (rig-983) http request fail due to no content type header set (#909)

rig-neo4j

0.3.8 - 2025-10-14

Added

  • (rig-951) generic HTTP client (#875)

Fixed

  • trying to fix test regressions part 2 (#913)
  • test regression (#912)

rig-postgres

0.1.22 - 2025-10-14

Added

  • (rig-951) generic HTTP client (#875)

Fixed

  • trying to fix test regressions part 2 (#913)

rig-qdrant

0.1.27 - 2025-10-14

Added

  • (rig-951) generic HTTP client (#875)

Fixed

  • trying to fix test regressions part 2 (#913)

rig-scylladb

0.1.13 - 2025-10-14

Added

  • (rig-951) generic HTTP client (#875)

Fixed

  • trying to fix test regressions part 2 (#913)

rig-sqlite

0.1.24 - 2025-10-14

Added

  • (rig-951) generic HTTP client (#875)

Fixed

  • trying to fix test regressions part 2 (#913)

rig-eternalai

0.3.9 - 2025-10-14

Added

  • (rig-951) generic HTTP client (#875)

rig-fastembed

0.2.13 - 2025-10-14

Other

  • (rig-984) rename rig fastembed example filenames (#914)

rig-bedrock

0.3.3 - 2025-10-14

Added

  • (rig-973) DocumentSourceKind::String (#882)

Other

  • provider SDK has issue with DocumentBlock (#892)

rig-helixdb

0.1.1 - 2025-10-14

Fixed

  • (rig-980) cosine similarity threshold should work (helixdb) (#899)

rig-surrealdb

0.1.19 - 2025-10-14

Other

  • updated the following local packages: rig-core

rig-milvus

0.1.13 - 2025-10-14

Other

  • updated the following local packages: rig-core

rig-s3vectors

0.1.10 - 2025-10-14

Other

  • updated the following local packages: rig-core


This PR was generated with release-plz.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants