Skip to content

Releases: WhatsApp/erlfmt

Support for maybe and map comprehensions

08 Nov 20:40
Compare
Choose a tag to compare

v1.3.0 (08.11.2023)

Enhancements

  • Support map comprehensions, import_type attribute, and maybe constructs

POTENTIAL RE-FORMATTING

All "raw" maybe and else atoms will be automatically re-quoted to make
the code compatible with the maybe feature, if enabled.
After the transformation the code will be compatible with the maybe feature
both enabled & disabled.

v1.2.0

24 Mar 17:30
Compare
Choose a tag to compare

Enhancements

  • Support erlfmt-ignore-begin, erlfmt-ignore-end to skip multiple top-level forms

Support formatting PIDs, Refs, Ports

29 Jul 16:52
Compare
Choose a tag to compare

v1.1.0 (29.07.2022)

Enhancements

  • Handle try clauses in define
  • Support formatting PIDs, Refs, Ports
  • Handle ;-separated guards in macro expressions

Fixes

  • Ensure proper IO opts when reading from stdin
  • Handle Int#{} edge case without crashing

1.0.0 Release

30 Jun 09:16
b856b95
Compare
Choose a tag to compare

No changes

1.0 Release Candidate 3.2

24 Jun 15:04
0909258
Compare
Choose a tag to compare

Fixes

  • Formatting Ranges support for opt-out pragmas #311

Release Candidate 3.1

23 Jun 16:48
d4efabf
Compare
Choose a tag to compare

Enhancements

  • Introduce semi-expanded format for containers #309

1.0 Release Candidate 3

21 Jun 05:57
36986b2
Compare
Choose a tag to compare

Enhancements

  • Add --range as a command line option #299, #300, #295
  • Introduce semi-expanded format for function calls #305
  • Introduce noformat pragma #302

Fixes

  • Return exit code 2 when option isn't recognized #304

1.0 Release Candidate 2.1

10 May 13:59
ca8a237
Compare
Choose a tag to compare

Fixes

  • fix replace pragma to not crash on two blocks of comments

Release Candidate 2

10 May 09:15
3e41623
Compare
Choose a tag to compare

Fixes

  • comment @format pragma to avoid warnings from edoc
  • fix place of comments for list cons #282

Enchancements

  • added delete-pragma command line flag #280

Formatting Decisions

  • new module documentation analyses #283

1.0 Release Candidate 1

19 Apr 12:23
8493d66
Compare
Choose a tag to compare

Fixes

  • Preserve newline in spec without guards #273 #275
  • Preserve comments in receive after after #271
  • Fix end_location in raw_string anno #274
  • Fix pre dot comments in function #267
  • Better error reporting for not_equivalent and tests #269