Releases: jhunt/verse
Verse v0.14.0
Improvements
strftime()now parses its time argument as a string, if it detects that it is not a UNIX epoch timestamp. Turns out, most people don't think of time as a single tally of seconds since Jan 1 1970, and would rather specify dates and things inY/m/d,YYYY mmm dd, and other human-friendly formats.strftime()now obliges.
Bug Fixes
- Fix uninitialized value warnings for
[% filter markdown %]blocks that don't have undef / null bodies. - Treat undefined values as the empty string in conditional
eqcomparisons.
Verse v0.12.0
Improvements
-
New
readfandwritefprimitives for dealing with unusual rendering requirements (like wrapping upstream HTML) in themes. -
The
[render] $template :: $pathoutput is now skipped ifrenderis called without anatargument (and should therefore return its output to the caller as a string).
Verse v0.11.0
New Features
- New
markdownfilter for converting Markdown into HTML, inside the template. - New
uriencodeanduridecodefilter, for those times when you need to embed URLs in other URLs (i.e. for social media links).
Verse v0.10.0
Improvements
-
We have a Docker image now! https://hub.docker.com/r/huntprod/verse/
To use it, just reference huntprod/verse:latest, or huntprod/verse:0.10.0. -
New Template language that doesn't depend on Template Toolkit, and is
more redistributable as a result. Don't worry, though, it looks like the same
templates you're used to, with some new hotness. -
verse runnow takes a port number for adjusting the listening bind.
Try it out:verse run 8080 -
A minimalist, yet beautiful default theme replaces the existing variadic
theme. The new default theme is more lightweight (no images) and
highly customizable. -
Removed dependencies on File::Slurp, which is going to have some problems
when Perl 5.30 comes around (at least, according to Perl 5.26).
Bug Fixes
verse newno longer tries to execute the site.yml if you have no$EDITOR
environment variable defined.
Distributable Release
Let's start releasing Verse via Github's Releases feature!
This marks the first public release of Verse, at version 0.9.0. The attached verse script should be portable across mot systems, as long as they have a new enough vintage of Perl itself. We're using the excellent App::FatPacker module to pack up all of our Perl libdeps into a single script, and we've moved away from XS modules like YAML::XS that require a compiler to build.
Also, you can now verse -v or verse version to find the version of Verse you are running.