Spress v3.0.0 Release Notes

Release Date: 2020-05-01 // over 1 year ago
  • What's new in this release?

    • ๐Ÿ›  [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.

Previous changes from v2.2.0

  • What's new in this release?

    • ๐Ÿ‘ [New] Dropped the support for PHP 5.5. The minimum version now is 5.6.
    • ๐Ÿ”Œ [Fixed] The Spress-installer plugin is included in the composer.json file when a new blank theme is created.
    • ๐Ÿ›  [Fixed] Fixed an issue when loading layouts and includes of the current theme.
    • ๐Ÿฑ [Fixed] Fixed an issue related with the presedence between the theme's assets and the site's assets.
    • ๐Ÿ— [Fixed] Bug #107 fixed: ".htaccess not being included in build".
    • ๐Ÿ›  [Fixed] Fixed an issue related to the convertion to array of a Finder class in FilesystemDataSource class.
    • โšก๏ธ [Improved] Updated PluginManagerBuilder class with support for loading several plugins
      ๐Ÿ”Œ from extra->spress_class attribute of a plugin's composer.json file.
    • โœ… [Improved] Renamed some tests with a more descritive name.
    • ๐Ÿ›  [Improved] Fixed some descriptions in commands.
    • [Improved] Replaced the use of PHPUnit_Framework_TestCase class by TestCase.
    • ๐Ÿ”ง [Improved] Deleted the .htaccess value from include key of configuration files due to the fix #107.
    • ๐Ÿ‘€ [New] Support for themes. See the new feature #98.
    • โšก๏ธ [New] Package manager with the following new commands: new:theme, add:plugin, remove:plugin and update:plugin. Additionaly, new:site command has been updated for scaffolding new sites using themes. See the new feature #96.
    • ๐Ÿ‘€ [New] Allow default attributes on "pages" collection. See new feature #93.
    • ๐Ÿ‘€ [New] New options for applying avoid_renderizer feature to type of files and files belong to a path (relative to src/content folder). See new feature #91.
    • [New] Added a verbosity level param (optional) to the write method of IOInterface.
    • [New] Added verbosity and very-verbosity level messages to the ContentManager class.
    • ๐Ÿ‘ [New] Added support for overwriting messages to the output in IOInterface.
    • ๐Ÿ‘ [New] Added support for ask choice questions in IOInterface.
    • [New] Added the method getSpress to CommandEnvironmentInterface.
    • โšก๏ธ [New] Updated to using Symfony 3.2 components.
    • [Improved] The terms generated by TaxonomyGenerator for each item appears sorted.
    • ๐Ÿ›  [Fixed] Avoid an error using --force option of new:site command over a
      non-empty directory that contains "hidden" directories and files.
    • ๐Ÿ‘€ [Fixed] Fixed a bug related with the "pagination generator" and the draft posts. See bug #101.
    • ๐Ÿ›  [Fixed] Fixed the askAndHideAnswer method of ConsoleIO class to use the fallback argument.