v0.15.0
Big Changes
Diagnostics now cover ranges instead of just locations and those ranges can be printed by either specifying a custom output format (see dscanner --help
) or by just calling D-Scanner with the new way to invoke it for human consumption:
dscanner lint source/
will look like this:
and will act like dscanner -S -f pretty source/
The output format may change at any point to include more information or look more pretty. The output is colored using terminal escape sequences, which are attempted to be turned on on windows, which requires at least Windows 10 TH2 (v1511).
What's Changed
- don't use deprecated properties by @Moth-Tolias in #894
- fix #791 (Static
@property
function wrongly marked as needingconst
,inout
, orimmutable
) by @brianush1 in #881 - hide dsymbol warnings, fix #890 ("Could not resolve location of module" errors with newest LDC) by @WebFreak001 in #900, #902
- Adds an check for
@disable
d functions that have an body; closes #897 by @Mai-Lapyst in #898 - upgrade libdparse to 0.23.0 by @WebFreak001 in #901
- add end line/column to warnings by @WebFreak001 in #904
- add built-in report formats incl. GitHub Actions by @WebFreak001 in #905
- also add byte indices to diagnostic ranges by @WebFreak001 in #906
- rename D-Scanners own .dscanner.ini to the standard dscanner.ini name by @WebFreak001 in #908
- add colored output option by @WebFreak001 in #907
New Contributors
- @Moth-Tolias made their first contribution in #894
- @brianush1 made their first contribution in #881
- @Mai-Lapyst made their first contribution in #898
Full Changelog: v0.14.0...v0.15.0