3.0.0 (2024-10-11)
Bug Fixes
- check buffer valid before set diagnostic (#389) (4e6bf45)
- check for buffer existence on attach function (#244) (f3570eb)
- client: check file exists before acting (#302) (455155f)
- command: evaluate unquoated string args (9018914), closes #297
- config: disable quickfix opening by default (fb0b31a), closes #219
- config: pass global default strategy to project (42cf226), closes #248
- control/queue: notify one listener on get (3dbac1e)
- dap: cleanup exit handler (#234) (e1bba89)
- dap: handle no exited event (80366bb), closes #200
- dap: pass filetype to dap.run (#315) (3b3fef1)
- dap: safely handle dap.run_last (80f9c96), closes #234
- diagnostic: avoid arithmetic error when adding 1 to nil (#396) (44536f5)
- diagnostic: handle buf closing (#279) (a11ceb2)
- diagnostic: safer place_sign (#405) (f30bab1)
- find: handle directory read errors (f6048f3)
- find: use full path instead of real path to avoid symlinks (#368) (5f93fb9)
- ignore unnamed buffers on autocmd (#454) (9917051)
- integrated: catch deleted channel (35aa583)
- lib/process: read output before waiting for exit (#447) (808cc4e)
- luarocks: add nio to rockspec dependencies (5caac5c), closes #382
- nio/tasks: error formatting (bec7be0), closes #273
- no autocommand file name to substitute for (#416) (2149a76)
- output: only set current win when needed (bbbfa55), closes #219
- properly handle nil value from cpu_info() (#427) (b0a5a59)
- query: explicitly opt-in to legacy behavior (#450) (5be28ff)
- query: use
nil
to skip optional parameters when calling the iter_matches method (#458) (6d3d22c) - quickfix: handling of range-less/child tests (#304) (2b4d0ec)
- replace tbl_flatten to flatten():totable() (#410) (6f35d79)
- run: always convert args to table (#262) (e46eae5), closes #261
- status: only place marks for tests with their own range (#306) (0093289), closes #305
- strategies/dap: stop function (#350) (73043d6)
- strategies/integrated: push output synchronously (e8ed1ac)
- strategies/integrated: unsubscribe attach from output (6aa6e45), closes #265
- strategies/integ: write output synchronously (1ee3fcc), closes #342
- stratgies/integrated: use nio.fn/api (6435a36)
- subprocess: abort on blocking mode (10e6763), closes #158
- subprocess: disable swap files (#311) (7610198)
- subprocess: require nvim-treesitter if installed (d1417bc), closes #303
- treesitter: use query.parse (#226) (734efe8)
- use vim.islist (420288e)
- utilize bufhidden=wipe instead of forcibly deleting buffer (#238) (972a7dc)
- utils: use nio.fn (02eb256), closes #410
- watch: get queries from config directly (6e45884)
- watch: use nio.lsp.get_clients (e07fe82), closes #383
- watch: use old lsp supports method for v0.10.1 (#456) (245a65e)
- window: handle when a PersistedWindow's buffer has been deleted (#434) (46adcd0)
Code Refactoring
Features
- 'Neotest' command (#254) (0207e40)
- client: override strategy from adapter spec (98344b4), closes /github.com/nvim-neotest/neotest/discussions/24#discussioncomment-5641606
- client: show stacktrace information when adapter fails (#397) (658131e)
- diagnostic: set column position to first non-whitespace (#231) (2872401)
- lsp: server capabilities (b5bd043)
- nio async library (25e23f1)
- nio/tests: dynamically bind busted hook functions (#369) (bbed61d)
- nio/tests: with async context function (#374) (a13a960)
- nio: logger (c793c92)
- output_panel: clear function (#249) (da628ed)
- publish releases to luarocks (#185) (9f35041)
- raise uncaught errors, wrap async API functions (ec43e87)
- run: augment args (32ff2ac), closes #431
- strategy context (#233) (8d279ac)
- summary: count tests (69bacc6)
- summary: mappings help window (56b720a)
- types: enums (a2f1cb4), closes #334
- use client.supports_method instead of client.server_capabilities (#451) (48f8b5f)
- use codicons for vim.notify (f03a78c), closes #370
- use external nio (#337) (8026caa)
- watch consumer (1b35b4f)
- watch: allow passing in
run_predicate
that takes a bufnr (#358) (b5d60f7) - watcher: allow functions instead of queries (9a5ed8e)
- watcher: symbol queries for haskell and rust (#357) (b47c992)
- watcher: symbol queries for ruby rspec tests (#308) (4e97566)
- watch: java symbol query (#418) (a196f69)
- watch: js/ts/tsx query (#373) (45c15f5)
- watch: link by imports (672f262)
- watch: log lsp errors (5ad5f0c)
- watch: toggle function (3649425)
- watch: updating args, docs, config (f220b55)
BREAKING CHANGES
-
Requires https://github.com/nvim-neotest/nvim-nio to be
installed -
Requires NeoVim >= v0.9.0
-
refactor!: remove nvim-treesitter dependency
-
ci: fix tests
-
Removes usage of plenary's async library which is not
compatible with the new library.