This release contains two major changes - the configuration file format has been significantly revamped, and various performance optimizations have resulted in 2.3x faster formatting than the previous version.
This minor release adds a new --exclude
option for runtime exclusions. It also fixes styling of namespaces with attribute maps, and an error where files missing a newline at EOF would not print a check
diff.
The main change in this release is to merge the core
and tool
projects together. Combined with a new deps.edn
file, this allows cljstyle
to be used directly from the clj
CLI or as a library.
This release contains a few bug-fixes and two significant new features:
- Vars and other
def
forms now have line-break rules. - Types such as
defrecord
,reify
, etc. now have formatting rules.
This release adds a new integration hook in the form of the pipe
command. It also allows for the list indentation size to be configured for people who prefer single-space indents.