From 91cf5a9608d6a7303016700ece096d73ad31aa24 Mon Sep 17 00:00:00 2001 From: Timon Vonk Date: Sun, 27 Oct 2024 22:27:43 +0100 Subject: [PATCH] Revert "fix: Revert 0.14 release as mistralrs is unpublished (#417)" This reverts commit 5bbcd55de65d73d7908e91c96f120928edb6b388. --- CHANGELOG.md | 32 ++++++++++++++++++++++++++++++++ Cargo.lock | 18 +++++++++--------- Cargo.toml | 2 +- swiftide-indexing/Cargo.toml | 4 ++-- swiftide-integrations/Cargo.toml | 4 ++-- swiftide-query/Cargo.toml | 2 +- swiftide/Cargo.toml | 8 ++++---- 7 files changed, 51 insertions(+), 19 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2878c4f2..658056be 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,38 @@ All notable changes to this project will be documented in this file. +## [0.14.0](https://github.com/bosun-ai/swiftide/compare/v0.13.4...v0.14.0) - 2024-10-27 + +### New features + +- [a866d38](https://github.com/bosun-ai/swiftide/commit/a866d38b2cbaf7154ace957472c75b99f1c9c070) *(integrations)* Support in process hugging face models via mistralrs ([#386](https://github.com/bosun-ai/swiftide/pull/386)) + +### Bug fixes + +- [551a9cb](https://github.com/bosun-ai/swiftide/commit/551a9cb769293e42e15bae5dca3ab677be0ee8ea) *(indexing)* [**breaking**] Node ID no longer memoized ([#414](https://github.com/bosun-ai/swiftide/pull/414)) + +````text +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](https://github.com/bosun-ai/swiftide/commit/c091ffa6be792b0bd7bb03d604e26e40b2adfda8) *(indexing)* Use atomics for key generation in memory storage ([#415](https://github.com/bosun-ai/swiftide/pull/415)) + +### Miscellaneous + +- [0000000](https://github.com/bosun-ai/swiftide/commit/0000000) Update Cargo.toml dependencies + + +**Full Changelog**: https://github.com/bosun-ai/swiftide/compare/0.13.4...0.14.0 + + + ## [0.13.4](https://github.com/bosun-ai/swiftide/compare/v0.13.3...v0.13.4) - 2024-10-21 ### Bug fixes diff --git a/Cargo.lock b/Cargo.lock index 358263ca..5009eee9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1261,7 +1261,7 @@ dependencies = [ [[package]] name = "benchmarks" -version = "0.13.4" +version = "0.14.0" dependencies = [ "anyhow", "criterion", @@ -7578,7 +7578,7 @@ checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" [[package]] name = "swiftide" -version = "0.13.4" +version = "0.14.0" dependencies = [ "anyhow", "arrow-array", @@ -7605,7 +7605,7 @@ dependencies = [ [[package]] name = "swiftide-core" -version = "0.13.4" +version = "0.14.0" dependencies = [ "anyhow", "async-trait", @@ -7631,7 +7631,7 @@ dependencies = [ [[package]] name = "swiftide-examples" -version = "0.13.4" +version = "0.14.0" dependencies = [ "fluvio", "qdrant-client", @@ -7645,7 +7645,7 @@ dependencies = [ [[package]] name = "swiftide-indexing" -version = "0.13.4" +version = "0.14.0" dependencies = [ "anyhow", "async-trait", @@ -7673,7 +7673,7 @@ dependencies = [ [[package]] name = "swiftide-integrations" -version = "0.13.4" +version = "0.14.0" dependencies = [ "anyhow", "arrow", @@ -7729,7 +7729,7 @@ dependencies = [ [[package]] name = "swiftide-macros" -version = "0.13.4" +version = "0.14.0" dependencies = [ "darling", "proc-macro2", @@ -7739,7 +7739,7 @@ dependencies = [ [[package]] name = "swiftide-query" -version = "0.13.4" +version = "0.14.0" dependencies = [ "anyhow", "async-trait", @@ -7765,7 +7765,7 @@ dependencies = [ [[package]] name = "swiftide-test-utils" -version = "0.13.4" +version = "0.14.0" dependencies = [ "anyhow", "async-openai", diff --git a/Cargo.toml b/Cargo.toml index 7ecd2241..848e3cd6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ members = ["swiftide", "swiftide-*", "examples", "benchmarks"] resolver = "2" [workspace.package] -version = "0.13.4" +version = "0.14.0" edition = "2021" license = "MIT" readme = "README.md" diff --git a/swiftide-indexing/Cargo.toml b/swiftide-indexing/Cargo.toml index efeda3fd..b2b87395 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.13" } -swiftide-macros = { path = "../swiftide-macros", version = "0.13" } +swiftide-core = { path = "../swiftide-core", version = "0.14" } +swiftide-macros = { path = "../swiftide-macros", version = "0.14" } anyhow = { workspace = true } async-trait = { workspace = true } diff --git a/swiftide-integrations/Cargo.toml b/swiftide-integrations/Cargo.toml index e786fffa..bcd5f7b7 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.13" } -swiftide-macros = { path = "../swiftide-macros", version = "0.13" } +swiftide-core = { path = "../swiftide-core", version = "0.14" } +swiftide-macros = { path = "../swiftide-macros", version = "0.14" } anyhow = { workspace = true } async-trait = { workspace = true } diff --git a/swiftide-query/Cargo.toml b/swiftide-query/Cargo.toml index 7036d6df..d3611401 100644 --- a/swiftide-query/Cargo.toml +++ b/swiftide-query/Cargo.toml @@ -25,7 +25,7 @@ serde = { workspace = true } serde_json = { workspace = true } # Internal -swiftide-core = { path = "../swiftide-core", version = "0.13.4" } +swiftide-core = { path = "../swiftide-core", version = "0.14.0" } [dev-dependencies] swiftide-core = { path = "../swiftide-core", features = ["test-utils"] } diff --git a/swiftide/Cargo.toml b/swiftide/Cargo.toml index 6a38f209..e2e9204d 100644 --- a/swiftide/Cargo.toml +++ b/swiftide/Cargo.toml @@ -16,10 +16,10 @@ homepage.workspace = true document-features = "0.2.10" # Local dependencies -swiftide-core = { path = "../swiftide-core", version = "0.13" } -swiftide-integrations = { path = "../swiftide-integrations", version = "0.13" } -swiftide-indexing = { path = "../swiftide-indexing", version = "0.13" } -swiftide-query = { path = "../swiftide-query", version = "0.13" } +swiftide-core = { path = "../swiftide-core", version = "0.14" } +swiftide-integrations = { path = "../swiftide-integrations", version = "0.14" } +swiftide-indexing = { path = "../swiftide-indexing", version = "0.14" } +swiftide-query = { path = "../swiftide-query", version = "0.14" } [features] default = []