Skip to content

Commit 75b4be5

Browse files
committed
add changelog for upcoming version
1 parent b19258b commit 75b4be5

File tree

1 file changed

+104
-8
lines changed

1 file changed

+104
-8
lines changed

CHANGELOG.md

+104-8
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,83 @@ code-d and serve-d
2727
</tr>
2828
</table>
2929

30-
# 0.x.y
30+
# 0.24.0
3131

32-
## DUB improvements
32+
## Completion
33+
34+
There is a new symbol index that will automatically be built on project launch. With this index the following features are introduced:
35+
36+
- Find references (only in its most basic form)
37+
- auto-import completions (type a symbol name and it automatically gets imported on auto-complete submit)
38+
39+
Auto completion now has better sorting and more information.
40+
41+
UFCS is now supported for regular types and trivial templates.
42+
43+
## CCDB
44+
45+
There is support for basic clang compilation database (compile_commands.json) now. Since this is basically a makefile with shell commands and no standardized way of specifying the files, your mileage may vary on this.
46+
47+
CCDB is used in favor of DUB if it can be parsed successfully.
48+
49+
## Editing
50+
51+
Proper folding support was introduced, it's no longer white-space based, but instead uses statements and can fold import blocks as well.
52+
53+
You can now sort all imports in the entire file. This will also get rid of duplicate imports.
54+
55+
Identifiers/variables can be renamed within a single file now. Putting the text cursor on a variable highlights its uses. Some control flow things such as if/else, switch/case, return, etc. also highlight.
56+
57+
## D-Scanner
58+
59+
You now get light-bulbs to auto-fix many more issue types, including a bunch of D-Scanner issues.
60+
61+
Diagnostic location, length and information has improved a lot.
62+
63+
## DDoc
64+
65+
Hovers are no longer 1-off at start of the identifier. They include a basic definition of the symbol now.
66+
67+
Improved support for:
68+
69+
- code blocks (fixed)
70+
- tables (new)
71+
- colors (new)
72+
73+
## Diet templates
74+
75+
Auto completion ergonomics were improved a little.
76+
77+
## Formatting
78+
79+
You can now auto-format SDL files.
80+
81+
## Snippets
82+
83+
Fixed some spec links. New snippets:
84+
85+
- `trymain`
86+
- `switch`
87+
- `final switch`
88+
- `if`
89+
- `if auto`
90+
- `while`
91+
- `while auto`
92+
- `for`
93+
- `scope guard`
94+
- `return`
95+
- `throw`
96+
- `goto`
97+
- `with`
98+
- `try`
99+
- `tryf`
100+
- try-catch-finally snippets (smart)
101+
- `default` (smart, in switch)
102+
- snippets for vibe.d and mir-ion
103+
104+
## DUB
105+
106+
The bundled DUB version in serve-d is now at 1.36.0
33107

34108
Auto completion of dub.json has been improved and the issues with quoting have been fixed.
35109

@@ -47,10 +121,32 @@ The DUB Dependencies view got a few improvements:
47121

48122
The new dependency click actions can also be accessed by right-clicking a dependency.
49123

124+
Linting D code through DUB builds has had many bugs resolved and should work a lot more reliably now, as well as not generating any binaries anymore.
125+
126+
Startup DUB issues have improved error messages and error recovery now.
127+
128+
Serve-D will now ask to upgrade the project and auto-download missing dependencies then when dependencies are missing.
129+
50130
## Other
51131

52132
Installation/update of serve-d with multiple vscode windows now works properly.
53133

134+
In this serve-d release we moved away from painlessjson to mir-ion as serialization library. Correctness for LSP implementation has greatly increased.
135+
136+
Support for OpenSSL 3 was introduced.
137+
138+
Fixed various bugs and crashes.
139+
140+
Fixed FreeBSD and OSX M1 support. (serve-d)
141+
142+
The settings view has been overhauled, including a lot of new settings. Manual JSON settings also aren't as likely to cause crashes anymore.
143+
144+
The document outline has been improved.
145+
146+
You will no longer be spammed with project loading notifications at startup.
147+
148+
Various performance improvements.
149+
54150
# 0.23.2
55151

56152
Adds linting support for dub.json/dub.sdl schema for dependency git commits:
@@ -229,7 +325,7 @@ You can now use new context variables in `when` clauses in vscode settings like
229325

230326
- `d.isActive` which is true once code-d has been started (user ran some code-d command, opened a D file, wants to debug, has dub.json/dub.sdl, etc.)
231327

232-
## Other Things
328+
## Other
233329

234330
* Many improvements in syntax highlighting
235331
* Updated DCD to 0.13.6
@@ -255,7 +351,7 @@ Minor Changes:
255351

256352
# 0.22.0
257353

258-
## dub
354+
## DUB
259355

260356
Platform attributes on supported values in dub.sdl are now autocompleted. This includes all the [current](https://github.com/dlang/dub/blob/8ffc09ed6fb9625837161ffbbda2d926f490196c/source/dub/platform.d#L24) platforms, architectures and compilers.
261357

@@ -288,7 +384,7 @@ Syntax highlighting was improved
288384
* `asm` block fixes
289385
* fixed delegate highlighting without arguments
290386

291-
## Other things
387+
## Other
292388

293389
The custom serve-d commands and initialization have all been documented in the README for custom LSP clients in other editors.
294390

@@ -348,7 +444,7 @@ You can now use new context variables in `when` clauses in vscode settings like
348444

349445
- `d.hasDubProject` which is true if there is a project with dub enabled (when the dub outline is visible)
350446

351-
## Other Things
447+
## Other
352448

353449
DCD upgrade to 0.11.1
354450

@@ -424,7 +520,7 @@ The implement interface code action will no longer insert duplicate code and a l
424520

425521
If you do OOP, try it out by simply extending an interface or abstract class and going on the inherited symbol with your cursor.
426522

427-
## Completion improvements
523+
## Completion
428524

429525
If you have `d.argumentSnippets` enabled, you will now have a much cleaner experience. Types and default values are no longer passed inside the snippets, so only variable names are put in inside the function arguments.
430526

@@ -438,7 +534,7 @@ You can revert this back to a slightly modified version using `"d.completeNoDupe
438534

439535
You can now convert dub package recipes between JSON/SDL using a click on the convert button in the toolbar or by running the "Convert between dub.json/dub.sdl" command while having the recipe open. You can still undo after conversion if it missed something or you noticed you had comments it removed.
440536

441-
## Other Things
537+
## Other
442538

443539
The server now tries to restart more. It now only doesn't restart after 20 restart fails in one minute instead of 5 fails in 3 minutes.
444540

0 commit comments

Comments
 (0)