From 3d21fc144d0ba9dd6a7adb807757ca495eebc034 Mon Sep 17 00:00:00 2001 From: "Swabbie (Bosun)" <155570396+SwabbieBosun@users.noreply.github.com> Date: Thu, 2 Jan 2025 16:42:51 +0100 Subject: [PATCH] chore: release v0.16.0 --- CHANGELOG.md | 55 ++++++++++++++++++++++++++++++++ Cargo.lock | 20 ++++++------ Cargo.toml | 2 +- swiftide-agents/Cargo.toml | 8 ++--- swiftide-indexing/Cargo.toml | 4 +-- swiftide-integrations/Cargo.toml | 4 +-- swiftide-macros/Cargo.toml | 4 +-- swiftide-query/Cargo.toml | 2 +- swiftide/Cargo.toml | 10 +++--- 9 files changed, 82 insertions(+), 27 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 955df88d..bcd52bc1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,61 @@ All notable changes to this project will be documented in this file. +## [0.16.0](https://github.com/bosun-ai/swiftide/compare/v0.15.0...v0.16.0) - 2025-01-02 + +### New features + +- [52e341e](https://github.com/bosun-ai/swiftide/commit/52e341ee9777d04f9fb07054980ba087c55c033e) *(lancedb)* Public method for opening table (#514) + +- [235780b](https://github.com/bosun-ai/swiftide/commit/235780b941a0805b69541f0f4c55c3404091baa8) *(query)* Documents as first class citizens (#504) + +````text +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](https://github.com/bosun-ai/swiftide/commit/584695e4841a3c9341e521b81e9f254270b3416e) *(query)* Add custom SQL query generation for pgvector search (#478) + +````text +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](https://github.com/bosun-ai/swiftide/commit/b55bf0b318042459a6983cf725078c4da662618b) *(redb)* Public database and table definition (#510) + +- [176378f](https://github.com/bosun-ai/swiftide/commit/176378f846ddecc3ddba74f6b423338b793f29b4) Implement traits for all Arc dynamic dispatch (#513) + +````text +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](https://github.com/bosun-ai/swiftide/commit/dc9881e48da7fb5dc744ef33b1c356b4152d00d3) Allow opt out of pipeline debug truncation + +### Bug fixes + +- [2831101](https://github.com/bosun-ai/swiftide/commit/2831101daa2928b5507116d9eb907d98fb77bf50) *(lancedb)* Metadata should be nullable in lancedb (#515) + +- [c35df55](https://github.com/bosun-ai/swiftide/commit/c35df5525d4d88cfb9ada89a060e1ab512b471af) *(macros)* Explicit box dyn cast fixing Rust Analyzer troubles (#523) + +### Miscellaneous + +- [1bbbb0e](https://github.com/bosun-ai/swiftide/commit/1bbbb0e548cafa527c34856bd9ac6f76aca2ab5f) Clippy + + +**Full Changelog**: https://github.com/bosun-ai/swiftide/compare/0.15.0...0.16.0 + + + ## [0.15.0](https://github.com/bosun-ai/swiftide/compare/v0.14.4...v0.15.0) - 2024-12-23 ### New features diff --git a/Cargo.lock b/Cargo.lock index 2c441c96..b8921f6e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1281,7 +1281,7 @@ checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b" [[package]] name = "benchmarks" -version = "0.15.0" +version = "0.16.0" dependencies = [ "anyhow", "criterion", @@ -8539,7 +8539,7 @@ checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" [[package]] name = "swiftide" -version = "0.15.0" +version = "0.16.0" dependencies = [ "anyhow", "arrow-array", @@ -8566,7 +8566,7 @@ dependencies = [ [[package]] name = "swiftide-agents" -version = "0.15.0" +version = "0.16.0" dependencies = [ "anyhow", "async-trait", @@ -8591,7 +8591,7 @@ dependencies = [ [[package]] name = "swiftide-core" -version = "0.15.0" +version = "0.16.0" dependencies = [ "anyhow", "async-trait", @@ -8619,7 +8619,7 @@ dependencies = [ [[package]] name = "swiftide-examples" -version = "0.15.0" +version = "0.16.0" dependencies = [ "anyhow", "fluvio", @@ -8640,7 +8640,7 @@ dependencies = [ [[package]] name = "swiftide-indexing" -version = "0.15.0" +version = "0.16.0" dependencies = [ "anyhow", "async-trait", @@ -8668,7 +8668,7 @@ dependencies = [ [[package]] name = "swiftide-integrations" -version = "0.15.0" +version = "0.16.0" dependencies = [ "anyhow", "arrow", @@ -8726,7 +8726,7 @@ dependencies = [ [[package]] name = "swiftide-macros" -version = "0.15.0" +version = "0.16.0" dependencies = [ "anyhow", "async-trait", @@ -8748,7 +8748,7 @@ dependencies = [ [[package]] name = "swiftide-query" -version = "0.15.0" +version = "0.16.0" dependencies = [ "anyhow", "async-trait", @@ -8768,7 +8768,7 @@ dependencies = [ [[package]] name = "swiftide-test-utils" -version = "0.15.0" +version = "0.16.0" dependencies = [ "anyhow", "async-openai", diff --git a/Cargo.toml b/Cargo.toml index 2be3ac1e..f479eb72 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ default-members = ["swiftide", "swiftide-*"] resolver = "2" [workspace.package] -version = "0.15.0" +version = "0.16.0" edition = "2021" license = "MIT" readme = "README.md" diff --git a/swiftide-agents/Cargo.toml b/swiftide-agents/Cargo.toml index 5ec3bbcc..34c39437 100644 --- a/swiftide-agents/Cargo.toml +++ b/swiftide-agents/Cargo.toml @@ -11,8 +11,8 @@ repository.workspace = true homepage.workspace = true [dependencies] -swiftide-core = { path = "../swiftide-core", version = "0.15" } -swiftide-macros = { path = "../swiftide-macros", version = "0.15" } +swiftide-core = { path = "../swiftide-core", version = "0.16" } +swiftide-macros = { path = "../swiftide-macros", version = "0.16" } anyhow.workspace = true async-trait.workspace = true dyn-clone.workspace = true @@ -27,10 +27,10 @@ serde.workspace = true serde_json.workspace = true [dev-dependencies] -swiftide-core = { path = "../swiftide-core", version = "0.15", features = [ +swiftide-core = { path = "../swiftide-core", version = "0.16", features = [ "test-utils", ] } -swiftide-integrations = { path = "../swiftide-integrations", version = "0.15", features = [ +swiftide-integrations = { path = "../swiftide-integrations", version = "0.16", features = [ "openai", ] } mockall.workspace = true diff --git a/swiftide-indexing/Cargo.toml b/swiftide-indexing/Cargo.toml index dce6528b..dbd0c4c6 100644 --- a/swiftide-indexing/Cargo.toml +++ b/swiftide-indexing/Cargo.toml @@ -11,8 +11,8 @@ repository.workspace = true homepage.workspace = true [dependencies] -swiftide-core = { path = "../swiftide-core", version = "0.15" } -swiftide-macros = { path = "../swiftide-macros", version = "0.15" } +swiftide-core = { path = "../swiftide-core", version = "0.16" } +swiftide-macros = { path = "../swiftide-macros", version = "0.16" } anyhow = { workspace = true } async-trait = { workspace = true } diff --git a/swiftide-integrations/Cargo.toml b/swiftide-integrations/Cargo.toml index b4245aa2..2ba261e7 100644 --- a/swiftide-integrations/Cargo.toml +++ b/swiftide-integrations/Cargo.toml @@ -11,8 +11,8 @@ repository.workspace = true homepage.workspace = true [dependencies] -swiftide-core = { path = "../swiftide-core", version = "0.15" } -swiftide-macros = { path = "../swiftide-macros", version = "0.15" } +swiftide-core = { path = "../swiftide-core", version = "0.16" } +swiftide-macros = { path = "../swiftide-macros", version = "0.16" } anyhow = { workspace = true } async-trait = { workspace = true } diff --git a/swiftide-macros/Cargo.toml b/swiftide-macros/Cargo.toml index 789120df..b047eb11 100644 --- a/swiftide-macros/Cargo.toml +++ b/swiftide-macros/Cargo.toml @@ -32,8 +32,8 @@ rustversion = "1.0.18" trybuild = "1.0" prettyplease = "0.2.25" insta.workspace = true -swiftide-core = { path = "../swiftide-core/", version = "0.15" } -swiftide = { path = "../swiftide/", version = "0.15" } +swiftide-core = { path = "../swiftide-core/", version = "0.16" } +swiftide = { path = "../swiftide/", version = "0.16" } [lints] workspace = true diff --git a/swiftide-query/Cargo.toml b/swiftide-query/Cargo.toml index e0fea0c9..d6ec39f2 100644 --- a/swiftide-query/Cargo.toml +++ b/swiftide-query/Cargo.toml @@ -24,7 +24,7 @@ serde = { workspace = true } serde_json = { workspace = true } # Internal -swiftide-core = { path = "../swiftide-core", version = "0.15.0" } +swiftide-core = { path = "../swiftide-core", version = "0.16.0" } [dev-dependencies] swiftide-core = { path = "../swiftide-core", features = ["test-utils"] } diff --git a/swiftide/Cargo.toml b/swiftide/Cargo.toml index 7e9b3242..d8853fc5 100644 --- a/swiftide/Cargo.toml +++ b/swiftide/Cargo.toml @@ -16,11 +16,11 @@ homepage.workspace = true document-features = { workspace = true } # Local dependencies -swiftide-core = { path = "../swiftide-core", version = "0.15" } -swiftide-integrations = { path = "../swiftide-integrations", version = "0.15" } -swiftide-indexing = { path = "../swiftide-indexing", version = "0.15" } -swiftide-query = { path = "../swiftide-query", version = "0.15" } -swiftide-agents = { path = "../swiftide-agents", version = "0.15", optional = true } +swiftide-core = { path = "../swiftide-core", version = "0.16" } +swiftide-integrations = { path = "../swiftide-integrations", version = "0.16" } +swiftide-indexing = { path = "../swiftide-indexing", version = "0.16" } +swiftide-query = { path = "../swiftide-query", version = "0.16" } +swiftide-agents = { path = "../swiftide-agents", version = "0.16", optional = true } # Re-exports for macros and ease of use anyhow.workspace = true