From 83ca44985476b9c87dd4ead97f860a0c2b7fc2b3 Mon Sep 17 00:00:00 2001 From: Kyle Tse Date: Fri, 2 Oct 2026 19:22:36 +0000 Subject: [PATCH] chore: release 0.6.0 --- CHANGELOG.md | 2 +- Cargo.lock | 4 ++-- Cargo.toml | 2 +- crates/lockdocs/Cargo.toml | 2 +- package.json | 2 +- packages/lockdocs/package.json | 12 ++++++------ packages/npm/darwin-arm64/package.json | 2 +- packages/npm/darwin-x64/package.json | 2 +- packages/npm/linux-arm64-gnu/package.json | 2 +- packages/npm/linux-x64-gnu/package.json | 2 +- packages/npm/win32-x64-msvc/package.json | 2 +- server.json | 4 ++-- 12 files changed, 19 insertions(+), 19 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d258695..646b9e2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## Unreleased +## 0.6.0 - **Ready for crates.io.** The two crates, `lockdocs-core` and `lockdocs`, carry full package metadata, a small `include` list, and a versioned path dependency, so `cargo publish --dry-run --locked` passes in dependency order. `cargo binstall lockdocs` downloads the matching GitHub release binary. The release workflow publishes them through crates.io trusted publishing (no token) once an owner sets `CRATES_IO_PUBLISH_ENABLED` and the trusted-publisher records exist. - **Hybrid search is no longer worse than keyword search.** The fusion is now keyword-first: on package files weighted reciprocal rank (90% keyword ranking with all docs boosts, 10% embedding ranking) replaces the min-max score mix that let the embedding outvote exact API-name matches; when upstream docs are indexed the normalized score mix is kept (rank-only fusion buried pages like tokio's select.md, 91 vs 96 of 105 fetched). The embedding is skipped when one entry leads by at least 2x. On the 105-question benchmark (package files, no upstream) hybrid goes from 60 to 64 of 105 against 59 for keyword-only, with the held-out set at 8/18 (was 6/18, keyword 8/18). diff --git a/Cargo.lock b/Cargo.lock index 731604d..46d4314 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -669,7 +669,7 @@ dependencies = [ [[package]] name = "lockdocs" -version = "0.5.0" +version = "0.6.0" dependencies = [ "anyhow", "base64 0.22.1", @@ -682,7 +682,7 @@ dependencies = [ [[package]] name = "lockdocs-core" -version = "0.5.0" +version = "0.6.0" dependencies = [ "anyhow", "dirs 7.0.0", diff --git a/Cargo.toml b/Cargo.toml index 0264a23..5591260 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ members = ["crates/lockdocs-core", "crates/lockdocs"] resolver = "2" [workspace.package] -version = "0.5.0" +version = "0.6.0" edition = "2021" license = "MIT" authors = ["SylphxAI"] diff --git a/crates/lockdocs/Cargo.toml b/crates/lockdocs/Cargo.toml index 4dfa2a9..d043fa5 100644 --- a/crates/lockdocs/Cargo.toml +++ b/crates/lockdocs/Cargo.toml @@ -20,7 +20,7 @@ path = "src/main.rs" [dependencies] anyhow = "1" -lockdocs-core = { path = "../lockdocs-core", version = "0.5.0" } +lockdocs-core = { path = "../lockdocs-core", version = "0.6.0" } serde_json = "1" sylphx-mcp-kit = { version = "0.5.0", features = ["licence"] } diff --git a/package.json b/package.json index c15775d..d0cf073 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "lockdocs-workspace", - "version": "0.5.0", + "version": "0.6.0", "private": true, "type": "module", "description": "lockdocs monorepo: Rust engine (crates/), npm packages (packages/), docs (docs/), benchmark (bench/).", diff --git a/packages/lockdocs/package.json b/packages/lockdocs/package.json index bdf39ff..a006718 100644 --- a/packages/lockdocs/package.json +++ b/packages/lockdocs/package.json @@ -1,6 +1,6 @@ { "name": "@sylphx/lockdocs", - "version": "0.5.0", + "version": "0.6.0", "mcpName": "io.github.SylphxAI/lockdocs", "description": "Exact-version library docs from your lockfile — local, offline, no rate limits.", "bin": { @@ -15,11 +15,11 @@ "node": ">=18" }, "optionalDependencies": { - "@sylphx/lockdocs-darwin-arm64": "0.5.0", - "@sylphx/lockdocs-darwin-x64": "0.5.0", - "@sylphx/lockdocs-linux-x64-gnu": "0.5.0", - "@sylphx/lockdocs-linux-arm64-gnu": "0.5.0", - "@sylphx/lockdocs-win32-x64-msvc": "0.5.0" + "@sylphx/lockdocs-darwin-arm64": "0.6.0", + "@sylphx/lockdocs-darwin-x64": "0.6.0", + "@sylphx/lockdocs-linux-x64-gnu": "0.6.0", + "@sylphx/lockdocs-linux-arm64-gnu": "0.6.0", + "@sylphx/lockdocs-win32-x64-msvc": "0.6.0" }, "keywords": [ "mcp", diff --git a/packages/npm/darwin-arm64/package.json b/packages/npm/darwin-arm64/package.json index 7529f9c..1355352 100644 --- a/packages/npm/darwin-arm64/package.json +++ b/packages/npm/darwin-arm64/package.json @@ -1,6 +1,6 @@ { "name": "@sylphx/lockdocs-darwin-arm64", - "version": "0.5.0", + "version": "0.6.0", "description": "lockdocs native binary for darwin-arm64", "os": [ "darwin" diff --git a/packages/npm/darwin-x64/package.json b/packages/npm/darwin-x64/package.json index ec84954..451276d 100644 --- a/packages/npm/darwin-x64/package.json +++ b/packages/npm/darwin-x64/package.json @@ -1,6 +1,6 @@ { "name": "@sylphx/lockdocs-darwin-x64", - "version": "0.5.0", + "version": "0.6.0", "description": "lockdocs native binary for darwin-x64", "os": [ "darwin" diff --git a/packages/npm/linux-arm64-gnu/package.json b/packages/npm/linux-arm64-gnu/package.json index b3806a5..c507027 100644 --- a/packages/npm/linux-arm64-gnu/package.json +++ b/packages/npm/linux-arm64-gnu/package.json @@ -1,6 +1,6 @@ { "name": "@sylphx/lockdocs-linux-arm64-gnu", - "version": "0.5.0", + "version": "0.6.0", "description": "lockdocs native binary for linux-arm64-gnu", "os": [ "linux" diff --git a/packages/npm/linux-x64-gnu/package.json b/packages/npm/linux-x64-gnu/package.json index 01a74a0..5bf29a6 100644 --- a/packages/npm/linux-x64-gnu/package.json +++ b/packages/npm/linux-x64-gnu/package.json @@ -1,6 +1,6 @@ { "name": "@sylphx/lockdocs-linux-x64-gnu", - "version": "0.5.0", + "version": "0.6.0", "description": "lockdocs native binary for linux-x64-gnu", "os": [ "linux" diff --git a/packages/npm/win32-x64-msvc/package.json b/packages/npm/win32-x64-msvc/package.json index b6f3619..6a541b7 100644 --- a/packages/npm/win32-x64-msvc/package.json +++ b/packages/npm/win32-x64-msvc/package.json @@ -1,6 +1,6 @@ { "name": "@sylphx/lockdocs-win32-x64-msvc", - "version": "0.5.0", + "version": "0.6.0", "description": "lockdocs native binary for win32-x64-msvc", "os": [ "win32" diff --git a/server.json b/server.json index 1d29b8b..82d7321 100644 --- a/server.json +++ b/server.json @@ -7,13 +7,13 @@ "url": "https://github.com/SylphxAI/lockdocs", "source": "github" }, - "version": "0.5.0", + "version": "0.6.0", "websiteUrl": "https://sylphxai.github.io/lockdocs/", "packages": [ { "registryType": "npm", "identifier": "@sylphx/lockdocs", - "version": "0.5.0", + "version": "0.6.0", "transport": { "type": "stdio" },