diff --git a/CHANGELOG.md b/CHANGELOG.md index 9f14542..952b0a1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,15 @@ # Changelog -# [0.3.1] - 2023-12-22 +# [0.4.0] - 2023-12-22 + +## Added + +* `active_injectors()` to retrieve the number of injectors that can potentially add new items to the matcher in the future. ## Bugfixes * fix Unicode substring matcher expecting an exact match (rejecting trailing characters) +* fix crashes and false positives in unicode substring matcher # [0.3.0] - 2023-12-22 diff --git a/Cargo.lock b/Cargo.lock index 4d8d8f8..efd50d2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -152,7 +152,7 @@ dependencies = [ [[package]] name = "nucleo" -version = "0.3.0" +version = "0.4.0" dependencies = [ "nucleo-matcher", "parking_lot", @@ -161,7 +161,7 @@ dependencies = [ [[package]] name = "nucleo-matcher" -version = "0.3.0" +version = "0.3.1" dependencies = [ "cov-mark", "memchr", diff --git a/Cargo.toml b/Cargo.toml index 46dadf3..ca8ab67 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "nucleo" description = "plug and play high performance fuzzy matcher" -authors = ["Pascal Kuthe "] -version = "0.3.0" +authors = ["Pascal Kuthe "] +version = "0.4.0" edition = "2021" license = "MPL-2.0" repository = "https://github.com/helix-editor/nucleo" @@ -12,7 +12,7 @@ exclude = ["/typos.toml", "/tarpaulin.toml"] [lib] [dependencies] -nucleo-matcher = { version = "0.3.0", path = "matcher" } +nucleo-matcher = { version = "0.3.1", path = "matcher" } parking_lot = { version = "0.12.1", features = ["send_guard", "arc_lock"]} rayon = "1.7.0" diff --git a/bench/Cargo.toml b/bench/Cargo.toml index 36d69d8..0dfb81d 100644 --- a/bench/Cargo.toml +++ b/bench/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -nucleo = { version = "0.3", path = "../" } +nucleo = { version = "*", path = "../" } brunch = "0.5.0" fuzzy-matcher = "0.3.7" walkdir = "2" diff --git a/matcher/Cargo.toml b/matcher/Cargo.toml index 7ef919f..9ea35ec 100644 --- a/matcher/Cargo.toml +++ b/matcher/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "nucleo-matcher" description = "plug and play high performance fuzzy matcher" -authors = ["Pascal Kuthe "] -version = "0.3.0" +authors = ["Pascal Kuthe "] +version = "0.3.1" edition = "2021" license = "MPL-2.0" repository = "https://github.com/helix-editor/nucleo"