zprint-filter-1.2.6
A significant release, fixing several reported problems and adding some requested features. The biggest change is the change to comment wrapping -- the creation of "smart" comment wrapping. This is now the default (as comment wrapping has always been the default). It will fix most of the problems created by the previous "not very smart" comment wrapping, while creating fewer problems in the future with respect to comment wrapping. See the CHANGELOG for specific details.
Other changes:
- You can now specify some keys to come last in a map as well as some keys to appear first in a sorted map. See the CHANGELOG for details.
- Added function type
:list
, for when you want a list interpreted as just a list of data, without assuming that the first element of the list is a function of some type. - You can pass a string value of an options map to
set-options!
, and it will read and 'compile' that options map (including any functions) using the Small Clojure Interpreter (sci) built into zprint, the same way that zprint handles reading external configuration files. - Configurable Styles: See CHANGELOG for details.
- The handling of tagged literals (for example,
#js
) has been enhanced. - Upgraded to
[org.babashka/sci "0.7.39"]
and[rewrite-clj/rewrite-clj "1.1.47"]
. - The style
:hiccup
was sometimes recognizing destructuring in argument vectors as a hiccup vector. - Found and fixed several areas of justification that were slower than they needed to be.