Fireworks: Fireworks is a themeable tapping library for Clojure, ClojureScript, and Babashka.
For a list of breaking changes, check here
Call-site option to add indent to entire output (left margin). Closes #15.
Additional highlighting classes:
:highlight-underlined:highlight-error:highlight-warning:highlight-info:highlight-error-underlined:highlight-warning-underlined:highlight-info-underlinedCloses #59
Automatically sets "Universal Neutral" theme and disable rainbow brackets
if user has NO_COLOR env var set to a non-black string. Closes #51.
Ability to provide a :path entry to :find option map, to highlight by path. Closes #58.
:mode aliases for :result :file and :label Closes #56.
0.11.0.2025-3-12
:string mode for outputting formatted string. Closes #55.:result :file and :label Closes #56."Universal Neutral" theme.nan, :infinity, and :-infinity to base syntax tokens2024-11-20
Support for non-browser environments such as node, deno, etc. Closes #47
Formatted key and value printing to body of fireworks.messaging/bad-option-value-warning.
fireworks.sample namespace as single source of truth for examples and data for testing.
:pp mode via incorporation of upstream patch from me.flowthing.pp 2024-11-13.77 into fireworks.pp2024-11-11
2024-11-8
lasertag dep to 0.8.22024-11-7
lasertag dep to 0.8.12024-11-6
:lamda-label to :lambda-label in theme syntax2024-11-3
java.util.Hashmaplasertag dep to 0.7.0fireworks.truncatefireworks.alert namespace:margin-top and :margin-bottom optionsfireworks.core/formatted) stack trace preview to 12 frames2024-10-23
Add "Universal Neutral" theme that works on both light and dark backgrounds
Add :when option that works on both light and dark backgrounds
Add :legacy-terminal? option
Undocumented the folowing options:
:enable-terminal-truecolor?:enable-terminal-italics?:enable-terminal-font-weights?All the above are now true by default. User should now only set :legacy-terminal? to true if they want truecolor conversion for a terminal that doesn't support trucolor.
Moved cljc visual regression testing to visual_test/
:evaled-form-coll-limit option2024-10-16
2024-10-16
Add support for :label-length-limit option
Add separate shadow-cljs project for cljc visual regression testing in test/fireworks/visual
2024-10-16
2024-10-16
Add support for :label-length-limit option
Add separate shadow-cljs project for cljc visual regression testing in test/fireworks/visual
2024-10-09
2024-09-09
fireworks.pp namespace to latest version of me.flowthing/pp (2024-09-09.69).:pp mode now displays converted map entries correctly;; Before:
(? :pp (into [] {:a "foo"})) => [:a "foo"]
;; After:
(? :pp (into [] {:a "foo"})) => [[:a "foo"]]
2024-09-01
[io.github.paintparty/bling "0.1.1"]2024-08-25
:fw/debug? call-site option for printing diagnostic info about state and config.:fw/print-config? call-site option for printing merged config options.config.edn2024-08-23
2024-08-20
^{:fw/hide-brackets? true}fireworks.core/? now has 0, 1, 2, and 3 arities.fireworks.core/? now accepts a leading "flag" argument which determines the functionality.
This should be a keyword, one of the following:
:result:comment:file:log:log-:pp:pp-:trace:data.::fireworks.specs.tokens/color-tuple (no longer needed).?:
?-?--?log?log-?pp?pp-?l?i?tracep-data2024-07-6
:enable-terminal-font-weights as config option for enabling bold font weight in terminal environments which support it.?i macro for printing the info, then the result.?l macro for printing the label, then the result.?trace macro for tracing ->, ->>, 'some->', 'some->>'.?> macro for sending values to tap>, then returning value.?- macro now prints just the result.?-- macro now prints just a label, for user commentary.?log- macro now just prints the result, and returns the result.?println, ?print, ?prn, ?pr, functionality replaced by :print-with call-site option:non-coll-result-length-limit config.:non-coll-mapkey-length-limit config.?log-- macro.2024-05-22
:metadata and :metadata2 tokens in theme -> [:theme :classes]2024-05-03
fireworks.core/?> is now a "tap> and return" macro. It just taps the value and returns the result (no printing).?, ?-, or ?-- in ClojureScript, and the resulting value is a native js data structure, the result is printed with js/console.log.fireworks.truncate namespace.2024-03-02
:non-coll-result-length-limit config option:non-coll-depth-1-length-limit config optionfireworks.core/p* -> fireworks.core/p-data:mapkey-value-width-limit -> :non-coll-mapkey-length-limit:value-width-limit -> :non-coll-length-limittypetag2024-03-02
2024-03-01
:lamda-label to :lambda-label in theme syntax"Universal Neutral" is used, which works on both light and dark backgrounds.?:
?-?--?log?log-?pp?pp-?l?i?tracep-data?- macro now prints just the result.?-- macro now prints just a label, for user commentary.?log- macro now just prints the result, and returns the result.?println, ?print, ?prn, ?prFile info is now printed as:
fireworks.core/?> is now a "tap> and return" macro. It just taps the value and returns the result (no printing).
fireworks.core/p* -> fireworks.core/p-data:mapkey-value-width-limit -> :non-coll-mapkey-length-limit:value-width-limit -> :non-coll-length-limitCan you improve this documentation?Edit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |