Releases: spress/spress
Releases · spress/spress
v3.0.0
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.
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.
v2.2.0-rc
What's new in this release?
- [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.
v2.1.3
What's new in this release?
- [New] Class
FileInfo
has been added to the support classes set of the core. - [New] New configuration value aimed to plugin manager builder for excluding directories in the disconvering class phase. Useful to avoid scaning test classes.
- [Fixed] Fixed the truncated
title_path
attribute when the filename contains dots before the extension. More details in bug #88. - [Fixed] The value of
title_path
is not altered when it is parsed byFilesystemDataSource
class. More details in bug #88. - [Fixed] If you set
preserve_path_title
attribute totrue
you will get the title parsed from the filename as-is (without the date part). Onlyrawurlencode
function is applied. See PR #90.
v2.1.2
What's new in this release?
- [New] Two new methods have been added to StringWrapper class:
lower
andupper
. - [Fixed] Bug #80 has been fixed: "Composer install fails if no namespace is specified in new plugin". See PR #81.
- [Fixed] Bug #82 has been fixed: "Substr '---' in yaml string cause builder crash".
- [Fixed] Bug #83 has been fixed: "Same tags on different languages cause builder crash".
v2.1.1
What's new in this release?
- [Fixed] Bug #78 has been fixed: "/:basename permalink variable contains .html when using *.html.twig".
- [Fixed] Bug #79 has been fixed: "Error loading plugin's dependencies with -s option at site:build command".
- [Improved] Clarified the message when
site:build
command is invoked against a non Spress site folder.
v2.1.0
What's new in this release?
- [New] Support for calling to an existing command inside a command plugin. The
CommandEnvironmentInterface
interface has been added andCommandPluginInterface
has been updated withsetCommandEnvironment
andgetCommandEnvironment
methods. See feature #77. - [New] Sort items of a collection. See feature #67.
- [New] Support to extends TwigRenderizer with tags. See PR #65.
- [New] Each item of a sorted collection has
next
andprior
relationships. At compile time, you have access to these throughpage.relationships.next
andpage.relationships.prior
variables. See feature #69. - [New] Relationship collection for items. A new class has been added:
RelationshipCollection
. A new method getRelationshipCollection has been added toItemIterface
. - [New]
MirrorConverter
class has been replaced byMapConverter
. See feature #73. Fixed ticket: #28 "Support .twig extention". - [New] Added
ItemCollection
class to Core support classes. - [New] Added
getCollections
method inCollectionManager
class. - [New] Added
clearConverter
andcountConverter
methods inConverterManager
class. - [Improved] Improved permalinks customizations. See PR #64.
- [Improved] Eliminated unnecessary calls to
setItem
method ofSiteAttribute
class inContentManager
class. - [Improved] The methods for managing the collection of plugins in
PluginManager
class have been moved to aCollection
class. - [Improved] The methods for managing the collection of collection-item in
CollectionManager
class have been moved to aCollection
class. - [Improved] Clarified the error message in case of denied permissions when renaming the temporal file in
SelfUpdateCommand
class. - [Fixed] Fixed the path available at
page.path
variable. Prior to this version, this variable contains the relative path tosrc/content/
but with the filename extension changed by the Converter. Now, the original filename extension isn't altered. A new path snapshot has been created inItemIterface
.
v2.0.2
What's new in this release?
- [New]
PluginTester
class has been added to the core for testing plugins easily. - [Fixed] Fixed an issue with the content retrieved by
after_render_page
event. - [Fixed] A constant name of
ItemInterface
has been changed:SNAPSHOT_AFTER_PAGE
->SNAPSHOT_AFTER_RENDER_PAGE
.
v2.0.1
What's new in this release?
- [Improved] Normalized the directory separator to '/' irrespective of the operating system.
- [Fixed] Fixed the file's extension
twig.html
in configuration files. - [Fixed] Fixed the exception "A previous item exists with the same id" thrown by Taxonomy generator due to a key sensitive issue. A normalize method has been added. e.g: "news", "NEWS", " News " are the same term: "news".
- [Fixed] Fixed the namespace of
AttributeValueException
atPaginationGenerator
class.
v2.0.0
What's new in this release?
- [New]
ConsoleIO
class uses Symfony CLI styles. - [Improved] 100% tests passed in HHVM.
- [Fixed] Renamed the package name
yosymfony/spress-installer
tospress/spress-installer
. - [Fixed] Fixed a race condition with the
url
attribute of items before dispatchspress.before_render_blocks
event. - [Fixed] Questions made by commands are using
ConsoleIO
methods. - [Fixed] Fixed a bug with the built-in server by which a relative URL that contains a dot inside the trailing component throws a 404 not found error. e.g:
/doc/2.0
. - [Fixed] Added a default value for
$fallback
argument ofaskHiddenResponseAndValidate
andaskAndHideAnswer
methods inIOInterface
.