Releases: Pure-D/serve-d
Releases · Pure-D/serve-d
v0.7.4
v0.7.3
v0.7.2
KNOWN BROKEN RELEASE (serve-d might not start)
- Fixed stuck / 100% CPU usage after exit (#187) by @ryuukk + 8688967
- added the builtin DUB arch types depending on compiler
Full Changelog: v0.7.1...v0.7.2
v0.7.1
What's Changed
- add emacs guide by @ShigekiKarita in #171
- Example for nvim with coc's by @burner in #173
- profilegc watch has proper LSP parameters now
- added more logging to stdlib detect
- compiling DCD from source (on ARM OSX for example) now shows proper button text and does the right thing
- fixed multiple LSP discrepancies (sent null when only nothing was allowed)
New Contributors
- @ShigekiKarita made their first contribution in #171
- @burner made their first contribution in #173
Full Changelog: v0.7.0...v0.7.1
v0.7.0
additionally to the last RC this fixes the dfmt.singleIndent setting not being passed through
See
v0.7.0-rc.3
- fixes snippet scope issues
v0.7.0-rc.2
- improves DCD select port on windows
- fix stdlib detect for relative compiler paths
- when setting trace log to verbose in the LSP client, actually change the global log level of serve-d now
v0.7.0-rc.1
What's Changed since last pre-release
User Changes
- Update DCD to 0.13.6
- Windows downloads precompiled releases again
- Auto completion after
__EOF__
token is now disabled - Removed
d.completeNoDupes
, it's now handled byd.argumentSnippets
along with the new auto-complete rendering - Added support for details and description in CompletionItemLabel (thanks to @RUSshy)
- Ported the profilegc.log parsing from code-d to serve-d (allows usage in other editors)
d.stdlibPath: "auto"
will now first look for stdlib paths based on thedubCompiler
setting, allowing you to first check for a specific LDC compiler, then for system DMD and LDC paths if they are not found- Added smart
else
snippet afterif
blocks - fixed snippets in unittests
- fixed various crashes
Developer Changes
- rpc: Non-object or array parameters in JSON RPC are no longer allowed and will trigger parameter errors (as per spec) and are properly parsed now - if you use the vscode lsp client, it will already handle this for you since the latest release
- serverbase: You can now set
productName
inLanguageServerConfig
to make logs generated by it write your LSP server's name - serverbase: You can now set
gcCollectSeconds
inLanguageServerConfig
to any different interval in seconds to modify the automatic background GC collection frequency. You can also set it to 0 to disable it. Optional
can now be casted to bool to check isNull- FileReader now properly terminates when stdin is closed (yieldLine could return null now)
- Implemented result streaming for requests with
partialResultToken
- for methods returning arrays you can implement them multiple times, all of the functions will be run in parallel and the results will be concatenated (also works without the partialResultToken)
Changes since v0.6.0
- fix race condition with test provider invalidating documents
- port redundant dfmt off/on checks (#74)
- add dlangui completion snippets & color provider (#77)
- add highlight provider (#82)
- added Document.clone, giving an immutable document with duplicated text that can be accessed as string
- add document
wordRangeAt
using bytes returning bytes - add document
nextPositionBytes
, which works likemovePositionBytes
, but using ref parameters so you don't need to reassign them on every use - fixed some deprecations
- fix auto completion comment detection
- add 64 bit windows builds #115
- allow specifying log levels & file as CLI args
- more LSP compatiblity by auto-detecting language from file extension if not set
- fix "instantiated from here" types
- add LDC stdlib detection
- add unittest scanning feature (WIP)
- fully lazy load workspaces, defer many projects warning until many projects have been opened
- change to silly test runner
- improve auto completion sorting #127
- only send changes in document formatting
- support for rangeFormatting (format selection) #120
- fix dependency compile from source on certain platforms #130
- update DCD (but compile from source on windows)
- upgrade d-scanner
- use
$current
in build tasks instead of embedding current values (passed CLI unaffected) - change how
scope
andcwd
is handled in build tasks: they are now always relative to opened workspace folders (as sent by LSP) - documentation how to install in Vim (#111)
- various bug fixes and crash fixes (#122, #132)
- fixes initialization on LSP clients sending trailing slashes on directories
- fixes initialization on configurations where folders were recognized as potential workspaces multiple times
- adds request
served/getActiveDubConfig
to read out dub information - fix config loading issue
- don't fetch workspace-d by default when only depending on
serve-d:serverbase
- The LSP protocol part of serve-d and server boilerplate code can now be used as a library
- Improved documentation
- add served/getDscannerConfig command
- Fix crashes in extremely complex code
- Fix single file editing (Pure-D/code-d#62)
- Fix ddoc generation issues
- Add ddoc REF & LREF support
- Fix snippet completion
- Fix manyProjectsAction config parsing crash with unsupported values
- Make caught throwables alert the user
- Dramatic startup speed & editing speed improvements
- Add d.generateModuleNames setting
- Add code fix for ==/!= null -> is/!is null
- proper position for "expected ..." syntax errors
- move ignore (this line) before ignore global
- add
foreach (auto
syntax fix (#81) - Fix completion docs not showing as markdown in some cases
- Add workspace lazy loading (#52)
- increase default many projects threshold to 6
- Fix crash with neovim (#104)
- Support Windows x64 by @aminya in #115
- Fix crash when non D source file is loaded with sourceFiles in dub by @RUSshy in #122
- Improve completion sorting rule by @RUSshy in #127
- Let dub decide for wich --arch to build by @RUSshy in #130
- Fix loglevel handling by @gizmomogwai in #132
- Fix typo in README by @ThePotatoChronicler in #158
- Completion item label clean by @WebFreak001 in #160
- Added guide for sublime text by @RUSshy in #162
New Contributors
- @aminya made their first contribution in #115
- @RUSshy made their first contribution in #122
- @gizmomogwai made their first contribution in #132
- @ThePotatoChronicler made their first contribution in #158
Full Changelog: v0.6.0...v0.7.0-rc.1
v0.7.0-beta.7
User changelog:
- fix race condition with test provider invalidating documents
- port redundant dfmt off/on checks (#74)
- add dlangui completion snippets & color provider (#77)
- add highlight provider (#82)
- DCD 0.13.5
Developer changelog:
- added Document.clone, giving an immutable document with duplicated text that can be accessed as string
- add document
wordRangeAt
using bytes returning bytes - add document
nextPositionBytes
, which works likemovePositionBytes
, but using ref parameters so you don't need to reassign them on every use - fixed some deprecations
v0.7.0-beta.6
- fix auto completion comment detection
- add 64 bit windows builds #115
- allow specifying log levels & file as CLI args
- more LSP compatiblity by auto-detecting language from file extension if not set
- fix "instantiated from here" types
- add LDC stdlib detection
- add unittest scanning feature (WIP)
- fully lazy load workspaces, defer many projects warning until many projects have been opened
- change to silly test runner
- improve auto completion sorting #127
- only send changes in document formatting
- support for rangeFormatting (format selection) #120
- fix dependency compile from source on certain platforms #130
- update DCD (but compile from source on windows)
- upgrade d-scanner
- use
$current
in build tasks instead of embedding current values (passed CLI unaffected) - change how
scope
andcwd
is handled in build tasks: they are now always relative to opened workspace folders (as sent by LSP) - documentation how to install in Vim (#111)
- various bug fixes and crash fixes (#122, #132)