What’s Changed
- add builtin data for 0.9.0 by @nektro in #443
- update builtin data for zig master by @nektro in #444
- Update prebuilt release URLs by @jonpalmisc in #446
- add a default option for
@import(builtin)
by @nektro in #445 - add type function symbols to document symbol outline by @ikrima in #448
- Fix build on zig master (0.10.0-dev.500+66cf011aa) by @SebastianKeller in #451
- builtin_uri: Fix typo in log message by @novakne in #449
- update for anytype field yeeting by @slimsag in #453
- Skip char and string literals when highlighting comments by @cascade256 in #463
- fix: ast.lasttoken() does not handle addrspace section by @ikrima in #467
- Fix ZLS config not found crash #410 by @davidgm94 in #455
- update to zig master 0.10.0-dev.1679+d227f76af by @nektro in #473
- fix ast.lastToken() does not handle empty error_value by @v1nh1shungry in #476
- Fix missing doc comment for
inline fn
by @Jarred-Sumner in #479 - update build.zig for recent zig changes by @suirad in #492
- Fix
std.math.cast
,std.ChildProcess
, tests on Windows and enable Windows in CI by @leecannon in #496 - implement workspace/configuration by @vesim987 in #436
- Remove zinput dependency by @SuperAuguste in #500
- Ignore unimplemented notifications by @gpanders in #501
- Add tracy by @SuperAuguste in #502
- Add step to Kate installation instructions by @029onikyu in #474
- Add support for Spacemacs by @rbino in #477
- Update the README by @alvv-z in #460
- only send format editings when necessary by @tw4452852 in #420
- Remove duplicated deinit defer for GPA by @gerred in #504
- fix off by one error in documentRange by @kristoff-it in #505
- Ease debugging package loading from build_runner by @MageJohn in #508
- fix memory leak by @leecannon in #509
- Sort completion items by @ryuukk in #506
- Label details support by @ryuukk in #507
- Add super basic unused variable support by @SuperAuguste in #511
- Fix function snippets not working with details by @SuperAuguste in #512
- Basic variable type resolution on hover by @SuperAuguste in #513
@import
/@embedFile
argument completions by @SuperAuguste in #514- Fix build.zig typo for enable_tracy using better wording by @Sepruko in #515
- Workspace configuration server request model implemented! by @SuperAuguste in #520
- Fix out of bound panic by @Techatrix in #525
- setup: Update vscode configuration snippet by @alichraghi in #528
- ZSTD build artifacts by @SuperAuguste in #529
- Beam to felix land! by @SuperAuguste in #530
- Bug Fixes! by @SuperAuguste in #534
- Basic improvements! by @SuperAuguste in #539
- Refactor out most main globals! by @SuperAuguste in #546
- update to IterableDir changes in Zig std by @Vexu in #544
- Fix tokenRelativeLocation by @SuperAuguste in #547
- Add flake support by @leroycep in #549
- Highlight orelse as a keyword by @Techatrix in #557
- docs(neovim/vim): Update instruction for Coc by @xiyaowong in #558
- Implement textDocument/documentHighlight by @gpanders in #484
- Implement textDocument/inlayHint by @Techatrix in #559
- Update setup wizard for ST4 by @alvv-z in #461
- Update README.md and setup by @Techatrix in #560
- build_runner: support 0.9 and master by @leecannon in #561
- Fix tests for real? by @SuperAuguste in #562
- update format specifiers for optional strings by @haze in #564
- fix format string by @leecannon in #565
- Format
zls.json
in setup wizard by @Techatrix in #568 - provide build_runner command on failure by @leecannon in #569
- Revive Session tests by @Techatrix in #570
- Correctly handle sentinel slices by @Techatrix in #573
- fix ‘Cannot resolve std library import’ by @Techatrix in #572
- Semantic token for keyword ‘undefined’ by @Techatrix in #574
- Fix memory leaks by @Techatrix in #576
- Only return highlights for symbols in current document by @gpanders in #578
- trigger completion after
]
by @leecannon in #581 - Refactor Ast helper functions by @Techatrix in #582
- Improve CLI, fix leak, & other. by @InKryption in #583
- 2 minor tidy-ups + fix for over-eager unused parameter error in function types by @InKryption in #584
- Improve unused variable report accuracy by @InKryption in #585
- make
zig build
work with latest master by @leecannon in #587 - Better handling for enum field signatures by @Techatrix in #590
- Update dependencies by @Techatrix in #591
- Add Cimport support by @Techatrix in #589
- fix link of VS Code by @Zzzen in #593
- update README.md by @Techatrix in #598
- Fix Path <-> Uri mismatch by @Techatrix in #597
- Add issue templates by @SuperAuguste in #600
- workaround zig tarball bug by @leecannon in #599
- fix: fix memory leaks related to updating config variables by @nullptrdevs in #595
- Text format to return edited ranges instead of entire document by @jefftime in #579
- unmanage all the code by @Techatrix in #602
- patch allocator mismatch in translate_c by @Techatrix in #604
- emit correct c preprocessor macro in convertCInclude by @Techatrix in #605
- fix: fix warning emitted incorrectly when using .. by @nullptrdevs in #607
- Switch to using mitchellh’s zig-overlay by @leroycep in #610
- Improve Test coverage by @Techatrix in #609
- Fix textDocument/rename by @Techatrix in #612
- add JSON Schema by @Techatrix in #613
- Only conditionally ask for global configuration in setup wizard by @Techatrix in #615
- add –show-config-path for querying the config path by @Techatrix in #614
- ast-check for zls! by @SuperAuguste in #617
- Report zls version using git describe by @Techatrix in #618
- Report version just like zig by @Techatrix in #619
- fallback when failing to run git describe by @Techatrix in #620
- fix: fix server crash related to parsing incomplete function as a fun… by @nullptrdevs in #606
- Enable ast-check by default by @Techatrix in #621
- Build m1 binaries by @SuperAuguste in #622
- embedFile build_runner.zig in executable by @Techatrix in #624
- Update builtin data by @Techatrix in #625
- Reconstruct diagnostic range end of ast-gen by @Techatrix in #630
- fix: “f..o.o;” crashes the server by @nullptrdevs in #629
- Place build_runner.zig in cache directory by @Techatrix in #635
- NativeTargetInfo.detect() no longer takes an Allocator param by @nullptrdevs in #637
- Add
chmod +x
command to macOS install instructions by @haze in #640 - Move updated units_test.zig into tests directory by @Techatrix in #641
- Correctly handle anytype in inlay hint tooltips by @Techatrix in #642
- Refactor builtin_completions by @Techatrix in #648
- Only globally log to stderr by @Techatrix in #647
- Place build_runner.zig in zls subfolder by @Techatrix in #646
- Improve logging output by @Techatrix in #649
- update for zig master by @leecannon in #651
- sync with zig master version llvm15 by @maxzhao in #652
- Completely overhaul offsets.zig by @Techatrix in #643
- References improvements by @Techatrix in #653
- fix for zig master by @leecannon in #658
- Fix missing includes by passing -lc to translate-c by @TheSpydog in #660
- Add target to Env struct by @jcmoyer in #656
- Testing improvements by @Techatrix in #662
- Report cImport failure using
textDocument/publishDiagnostics
by @Techatrix in #665 - Support generating test coverage with kcov by @Techatrix in #668
- create entire cache folder path by @leecannon in #667
- Avoid config copy for document store by @Techatrix in #669
- don’t use inline for iterating builtin data by @Techatrix in #670
- Implement Code actions with autofix by @Techatrix in #673
- Add keyword Snippets for autocomplete by @Techatrix in #674
- Simplify completionHandler gotoHandler & hoverHandler by @Techatrix in #671
- support pkgconfig by @leecannon in #675
- explicit request didSave notification from client by @Techatrix in #676
- Allow user defined options to be passed to build_runner by @jcmoyer in #683
- unmanage diff.zig by @Techatrix in #680
- Code action improvements by @Techatrix in #678
- show a warning when using an old zig version by @Techatrix in #677
- Revamp bulid.zig discovery by @mattnite in #688
- simplify Server.zig by @Techatrix in #681
- handle
OptionsStep
in build_runner by @leecannon in #686 - inlay_hints: implement ability to remove redundant hints by @vesim987 in #690
- support zig 0.9.1 by @leecannon in #691
- improve conformance to the lsp by @Techatrix in #687
- Self hosted fixes by @Techatrix in #682
- Adds a ‘format to camelCase’ codeaction for function names by @NuclearPhone in #679
- remove types.TextDocument by @Techatrix in #693
- remove requests.Configuration by @Techatrix in #696
- Update some config sites by @SuperAuguste in #695
- Add missing .switch_case_inline, .switch_case_inline_one cases by @jonase in #699
- Correctly handle var decl without equal sign by @Techatrix in #701
- ability to highlight global var declarations by @nullptrdevs in #655
- Allow tabs for the indentation added by code actions. by @IntegratedQuantum in #684
- Label details should not be enabled if client doesn’t support it by @ryuukk in #707
- build.zig: ensure user zig matches program minimum by @nektro in #709
- builtins also get their detailed label by @ryuukk in #706
- DocumentStore refactor by @Techatrix in #702
- Replace
@minimum
and@maximum
with@min
and@max
indata/master.zig
. by @IntegratedQuantum in #713 - fix file system completion crash by @Techatrix in #714
- Fix diagnostics by @SuperAuguste in #716
- Added textDocument/foldingRange by @SasLuca in #718
- fix allocator mismatch in tagStoreCompletionItems by @Techatrix in #717
- Update flake.lock by @ktiy in #710
- add tests for completion by @Techatrix in #719
- fix invalid union access in build_runner.zig by @Techatrix in #723
- fix cimport completion by @Techatrix in #722
- Fix build runner optional issue by @SuperAuguste in #725
- Improve folding regions by @InKryption in #720
- Fix region folding off-by-one error by @InKryption in #726
- fix symbol references by @Techatrix in #712
- fixed jrpc config treating empty strings as non null by @musi-musi in #727
- Readme fix by @Prince213 in #731
New Contributors
- @nektro made their first contribution in #443
- @jonpalmisc made their first contribution in #446
- @ikrima made their first contribution in #448
- @novakne made their first contribution in #449
- @cascade256 made their first contribution in #463
- @davidgm94 made their first contribution in #455
- @v1nh1shungry made their first contribution in #476
- @Jarred-Sumner made their first contribution in #479
- @suirad made their first contribution in #492
- @gpanders made their first contribution in #501
- @029onikyu made their first contribution in #474
- @rbino made their first contribution in #477
- @alvv-z made their first contribution in #460
- @tw4452852 made their first contribution in #420
- @gerred made their first contribution in #504
- @kristoff-it made their first contribution in #505
- @MageJohn made their first contribution in #508
- @ryuukk made their first contribution in #506
- @Sepruko made their first contribution in #515
- @Techatrix made their first contribution in #525
- @alichraghi made their first contribution in #528
- @leroycep made their first contribution in #549
- @xiyaowong made their first contribution in #558
- @haze made their first contribution in #564
- @InKryption made their first contribution in #583
- @Zzzen made their first contribution in #593
- @nullptrdevs made their first contribution in #595
- @jefftime made their first contribution in #579
- @maxzhao made their first contribution in #652
- @TheSpydog made their first contribution in #660
- @jcmoyer made their first contribution in #656
- @NuclearPhone made their first contribution in #679
- @jonase made their first contribution in #699
- @IntegratedQuantum made their first contribution in #684
- @SasLuca made their first contribution in #718
- @ktiy made their first contribution in #710
- @musi-musi made their first contribution in #727
Sponsors
We’d like to take a second to thank all our awesome contributors and donators/backers/sponsors; if you have time or money to spare, consider partaking in either of these options - they help keep ZLS awesome for everyone!
Full Changelog: 0.9.0…0.10.0
Release Artifacts
OS | Arch | Filename | Signature | Size |
---|---|---|---|---|
Windows | x86_64 | zls-x86_64-windows.zip | minisig | 1.51 MiB |
Windows | x86 | zls-x86-windows.zip | minisig | 1.57 MiB |
macOS | aarch64 | zls-aarch64-macos.tar.xz | minisig | 369.17 KiB |
macOS | x86_64 | zls-x86_64-macos.tar.xz | minisig | 474.68 KiB |
Linux | x86_64 | zls-x86_64-linux.tar.xz | minisig | 1.11 MiB |
Linux | x86 | zls-x86-linux.tar.xz | minisig | 1.09 MiB |