0.6.0
Snowman 0.6.0 ⛄
This release is the sixth non-experimental release of Snowman, a static site generator for SPARQL backends. This release brings you support for forwarding multiple arguments to include
and include_text
, under the hood template functions has been reworked to ensure test-ability, and the SPARQL-client from a third-party dependency has been replaced with our own.
Features and changes 🎈
Breaking changes ⚠️
mul
andadd
now only takes two arguments instead of an unlimited number.- Multi-page path targets can no-longer start or end with
.
.
Here are some of the most notable changes:
CLI 🛠
- Most of the output from the
build
command has been removed. Non-warnings/errors can still be enabled by passing the new--verbose
option. - The
build
command will now exit if a bad multi-page path target is being referenced instead of quietly replace the illegal pattern with underscores.
Template functions 🛠
include
andinclude_text
can now take an unlimited set of arguments. #79contains
is a new template function for checking if a string contains another string. #94get_remote
andget_remote_with_config
now supports URL arguments of other types thanstring
(such asiri
). #89add
andmul
now only supports two arguments at a time.
Documentation 📄
- The template functions
include
andinclude_text
has been documented. #85 - The limit argument of
replace
has been documented. #84 - There are new documentation regarding Snowman development itself.
- The
build
command flagconfig
has been documented. - The template functions
has_suffix
andhas_prefix
has been documented. #82
Bug fixes 🪲
- The template functions
to_json
andfrom_json
are now available in child templates as intended. #90
Other changes 🍿
/
can now be used in multi-page path targets.- Multi-page path targets can no longer be empty.
- Multi-page path targets can no-longer start or end with
.
.
Installing Snowman 🌨
Download the binary for your OS/architecture, rename it to "snowman", and place it in a directory on your path. Alternatively, place it in your project folder and execute it with the ./
prefix.
We provide binaries for six architectures/operation systems, if none of these are suitable for you, you can build it from source. If you think we should provide pre-built binaries for additional platforms, consider raising an issue.
Roadmap and Snowman 0.7.0 🗺
Let us know what we should include in Snowman 0.7.0 either by raising an issue or opening a discussion.
Note that there is currently a discussion open regarding a potential breaking change for math template functions and there is a plan to change the interface of the cache
CLI command.
Discuss 💬
You can discuss this release or other aspects of Snowman in the forum.