Spress 3 is here

Hi community, it's been a long time coming but Spress is back with the version 3. This version does not content new features but some of the main packages have been updated such us Twig (from 1.x to 3.x) and Symfony components (from 3.1 to 4.4). Another important thing is that PHP 7.4 is the minimum PHP version that Spress 3 will run on. Spress 3 should be backward compatible with version 2.2.0.

Changelog

  • New Fixed the PHP minimum version to 7.4 in composer.json file.
  • New Added the supporting class Filesystem. It is an extension of Symfony Filesystem component with a method for reading the content of files.
  • Improved Updated Symfony components to 4.4.
  • Improved Updated Twig to 3.0.
  • Improved Updated "michelf/php-markdown" to 1.9.
  • New Added class DependencyResolver, a simple dependency resolver. It is useful for keeping tracks of inter-document dependencies.
  • Deleted The configuration option layout_ext is not necessary anymore. Now, the option text_extensions is used to recognize layouts files.
  • Improved The class FilesystemDataSource returns layout item identifiers without file extensions when they are unique. In case of name collision, the filename extension will be added.
  • Fixed Now, Appveyor CI installs PHP and Composer using Chocolatey package system.

If you encounter issues with the new release or have suggestions, please use GitHub Issues or the comments below.

Enjoy!

Spress 3.0.0 will be the next version

Hi community. I was working on Spress 2.3.0 whose only new feature would have been the incremental site regeneration, an experimental feature that lets Spress to recompile only the modified files in a site so it can save time and increments the performance. From a year and some months ago I'm father and I don't have enough free time for all my side projects so I have decided to focus my effors on Spress 3.0.0 (master branch). This version will work over PHP 7.2 (minimum version) and Symfony 4. I'll keep you update about all the new features and changes.

Spress 2.2.0 released

Hi community. After several months working on Spress 2.2.0, it is here with 11 new features, 6 improvements and 8 fixes. The highlights of this release are the support for themes, a little package manager based on Composer and the jumps to PHP 5.6 dropping the support for 5.5. Additionally, an issue related with copying dot-files such as .htaccess into build directory has been fixed.

Themes

Themes let you create sites based on community-maintained templates. These ones package layouts, includes and assets in a way that can be overridden by your site content. Themes are published via Packagist.org. The new:site command has been updated to let you create a site based on any theme. Additionaly, a new:theme command has been added to facilitate the task of create a new theme. You can get more details about this one here.

Read more

Spress 2.2.0-rc is out. Help us to test

Hello community. Last Monday 16th of January I released the first RC of Spress 2.2.0 (I think this will be the only RC). We need help for testing the new features. This version comes with a few new features such as a package manager, support for themes or the migration of Symfony components from 2.7 to 3.2. This migration could throw some excetions due to the deprecations introduced in Symfony Yaml component since version 2.8. In the coming days I'm going to update the documentation according to the new features. Additionaly, I'm going to review the themes of Spress add-ons organization on Github.

Read more