Release v0.076

Tags:

A couple bugfixes in this release:

  • Links on the index page with full URLs are no longer rewritten incorrectly. This was a regression from #345.
  • Using statocles deploy --clean with a Git repository when the content and the deploy are on the same branch is no longer allowed. This protects against deleting all the source content and templates.

Full changelog below.

Continue reading Release v0.076...

Release v0.075

Tags:

It's been a while, but we have a bunch of changes, and the start of some new documentation.

Some deprecations this time, in the continuing run-up to v1.0:

  • Document data attributes now must be hashes. This makes all the data attributes (document, page, site, application) consistent and easier to manage.
  • The default layout is now layout/default.html.ep, not site/layout.html.ep. Now that layouts are bundling multiple themes, having a specific directory is better.

The new features include:

  • Content sections. Templates and documents can now define content that can be used later in the layout. This allows applications with tags or feeds, for example, to add content to the layout header, sidebar, or footer.
  • The bundle theme command now allows you to specify which files you want to bundle. This makes it easy to copy only certain things from the default theme. This is helpful for the templates that don't change much, like the feed templates, robots.txt, and sitemap.xml templates.
  • The site object now has a templates attribute which allows you to override the site's default layout, sitemap.xml, and robots.txt.
  • The document page sections method now allows for indexes as arguments. This makes it easier to use document sections in template.

And some bugfixes:

  • The LinkCheck plugin now correctly handles relative links to parent directories (..).
  • The LinkCheck plugin now warns about links with empty href attributes. This is technically legal, but is more likely a problem of not filling in the URL.
  • The index page now properly handles relative links. Previously, relative links on an index page would be broken when the index gets moved to /index.html.

Finally, some new documentation is in development, starting with a new theme guide. Please try it out and let us know if anything isn't clear by submitting a Github ticket or telling us on IRC

Full changelog below.

Continue reading Release v0.075...

Release v0.074

Tags:

Some minor bugfixes in this release:

  • Time zone problems that were causing tests to fail are now fixed. We're now correctly using your local time zone everywhere, and not UTC.
  • Better error messages when Pod::Weaver throws an exception. When using the weave attribute in the Perldoc app, you must also provide a weaver.ini config file for Pod::Weaver to use. If it's missing, we now throw a better error message saying what to do.

Full changelog below...

Continue reading Release v0.074...

Release v0.073

Tags:

Two tiny fixes in this release:

  • The Mojolicious version we depend on has been updated because of deprecations in version 6.54.
  • We now always push the Git deploy even if there is no new commit, just in case we didn't get the last commits pushed. This could happen if a deploy was able to create a commit, but could not push for whatever reason (server down, conflict, or other problem).

Full changelog below.

Continue reading Release v0.073...

Release v0.072

Tags:

A lot of little fixes in this release, mostly to the Statocles project build/release process. But one important one: The version of Path::Tiny we rely on is now updated to fix an issue with relative paths.

Also, the Statocles::Test module is mostly deprecated so that you don't need to have test modules installed on your machine for runtime purposes. This makes it easier to move Statocles around.

Full changelog below.

Continue reading Release v0.072...