Skip to content
This repository has been archived by the owner on Mar 1, 2022. It is now read-only.

Releases: Pure-D/workspace-d

v3.8.0

23 Feb 20:11
Compare
Choose a tag to compare

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

17 Feb 18:31
f792357
Compare
Choose a tag to compare
v3.8.0-beta.2 Pre-release
Pre-release

What's Changed

  • get compile_colmmands.json support started by @rtbo in #114
  • added InterfaceDetails.isEmpty

New Contributors

  • @rtbo made their first contribution in #114

Full Changelog: v3.7.0...v3.8.0-beta.2

v3.8.0-beta.1

12 Feb 22:06
Compare
Choose a tag to compare
v3.8.0-beta.1 Pre-release
Pre-release
  • 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

06 Jan 17:49
Compare
Choose a tag to compare
  • [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

20 Nov 11:21
Compare
Choose a tag to compare
  • 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

18 Nov 22:10
Compare
Choose a tag to compare

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 after ifs
  • 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 to dscanner.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 the auto (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 first a == null and a != 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 being null (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
  • ComponentFactory methods are now nothrow, info method additionally const

New Contributors

Full Changelog: v3.5.0...v3.6.0

v3.6.0-pre.15

14 Jul 18:49
Compare
Choose a tag to compare
v3.6.0-pre.15 Pre-release
Pre-release
  • bump DCD to 0.13.5
  • add dcdext.highlightRelated
  • add dcd.findLocalUse
  • improve process launch fail error message

v3.6.0-pre.14

25 Jun 12:18
Compare
Choose a tag to compare
v3.6.0-pre.14 Pre-release
Pre-release
  • 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

22 Jun 20:16
Compare
Choose a tag to compare
v3.6.0-pre.13 Pre-release
Pre-release
  • add resolveRanges function to dscanner & identically named argument to dscanner.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 the auto (guaranteed) that can easily be auto-fixed
  • fix workspace-d executable building
  • disable snippets in __traits(), version(), debug()

v3.6.0-pre.12

10 May 19:32
Compare
Choose a tag to compare
v3.6.0-pre.12 Pre-release
Pre-release

Upgrade dscanner to 0.11.1