Skip to content

Changelog

This page lists the features, fixes and breaking changes of every Swiftide release up to 0.34, the version these docs describe. One changelog covers every crate in the workspace; see Versioning. The list below is the repository’s CHANGELOG.md at the commit these docs pin. That commit can be ahead of the release. Entries marked breaking change the public API. For the code changes each breaking release needs, see Upgrading.

  • 71fa458 (agents) Add optional contrib tools and context hooks (#1207)

  • 9b64baf (core) [breaking] Chainable search strategy setters and inferable SimilaritySingleEmbedding::default() (#1226)

BREAKING CHANGE: chainable search strategy setters and inferable SimilaritySingleEmbedding::default() (#1226)

  • 76b0960 (indexing) [breaking] Run returns pipeline stats (#1225)

BREAKING CHANGE: run returns pipeline stats (#1225)

  • a9e21b7 (integrations) Set api_base and api_key on the OpenAI builder (#1228)

  • 27d50db (integrations) Add Perl to SupportedLanguages behind tree-sitter-perl (#1198)

  • c94ce79 (agents) Recover from unknown tool calls (#1218)

  • 8cf4ec0 (agents) Remove versions from internal dev dependencies (#1232)

  • 348d551 (anthropic) Stop double counting usage in streaming responses (#1220)

  • 669c4e5 (core) Log retried LLM attempts at WARN and give-up once at ERROR (#1229)

  • 3b1ad22 (deps) Resolve security advisories (#1215)

  • 7ac9497 (indexing) Keep the original error when a step before a batch fails (#1224)

  • cea196a (integrations) HTTP clients work without installing a rustls crypto provider (#1227)

  • 90bcadc (openai) Avoid repeating streamed text deltas (#1216)

  • 9bfa9a5 (openai) Preserve plaintext reasoning in Responses history (#1221)

  • b988268 Showcase example crates, example anchors, agent skill and crate docs (#1223)

  • f184670 Correct the OpenAI base URL env var, retry log level and showcase branch (#1230)

Full Changelog: https://github.com/bosun-ai/swiftide/compare/0.33.0...0.34.0

  • a94760d (indexing) Convenience then_expand alias for then_chunk

  • 13d36c0 (agents) Stream output while commands run (#1162)

  • 7ff5a43 (agents) Allow fully overwriting agent history via context (#997)

  • 5bc2a94 (agents) Pass mutable agent to hooks (#1112)

  • 8ced907 (core) [breaking] Preserve exact command output (#1134)

BREAKING CHANGE: preserve exact command output (#1134)

  • 2a0cb52 (core) [breaking] Separate command output streams (#1146)

BREAKING CHANGE: separate command output streams (#1146)

  • 1c1dfc1 (core) [breaking] Split command output into stdout and stderr (#1066)

BREAKING CHANGE: split command output into stdout and stderr (#1066)

  • 67998f9 (integrations) [breaking] Support AWS' new converse api (#1026)

BREAKING CHANGE: There is now a new AWS Bedrock integration. Because Converse is fundamentally different, it's named as aws_bedrock_v2. Inner content parts for chat messages now have a more generic structure so they are also usable for AWS Bedrock. Additionally, a lifetime is introduced for ChatCompletionRequest to get some quick wins.

  • 360b3af (integrations/openai) [breaking] Present and re-use reasoning in responses api (#988)

BREAKING CHANGE: Adds a ChatMessage::Reasoning that will include both the summary and compressed reasoning, so follow up turns in agents can use it properly, and users can display the summary in the UI if they want.

  • 8163a37 (macros) Read tool metadata from Rustdoc (#1182)

  • 087943e (openai) Support extra request body fields (#1094)

  • 65d44f2 (query) Add original and current question to answers::Simple

  • d19fc1d (scraping) Optional Spider Cloud support (#1125)

  • 1ee455d (tasks) [breaking] Add typed fan-out and joins (#1047)

BREAKING CHANGE: Tasks now support typed fan-out and explicit joins, which changes task completion, branch inspection, transition construction, and finish semantics. Update task code to return/match TaskRunOutcome, finish with transitions_to_finish(), build branches with

BREAKING CHANGE: Adds a new variant to chat messages that for user and image parts.

  • 283fbcf Add scoped_owned variant for owned executors with working dir

  • 849ebf9 Add Bedrock Claude reasoning effort support (#1063)

  • 4a2e859 (agents) Support RMCP 2 content blocks (#1174)

  • 7e1e181 (agents) Always add reasoning items to history (#1055)

  • 0a8dcdf (agents) Resolve pending tool calls before new user message on restart

  • 283b519 (bedrock) Trace Langfuse metadata on failures (#1061)

  • 1b0d6d4 (ci) Ignore external FastEmbed tests (#1139)

  • 26e6d16 (ci) Restore master checks (#1132)

  • ad42fa9 (indexing) Cache nodes only after the pipeline finishes them (#1164)

  • d89c842 (indexing) Keep pipeline futures sendable (#1175)

  • 9c9746c (integrations) Stop selecting tls providers (#1079)

  • 6b4d920 (integrations) Group adjacent tool results for Anthropic providers (#1057)

  • 1dd4417 (integrations/openai) Properly set default on reasoning features and exclude empty encrypted content (#992)

  • 69d1376 (integrations/openai) Only log model and usage for langfuse for embeddings (#1021)

  • d8f44cd (integrations/openai) Add reasoning items before all other items on response (#993)

  • 60be8ed (integrations/redis) Extend owned should not overwrite history

  • d8c6e2d (langfuse) Stop retrying rejected batch items forever (#1178)

  • 9e4f860 (macros) Expose tool argument descriptions (#1110)

  • e8503d4 (openai) Handle in-band provider errors (#1150)

  • dd558c6 (openai) Send reasoning effort to chat completions (#1103)

  • b28a1bb (query) Use current query in answers::Simple only if changed post retrieval

  • 5d65545 (query) Do not clear transformed query after retrieval

  • 3736ce7 (tasks) Render node errors with display (#1154)

  • 5ddd8ec Stabilize tool ordering in chat completion requests (#1058)

  • f81482f Should accept str

  • ab17637 Bedrock Langfuse request capture and span-close event loss (#1072)

  • fc72726 Update to 1.x fixing RUSTSEC-2026-0189 (#1105)

  • ebede65 (agents) Trace tool output after AfterTool hooks (#1180)

  • 1a5efe9 (core) Share parent derivation across chunkers (#1173)

  • 03669d8 (core) Avoid copying single-chunk command output (#1177)

  • 59a7431 (langfuse) Move recorded values instead of cloning them (#1179)

  • a76ff4e (agents) [breaking] Use Prompt for system messages (#1151)

BREAKING CHANGE: use Prompt for system messages (#1151)

  • db63c9d (core) Replace the CommandOutputSink trait with a closure alias (#1171)

  • bcff57e (deps) [breaking] Update dependencies (#1133)

BREAKING CHANGE: Swiftide now requires Rust 1.97. ReasoningItem.id is now Option<String>, and public SQLx, text-splitter, LanceDB, and DuckDB types follow their upgraded dependency APIs.

  • 2c73515 (deps) Refresh compatible dependencies before release

  • 3c8d069 (deps) Update all crates (#1031)

  • 8ffe4de (deps) Update all crates (#984)

  • 50510a5 (integrations/openai) Update async-openai to 0.31 (#978)

  • 55b5b3c (integrations/tree-sitter) Log parse errors as warning instead of errors

Full Changelog: https://github.com/bosun-ai/swiftide/compare/0.32.0...0.32.1

  • 9ae3331 (agents) [breaking] Improve toolspec api with schemars and support all possible types (#940)

BREAKING CHANGE: macro-level json_type overrides beyond the basic primitives are no longer enforced; rely on Rust type inference or provide an explicit schemars-derived struct/custom schema when specific shapes are required

  • a0cc8d7 (agents) Stop with args with optional schema (#950)

  • 8ad7d97 (agents) Add configurable timeouts to commands and local executor (#963)

  • 29289d3 (agents) [breaking] Add working directories for executor and commands (#941)

BREAKING CHANGE: Add working directories for executor and commands (#941)

  • ce724e5 (agents/mcp) Prefix mcp tools with the server name (#958)
  • 04cd88b (docs) Replace feature(doc_auto_cfg) with doc(auto_cfg)

  • 7873ce5 (integrations/openai) Simplefy responses api and improve chat completion request ergonomics (#956)

  • 24328d0 (macros) Ensure deny_unknown_attributes is set on generated args (#948)

  • 54245d0 Update async-openai and fix responses api (#964)

  • 72a6c92 Force additionalProperties properly on completion requests (#949)

Full Changelog: https://github.com/bosun-ai/swiftide/compare/0.31.3...0.32.0

  • a189ae6 (integrations/openai) Opt-in responses api (#943)

Full Changelog: https://github.com/bosun-ai/swiftide/compare/0.31.2...0.31.3

  • f35c9b5 (agents) Add builder lite methods to SystemPrompt

  • 9f533f5 (agents) Add helpers to retrieve or mutate the system prompt

  • febb7eb (agents) Support appending any kind of string to default SystemPrompt

  • 992478e (integrations/tree-sitter) Splitter support for PHP (#932)

  • 5df7a48 (agents) Only log error tool calls if error after hook

  • 54dceec (agents/local-executor) Also respect workdir in read file and write file

  • 6a688b4 (agents/local-executor) Respect workdir when running commands

  • 5b01c58 (langfuse) Use swiftide Usage in SimplePrompt (#929)

  • ec1e301 (agents) Explicit read file test for local executor

  • 8882a53 Improve tests for control tools (#928)

Full Changelog: https://github.com/bosun-ai/swiftide/compare/0.31.1...0.31.2

  • 866b77a (readme) Use raw links for images so they work on crates/docs

  • 513c143 (readme) Remove double back-to-top

Full Changelog: https://github.com/bosun-ai/swiftide/compare/0.31.0...0.31.1

  • ad6655d (agents) Add helper to remove default stop tool from agent builder

  • 708ebe4 (agents) Implement From for SystemPromptBuilder

  • db79f21 (agents/tasks) Add helper to create instant transitions from node ids

  • ac7cd22 (indexing) [breaking] Prepare for multi modal and node transformations with generic indexing (#899)

BREAKING CHANGE: Indexing pipelines are now generic over their inner type. This is a major change that enables major cool stuff in the future. Most of Swiftide still runs on Node, and will be migrated when needed/appropriate. A TextNode alias is provided and most indexing traits now take the node's inner generic parameter as Input/Output associated types.

  • 4e20804 (integrations) More convenient usage reporting via callback (#897)

  • 5923532 (integrations/openai, core) Add StructuredPrompt and implement for OpenAI (#912)

  • d2681d5 Integrate with Langfuse via tracing and make traces consistent and pretty (#907)

  • b3f18cd Add convenience helpers to get ToolOutput values as ref

  • 0071b72 (agents) Replace tools when adding multiple with the same name

  • dab4cf7 (integrations) Remove sync requirement in future from on_usage_async

  • 6702314 (langfuse) Ensure all data is on the right generation span (#913)

  • e389c8b (langfuse) Set type field correctly on SimplePrompt

  • 5ba9a7d (agents) Implement default for AgentCanFail tool

  • 412dacb (agents/tasks) Clean up closure api for node registration

  • 478d583 (openai) Remove double include_usage in complete_stream

Full Changelog: https://github.com/bosun-ai/swiftide/compare/0.30.1...0.31.0

  • 0114573 (agents) Explicitly handle out of bounds and empty edge cases for message history

  • 1005ac2 (core) Export tokenizer traits from the root crate

  • e4c01e1 (integrations/tiktoken) Tiktoken feature flag in root crate

  • d56496d (integrations/tiktoken) Fix my inability to count in late hours

  • 352bf40 (core) Implement AsRef for ChatMessage

  • aadfb7b (integrations/openai) Concise debug logs and more verbose trace

  • f975d40 (query) Reduce debugging noise for queries

Full Changelog: https://github.com/bosun-ai/swiftide/compare/0.30.0...0.30.1

  • dc574b4 (agents) Multi agent setup with graph-like Tasks (#861)

  • 8740762 (agents) Allow mutating an existing system prompt in the builder (#887)

  • 4bbf207 (agents/local-executor) Allow clearing, adding and removing env variable (#875)

  • 7873493 (agents/local-executor) Support running inline shebang scripts (#874)

  • a6d4379 Proper streaming backoff for Chat Completion (#895)

  • 2b8e138 (openai) More gracefully allow handling streaming errors if the client is decorated (#891)

  • f2948b5 (pipeline) Revert cache nodes after they've been successfully ran (#800) (#852)

  • 84ffa45 Minimal updates for tasks

Full Changelog: https://github.com/bosun-ai/swiftide/compare/0.29.0...0.30.0

  • 25a86fa (agents) Lots of utility functions for agents (#862)

  • a70840b (openai) Add helper to set the end user field for requests

  • f8ddeba (tree-sitter) Add html support for splitting and parsing (#850)

  • aaa5cd9 (agents) Add user message before invoking hooks (#853)

  • 592be04 (agents) Reduce verbosity of streaming hook (#854)

  • 9778295 (agents) Ensure error causes are always accessible

  • efd35da (docs) Fix prompt doctests

  • e2670c0 (duckdb) Force install and update extensions (#851)

  • 6a7ea3b (redis) Redis instrumentation only at trace level

  • 0a8ce37 Public chat completion streaming types

  • 0000000 Update Cargo.toml dependencies

Full Changelog: https://github.com/bosun-ai/swiftide/compare/0.28.1...0.29.0

  • c671e6a (agents) Add is_approved() and is_refused() to ToolFeedback
  • 68c5cda (agents) Prevent stack overflow when ToolExecutor has ambigious refs

  • 07198d2 (duckdb) Resolve 'x is an existing extension'

  • e8ecc2f (qdrant) Re-export the full qdrant client

  • 242b8f5 (qdrant) Re-export qdrant::Filter properly

Full Changelog: https://github.com/bosun-ai/swiftide/compare/0.28.0...0.28.1

  • 9d11386 Token usage metrics for embeddings, SimplePrompt and ChatCompletion with metric-rs (#813)

  • 59c8b9c Stream files from tool executor for indexing (#835)

  • ba6ec04 (pipeline) Cache nodes after they've been successfully ran (#800)

  • d98827c (qdrant) Re-export qdrant::Filter

  • 275efcd Mark Loader as Send + Sync

  • 5974b72 Integrations metrics depends on core/metrics

Full Changelog: https://github.com/bosun-ai/swiftide/compare/0.27.2...0.28.0

  • 66cd7e9 (qdrant) Add support for a filter in hybrid search (#830)

Full Changelog: https://github.com/bosun-ai/swiftide/compare/0.27.1...0.27.2

  • 0892151 (duckdb) Avoid panic if duckdb gets created twice (#818)

  • 0815923 (tool-executor) Remove conflicting implementation of AsRef for Output

  • 2b64410 (tool-executor) Implement AsRef for CommandOutput

Full Changelog: https://github.com/bosun-ai/swiftide/compare/0.27.0...0.27.1

  • c636eba (agents) [breaking] Context is now generic over its backend (#810)

BREAKING CHANGE: The signature is now slightly different for the AgentContext. If you have implemented your own for i.e. a persisted solution, if it's just that, the implementation is now a lot more straightforward with the MessageHistory trait.

  • 3c937a8 (agents) Add helpers for creating tool errors (#805)

  • 9e831d3 (agents) [breaking] Easy human-in-the-loop flows by decorating tools (#790)

BREAKING CHANGE: The Tool trait now receives a ToolCall as argument instead of an Option<&str>. The latter is still accessible via tool_call.args().

  • 814c217 (duckdb) Hybrid Search (#807)

  • 254bd3a (integrations) Add kafka as loader and persist support (#808)

  • 19a2e94 (integrations) Add support for Google Gemini (#754)

  • 990fa5e (redis) Support MessageHistory for redis (#811)

  • ca119bd (agents) Ensure approved / refused tool calls are in new completions (#799)

  • df6a12d (agents) Ensure agents with no tools still have the stop tool

  • cd57d12 (openai) Opt-out streaming accumulated response and only get the delta (#809)

  • da2d604 (redb) Explicit lifetime in table definition

  • 7ac92a4 (agents) Direct access to executor via context (#794)

  • a21883b (agents) [breaking] Improved naming for existing messages and message history in default context

BREAKING CHANGE: Improved naming for existing messages and message history in default context

  • 40bfa9c (indexing) Implement ChunkerTransformer for closures

  • c8d7ab9 (integrations) Improved warning when a qdrant collection exists

  • d6769eb (tree-sitter) Implement Eq, Hash and AsRefStr for SupportedLanguages

  • 04ec29d Consistent logging for indexing pipeline (#792)

Full Changelog: https://github.com/bosun-ai/swiftide/compare/0.26.0...0.27.0

  • 11051d5 (agents) tools on Agent is now public and can be used in hooks

  • ebe68c1 (integrations) Streaming chat completions for anthropic (#773)

  • 7f5b345 (integrations) Streaming chat completions for OpenAI (#741)

  • e2278fb (integrations) Customize common default settings for OpenAI requests (#775)

  • c563cf2 (treesitter) Add elixir support (#776)

  • 13ae991 Add usage to chat completion response (#774)

  • 7836f9f (agents) Use an RwLock to properly close a running MCP server

  • 0831c98 (openai) Disable parallel tool calls by default

  • 18dc99c (integrations) Use generics for all openai variants (#764)

  • 2a9d062 (openai) Consistent exports across providers

  • 4df6dbf Export macros from main crate and enable them by default (#778)

  • 8b30fde Rust like its 2024 (#763)

Full Changelog: https://github.com/bosun-ai/swiftide/compare/0.25.1...0.26.0

  • 7102091 (agents) AgentBuilder and AgentBuilderError should be public

Full Changelog: https://github.com/bosun-ai/swiftide/compare/0.25.0...0.25.1

  • 4959ddf (agents) Restore agents from an existing message history (#742)

  • 6efd15b (agents) Agents now take an Into Prompt when queried (#743)

  • 5db4de2 (agents) Properly support nullable types for MCP tools (#740)

  • dd2ca86 (agents) Do not log twice if mcp failed to stop

  • 5fea2e2 (indexing) Split pipeline concurrently (#749)

Full Changelog: https://github.com/bosun-ai/swiftide/compare/0.24.0...0.25.0

  • 3117fc6 Introduce LanguageModelError for LLM traits and an optional backoff decorator (#630)
  • 0134dae (agents) Gracefully stop mcp service on drop (#734)
  • e872c5b Core test utils available behind feature flag (#730)

Full Changelog: https://github.com/bosun-ai/swiftide/compare/0.23.0...0.24.0

  • fca4165 (agents) Return typed errors and yield error in on_stop (#725)

  • 29352e6 (agents) Add on_stop hook and stop now takes a StopReason (#724)

  • a85cd8e (macros) Support generics in Derive for tools (#720)

  • 52c44e9 Agent mcp client support (#658)

Adds support for agents to use tools from MCP servers. All transports
are supported via the `rmcp` crate.
Additionally adds the possibility to add toolboxes to agents (of which
MCP is one). Tool boxes declare their available tools at runtime, like
tool box.
Template / prompt interface got confusing and bloated. This removes
`Template` fully, and changes Prompt such that it can either ref to a
one-off, or to a template named compiled in the swiftide repository.

BREAKING CHANGE: This removes Template from Swiftide and simplifies the whole setup significantly. The internal Swiftide Tera repository can still be extended like with Templates. Same behaviour with less code and abstractions.

Full Changelog: https://github.com/bosun-ai/swiftide/compare/0.22.8...0.23.0

  • 6b4dfca Tool macros should work with latest darling version (#712)

Full Changelog: https://github.com/bosun-ai/swiftide/compare/0.22.7...0.22.8

  • b0001fb (duckdb) Upsert is now opt in as it requires duckdb >= 1.2 (#708)

Full Changelog: https://github.com/bosun-ai/swiftide/compare/0.22.6...0.22.7

  • a05b3c8 (macros) Support optional values and make them even nicer to use (#703)
  • 1866d5a (integrations) Loosen up duckdb requirements even more and make it more flexible for version requirements (#706)

Full Changelog: https://github.com/bosun-ai/swiftide/compare/0.22.5...0.22.6

  • eb4e044 Estimate tokens for OpenAI like apis with tiktoken-rs (#699)

Full Changelog: https://github.com/bosun-ai/swiftide/compare/0.22.4...0.22.5

  • 4ec00bb (integrations) Add chrono/utc feature flag when using qdrant (#684)
The Qdrant integration calls chrono::Utc::now(), which requires the now
feature flag to be enabled in the chrono crate when using qdrant
  • 0b204d9 Ensure groq, fastembed, test-utils features compile individually (#689)
  • bd4ef97 Include filenames in errors in file io (#694)
Uses fs-err crate to automatically include filenames in the error
messages
  • 9453e06 Use std::sync::Mutex instead of tokio mutex (#693)

  • b3456e2 Log qdrant setup messages at debug level (#696)

Full Changelog: https://github.com/bosun-ai/swiftide/compare/0.22.3...0.22.4

Full Changelog: https://github.com/bosun-ai/swiftide/compare/0.22.2...0.22.3

  • 0000000 Update Cargo.toml dependencies

  • e1c097d Disable default features on all dependencies (#675)

Full Changelog: https://github.com/bosun-ai/swiftide/compare/0.22.1...0.22.2

Adds support for Duckdb. Persist, Retrieve (Simple and Custom), and
NodeCache are implemented. Metadata and full upsert are not. Once 1.2
has its issues fixed, it's easy to add.
  • 4cf417c (treesitter) C and C++ support for splitter only (#663)
  • 590eaeb (integrations) Make openai parallel_tool_calls an Option (#664)
o3-mini needs to omit parallel_tool_calls - so we need to allow for a
None option to not include that field
  • 0000000 Update Cargo.toml dependencies

  • d864c7e Downgrade duckdb to 1.1.1 and fix ci (#671)

  • 9b685b3 Update and loosen deps (#670)

  • a64ca16 Tokio_stream features should include time

Full Changelog: https://github.com/bosun-ai/swiftide/compare/0.22.0...0.22.1

  • a754846 (agents) Implement Serialize and Deserialize for chat messages
Persist, retry later, evaluate it completions in a script, you name it.
Allows playing with the iterator outside of the stream.
Relates to https://github.com/bosun-ai/kwaak/issues/337
Use the new generics to _just-make-it-work_.
Ensure tool calls and responses are always balanced, even when the tool retry limit is reached
https://github.com/bosun-ai/kwaak/issues/313
  • 0000000 Update Cargo.toml dependencies

Full Changelog: https://github.com/bosun-ai/swiftide/compare/0.21.1...0.22.0

  • f418c5e (ci) Run just a single real rerank test to please the flaky gods

  • e387e82 (lancedb) Update Lancedb to 0.17 and pin Arrow to a lower version

  • 0000000 Update Cargo.toml dependencies

Full Changelog: https://github.com/bosun-ai/swiftide/compare/0.21.0...0.21.1

  • 12a9873 (agents) Improve flexibility for tool generation (#641)
Previously ToolSpec and name in the `Tool` trait worked with static.
With these changes, there is a lot more flexibility, allowing for i.e.
run-time tool generation.
  • 0000000 Update Cargo.toml dependencies

Full Changelog: https://github.com/bosun-ai/swiftide/compare/0.20.1...0.21.0

  • 0aa1248 (indexing) Handle invalid utf-8 in fileloader lossy (#632)

Full Changelog: https://github.com/bosun-ai/swiftide/compare/0.20.0...0.20.1

  • 5d85d14 (agents) Add support for numbers, arrays and booleans in tool args (#562)
Add support for numbers, arrays and boolean types in the
`#[swiftide_macros::tool]` attribute macro. For enum and object a custom
implementation is now properly supported as well, but not via the macro.
For now, tools using Derive also still need a custom implementation.
  • b09afed (query) Add support for reranking with Fastembed and multi-document retrieval (#508)
  • 0000000 Update Cargo.toml dependencies

Full Changelog: https://github.com/bosun-ai/swiftide/compare/0.19.0...0.20.0

  • fa5112c (agents) By default retry failed tools with LLM up to 3 times (#609)
Specifically meant for LLMs sending invalid JSON, these tool calls are
now retried by feeding back the error into the LLM up to a limit
(default 3).
  • 14f4778 (integrations) Parallel tool calling in OpenAI is now configurable (#611)
Adds support reasoning models in agents and for chat completions.
  • 37a1a2c (integrations) Add system prompts as system instead of message in Anthropic requests
  • ab27c75 (agents) Add back anyhow catch all for failed tools

  • 2388f18 (agents) Use name/arg hash on tool retries (#612)

  • da55664 (integrations) Scraper should stop when finished (#614)

  • 990a8ea (deps) Update tree-sitter (#616)

  • 0000000 Update Cargo.toml dependencies

Full Changelog: https://github.com/bosun-ai/swiftide/compare/0.18.2...0.19.0

  • 50ffa15 Anthropic support for prompts and agents (#602)
  • 8cf70e0 (integrations) Ensure anthropic tool call format is consistent with specs

Full Changelog: https://github.com/bosun-ai/swiftide/compare/0.18.1...0.18.2

  • 78bf0e0 (agents) Add optional limit for agent iterations (#599)

  • 592e5a2 (integrations) Support Azure openai via generics (#596)

  • c8f2eed (tree-sitter) Add solidity support (#597)

Full Changelog: https://github.com/bosun-ai/swiftide/compare/0.18.0...0.18.1

  • de46656 (agents) Add on_start hook (#586)

  • c551f1b (integrations) OpenRouter support (#589)

Adds OpenRouter support. OpenRouter allows you to use any LLM via their
own api (with a minor upsell).
  • 3ea5839 (redb) Disable per-node tracing
  • 0000000 Update Cargo.lock dependencies

Full Changelog: https://github.com/bosun-ai/swiftide/compare/0.17.5...0.18.0

  • 825a52e (agents) Tool description now also accepts paths (i.e. a const) (#580)
  • 0000000 Update Cargo.lock dependencies

  • 0000000 Update Cargo.toml dependencies

Full Changelog: https://github.com/bosun-ai/swiftide/compare/0.17.4...0.17.5

  • 0d9e250 (tracing) Use or_current() to prevent orphaned tracing spans (#573)
When a span is emitted that would be selected by the subscriber, but we
instrument its closure with a span that would not be selected by the
subscriber, the span would be emitted as an orphan (with a new
`trace_id`) making them hard to find and cluttering dashboards.
This situation is also documented here:
https://docs.rs/tracing/latest/tracing/struct.Span.html#method.or_current

Full Changelog: https://github.com/bosun-ai/swiftide/compare/0.17.3...0.17.4

  • 8e22442 (integrations) Support Qdrant 1.13 (#571)
  • c5408a9 (agents) Io::Error should always be a NonZeroExit error for tool executors (#570)
  • 0000000 Update Cargo.toml dependencies

  • 0000000 Update Cargo.lock dependencies

Full Changelog: https://github.com/bosun-ai/swiftide/compare/0.17.2...0.17.3

  • 47db5ab (agents) Redrive uses the correct pointer and works as intended

Full Changelog: https://github.com/bosun-ai/swiftide/compare/0.17.1...0.17.2

  • e4e4468 (agents) Implement AgentContext for smart dyn pointers

  • 70181d9 (agents) Add pub accessor for agent context (#558)

  • 274d9d4 (agents) Preprocess tool calls to fix common, fixable errors (#560)

OpenAI has a tendency to sometimes send double keys. With this, Swiftide
will now take the first key and ignore any duplicates after that. Sets the stage for any future preprocessing before it gets strictly parsed by serde.
  • 0f0f491 (integrations) Add Dashscope support (#543)
---------
  • b2b15ac (openai) Enable strict mode for tool calls (#561)
Ensures openai sticks much better to the schema and avoids accidental
mistakes.

Full Changelog: https://github.com/bosun-ai/swiftide/compare/0.17.0...0.17.1

  • 835c35e (agents) Redrive completions manually on failure (#551)
Sometimes LLMs fail a completion without deterministic errors, or the
user case where you just want to retry. `redrive` can now be called on a
context, popping any new messages (if any), and making the messages
available again to the agent.
  • f83f3f0 (agents) Implement ToolExecutor for common dyn pointers (#549)

  • 7f85735 (query) Add custom lancedb query generation for lancedb search (#518)

  • ce4e34b (tree-sitter) Add golang support (#552)

Seems someone conveniently forgot to add Golang support for the
splitter.
  • 0000000 Update Cargo.lock dependencies

Full Changelog: https://github.com/bosun-ai/swiftide/compare/0.16.4...0.17.0

  • c919484 Ollama via async-openai with chatcompletion support (#545)
Adds support for chatcompletions (agents) for ollama. SimplePrompt and embeddings now use async-openai underneath.
Copy pasted as I expect some differences in the future.
  • 0000000 Update Cargo.toml dependencies

Full Changelog: https://github.com/bosun-ai/swiftide/compare/0.16.3...0.16.4

  • b66bd79 (fastembed) Add support for jina v2 code (#541)
Add support for jina v2 code in fastembed.

Full Changelog: https://github.com/bosun-ai/swiftide/compare/0.16.2...0.16.3

  • 2226755 Explicit cast on tools to Box to make analyzer happy (#536)

Full Changelog: https://github.com/bosun-ai/swiftide/compare/0.16.1...0.16.2

  • d198bb0 (prompts) Skip rendering prompts if no context and forward as is (#530)
Fixes an issue if strings suddenly include jinja style values by
mistake. Bonus performance boost.
  • 4e8d59f (redb) Log errors and return uncached instead of panicing (#531)

Full Changelog: https://github.com/bosun-ai/swiftide/compare/0.16.0...0.16.1

  • 52e341e (lancedb) Public method for opening table (#514)

  • 3254bd3 (query) Generic templates with document rendering (#520)

Reworks `PromptTemplate` to a more generic `Template`, such that they
can also be used elsewhere. This deprecates `PromptTemplate`.
As an example, an optional `Template` in the `Simple` answer
transformer, which can be used to customize the output of retrieved
documents. This has excellent synergy with the metadata changes in #504.
  • 235780b (query) Documents as first class citizens (#504)
For simple RAG, just adding the content of a retrieved document might be
enough. However, in more complex use cases, you might want to add
metadata as well, as is or for conditional formatting.
For instance, when dealing with large amounts of chunked code, providing
the path goes a long way. If generated metadata is good enough, could be
useful as well.
With this retrieved Documents are treated as first class citizens,
including any metadata as well. Additionally, this also paves the way
for multi retrieval (and multi modal).
  • 584695e (query) Add custom SQL query generation for pgvector search (#478)
Adds support for custom retrieval queries with the sqlx query builder for PGVector. Puts down the fundamentals for custom query building for any retriever.
---------
  • b55bf0b (redb) Public database and table definition (#510)

  • 176378f Implement traits for all Arc dynamic dispatch (#513)

If you use i.e. a `Persist` or a `NodeCache` outside swiftide as well, and you already have it Arc'ed, now it just works.
  • dc9881e Allow opt out of pipeline debug truncation
  • 2831101 (lancedb) Metadata should be nullable in lancedb (#515)

  • c35df55 (macros) Explicit box dyn cast fixing Rust Analyzer troubles (#523)

Full Changelog: https://github.com/bosun-ai/swiftide/compare/0.15.0...0.16.0

  • a1b9a2d (query) Ensure concrete names for transformations are used when debugging (#496)

  • 7779c44 (query) Ensure query pipeline consistently debug logs in all other stages too

  • 55dde88 (query) Debug full retrieved documents when debug mode is enabled (#495)

  • 66031ba (query) Log query pipeline answer on debug (#497)

  • d255772 (agents) Rename CommandError::FailedWithOutput to CommandError::NonZeroExit (#484)
Better describes what is going on. I.e. `rg` exits with 1 if nothing is
found, tests generally do the same if they fail.
  • 0000000 Update Cargo.toml dependencies

Full Changelog: https://github.com/bosun-ai/swiftide/compare/0.14.4...0.15.0

  • 7211559 (agents) EXPERIMENTAL Agents in Swiftide (#463)
Agents are coming to Swiftide! We are still ironing out all the kinks,
while we make it ready for a proper release. You can already experiment
with agents, see the rustdocs for documentation, and an example in
`/examples`, and feel free to contact us via github or discord. Better
documentation, examples, and tutorials are coming soon.
Run completions in a loop, define tools with two handy macros, customize
the agent by hooking in on lifecycle events, and much more.
Besides documentation, expect a big release for what we build this for
soon! 🎉
  • 3751f49 (query) Add support for single embedding retrieval with PGVector (#406)
  • 5ce4d21 Clippy and deps fixes for 1.83 (#467)

Full Changelog: https://github.com/bosun-ai/swiftide/compare/0.14.3...0.14.4

  • 1774b84 (integrations) Add PGVector support for indexing (#392)

Full Changelog: https://github.com/bosun-ai/swiftide/compare/0.14.2...0.14.3

  • 3924322 (querying) Query pipeline is now properly send and sync when possible (#425)
- **Tokio on rt-multi-thread only**
- **Remove manual checks from lancedb integration test**
- **Ensure all deps in workspace manifest**
- **Remove unused deps**
- **Remove examples and benchmarks from default members**

Full Changelog: https://github.com/bosun-ai/swiftide/compare/0.14.1...0.14.2

  • 5bbcd55 Revert 0.14 release as mistralrs is unpublished (#417)
Revert the 0.14 release as `mistralrs` is unpublished and unfortunately
cannot be released.
- **Revert "fix: Revert 0.14 release as mistralrs is unpublished
([#417](https://github.com/bosun-ai/swiftide/pull/417))"**
- **Fix changelog**

Full Changelog: https://github.com/bosun-ai/swiftide/compare/0.14.0...0.14.1

  • 551a9cb (indexing) [breaking] Node ID no longer memoized (#414)
As @shamb0 pointed out in [#392](https://github.com/bosun-ai/swiftide/pull/392), there is a potential issue where Node
ids are get cached before chunking or other transformations, breaking
upserts and potentially resulting in data loss.

BREAKING CHANGE: This PR reworks Nodes with a builder API and a private id. Hence, manually creating nodes no longer works. In the future, all the fields are likely to follow the same pattern, so that we can decouple the inner fields from the Node's implementation.

  • c091ffa (indexing) Use atomics for key generation in memory storage (#415)
  • 0000000 Update Cargo.toml dependencies

Full Changelog: https://github.com/bosun-ai/swiftide/compare/0.13.4...0.14.0

  • 47455fb (indexing) Visibility of ChunkMarkdown builder should be public

  • 2b3b401 (indexing) Improve splitters consistency and provide defaults (#403)

Full Changelog: https://github.com/bosun-ai/swiftide/compare/0.13.3...0.13.4

  • 2647f16 (deps) Update rust crate text-splitter to 0.17 (#366)

  • d74d85b (indexing) Add missing Embed::batch_size implementation (#378)

  • 95f78d3 (tree-sitter) Compile regex only once (#371)

Regex compilation is not cheap, use a static with a oncelock instead.
  • 0000000 Update Cargo.toml dependencies

Full Changelog: https://github.com/bosun-ai/swiftide/compare/0.13.2...0.13.3

  • 4b13aa7 (core) Add support for cloning all trait objects (#355)
For instance, if you have a `Box<dyn SimplePrompt>`, you can now clone
into an owned copy and more effectively use the available generics. This
also works for borrowed trait objects.
  • ed3da52 (indexing) Support Redb as embedable nodecache (#346)
Adds support for Redb as an embeddable node cache, allowing full local
app development without needing external services.
  • 06f8336 (indexing) Ensure name() returns concrete name on trait objects (#351)
  • 8237c28 (core) Mock traits for testing should not have their docs hidden

  • 0000000 Update Cargo.toml dependencies

Full Changelog: https://github.com/bosun-ai/swiftide/compare/0.13.1...0.13.2

  • e6d9ec2 (lancedb) Should not error if table exists (#349)

Full Changelog: https://github.com/bosun-ai/swiftide/compare/0.13.0...0.13.1

  • 7d8a57f (indexing) [breaking] Removed duplication of batch_size (#336)

BREAKING CHANGE: The batch size of batch transformers when indexing is now configured on the batch transformer. If no batch size or default is configured, a configurable default is used from the pipeline. The default batch size is 256.

  • 23b96e0 (tree-sitter) [breaking] SupportedLanguages are now non-exhaustive (#331)

BREAKING CHANGE: SupportedLanguages are now non-exhaustive. This means that matching on SupportedLanguages will now require a catch-all arm. This change was made to allow for future languages to be added without breaking changes.

  • 923a8f0 (fastembed,qdrant) Better batching defaults (#334)
Qdrant and FastEmbed now have a default batch size, removing the need to set it manually. The default batch size is 50 and 256 respectively.

Full Changelog: https://github.com/bosun-ai/swiftide/compare/0.12.3...0.13.0

  • da5df22 (tree-sitter) Implement Serialize and Deserialize for SupportedLanguages (#314)
  • a756148 (tree-sitter) Fix javascript and improve tests (#313)
As learned from [#309](https://github.com/bosun-ai/swiftide/pull/309), test coverage for the refs defs transformer was
not great. There _are_ more tests in code_tree. Turns out, with the
latest treesitter update, javascript broke as it was the only language
not covered at all.
  • e8e9d80 (docs) Add documentation to query module (#276)

Full Changelog: https://github.com/bosun-ai/swiftide/compare/0.12.2...0.12.3

  • d84814e Fix broken documentation links and other cargo doc warnings (#304) by @tinco
Running `cargo doc --all-features` resulted in a lot of warnings.

Full Changelog: https://github.com/bosun-ai/swiftide/compare/v0.12.1...v0.12.2

  • ec227d2 (indexing,query) Add concise info log with transformation name by @timonv

  • 01cf579 (query) Add query_mut for reusable query pipelines by @timonv

  • 081a248 (query) Improve query performance similar to indexing in 0.12 by @timonv

  • 8029926 (query,indexing) Add duration in log output on pipeline completion by @timonv

  • 39b6ecb (core) Truncate long strings safely when printing debug logs by @timonv

  • 8b8ceb9 (deps) Update redis by @timonv

  • 16e9c74 (openai) Reduce debug verbosity by @timonv

  • 6914d60 (qdrant) Reduce debug verbosity when storing nodes by @timonv

  • 3d13889 (query) Reduce and improve debugging verbosity by @timonv

  • 133cf1d (query) Remove verbose debug and skip self in instrumentation by @timonv

  • ce17981 Clippy by @timonv

  • a871c61 Fmt by @timonv

  • d62b047 (ci) Update testcontainer images and fix tests by @timonv

Full Changelog: https://github.com/bosun-ai/swiftide/compare/v0.12.0...v0.12.1

  • e902cb7 (query) Add support for filters in SimilaritySingleEmbedding (#298) by @timonv
Adds support for filters for Qdrant and Lancedb in
SimilaritySingleEmbedding. Also fixes several small bugs and brings
improved tests.
  • f158960 Major performance improvements (#291) by @timonv
Futures that do not yield were not run in parallel properly. With this
futures are spawned on a tokio worker thread by default.
When embedding (fastembed) and storing a 85k row dataset, there's a
~1.35x performance improvement:
<img width="621" alt="image"
src="https://github.com/user-attachments/assets/ba2d4d96-8d4a-44f1-b02d-6ac2af0cedb7">
~~Need to do one more test with IO bound futures as well. Pretty huge,
not that it was slow.~~
With IO bound openai it's 1.5x.
  • f8314cc (indexing) Limit logged chunk to max 100 chars (#292) by @timonv

  • f95f806 (indexing) Debugging nodes should respect utf8 char boundaries by @timonv

  • 8595553 Implement into_stream_boxed for all loaders by @timonv

  • 9464ca1 Bad embed error propagation (#293) by @timonv

- **fix(indexing): Limit logged chunk to max 100 chars**
- **fix: Embed transformers must correctly propagate errors**
  • 45d8a57 (ci) Use llm-cov preview via nightly and improve test coverage (#289) by @timonv
Fix test coverage in CI. Simplified the trait bounds on the query
pipeline for now to make it all work and fit together, and added more
tests to assert boxed versions of trait objects work in tests.
  • 408f30a (deps) Update testcontainers (#295) by @timonv

  • 37c4bd9 (deps) Update treesitter (#296) by @timonv

  • 8d9e954 Cargo update by @timonv

Full Changelog: https://github.com/bosun-ai/swiftide/compare/v0.11.1...v0.12.0

  • 3c9491b Implemtent traits T for Box for indexing and query traits (#285) by @timonv
When working with trait objects, some pipeline steps now allow for
Box<dyn Trait> as well.
  • dfa546b Add missing parquet feature flag by @timonv

Full Changelog: https://github.com/bosun-ai/swiftide/compare/v0.11.0...v0.11.1

  • bdf17ad (indexing) Parquet loader (#279) by @timonv
Ingest and index data from parquet files.
  • a98dbcb (integrations) Add ollama embeddings support (#278) by @ephraimkunz
Update to the most recent ollama-rs, which exposes the batch embedding
API Ollama exposes (https://github.com/pepperoni21/ollama-rs/pull/61).
This allows the Ollama struct in Swiftide to implement `EmbeddingModel`.
Use the same pattern that the OpenAI struct uses to manage separate
embedding and prompt models.
---------
  • 873795b (ci) Re-enable coverage via Coverals with tarpaulin (#280) by @timonv

  • 465de7f Update CHANGELOG.md with breaking change by @timonv

  • @ephraimkunz made their first contribution in #278

Full Changelog: https://github.com/bosun-ai/swiftide/compare/v0.10.0...v0.11.0

  • 5a724df [breaking] Rust 1.81 support (#275) by @timonv
Fixing id generation properly as per #272, will be merged in together.
- **Clippy**
- **fix(qdrant)!: Default hasher changed in Rust 1.81**

BREAKING CHANGE: Rust 1.81 support (#275)

  • 3711f6f (readme) Fix date (#273) by @dzvon
I suppose this should be 09-02.
  • @dzvon made their first contribution in #273

Full Changelog: https://github.com/bosun-ai/swiftide/compare/v0.9.2...v0.10.0

  • 84e9bae (indexing) Add chunker for text with text_splitter (#270) by @timonv

  • 387fbf2 (query) Hybrid search for qdrant in query pipeline (#260) by @timonv

Implement hybrid search for qdrant with their new Fusion search. Example
in /examples includes an indexing and query pipeline, included the
example answer as well.
  • 064c7e1 (readme) Update intro by @timonv

  • 1dc4c90 (readme) Add new blog links by @timonv

Full Changelog: https://github.com/bosun-ai/swiftide/compare/v0.9.1...v0.9.2

  • b891f93 (integrations) Add fluvio as loader support (#243) by @timonv
Adds Fluvio as a loader support, enabling Swiftide indexing streams to
process messages from a Fluvio topic.
  • c00b6c8 (query) Ragas support (#236) by @timonv
Work in progress on support for ragas as per
https://github.com/explodinggradients/ragas/issues/1165 and #232
Add an optional evaluator to a pipeline. Evaluators need to handle
transformation events in the query pipeline. The Ragas evaluator
captures the transformations as per
https://docs.ragas.io/en/latest/howtos/applications/data_preparation.html.
You can find a working notebook here
https://github.com/bosun-ai/swiftide-tutorial/blob/c510788a625215f46575415161659edf26fc1fd5/ragas/notebook.ipynb
with a pipeline using it here
https://github.com/bosun-ai/swiftide-tutorial/pull/1
  • a1250c1 LanceDB support (#254) by @timonv
Add LanceDB support for indexing and querying. LanceDB separates compute
from storage, where storage can be local or hosted elsewhere.
  • f92376d (deps) Update rust crate aws-sdk-bedrockruntime to v1.46.0 (#247) by @renovate[bot]

  • 732a166 Remove no default features from futures-util by @timonv

  • 9b257da Default features cleanup (#262) by @timonv
Integrations are messy and pull a lot in. A potential solution is to
disable default features, only add what is actually required, and put
the responsibility at users if they need anything specific. Feature
unification should then take care of the rest.
  • fb381b8 (readme) Copy improvements (#261) by @timonv

Full Changelog: https://github.com/bosun-ai/swiftide/compare/v0.9.0...v0.9.1

  • 2443933 (qdrant) Add access to inner client for custom operations (#242) by @timonv

  • 4fff613 (query) Add concurrency on query pipeline and add query_all by @timonv

  • 4e31c0a (deps) Update rust crate aws-sdk-bedrockruntime to v1.44.0 (#244) by @renovate[bot]

  • 501321f (deps) Update rust crate spider to v1.99.37 (#230) by @renovate[bot]

  • 8a1cc69 (query) After retrieval current transormation should be empty by @timonv

  • e9d0016 (indexing,integrations) Move tree-sitter dependencies to integrations (#235) by @timonv
Removes the dependency of indexing on integrations, resulting in much
faster builds when developing on indexing.

Full Changelog: https://github.com/bosun-ai/swiftide/compare/v0.8.0...v0.9.0

  • 2e25ad4 (indexing) [breaking] Default LLM for indexing pipeline and boilerplate Transformer macro (#227) by @timonv
Add setting a default LLM for an indexing pipeline, avoiding the need to
clone multiple times.
More importantly, introduced `swiftide-macros` with
`#[swiftide_macros::indexing_transformer]` that generates
all boilerplate code used for internal transformers. This ensures all
transformers are consistent and makes them
easy to change in the future. This is a big win for maintainability and
ease to extend. Users are encouraged to use the macro
as well.

BREAKING CHANGE: Introduces WithIndexingDefaults and WithBatchIndexingDefaults trait constraints for transformers. They can be used as a marker with a noop (i.e. just impl WithIndexingDefaults for MyTransformer {}). However, when implemented fully, they can be used to provide defaults from the pipeline to your transformers.

  • 67336f1 (indexing) Sparse vector support with Splade and Qdrant (#222) by @timonv
Adds Sparse vector support to the indexing pipeline, enabling hybrid
search for vector databases. The design should work for any form of
Sparse embedding, and works with existing embedding modes and multiple
named vectors. Additionally, added `try_default_sparse` to FastEmbed,
using Splade, so it's fully usuable.
Hybrid search in the query pipeline coming soon.
  • e728a7c Code outlines in chunk metadata (#137) by @tinco
Added a transformer that generates outlines for code files using tree sitter. And another that compresses the outline to be more relevant to chunks. Additionally added a step to the metadata QA tool that uses the outline to improve the contextual awareness during QA generation.
  • dc7412b (deps) Update aws-sdk-rust monorepo (#223) by @renovate[bot]
  • 9613f50 (ci) Only show remote github url if present in changelog by @timonv
  • 73d1649 (readme) Add Ollama support to README by @timonv

  • b3f04de (readme) Add link to discord (#219) by @timonv

  • 4970a68 (readme) Fix discord links by @timonv

Full Changelog: https://github.com/bosun-ai/swiftide/compare/v0.7.1...v0.8.0

  • b2d31e5 (integrations) Add ollama support (#214) by @tinco

  • 9eb5894 (query) Add support for closures in all steps (#215) by @timonv

  • 53e662b (ci) Add cargo deny to lint dependencies (#213) by @timonv
  • 1539393 (readme) Update README.md by @timonv

  • ba07ab9 (readme) Readme improvements by @timonv

  • f7accde (readme) Add 0.7 announcement by @timonv

  • 084548f (readme) Clarify on closures by @timonv

Full Changelog: https://github.com/bosun-ai/swiftide/compare/swiftide-v0.7.0...v0.7.1

  • ec1fb04 (indexing) Metadata as first class citizen (#204) by @timonv
Adds our own implementation for metadata, internally still using a
BTreeMap. The Value type is now a `serde_json::Value` enum. This allows
us to store the metadata in the same format as the rest of the document,
and also allows us to use values programmatically later.
As is, all current meta data is still stored as Strings.
  • 16bafe4 (swiftide) [breaking] Rework workspace preparing for swiftide-query (#199) by @timonv
Splits up the project into multiple small, unpublished crates. Boosts
compile times, makes the code a bit easier to grok and enables
swiftide-query to be build separately.

BREAKING CHANGE: All indexing related tools are now in

  • 63694d2 (swiftide-query) Query pipeline v1 (#189) by @timonv
  • ee3aad3 (deps) Update rust crate aws-sdk-bedrockruntime to v1.42.0 (#195) by @renovate[bot]

  • be0f31d (deps) Update rust crate spider to v1.99.11 (#190) by @renovate[bot]

  • dd04453 (swiftide) Update main lockfile by @timonv

  • bafd907 Update all cargo package descriptions by @timonv

  • e72641b (ci) Set versions in dependencies by @timonv
  • 2114aa4 (readme) Add copy on the query pipeline by @timonv

  • 573aff6 (indexing) Document the default prompt templates and their context (#206) by @timonv

Full Changelog: https://github.com/bosun-ai/swiftide/compare/swiftide-v0.6.7...swiftide-v0.7.0

  • beea449 (prompt) Add Into for strings to PromptTemplate (#193) by @timonv

  • f3091f7 (transformers) References and definitions from code (#186) by @timonv

  • 97a572e (readme) Add blog posts and update doc link (#194) by @timonv

  • 504fe26 (pipeline) Add note that closures can also be used as transformers by @timonv

Full Changelog: https://github.com/bosun-ai/swiftide/compare/swiftide-v0.6.6...swiftide-v0.6.7

  • d1c642a (groq) Add SimplePrompt support for Groq (#183) by @timonv
Adds simple prompt support for Groq by using async_openai. ~~Needs some
double checks~~. Works great.
  • 5d4a814 (deps) Update rust crate aws-sdk-bedrockruntime to v1.40.0 (#169) by @renovate[bot]
  • 143c7c9 (readme) Fix typo (#180) by @eltociear

  • d393181 (docsrs) Scrape examples and fix links (#184) by @timonv

  • @eltociear made their first contribution in #180

Full Changelog: https://github.com/bosun-ai/swiftide/compare/swiftide-v0.6.5...swiftide-v0.6.6

  • 0065c7a (prompt) Add extending the prompt repository (#178) by @timonv
  • b54691f (prompts) Include default prompts in crate (#174) by @timonv
- **add prompts to crate**
- **load prompts via cargo manifest dir**
  • 3c297bb (swiftide) Remove include from Cargo.toml by @timonv
  • 73d5fa3 (traits) Cleanup unused batch size in BatchableTransformer (#177) by @timonv
  • b95b395 (swiftide) Documentation improvements and cleanup (#176) by @timonv
- **chore: remove ingestion stream**
- **Documentation and grammar**

Full Changelog: https://github.com/bosun-ai/swiftide/compare/swiftide-v0.6.3...swiftide-v0.6.5

  • 47418b5 (prompts) Fix breaking issue with prompts not found by @timonv

Full Changelog: https://github.com/bosun-ai/swiftide/compare/swiftide-v0.6.2...swiftide-v0.6.3

  • 2b682b2 (deps) Limit feature flags on qdrant to fix docsrs by @timonv

Full Changelog: https://github.com/bosun-ai/swiftide/compare/swiftide-v0.6.1...swiftide-v0.6.2

  • aae7ab1 (deps) Patch update all by @timonv
  • 085709f (docsrs) Disable unstable and rustdoc scraping by @timonv

Full Changelog: https://github.com/bosun-ai/swiftide/compare/swiftide-v0.6.0...swiftide-v0.6.1

  • 70ea268 (prompts) Add prompts as first class citizens (#145) by @timonv
Adds Prompts as first class citizens. This is a breaking change as
SimplePrompt with just a a `&str` is no longer allowed.
This introduces `Prompt` and `PromptTemplate`. A template uses jinja
style templating build on tera. Templates can be converted into prompts,
and have context added. A prompt is then send to something that prompts,
i.e. openai or bedrock.
Additional prompts can be added either compiled or as one-offs.
Additionally, it's perfectly fine to prompt with just a string as well,
just provide an `.into()`.
For future development, some LLMs really benefit from system prompts,
which this would enable. For the query pipeline we can also take a much
more structured approach with composed templates and conditionals.
  • 699cfe4 Embed modes and named vectors (#123) by @pwalski
Added named vector support to qdrant. A pipeline can now have its embed
mode configured, either per field, chunk and metadata combined (default)
or both. Vectors need to be configured on the qdrant client side.
See `examples/store_multiple_vectors.rs` for an example.
Shoutout to @pwalski for the contribution. Closes #62.
---------
  • 9334934 (chunkcode) Use correct chunksizes (#122) by @timonv

  • dfc76dd (deps) Update rust crate serde to v1.0.204 (#129) by @renovate[bot]

  • 28f5b04 (deps) Update rust crate tree-sitter-typescript to v0.21.2 (#128) by @renovate[bot]

  • 9c261b8 (deps) Update rust crate text-splitter to v0.14.1 (#127) by @renovate[bot]

  • ff92abd (deps) Update rust crate tree-sitter-javascript to v0.21.4 (#126) by @renovate[bot]

  • 7af97b5 (deps) Update rust crate spider to v1.98.7 (#124) by @renovate[bot]

  • adc4bf7 (deps) Update aws-sdk-rust monorepo (#125) by @renovate[bot]

  • dd32ef3 (deps) Update rust crate async-trait to v0.1.81 (#134) by @renovate[bot]

  • 2b13523 (deps) Update rust crate fastembed to v3.7.1 (#135) by @renovate[bot]

  • 8e22937 (deps) Update rust crate aws-sdk-bedrockruntime to v1.39.0 (#143) by @renovate[bot]

  • 353cd9e (qdrant) Upgrade and better defaults (#118) by @timonv

- **fix(deps): update rust crate qdrant-client to v1.10.1**
- **fix(qdrant): upgrade to new qdrant with sensible defaults**
- **feat(qdrant): safe to clone with internal arc**
---------
  • b53636c Inability to store only some of EmbeddedFields (#139) by @pwalski
  • ea8f823 Improve local build performance and crate cleanup (#148) by @timonv
- **tune cargo for faster builds**
- **perf(swiftide): increase local build performance**
  • eb8364e (ci) Try overriding the github repo for git cliff by @timonv

  • 5de6af4 (ci) Only add contributors if present by @timonv

  • 4c9ed77 (ci) Properly check if contributors are present by @timonv

  • c5bf796 (ci) Add clippy back to ci (#147) by @timonv

  • 7a8843a (deps) Update rust crate testcontainers to 0.20.0 (#133) by @renovate[bot]

  • 364e13d (swiftide) Loosen up dependencies (#140) by @timonv

Loosen up dependencies so swiftide is a bit more flexible to add to
existing projects
  • 84dd65d [breaking] Rename all mentions of ingest to index (#130) by @timonv
Swiftide is not an ingestion pipeline (loading data), but an indexing
pipeline (prepping for search).
There is now a temporary, deprecated re-export to match the previous api.

BREAKING CHANGE: rename all mentions of ingest to index (#130)

  • 51c114c Various tooling & community improvements (#131) by @timonv
- **fix(ci): ensure clippy runs with all features**
- **chore(ci): coverage using llvm-cov**
- **chore: drastically improve changelog generation**
- **chore(ci): add sanity checks for pull requests**
- **chore(ci): split jobs and add typos**
  • d2a9ea1 Enable clippy pedantic (#132) by @timonv
  • 8405c9e (contributing) Add guidelines on code design (#113) by @timonv

  • 3e447fe (readme) Link to CONTRIBUTING (#114) by @timonv

  • 4c40e27 (readme) Add back coverage badge by @timonv

  • 5691ac9 (readme) Add preproduction warning by @timonv

  • 37af322 (rustdocs) Rewrite the initial landing page (#149) by @timonv

- **Add homepage and badges to cargo toml**
- **documentation landing page improvements**
  • 7686c2d Templated prompts are now a major feature by @timonv
  • @pwalski made their first contribution in #139

Full Changelog: https://github.com/bosun-ai/swiftide/compare/swiftide-v0.5.0...swiftide-v0.6.0

  • 6a88651 (ingestion_pipeline) Implement filter (#109) by @timonv

  • 5aeb3a7 (ingestion_pipeline) Splitting and merging streams by @timonv

  • 8812fbf (ingestion_pipeline) Build a pipeline from a stream by @timonv

  • 6101bed AWS bedrock support (#92) by @timonv

Adds an integration with AWS Bedrock, implementing SimplePrompt for
Anthropic and Titan models. More can be added if there is a need. Same
for the embedding models.
  • 17a2be1 (changelog) Add scope by @timonv

  • a12cce2 (openai) Add tests for builder by @timonv

  • 963919b (transformers) [breaking] Fix too small chunks being retained and api by @timonv

BREAKING CHANGE: Fix too small chunks being retained and api

  • 5e8da00 Fix oversight in ingestion pipeline tests by @timonv

  • e8198d8 Use git cliff manually for changelog generation by @timonv

  • 2c31513 Just use keepachangelog by @timonv

  • 6430af7 Use native cargo bench format and only run benchmarks crate by @timonv

  • cba981a Replace unwrap with expect and add comment on panic by @timonv

  • e243212 (ci) Enable continous benchmarking and improve benchmarks (#98) by @timonv

  • 2dbf14c (ci) Fix benchmarks in ci by @timonv

  • b155de6 (ci) Fix naming of github actions by @timonv

  • 206e432 (ci) Add support for merge queues by @timonv

  • 46752db (ci) Add concurrency configuration by @timonv

  • 5f09c11 Add initial benchmarks by @timonv

  • 162c6ef Ensure feat is always in Added by @timonv

  • 929410c (readme) Add diagram to the readme (#107) by @timonv

  • b014f43 Improve documentation across the project (#112) by @timonv

Full Changelog: https://github.com/bosun-ai/swiftide/compare/swiftide-v0.4.3...swiftide-v0.5.0

  • ab3dc86 (memory_storage) Fallback to incremental counter when missing id by @timonv
  • dad3e02 (readme) Add ci badge by @timonv

  • 4076092 (readme) Clean up and consistent badge styles by @timonv

Full Changelog: https://github.com/bosun-ai/swiftide/compare/swiftide-v0.4.2...swiftide-v0.4.3

  • 926cc0c (ingestion_stream) Implement into for Result<Vec> by @timonv
  • 3143308 (embed) Panic if number of embeddings and node are equal by @timonv
  • 5ed08bb Cleanup changelog by @timonv
  • 47aa378 Create CONTRIBUTING.md by @timonv

  • 0660d5b Readme updates by @timonv

  • d285874 (ingestion_pipeline) Log_all combines other log helpers by @timonv

Full Changelog: https://github.com/bosun-ai/swiftide/compare/swiftide-v0.4.1...swiftide-v0.4.2

  • 3898ee7 (memory_storage) Can be cloned safely preserving storage by @timonv

  • 92052bf (transformers) Allow for arbitrary closures as transformers and batchable transformers by @timonv

Full Changelog: https://github.com/bosun-ai/swiftide/compare/swiftide-v0.4.0...swiftide-v0.4.1

  • 477a284 (benchmarks) Add benchmark for the file loader by @timonv

  • 1567940 (benchmarks) Add benchmark for simple local pipeline by @timonv

  • 2228d84 (examples) Example for markdown with all metadata by @timonv

  • 9a1e12d (examples,scraping) Add example scraping and ingesting a url by @timonv

  • 15deeb7 (ingestion_node) Add constructor with defaults by @timonv

  • 4d5c68e (ingestion_node) Improved human readable Debug by @timonv

  • a5051b7 (ingestion_pipeline) Optional error filtering and logging (#75) by @timonv

  • 062107b (ingestion_pipeline) Implement throttling a pipeline (#77) by @timonv

  • a2ffc78 (ingestion_stream) Improved stream developer experience (#81) by @timonv

Improves stream ergonomics by providing convenient helpers and `Into`
for streams, vectors and iterators that match the internal type.
This means that in many cases, trait implementers can simply call
`.into()` instead of manually constructing a stream. In the case it's an
iterator, they can now use `IngestionStream::iter(<IntoIterator>)`
instead.
  • d260674 (integrations) [breaking] Support fastembed (#60) by @timonv
Adds support for FastEmbed with various models. Includes a breaking change, renaming the Embed trait to EmbeddingModel.

BREAKING CHANGE: support fastembed (#60)

  • 9004323 (integrations) [breaking] Implement Persist for Redis (#80) by @timonv

BREAKING CHANGE: implement Persist for Redis (#80)

  • eb84dd2 (integrations,transformers) Add transformer for converting html to markdown by @timonv

  • ef7dcea (loaders) File loader performance improvements by @timonv

  • 6d37051 (loaders) Add scraping using spider by @timonv

  • 2351867 (persist) In memory storage for testing, experimentation and debugging by @timonv

  • 4d5d650 (traits) Add automock for simpleprompt by @timonv

  • bd6f887 (transformers) Add transformers for title, summary and keywords by @timonv

  • 7cbfc4e (ingestion_pipeline) Concurrency does not work when spawned (#76) by @timonv
Currency does did not work as expected. When spawning via `Tokio::spawn`
the future would be polled directly, and any concurrency setting would
not be respected. Because it had to be removed, improved tracing for
each step as well.
  • f4341ba (ci) Single changelog for all (future) crates in root (#57) by @timonv

  • 7dde8a0 (ci) Code coverage reporting (#58) by @timonv

Post test coverage to Coveralls
Also enabled --all-features when running tests in ci, just to be sure
  • cb7a2cd (scraping) Exclude spider from test coverage by @timonv

  • 7767588 (transformers) Improve test coverage by @timonv

  • 3b7c0db Move changelog to root by @timonv

  • d6d0215 Properly quote crate name in changelog by @timonv

  • f251895 Documentation and feature flag cleanup (#69) by @timonv

With fastembed added our dependencies become rather heavy. By default
now disable all integrations and either provide 'all' or cherry pick
integrations.
  • 53ed920 Hide the table of contents by @timonv

Full Changelog: https://github.com/bosun-ai/swiftide/compare/swiftide-v0.3.3...swiftide-v0.4.0

  • bdaed53 (integrations) Clone and debug for integrations by @timonv

  • 318e538 (transformers) Builder and clone for chunk_code by @timonv

  • c074cc0 (transformers) Builder for chunk_markdown by @timonv

  • e18e7fa (transformers) Builder and clone for MetadataQACode by @timonv

  • fd63dff (transformers) Builder and clone for MetadataQAText by @timonv

  • 678106c (ci) Pretty names for pipelines (#54) by @timonv

Full Changelog: https://github.com/bosun-ai/swiftide/compare/swiftide-v0.3.2...swiftide-v0.3.3

  • b211002 (integrations) Qdrant and openai builder should be consistent (#52) by @timonv

Full Changelog: https://github.com/bosun-ai/swiftide/compare/swiftide-v0.3.1...swiftide-v0.3.2

  • 6f63866 We love feedback <3 by @timonv

  • 7d79b64 Fixing some grammar typos on README.md (#51) by @hectorip

  • @hectorip made their first contribution in #51

Full Changelog: https://github.com/bosun-ai/swiftide/compare/swiftide-v0.3.0...swiftide-v0.3.1

  • 745b8ed (ingestion_pipeline) [breaking] Support chained storage backends (#46) by @timonv
Pipeline now supports multiple storage backends. This makes the order of adding storage important. Changed the name of the method to reflect that.

BREAKING CHANGE: support chained storage backends (#46)

  • cd055f1 (ingestion_pipeline) Concurrency improvements (#48) by @timonv

  • 1f0cd28 (ingestion_pipeline) Early return if any error encountered (#49) by @timonv

  • fa74939 Configurable concurrency for transformers and chunkers (#47) by @timonv

  • 473e60e Update linkedin link by @timonv

Full Changelog: https://github.com/bosun-ai/swiftide/compare/swiftide-v0.2.1...swiftide-v0.3.0

  • cb9b4fe Add link to bosun by @timonv

  • e330ab9 Fix documentation link by @timonv

Full Changelog: https://github.com/bosun-ai/swiftide/compare/swiftide-v0.2.0...swiftide-v0.2.1

  • 9ec93be Api improvements with example (#10) by @timonv
  • 95a6200 (swiftide) Documented file swiftide/src/ingestion/ingestion_pipeline.rs (#14) by @bosun-ai[bot]

  • 7abccc2 (swiftide) Documented file swiftide/src/ingestion/ingestion_stream.rs (#16) by @bosun-ai[bot]

  • 755cd47 (swiftide) Documented file swiftide/src/ingestion/ingestion_node.rs (#15) by @bosun-ai[bot]

  • 2ea5a84 (swiftide) Documented file swiftide/src/integrations/openai/mod.rs (#21) by @bosun-ai[bot]

  • b319c0d (swiftide) Documented file swiftide/src/integrations/treesitter/splitter.rs (#30) by @bosun-ai[bot]

  • 29fce74 (swiftide) Documented file swiftide/src/integrations/redis/node_cache.rs (#29) by @bosun-ai[bot]

  • 7229af8 (swiftide) Documented file swiftide/src/integrations/qdrant/persist.rs (#24) by @bosun-ai[bot]

  • 6240a26 (swiftide) Documented file swiftide/src/integrations/redis/mod.rs (#23) by @bosun-ai[bot]

  • 7688c99 (swiftide) Documented file swiftide/src/integrations/qdrant/mod.rs (#22) by @bosun-ai[bot]

  • d572c88 (swiftide) Documented file swiftide/src/integrations/qdrant/ingestion_node.rs (#20) by @bosun-ai[bot]

  • 14e24c3 (swiftide) Documented file swiftide/src/ingestion/mod.rs (#28) by @bosun-ai[bot]

  • 502939f (swiftide) Documented file swiftide/src/integrations/treesitter/supported_languages.rs (#26) by @bosun-ai[bot]

  • a78e68e (swiftide) Documented file swiftide/tests/ingestion_pipeline.rs (#41) by @bosun-ai[bot]

  • 289687e (swiftide) Documented file swiftide/src/loaders/mod.rs (#40) by @bosun-ai[bot]

  • ebd0a5d (swiftide) Documented file swiftide/src/transformers/chunk_code.rs (#39) by @bosun-ai[bot]

  • fb428d1 (swiftide) Documented file swiftide/src/transformers/metadata_qa_text.rs (#36) by @bosun-ai[bot]

  • 305a641 (swiftide) Documented file swiftide/src/transformers/openai_embed.rs (#35) by @bosun-ai[bot]

  • c932897 (swiftide) Documented file swiftide/src/transformers/metadata_qa_code.rs (#34) by @bosun-ai[bot]

  • 090ef1b (swiftide) Documented file swiftide/src/integrations/openai/simple_prompt.rs (#19) by @bosun-ai[bot]

  • 7cfcc83 Update readme template links and fix template by @timonv

  • a717f3d Template links should be underscores by @timonv

  • @bosun-ai[bot] made their first contribution in #19

Full Changelog: https://github.com/bosun-ai/swiftide/compare/v0.1.0...swiftide-v0.2.0

  • 2a6e503 (doc) Setup basic readme (#5) by @timonv

  • b8f9166 (fluyt) Significant tracing improvements (#368) by @timonv

* fix(fluyt): remove unnecessary cloning and unwraps
* fix(fluyt): also set target correctly on manual spans
* fix(fluyt): do not capture raw result
* feat(fluyt): nicer tracing for ingestion pipeline
* fix(fluyt): remove instrumentation on lazy methods
* feat(fluyt): add useful metadata to the root span
* fix(fluyt): fix dangling spans in ingestion pipeline
* fix(fluyt): do not log codebase in rag utils
  • 0986136 (fluyt/code_ops) Add languages to chunker and range for chunk size (#334) by @timonv
* feat(fluyt/code_ops): add more treesitter languages
* fix: clippy + fmt
* feat(fluyt/code_ops): implement builder and support range
* feat(fluyt/code_ops): implement range limits for code chunking
* feat(fluyt/indexing): code chunking supports size
  • f10bc30 (ingestion_pipeline) Default concurrency is the number of cpus (#6) by @timonv

  • 7453ddc Replace databuoy with new ingestion pipeline (#322) by @timonv

  • 054b560 Fix build and add feature flags for all integrations by @timonv

  • fdf4be3 (fluyt) Ensure minimal tracing by @timonv

  • 389b0f1 Add debug info to qdrant setup by @timonv

  • bb905a3 Use rustls on redis and log errors by @timonv

  • 458801c Properly connect to redis over tls by @timonv

  • ce6e465 (fluyt) Add verbose log on checking if index exists by @timonv

  • 6967b0d Make indexing extraction compile by @tinco

  • f595f3d Add rust-toolchain on stable by @timonv

  • da004c6 Start cleaning up dependencies by @timonv

  • cccdaf5 Remove more unused dependencies by @timonv

  • 7ee8799 Remove more crates and update by @timonv

  • 951f496 Clean up more crates by @timonv

  • 1f17d84 Cargo update by @timonv

  • 730d879 Create LICENSE by @timonv

  • 44524fb Restructure repository and rename (#3) by @timonv

* chore: move traits around
* chore: move crates to root folder
* chore: restructure and make it compile
* chore: remove infrastructure
* fix: make it compile
* fix: clippy
* chore: remove min rust version
* chore: cargo update
* chore: remove code_ops
* chore: settle on swiftide
  • e717b7f Update issue templates by @timonv

  • 8e22e0e Cleanup by @timonv

  • 4d79d27 Tests, tests, tests (#4) by @timonv

  • 1036d56 Configure cargo toml (#7) by @timonv

  • 0ae98a7 Cleanup Cargo keywords by @timonv

  • 0d342ea Models as first class citizens (#318) by @timonv
* refactor: refactor common datastructures to /models
* refactor: promote to first class citizens
* fix: clippy
* fix: remove duplication in http handler
* fix: clippy
* fix: fmt
* feat: update for latest change
* fix(fluyt/models): doctest

Next: Upgrading