clj-commons/fs 1.6.312 - File system utilities for Clojure. (forked from Raynes/fs) Just a maintenance release, https://github.com/clj-commons/fs/releases/tag/Release-1.6.312: • Bump a dep to address a CVE clj-commons/fs is one of the many projects under the loving care of https://github.com/clj-commons.
Thanks to @slipset for pushing the release out.
org.clj-commons/pretty 3.6.2
https://github.com/clj-commons/pretty
Pretty prints things prettily; mostly, carefully formatted exception output using ANSI colors, smarter ordering, and
name-demangling to take the pain out of figuring out what went wrong, and where.
Pretty provides a Hiccup-inspired syntax for generating rich terminal output with ANSI fonts and colors, as well as
utilities for formatting tabular output, binary sequences (and binary diffs), and more.
Breaking Changes
• clj-commons.ansi:
◦ Support for :pad in compose has been removed; use :align
◦ The pcompose function has been removed; use pout instead
• clj-commons.format.table
◦ Likewise, support for :pad and :title-pad in print-table has been removed; use :align and :title-align
Other Changes
• Fix a bug where the vertical bar for repeated stack frames could be misaligned
• Hide clojure.lang.RestFn stack frames
• clj-commons.format.table/print-table
◦ The :default-decorator option is now deprecated
◦ New column option :formatter will format a column value to a string or composed string
◦ New :row-decorator option decorates all columns of a row
◦ Column widths may be calculated even from a composed string
• clj-commons.format.exceptions
◦ Previously, individual stack frames that repeated were identified; Pretty can now identify sequences of repeating
stack frames
https://github.com/clj-commons/pretty/milestone/61?closed=1
Why the breaking changes with :pad / :align?
They did the same thing, but :align was a better term. In my code, I found that :align :left was easier to understand than :pad :right.
Also, "New :row-deprecator option decorates all columns of a row" -- should that be :row-decorator?
Yes, that should be. Fixed.
I'm really happy with how the "repeating stack frame" logic works and presents. Pretty is all about reducing cognitive load of figuring out what's going on in an exception.
I like :row-deprecator. 😜
Well, you can use it to write text in faint and crossed out, so …