Skip to content

Commit bd9a16c

Browse files
authored
chore: prepare v0.2.0 release (#11)
- Bump version to 0.2.0 in workspace manifest - Update editor configs in README for JSON support - Update CHANGELOG with recent fixes and changes
1 parent aa572d5 commit bd9a16c

File tree

3 files changed

+14
-6
lines changed

3 files changed

+14
-6
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2828
- FULL document sync for immediate file change detection
2929
- Parallel version fetching
3030

31+
### Fixed
32+
- npm parser: Correct position finding for dependencies sharing version string (e.g., vitest)
33+
3134
### Changed
3235
- MSRV bumped to 1.89 for let-chains support
3336
- Refactored handlers to use let-chains for cleaner code
37+
- Extracted deps-zed to [separate repository](https://github.com/bug-ops/deps-zed) as git submodule
3438

3539
## [0.1.0] - 2024-12-22
3640

Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ exclude = ["crates/deps-zed"]
44
resolver = "2"
55

66
[workspace.package]
7-
version = "0.1.0"
7+
version = "0.2.0"
88
edition = "2024"
99
rust-version = "1.89"
1010
authors = ["Andrei G"]
@@ -15,10 +15,10 @@ repository = "https://github.com/bug-ops/deps-lsp"
1515
async-trait = "0.1"
1616
criterion = "0.8"
1717
dashmap = "6.1"
18-
deps-core = { version = "0.1.0", path = "crates/deps-core" }
19-
deps-cargo = { version = "0.1.0", path = "crates/deps-cargo" }
20-
deps-npm = { version = "0.1.0", path = "crates/deps-npm" }
21-
deps-lsp = { version = "0.1.0", path = "crates/deps-lsp" }
18+
deps-core = { version = "0.2.0", path = "crates/deps-core" }
19+
deps-cargo = { version = "0.2.0", path = "crates/deps-cargo" }
20+
deps-npm = { version = "0.2.0", path = "crates/deps-npm" }
21+
deps-lsp = { version = "0.2.0", path = "crates/deps-lsp" }
2222
futures = "0.3"
2323
insta = "1"
2424
mockito = "1"

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Install the **Deps** extension from Zed Extensions marketplace.
6767
```lua
6868
require('lspconfig').deps_lsp.setup({
6969
cmd = { "deps-lsp", "--stdio" },
70-
filetypes = { "toml" },
70+
filetypes = { "toml", "json" },
7171
})
7272
```
7373

@@ -79,6 +79,10 @@ require('lspconfig').deps_lsp.setup({
7979
name = "toml"
8080
language-servers = ["deps-lsp"]
8181

82+
[[language]]
83+
name = "json"
84+
language-servers = ["deps-lsp"]
85+
8286
[language-server.deps-lsp]
8387
command = "deps-lsp"
8488
args = ["--stdio"]

0 commit comments

Comments
 (0)