Release v0.093

Tags:

This release resolves a critical issue in v0.092 that prevented it from being able to deploy sites. If you downloaded v0.092, please upgrade to v0.093.

In this release:

BREAKING CHANGES

  • Fixed deploy objects failing to find necessary content during deploy. When deploying a site, we need to copy the entire site to a temporary directory first, because the deploy might lose access to the templates and other source files (if, for example, the site is deployed to a different git branch). This means the deploy API has changed again to take a path, not a list of pages. The deploy copies all the files from the path and then does what it needs.

More information about Statocles v0.093 on MetaCPAN

Release v0.092

Tags:

In this release:

BREAKING CHANGES

  • The API for deploy objects has changed. They now accept an arrayref of pages, not a store object to copy. This is an attempt to reduce the amount of filesystem operations Statocles needs to do during deploy (formerly it was once to build the site, then copy the whole site to the deploy).
  • The build and deploy methods of the Site object have been removed. The code to build and deploy a site has been moved to the Statocles::Command::build and Statocles::Command::deploy respectively. Site objects now have a pages method to get all the pages for the site.

Added

  • Added new Statocles::Command system. The Statocles class is now the main entry point for the command-line application, which delegates to Statocles::Command subclasses. This makes building custom commands possible.

More information about Statocles v0.092 on MetaCPAN

Release v0.089

Tags:

This release should have fixed all the bugs preventing Statocles from working on Windows, though you may need to force install some of the prerequisites.

In this release:

BREAKING CHANGES

  • Page objects now use Mojo::Path objects to define their paths. This fixes problems that prevented Statocles from working on Windows. Thanks @mohawk2!
  • Most Statocles::Store methods have been removed in favor of a single iterator that returns objects (either Statocles::Document objects for known Markdown files, or Statocles::File objects for all other files). This makes it easier to mock a Store for testing and to, in the future, allow for different document types.
  • We've removed the ability to define the class metadata in documents. This may be replaced with a map of file extension to document class in a later release.

Fixed

  • Fixed multiple bugs and test failures on Windows. Thanks @mohawk2!
  • Slightly improved test performance by testing page objects without rendering HTML

More information about Statocles v0.089 on MetaCPAN