What's Changed
New Features
- nixd/Expr: support static variable binding by @inclyc in #191
- nixd/Parser: basic error handling by @inclyc in #206
- nixd/Server: add ASTManager for AST caches & builds by @inclyc in #209
Bug Fixes
- nixd/option: fix crash on invalid option set by @inclyc in #175
- nixd/driver: don't write stack dump file by @inclyc in #177
- nixd/documentLinkProvider: conform closer to spec by @happysalada in #189
- nixd/Parser: ensure the symbol table & pos table lifetime by @inclyc in #199
- lspserver: unlock the PendingCallsLock before calling callback by @inclyc in #201
- nixd/Support: avoid ODR violation: fromJSON(lspserver::Diagnostic) by @inclyc in #210
- nixd/Server: fix outdated draft version for static analysis by @inclyc in #211
Documentation
- docs/examples: examples about how to use nixd by @inclyc in #162
- docs/user-guide: update the user-guide for flakes by @inclyc in #163
- editors/vscodium: add test env for vscod{e,ium} + Nix IDE by @Ruixi-rebirth in #168
- docs/editor: instructions for adding a vscod{e,ium} test environment by @Ruixi-rebirth in #170
- docs/user-guide: typo fix, “writting” -> “writing” by @szicari-streambit in #192
- docs/editor-setup: add coc.nvim by @Freed-Wu in #221
- docs/examples: talking about cwd by @inclyc in #220
- docs/readme: add project structure by @inclyc in #219
Other Changes
- vendor: fix nixd on darwin by @inclyc in #172
- nixd/diagnostic: improve for multiple errors on single file by @inclyc in #180
- nixd/parser: avoid using
nix::EvalState
in parser by @inclyc in #179 - nixd/parser: use a vector for error handling by @inclyc in #181
- nixd/parser: split the parser in header files & #includes by @inclyc in #182
- nixd/parser: make the parser memory-safe by @inclyc in #184
- refactor: re-arrange directories by @inclyc in #185
- nixd-ast-dump: init by @inclyc in #183
- nixd/Parser: make parsing memory-safe for errors, using RAII by @inclyc in #186
- nixd: kill child on linux by @inclyc in #188
- nixd/tools/nixd-ast-dump: add ranges support by @inclyc in #190
- nixd/AST: split AST.h -> EvalAST.h & ParseAST.h by @inclyc in #195
- nixd/AST: move static analysis to AST library by @inclyc in #196
- nixd: avoid namespace
nix
name pollution by @inclyc in #197 - nixd/Server: move rename to controller by @inclyc in #200
- nixd/Parser: add thread_local to lexer.l by @inclyc in #202
- nixd/Server: move documentLink & documentSymbol to controller process by @inclyc in #203
- nixd/Server: move static definition by @inclyc in #204
- nixd/completion: move static completion to controller by @inclyc in #205
- flake: export $NIX_SRC and $NIX_DEBUG_INFO_DIRS, for gdb by @inclyc in #207
- nixd/Expr: visit ExprError for RecursiveASTVisitor by @inclyc in #216
- nixd/Server: use mapOptional for workspace configuration by @inclyc in #217
- github: add release.yml by @inclyc in #224
New Contributors
- @szicari-streambit made their first contribution in #192
- @happysalada made their first contribution in #189
- @Freed-Wu made their first contribution in #221
Full Changelog: 1.1.0...1.2.0