From 30c2d01de824b4274c0b35d6eada526a5e4305a4 Mon Sep 17 00:00:00 2001 From: Timon Vonk Date: Sun, 27 Oct 2024 22:29:41 +0100 Subject: [PATCH] chore: Re-release 0.14 without mistralrs (#419) - **Revert "fix: Revert 0.14 release as mistralrs is unpublished (#417)"** - **Fix changelog** --- CHANGELOG.md | 28 ++++++++++++++++++++++++++++ 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, 47 insertions(+), 19 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2878c4f2..9ab4393f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,34 @@ 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 + +### 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 7c9d85a2..3e5ecb8b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1267,7 +1267,7 @@ checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b" [[package]] name = "benchmarks" -version = "0.13.4" +version = "0.14.0" dependencies = [ "anyhow", "criterion", @@ -8016,7 +8016,7 @@ checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" [[package]] name = "swiftide" -version = "0.13.4" +version = "0.14.0" dependencies = [ "anyhow", "arrow-array", @@ -8043,7 +8043,7 @@ dependencies = [ [[package]] name = "swiftide-core" -version = "0.13.4" +version = "0.14.0" dependencies = [ "anyhow", "async-trait", @@ -8069,7 +8069,7 @@ dependencies = [ [[package]] name = "swiftide-examples" -version = "0.13.4" +version = "0.14.0" dependencies = [ "fluvio", "qdrant-client", @@ -8086,7 +8086,7 @@ dependencies = [ [[package]] name = "swiftide-indexing" -version = "0.13.4" +version = "0.14.0" dependencies = [ "anyhow", "async-trait", @@ -8114,7 +8114,7 @@ dependencies = [ [[package]] name = "swiftide-integrations" -version = "0.13.4" +version = "0.14.0" dependencies = [ "anyhow", "arrow", @@ -8172,7 +8172,7 @@ dependencies = [ [[package]] name = "swiftide-macros" -version = "0.13.4" +version = "0.14.0" dependencies = [ "darling", "proc-macro2", @@ -8182,7 +8182,7 @@ dependencies = [ [[package]] name = "swiftide-query" -version = "0.13.4" +version = "0.14.0" dependencies = [ "anyhow", "async-trait", @@ -8208,7 +8208,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 cb18127e..efcdf436 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 84541912..4564b955 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 cc736ea2..ed7664b3 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 = []