Releases: lawrence-laz/neotest-zig
Releases · lawrence-laz/neotest-zig
1.3.1
Note
This release is targeting zig 0.13
only. If you are on zig master
, then use the latest commit of neotest-zig.
What's Changed
- Updated treesitter query in 01cfc19
Zig treesitter parser has been changed in nvim-treesitter.
The new parser is not compatible with the old one, therefore you will need to updatenvim-treesitter
and run:TSUpdate zig
.
Related commit in: nvim-treesitter/nvim-treesitter@ba921c9
Full Changelog: 1.3.0...1.3.1
1.3.0
What's Changed
- Add windows support by @MagicalBearClaw in #30
New Contributors
- @MagicalBearClaw made their first contribution in #30
Full Changelog: 1.2.0...1.3.0
1.2.0
What's Changed
- Fix for zig master by @Ratakor in #6
- fix: 0.9.5 compatibility by @tim-harding in #11
- Show error report on compilation error by @fnzr in #13
- fix: Slow project root detection due to glob by @lawrence-laz in #15
- Debug improvements by @fnzr in #16
- fix: Support build functions with error return by @lawrence-laz in #18
- fixup: Backwards compatability with v0.12 by @lawrence-laz in #21
- feat: Report detected memory leaks by @lawrence-laz in #22
- fix: Cannot run tests when git submodule contains
build.zig
by @lawrence-laz in #25 - fixup:
build.zig
file is not used when present by @lawrence-laz in #27
New Contributors
- @Ratakor made their first contribution in #6
- @tim-harding made their first contribution in #11
- @fnzr made their first contribution in #13
Full Changelog: v1.1.0...1.2.0
v1.1.0
What's Changed
- feat: Filter for files that contain tests
- Up until now, all .zig files were visible in summary panel. That is
because Zig stores tests in the same file where code resides and there
is no way to determine whether a file contains tests just by looking at
its name. - This added an additional filter that reads the file and looks for tests
by running TreeSitter query.
- Up until now, all .zig files were visible in summary panel. That is
- fix: Hang on non-zig repo
- Root pattern '**/*.zig' seems to be climbing up the directory tree until
it finds a .zig file. This causes neotest to hang in directories that
contain no .zig files. - Simply switching root pattern to '*.zig' causes issues, where nested
test files are not being discovered. For this purpose an alternative
root pattern.git
is set, which picks the root based on git
repository.
- Root pattern '**/*.zig' seems to be climbing up the directory tree until
- fix: Allow for decl tests by @freakmangd in #3
New Contributors
- @freakmangd made their first contribution in #3
Full Changelog: v1.0.5...v1.1.0