Skip to content

0.6.0

Compare
Choose a tag to compare
@Abbe98 Abbe98 released this 12 Mar 11:17
· 38 commits to main since this release

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.

Screenshot from 2021-10-12 00-17-09

Features and changes 🎈

Breaking changes ⚠️

  • mul and add 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 and include_text can now take an unlimited set of arguments. #79
  • contains is a new template function for checking if a string contains another string. #94
  • get_remote and get_remote_with_config now supports URL arguments of other types than string(such as iri). #89
  • add and mul now only supports two arguments at a time.

Documentation 📄

  • The template functions include and include_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 flag config has been documented.
  • The template functions has_suffix and has_prefix has been documented. #82

Bug fixes 🪲

  • The template functions to_json and from_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.