Dfmt is a formatter for D source code
If you were building using a makefile, e.g. what some package managers do, the releases were broken prior to this release and might have arbitrarily eaten some characters when formatting. Please update to this release ASAP if you are using the makefiles.
Users using dfmt through dub or serve-d should not be affected by this bug, since it already used up-to-date libdparse versions, but this release ensures it.
Full Changelog: https://github.com/dlang-community/dfmt/compare/v0.15.0...v0.15.1
Full Changelog: https://github.com/dlang-community/dfmt/compare/v0.15.0-beta.2...v0.15.0
Full Changelog: https://github.com/dlang-community/dfmt/compare/v0.15.0-beta.1...v0.15.0-beta.2
When formatting a file that would crash dfmt, previously it would have cleared the file or potentially output only partial output. Now dfmt will not output anything at all anymore when there is a parsing error and instead return with a non-zero exit code.
test.sh
to platform independent D. by @veelo in https://github.com/dlang-community/dfmt/pull/551
rdmd
by @skyline131313 in https://github.com/dlang-community/dfmt/pull/547
Full Changelog: https://github.com/dlang-community/dfmt/compare/v0.14.2...v0.15.0-beta.1
Full Changelog: https://github.com/dlang-community/dfmt/compare/v0.14.1...v0.14.2
This patch release simply fixes a test failure seen internally, and has no impact on the external behavior of the library. See also: #544
Support libdparse up to <0.18.0