All notable changes to this project will be documented in this file, which follows the conventions of keepachangelog.com. This project adheres to Semantic Versioning.
...
1.3.4 - 2022-11-09
- Add backwards-compatibility support for Clojure 1.7 and 1.8.
1.3.3 - 2022-11-07
- Update to Clojure 1.11.
- Update the arrangement and fipp dependencies. #58
1.3.2 - 2021-12-11
This is a maintenance release which updates several dependency versions,
renames master
to main
, and modernizes the CI and build tooling.
1.3.1 - 2020-06-01
java.time.Instant
is automatically rendered as an#inst
tagged literal.
1.3.0 - 2020-05-19
- New configuration option
:coll-limit
adds support for truncating all collections after a certain size. This applies to sequences as well, though:seq-limit
still takes precedence if set. #50 #52
1.2.1 - 2020-04-19
- Minor version upgrades
1.2.0 - 2019-10-11
- Ansi codes now respect indentation and start at beginning of element rather than beginning of line. #44
- Update CI configuration to support style checks and separate coverage check.
- Switch to cljdoc for documentation.
1.1.2 - 2019-04-04
- The
:html-inline
color markup now properly handles nested documents incolor/document
calls. - The
:html-inline
color markup now defaults to assuming a style value is a color, allowing use of any CSS color name.
1.1.1 - 2019-03-17
- Upgrade to clojure 1.10.0.
- Upgrade to clj-arrangement 1.2.0 for a ~3x speedup when sorting complex collections for canonical printing.
1.1.0 - 2018-12-16
- The pretty-printer supports a
:namespace-maps
option which will render maps using the new namespace map literal syntax introduced in Clojure 1.9.0 when possible. #36
- Collections which are
sorted?
are no longer reordered by the pretty-printer. #37 - Empty collections now omit child document nodes, so they are slightly more efficient to render.
1.0.3 - 2018-10-30
- Upgrade to fipp 0.6.13 for Java 11 compatibility. #38
1.0.2 - 2017-11-04
- Upgrade to CircleCI 2.0
- Upgrade various minor dependency versions
1.0.1 - 2016-08-23
- Add checks to
printer/tagged-handler
to ensure argumenst are a symbol and function, respectively.
- Upgraded fipp to 0.6.6 #33
1.0.0 - 2015-10-29
Finally decided it was time to recognize that this is a stable library!
- Adopt
visit-record
logic from upgrade to fipp 0.6.3. brandonbloom/fipp#29
- Move pattern and var printing back into
PrettyPrinter
visitor protocol. - Improve class name parsing of inner function names.
0.9.2 - 2015-10-20
- Add
printer/unknown-handler
and improve rendering of unknown types. - Add print handlers for class and function values.
- Line-break tagged literals when the form is a collection.
0.9.1 - 2015-10-17
- Add
printer/pr-handler
as a useful default for dispatching. - Add
:seq-limit
option, to cap realization of lazy sequences.
- Improve
chained-lookup
logic to remove nil dispatch entries. - Rename
:sort-mode
option back to:sort-keys
. #25
- Fix rendering of lazy sequences. #26
0.9.0 - 2015-10-13
This version involves a major update to the printer internals with the upgrade to fipp and Clojure 1.7.
- Add more
:print-fallback
possibilities. - Add
CanonicalPrinter
as a minimalist alternative toPrettyPrinter
.
- Upgrade to Clojure 1.7 and fipp 0.6.2.
- Separate total-order comparator into mvxcvi/arrangement.
- Reorder args to
color/document
andcolor/text
. - Drop
puget.data/ExtendedNotation
protocol and switched to type-dispatched print-handler approach. - Rename
:sort-keys
option to:sort-mode
.
- Remove
:escape-types
functionality in favor of:print-handlers
.
0.8.1 - 2015-04-25
- Remove
tagged-literal
code which conflicts with the built-inclojure.core
functions in 1.7. #20
0.8.0 - 2015-03-10
- Add
:escape-types
option to avoid rendering types that Puget does not handle well. #19
- Remove byte array and URI extension to Whidbey. #16
0.7.1 - 2015-02-28
- Add
:print-fallback
option to support customprint-method
implementations. #18
- Refactor document formatting multimethod to dispatch on
type
metadata. #13 #14 - Change
TaggedValue
toTaggedLiteral
per the discussion here. - Change color markup to a customizable multimethod with ANSI and HTML output. #15
- Update documentation and clean up docstrings.
0.6.6 - 2014-12-28
- Add
:sort-keys
option to allow bounded canonicalization. #12
0.6.4 - 2014-09-23
- Add
merge-options
andwith-options
helpers. - Add
:coll-separator
option. - Add format method for
IDeref
andIPending
references. #9 #10
- Maps default to using commas between entries.
- Gave characters a separate syntax element than strings.