Spress v3.0.0 Release Notes
Release Date: 2020-05-01 // almost 5 years 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 optiontext_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.
- ๐ [New] Fixed the PHP minimum version to 7.4 in
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 thecomposer.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 inFilesystemDataSource
class. - โก๏ธ [Improved] Updated
PluginManagerBuilder
class with support for loading several plugins
๐ from extra->spress_class attribute of a plugin'scomposer.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 frominclude
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
andupdate: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 tosrc/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
toCommandEnvironmentInterface
. - โก๏ธ [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 ofnew: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 ofConsoleIO
class to use the fallback argument.