From 91196a16787f610af0037b952a902d7b05d13647 Mon Sep 17 00:00:00 2001 From: "Swabbie (Bosun)" <155570396+SwabbieBosun@users.noreply.github.com> Date: Sun, 27 Oct 2024 21:35:15 +0100 Subject: [PATCH] chore: release v0.14.0 (#416) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## 🤖 New release * `swiftide`: 0.13.4 -> 0.14.0 (✓ API compatible changes) * `swiftide-core`: 0.13.4 -> 0.14.0 (⚠️ API breaking changes) * `swiftide-indexing`: 0.13.4 -> 0.14.0 (✓ API compatible changes) * `swiftide-macros`: 0.13.4 -> 0.14.0 * `swiftide-integrations`: 0.13.4 -> 0.14.0 (✓ API compatible changes) * `swiftide-query`: 0.13.4 -> 0.14.0 (✓ API compatible changes) ### ⚠️ `swiftide-core` breaking changes ``` --- 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.36.0/src/lints/inherent_method_missing.ron Failed in: Node::update_id, previously in file /tmp/.tmpp9ZuUf/swiftide-core/src/node.rs:204 --- 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.36.0/src/lints/struct_pub_field_missing.ron Failed in: field id of struct Node, previously in file /tmp/.tmpp9ZuUf/swiftide-core/src/node.rs:41 ```
Changelog

## `swiftide`

## [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

--- This PR was generated with [release-plz](https://github.com/MarcoIeni/release-plz/). --- 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 31b6ab3e..cb41bc9f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1286,7 +1286,7 @@ dependencies = [ [[package]] name = "benchmarks" -version = "0.13.4" +version = "0.14.0" dependencies = [ "anyhow", "criterion", @@ -8304,7 +8304,7 @@ checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" [[package]] name = "swiftide" -version = "0.13.4" +version = "0.14.0" dependencies = [ "anyhow", "async-openai", @@ -8329,7 +8329,7 @@ dependencies = [ [[package]] name = "swiftide-core" -version = "0.13.4" +version = "0.14.0" dependencies = [ "anyhow", "async-trait", @@ -8355,7 +8355,7 @@ dependencies = [ [[package]] name = "swiftide-examples" -version = "0.13.4" +version = "0.14.0" dependencies = [ "fluvio", "qdrant-client", @@ -8369,7 +8369,7 @@ dependencies = [ [[package]] name = "swiftide-indexing" -version = "0.13.4" +version = "0.14.0" dependencies = [ "anyhow", "async-trait", @@ -8397,7 +8397,7 @@ dependencies = [ [[package]] name = "swiftide-integrations" -version = "0.13.4" +version = "0.14.0" dependencies = [ "anyhow", "arrow", @@ -8454,7 +8454,7 @@ dependencies = [ [[package]] name = "swiftide-macros" -version = "0.13.4" +version = "0.14.0" dependencies = [ "darling 0.20.10", "proc-macro2", @@ -8464,7 +8464,7 @@ dependencies = [ [[package]] name = "swiftide-query" -version = "0.13.4" +version = "0.14.0" dependencies = [ "anyhow", "async-trait", @@ -8490,7 +8490,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 3ad0a158..502c6dee 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,7 @@ default-members = ["swiftide", "swiftide-*"] 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 bc2cfeaa..a7048b67 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 ae868498..0cde0c45 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 = []