Releases: nix-community/nixd
Releases · nix-community/nixd
2.6.4
What's Changed
New Features
- libnixf/Parse: preserve
=
for bindings by @inclyc in #684 - nixd: enable completion and hover in config sets by @not-my-profile in #678
In NixOS modules options can be defined at the top-level, e.g:
{ foo = true; }
or inside of config
, e.g:
{ config = { foo = true; }; }
Autocompletion and hover information before only worked for the former because the option resolving code had no special handling for config
.
Fixes #566.
- Update to Nix 2.28 by @Ericson2314 in #669
Other Changes
- nixd/Controller: precommit test for #629 by @inclyc in #685
- nixd/test: specify textDocument/didOpen via nix code blocks by @not-my-profile in #679
- lspserver: rename
JSONStreamStyle::Delimited
→LitTest
by @inclyc in #682 - nixd/tools/nixd-attrset-eval: provide
getDoc
information from C++ nix by @inclyc in #677
New Contributors
- @Ericson2314 made their first contribution in #669
- @not-my-profile made their first contribution in #678
Full Changelog: 2.6.3...2.6.4
2.6.3
2.6.2
What's Changed
New Features
Bug Fixes
Other Changes
- build(deps): bump cachix/cachix-action from 15 to 16 by @dependabot in #660
- build(deps): bump tj-actions/changed-files from 45 to 46 by @dependabot in #659
- build(deps): bump cachix/install-nix-action from 30 to 31 by @dependabot in #658
New Contributors
Full Changelog: 2.6.1...2.6.2
2.6.1
What's Changed
Bug Fixes
- fix(completion): correctly parse incomplete attrsets and provide completions by @Aetherall in #644
Now nixd will provide completions right after an empty attrset:
Previously it would be considered as a lambda.
Documentation
New Contributors
- @Aetherall made their first contribution in #644
- @mhanberg made their first contribution in #646
Full Changelog: 2.6.0...2.6.1
2.6.0
Needs to bump llvmPackages → 19
What's Changed
Bug Fixes
- nixd/lspserver: fix high cpu on fd polling by @jduepmeier in #628
- libnixf/Parse: handle indented strings
''\
escape sequence by @inclyc in #642
Other Changes
- ci: don't run on "pull_request" by @inclyc in #618
- ci: re-add pull_request by @Mic92 in #621
- nixd/lib/Controller: use
CheckReturn
to simplify early-returns (NFC) by @inclyc in #623 - fix compilation with nix 2.25 by @Mic92 in #624
- .github/workflows: bump "cachix/install-nix-action" to v30 by @inclyc in #631
- .github/dependabot: init, update action versions by @inclyc in #632
- build(deps): bump actions/checkout from 3 to 4 by @dependabot in #633
- build(deps): bump actions/upload-artifact from 3 to 4 by @dependabot in #635
- flake: update the lock by @inclyc in #630
- build(deps): bump cachix/cachix-action from 12 to 15 by @dependabot in #637
- build(deps): bump tj-actions/changed-files from 44 to 45 by @dependabot in #636
- build(deps): bump peaceiris/actions-gh-pages from 3 to 4 by @dependabot in #634
- {flake, nixd/lspserver}: bump llvm 16 → 19 by @inclyc in #639
New Contributors
- @jduepmeier made their first contribution in #628
- @dependabot made their first contribution in #633
Full Changelog: 2.5.1...2.6.0
2.5.1
2.5.0
What's Changed
New Features
Documentation
- editor-setup: add instructions for helix by @Schweber in #602
- nixd/docs/editor-setup: fix lspconfig link by @khaneliman in #607
- nixd/docs/configuration: add Emacs configuration by @breitnw in #612
New Contributors
- @Schweber made their first contribution in #602
- @khaneliman made their first contribution in #607
- @breitnw made their first contribution in #612
- @Mic92 made their first contribution in #613
Full Changelog: 2.4.0...2.5.0
2.4.0
What's Changed
New Features
- libnixf: diagnose non-associative operators by @inclyc in #596
- libnixf: parse pipe operator by @inclyc in #595
Documentation
- nixd/docs: add example for non-flakes home-manager options by @benjumanji in #586
- nixd/docs/editors: add markdown parsers in nvim-lsp by @573 in #593
Other Changes
- nixd/lspserver: fix typo "handler" by @Freed-Wu in #594
- libnixf: fix typo
Identifer
->Identifier
by @inclyc in #601
New Contributors
- @benjumanji made their first contribution in #586
- @573 made their first contribution in #593
Full Changelog: 2.3.2...2.4.0
2.3.2
What's Changed
New Features
- nixd/Controller: allow setting initial configuration via CLI by @inclyc in #579
Add a CLI flag-config
used to set initial configuration. For editor clients which does not support workspace configuration, the flag could be used as a fallback. - nixd/Controller: handle UTF-16 code units for locations by @inclyc in #580

Bug Fixes
- nixd/Controller: report error on
textDocument/definition
on builtins by @inclyc in #581 - libnixf: remove
sema-escaping-with
because it is too pedantic by @inclyc in #582
Other Changes
- libnixf: remove nixpkgs-fmt by @inclyc in #577
- nixd: replace nixpkgs-fmt with nixfmt by @sebastienhurtel in #569
Now nixd will usenixfmt
formatter by default.
New Contributors
- @sebastienhurtel made their first contribution in #569
Full Changelog: 2.3.1...2.3.2
2.3.1
What's Changed
New Features
Add auto-completion code-snippet like this:
with pkgs.vimPlugins; [
|
]
i.e. with a "select" expression.
- libnixf: split sema-unused-def into let, arg and formal by @Aleksanaa in #565
- libnixf: change extra-{rec,with} diagnostics to warning by @Aleksanaa in #564
Bug Fixes
- libnixf/Sema: differentiate lambda argument with and without formals by @Aleksanaa in #561
Other Changes
- flake: add treefmt-nix by @Aleksanaa in #562
New Contributors
- @Aleksanaa made their first contribution in #561
Full Changelog: 2.3.0...2.3.1