Skip to content

zprint-filter-1.2.3

Compare
Choose a tag to compare
@kkinnear kkinnear released this 12 Apr 21:35
· 28 commits to master since this release

A fair number of fixes and changes in this release. See the CHANGELOG.md for details, but notable new things are:

  • New :range configuration options: :use-previous-!zprint? and :continue-after-!zprint-error?. These allow someone doing :range formatting on a file (string) which has ;!zprint formatting directives to have the lines in the range formatted the same when doing just the range or the whole file. :use-previous-!zprint? if true will scan all previous ;!zprint directives prior to formatting the range. :continue-after-!zprint-error? if true will ignore errors in any ;!zprint directives, and output any errors in the map returned by :output {:range? true}.

  • An alternative way to format metadata was created. It is :style :meta-alt. It is presently experiemental. Issue #224.

  • letfn didn't indent its fns like fns. Now it does. And if they are multi-arity, the various arities don't hang, but rather flow. Issue #221.

  • The styles :community and :rod didn't compose, because :guided was not considered a "body" function type. Now they do. Issue #223.

  • zprint-file-str was not thread-safe, for a variety of reasons. Now it is, and configuration is thread-safe as well. Issue #226.

  • Figured out some Figwheel issues. If you use zprint with Figwheel, check out the CHANGELOG.md, or see issue #231.