Dlang Community Dfmt Versions Save

Dfmt is a formatter for D source code

v0.15.1

10 months ago

What's Changed

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

v0.15.0

1 year ago

What's Changed

Full Changelog: https://github.com/dlang-community/dfmt/compare/v0.15.0-beta.2...v0.15.0

v0.15.0-beta.2

1 year ago

What's Changed

Full Changelog: https://github.com/dlang-community/dfmt/compare/v0.15.0-beta.1...v0.15.0-beta.2

v0.15.0-beta.1

1 year ago

Behavioral Notes

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.

What's Changed

Internals

New Contributors

Full Changelog: https://github.com/dlang-community/dfmt/compare/v0.14.2...v0.15.0-beta.1

v0.14.2

2 years ago

What's Changed

Full Changelog: https://github.com/dlang-community/dfmt/compare/v0.14.1...v0.14.2

v0.14.1

2 years ago

This patch release simply fixes a test failure seen internally, and has no impact on the external behavior of the library. See also: #544

v0.14.0

2 years ago
  • Add Kernighan & Ritchie style brace formatting (#534 )
  • Add single_indent option (#535)
  • Fix double array indentation inside parens (#537)
  • Format multiline arrays first (#538)
  • Fix the CLI help output about the --config option (#541)
  • Fixes #528 and #451

v0.13.4

3 years ago

Support libdparse up to <0.18.0

v0.13.3

3 years ago