Skip to content

v1.5.0

Latest
Compare
Choose a tag to compare
@novaugust novaugust released this 16 Jul 02:14
· 3 commits to main since this release

Improvements

  • apply aliases to code. if a module is aliased, and then later referenced with its full name, Styler will now shorten it to its alias. (#235, h/t me)
  • added :minimum_supported_elixir_version configuration to better support libraries using Styler (#231, h/t @maennchen)
  • # styler:sort will now sort keys for struct/map typespecs (#213, h/t @rojnwa)

Fixes

  • apply alias lifting to snippets with no modules or module directives in them. (#189, @h/t @halfdan)
  • fix de-sugaring of syntax-sugared keyword lists whose values weren't atoms in map values (#236, h/t @RisPNG)
  • fix mix config sorting mangling floating comment blocks in some cases (#230 again, h/t @ryoung786)