Released 2024-05-03.
watch
debounces re-render requests with a timeout expressed in milliseconds specified with the CLI option
--watch-timeout-ms
and the ART rendering batch option :watch-timeout-ms
.auto
to watch
, truer to its purpose.:stack
to vivid.art/*render-context*
.https://repo.clojars.org/
.reduce-fsm
with tilakone
. With this change, net.vivid-inc/art
is free of Clojure-specific
dependencies, removing an obstacle to expanding this library's support for to other platforms like ClojureScript.nextjournal/beholder
, replacing it with a direct dependency on
io.methvin/directory-watcher
.Released 2023-07-15.
clj-art
and lein-art
provide their classpaths to the ART template evaluation environment, as well as a
reworked :dependencies
mechanism that uses pomegranate to add further dependencies.
This deprecates the prior ShimDandy.clj-art
):
auto
: Watches template files and directories, re-rendering on changes.config
: Dump the effective ART configuration to stdout.help
: Display tool help.render
: ART's default behavior of rendering templates.(vivid.art/render :bindings ...)
, a new *render-context*
, and (yield)
ing from those bindings.vivid.art.parallelism-test
. Demonstrates use of (render)
using (pmap)
as well as
(core.async/go)
and (core.async/thread)
.(emit)
function accepts any number of args, emitting each in order of appearance to the output.:dependencies
now expects a Leiningen-style dependencies map.(vivid.art/render)
function signature now accepts options as keyword arguments. In practice, you only need to
replace the map with its contents (delete the curly braces surrounding the map contents).art-cli
honors symlinks.:dependencies
behavior along with boot-art
.Released 2022-02-25.
Released 2022-02-24.
art-cli
-based tooling allows callers to specify a path to a JSON file to provide bindings.vivid
that had served as the umbrella for the ART project changes in this 0.6.0 release to
net.vivid-inc
.
Please update your dependencies from i.e. vivid/art
to net.vivid-inc/art
for ART 0.6.0 onwards..edn
, .json
).vivid.art.delimiters/lispy
that looks like <( )>
(note how they
ooze with LISP-iness); changed from the prior default of vivid.art.delimiters/erb
.net.vivid-inc/art
project dependencies, branched off CLI-specific code from
net.vivid-inc/art
into a new net.vivid-inc/art-cli
lib. The :dependencies
option to vivid.art/render
is also
migrated there.special
for condition handling.:multi
option,
allowing >= 2 binding specifications on the CLI.Released 2021-01-19.
clj-art
.:to-phase
allows the dataflow to stop at an earlier (render)
phase.
Useful for inspecting ART output at intermediate phases for diagnosis and for understanding ART's behavior.vivid/ash-ra-template
to vivid/art
to more closely mirror its Clojure namespace.user.dir
when determining file paths.
The defect came to light during a Maven multi-module build using
vivid:clojure-maven-plugin
.Released 2019-07-05.
(render {:bindings {...})
option.(render {:delimiters {...}})
option.vivid.art.delimiters
offers a selection of pre-defined delimiter sets: erb
, jinja
, mustache
, and php
.lein-art
.(render)
's options.(render)
from accepting options as keyword arguments to an optional options map.Released 2019-05-03.
user
.vivid.art.core/render
to vivid.art/render
.ash-ra-template
the library, and a Boot plugin boot-art
.Released 2019-04-13.
eval-soup
to an embedded evaluation environment based on ShimDandy.Released 2017-11-20.
eval-soup
to render templates featuring Clojure language processing with ERB 2.0-esque syntax.Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close