Releases: adobe/elixir-styler
Releases · adobe/elixir-styler
v1.0.0-rc.1
Lots of documentation added. Module Directives, Simple Style, and Control Flow are fleshed out. Pipes, Configs, and the manifesto prelude to control flow all need work still.
New Styles
Enum.into(x, [])=>Enum.to_list(x)Enum.into(x, [], mapper)=>Enum.map(x, mapper)a |> Enum.map(m) |> Enum.join()tomap_join(a, m). we already did this forjoin/2, but missed the case forjoin/1
v1.0.0-rc.0
Please see the CHANGELOG for all 1.0.0 changes
At this point, 1.0.0 feels feature complete. Two things remains for a full release:
- feedback!
 - documentation overhaul! monitor progress here
 
I believe it's safe to start using the 1.0 branch on your codebase. (We've been using it at Adobe since the alpha without issue). I'm releasing as an RC to reserve the ability to make a breaking change before shipping the final product, but I believe no additional breaking changes will occur and 1.0 will ship once I've wrapped documentation updates.
v1.0.0-alpha.0
v0.11.9
Improvements
- pipes: check for 
Stream.fooequivalents toEnum.fooin a few more cases 
Fixes
- pipes: 
|> then(&(&1 op y))rewrites with|> Kernel.op(y)as long as the operator is defined inKernel; skips the rewrite otherwise (h/t @kerryb for the report & @saveman71 for the fix) 
v0.11.8
v0.11.7
Improvements
- deprecations: 
~R->~r,Date.range/2->Date.range/3with decreasing dates (h/t @milmazz) - if: rewrite 
if not x, do: y=>unless x, do: y - pipes: 
|> Enum.map(foo) |> Map.new()=>|> Map.new(foo) - pipes: remove unnecessary 
then/2on named function captures:|> then(&foo/1)=>|> foo(),|> then(&foo(&1, ...))=>|> foo(...)(thanks to @tfiedlerdejanze for the idea + impl!) 
v0.11.6
v0.11.5
v0.11.4
Improvements
Shoutout @milmazz for all the deprecation work below =)
- Deprecations: Rewrite 1.16 Deprecations (h/t @milmazz for all the work here)
- add 
//1step toEnum.slice/2|String.slice/2with decreasing ranges File.stream!(file, options, line_or_bytes)=>File.stream!(file, line_or_bytes, options)
 - add 
 - Deprecations: 
Path.safe_relative_to/2=>Path.safe_relative/2