Skip to content

Releases: nix-community/nixd

2.6.4

09 May 18:54
2.6.4
4bf7f6e
Compare
Choose a tag to compare

What's Changed

New Features

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.

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::DelimitedLitTest by @inclyc in #682
  • nixd/tools/nixd-attrset-eval: provide getDoc information from C++ nix by @inclyc in #677

New Contributors

Full Changelog: 2.6.3...2.6.4

2.6.3

09 Apr 14:28
2.6.3
38eddab
Compare
Choose a tag to compare

What's Changed

Bug Fixes

  • libnixf: declare "!" as a unary operator by @inclyc in #663
  • nixd/Eval: fix integer thunk while evaluating positions by @inclyc in #671

Full Changelog: 2.6.2...2.6.3

2.6.2

21 Mar 03:43
2.6.2
Compare
Choose a tag to compare

What's Changed

New Features

  • libnixf: diagose "or" keyword used as a binary operator by @inclyc in #650

Bug Fixes

  • nixf: declare Tokens.h dependency for libnixf by @trofi in #662

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

02 Feb 09:01
2.6.1
Compare
Choose a tag to compare

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:
截屏2025-02-02 17 03 44
Previously it would be considered as a lambda.

  • libnixf: generate token spelling from python script by @inclyc in #648

Documentation

New Contributors

Full Changelog: 2.6.0...2.6.1

2.6.0

09 Jan 03:05
2.6.0
Compare
Choose a tag to compare

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

Full Changelog: 2.5.1...2.6.0

2.5.1

16 Nov 03:06
2.5.1
1de61e7
Compare
Choose a tag to compare

What's Changed

Bug Fixes

  • nixd/lib/Controller: disable semantic tokens feature during init by @inclyc in #616
  • libnixf/Sema: mark nested with expressions alive by @inclyc in #617

Full Changelog: 2.5.0...2.5.1

2.5.0

10 Nov 03:23
2.5.0
23be433
Compare
Choose a tag to compare

What's Changed

New Features

Documentation

New Contributors

Full Changelog: 2.4.0...2.5.0

2.4.0

28 Sep 00:43
2.4.0
Compare
Choose a tag to compare

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

New Contributors

Full Changelog: 2.3.2...2.4.0

2.3.2

16 Aug 03:02
2.3.2
Compare
Choose a tag to compare

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
截屏2024-08-11 00 02 30

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 use nixfmt formatter by default.

New Contributors

Full Changelog: 2.3.1...2.3.2

2.3.1

07 Aug 05:32
2.3.1
Compare
Choose a tag to compare

What's Changed

New Features

  • nixd/Controller: support completion for pkgs.subpackages by @inclyc in #563

Add auto-completion code-snippet like this:

    with pkgs.vimPlugins; [
        |
    ]

i.e. with a "select" expression.

Screenshot_20240731_211203

  • 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

New Contributors

Full Changelog: 2.3.0...2.3.1