This repository has been archived by the owner on Mar 1, 2022. It is now read-only.
Releases: Pure-D/workspace-d
Releases · Pure-D/workspace-d
v3.8.0
What's Changed
- added dub.extendedArchTypes
THIS IS THE FINAL RELEASE OF workspace-d
The code is going to be moved and all further development is being done within a submodule of serve-d from now on. The workspace-d CLI with proprietary protocol is being dropped.
Full Changelog: v3.7.0...v3.8.0
v3.8.0-beta.2
v3.8.0-beta.1
- fixes potential crash with unescapeString
- include functions without body in outline
- upgrade dependencies
Full Changelog: v3.7.0...v3.8.0-beta.1
v3.7.0
- [Breaking API] moved source.workspaced.info to workspaced.info
- Fixed random endless loop on exit + improved thread handling (#113) by @ryuukk
API Changes
- added
latestKnownDCDVersion
to workspaced.info - added some
const
to DubComponent - Add more architecture cases to dub.archTypes
- made a few workspaced.helpers functions
@safe
and/or@nogc
Internals
- workspace-d tests now properly download DCD and can be used in more tests
Full Changelog: v3.6.1...v3.7.0
v3.6.1
- fixed issues with snippet info reporting false scopes after
.
, identifiers, in various arguments places - added a lot of test cases
Full Changelog: v3.6.0...v3.6.1
v3.6.0
What's Changed
since v3.6.0-pre.15
- Latest known DCD version is now on 0.13.6
- fixes some range violations
- Method snippets appear in unittests now
- Added
else
smart snippet afterif
s - detect
vDCD
as locally compiled - fix list definitions for static constructors
- improved Future API
Dependencies:
- Upgrade dub to 1.26.1
- Upgrade dfmt to 0.14.1
- Upgrade dscanner to 0.11.1
- Upgrade libdparse to 0.17.0
since v3.5.0
- add dcdext.highlightRelated
- add dcd.findLocalUse
- improve process launch fail error message
- added //dfmt on/off parsing utility to dfmt component
- added mixinTemplate snippet scope
- add
alias
snippet - reduced snippet trace logs
- add
resolveRanges
function to dscanner & identically named argument todscanner.lint
to convert D-Scanner's line:column output to [start, end] ranges of index, line & columns (moves logic out of serve-d)- improves locations for "expected ..." syntax errors
- sets line length errors to proper start
- improves semicolon error positions
- differentiates between keywords on same line and keywords on separate line when an identifier is expected
- adds an issue for
foreach (auto key; value)
that just covers theauto
(guaranteed) that can easily be auto-fixed
- fix workspace-d executable building
- disable snippets in __traits(), version(), debug()
- add toString, toStringText snippets
- fallback dub compiled DCD version parsing
- migrate from unit-threaded to silly test runner
- manually implement DCD Null Client
- add more information to dub rootPackageBuildSettings (recipePath, buildOptions, requirements + fill out empty targetName)
- Make WorkspaceD & Instance more extendable
- Fix libdparse deprecation
- make some config APIs const/inout
- add
dcd.serverInstalledVersion
- add
dub.rootPackageBuildSettings
- allow passing full StaticAnalysisConfig to lint
- Fix moduleman with script lines fix #105
- fix unittest insertion location fix #106
- make DCD client embedded into workspace-d
- add dcdext.formatDefinitionBlock
- add verbose mode to dscanner.listDefinitions
- implement deprecations into dscanner ctags API
- add unittest names to dscanner ctags API
- add
dub.resolveDiagnosticRange
with firsta == null
anda != null
location fixer - use binary search in determineSnippetInfo to speed up snippet generation in big files
- add string and (currently not yet functional) comment & doccomment scopes to snippets
- fix an issue on windows using workspace-d as exe with stdin not segfaulting on close
- assert out if Fiber.getThis is null when trying to Future.getYield
- bump dfmt, dscanner, libdparse
- Improved communication of imports to DCD & added removeImports command
- Added helper function to get used D-Scanner config values
- Refactor some of workspace.api into separate modules
- add
instance.detach
- add unformatted hint to snippets
- add
debug_writeln
,debug_writefln
,debug_printf
snippets to plain - fix crash involving colon (maybe in string) inside calling paramters
- fix crash with broken definition lookup in implement interface
- Fix some memory leak issues by @dayllenger in #100
- semi-breaking: global components now call
onBindFail
on WorkspaceD too, with instance beingnull
(never called like this before, might cause errors in some implementations) - DCD now properly reports ddoc with
\\n
in it
API Breakage
- the UDA ComponentInfo was renamed to ComponentInfoParams, so you need to query for this as UDA now in case you manually do that
- if you don't search for this in your introspection code, usage will silently break as it will try to instead lookup the
ComponentInfo
struct which contains an additional TypeInfo member and is not the symbol attached to components
- if you don't search for this in your introspection code, usage will silently break as it will try to instead lookup the
- ComponentFactory methods are now
nothrow
, info method additionallyconst
New Contributors
- @dayllenger made their first contribution in #100
Full Changelog: v3.5.0...v3.6.0
v3.6.0-pre.15
- bump DCD to 0.13.5
- add dcdext.highlightRelated
- add dcd.findLocalUse
- improve process launch fail error message
v3.6.0-pre.14
- added //dfmt on/off parsing utility to dfmt component
- added mixinTemplate snippet scope
- add
alias
snippet - reduced snippet trace logs
v3.6.0-pre.13
- add
resolveRanges
function to dscanner & identically named argument todscanner.lint
to convert D-Scanner's line:column output to [start, end] ranges of index, line & columns (moves logic out of serve-d)- improves locations for "expected ..." syntax errors
- sets line length errors to proper start
- improves semicolon error positions
- differentiates between keywords on same line and keywords on separate line when an identifier is expected
- adds an issue for
foreach (auto key; value)
that just covers theauto
(guaranteed) that can easily be auto-fixed
- fix workspace-d executable building
- disable snippets in __traits(), version(), debug()
v3.6.0-pre.12
Upgrade dscanner to 0.11.1