Skip to content

Releases: werf/wormatter

v1.4.0

24 Feb 13:51

Choose a tag to compare

1.4.0 (2026-02-24)

Features

  • sort typed const/var groups before untyped in merged blocks (5cd3957)

v1.3.4

24 Feb 12:10

Choose a tag to compare

1.3.4 (2026-02-24)

Bug Fixes

  • silence usage on errors (a575708)

v1.3.3

24 Feb 11:53

Choose a tag to compare

1.3.3 (2026-02-24)

Bug Fixes

  • detect free-floating comments and return error before reordering (5bf46db)
  • only reorder struct fields in named type declarations (ca893b4)
  • preserve doc comments when merging var/const declarations (c03d2d9)
  • preserve inline comments on single-spec declarations during merge (0e64e06)
  • preserve original order of typed string constants (013e939)
  • preserve var initialization order instead of sorting alphabetically (d6511b9)
  • remove spurious blank lines between struct fields (d51810b)
  • skip struct field reordering for structs with encoding tags (4ac788b)

v1.3.2

27 Jan 05:17

Choose a tag to compare

1.3.2 (2026-01-27)

Bug Fixes

  • -v version output incorrect (ec00ec5)
  • no ordering for anonymous struct literals (b378ad7)

v1.3.1

27 Jan 05:01

Choose a tag to compare

1.3.1 (2026-01-27)

Bug Fixes

  • properly expand value to key-value fields in slices or maps of structs (8893c20)

v1.3.0

27 Jan 03:19

Choose a tag to compare

1.3.0 (2026-01-27)

Features

  • force function definition arguments and returns on a single line (e4c440d)

v1.2.0

27 Jan 02:46

Choose a tag to compare

1.2.0 (2026-01-27)

Features

  • expand value-only field assignments to key-value (1c9a5ea)

v1.1.1

13 Jan 15:11

Choose a tag to compare

1.1.1 (2026-01-13)

Bug Fixes

v1.1.0

29 Dec 14:11

Choose a tag to compare

1.1.0 (2025-12-29)

Features

  • --c check mode (66192e7)
  • --exclude flag (808523a)
  • embed gci formatter; format wormatter code with itself (4ea4279)
  • new rules, tests (b4a0d3b)

Bug Fixes

  • match constructors starting with lower "n" (e7633de)

v1.0.1

24 Dec 13:45

Choose a tag to compare

1.0.1 (2025-12-24)

Bug Fixes

  • add docker image publishing (295b667)