All notable changes to this project will be documented in this file.
Updated to [zprint "1.0.1"]
Changed the way that files are processed, removing reliance on
rename, and using just slurp and spit to read and create files.
No temporary file created, it is all held in memory. Which it was
anyway in zprint-file, but now it is explicit here in lein-zprint.
You can now place a function in an options map specified on the command
line. You cannot place a function in an options map specified in a
project.clj file. Functions are rarely specified in an options map, so
this hasn't been much of a restriction, nor is the inability to specify it
in a project.clj file a serious problem. You can always place a function
in an options map in the ~/.zprintrc file.
If you place cwd-zprintrc? or search-config? in the options map
specified on the command line or in the options map in the project.clj file,
they will be honored and used to when configuring the zprint library.
Updated to [zprint "0.5.1"]
Removed planck and lumo zprint filter command line creation.
Updated to [zprint "0.5.0"]
Changed version number to match the version of zprint used ("0.5.0"),
instead of lagging behind by one version. So there was no version
0.4.x for lein zprint.
Limited configuration -- command line options -d or --default, or
:zprint map in the project.clj file containing :command :default.
If you specify default configuration lein-zprint will ignore all
external configuration, including the $HOME/.zprintrc file and
most of the information in the :zprint key in the project.clj file.
The only external configuation it will accept (which doesn't affect
the formatting) is the :old? key in the :zprint map in the
project.clj file.
Updated to [zprint "0.4.12"]
Added test for ;!zprint support which allows any number of ;
:parallel? for each function. Saves
maybe 20% of time on longer files with big functions.Updated to [zprint "0.3.0"]
Note that while configuration from environment variables and Java system properties still works in lein-zprint, that these capabilities are DEPRECATED as of zprint "0.3.0", and will likely go away at some point in the future. If you care about them, file an issue!
Added :lumo-cmd-line capability as well. Similar to :planck-cmd-line but slightly different.
Added :planck-cmd-line capability to output a single line script to make a pretty printing filter using planck. Some minor tests and lots of documentation.
Updated to [zprint "0.2.16"]
Updated to [zprint "0.2.7"]
Added test for comment handling
Fixed broken command line options
Can 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 |