Skip to content

Releases: spress/spress

v3.0.0

30 Apr 23:19
Compare
Choose a tag to compare

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.

v2.2.0

07 May 12:08
Compare
Choose a tag to compare

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.

v2.2.0-rc

15 Jan 20:14
Compare
Choose a tag to compare
v2.2.0-rc Pre-release
Pre-release

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 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.

v2.1.3

03 Jul 17:39
Compare
Choose a tag to compare

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 by FilesystemDataSource class. More details in bug #88.
  • [Fixed] If you set preserve_path_title attribute to true you will get the title parsed from the filename as-is (without the date part). Only rawurlencode function is applied. See PR #90.

v2.1.2

22 May 20:48
Compare
Choose a tag to compare

What's new in this release?

  • [New] Two new methods have been added to StringWrapper class: lower and upper.
  • [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

12 Apr 19:10
Compare
Choose a tag to compare

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

26 Mar 17:53
Compare
Choose a tag to compare

What's new in this release?

  • [New] Support for calling to an existing command inside a command plugin. The CommandEnvironmentInterface interface has been added and CommandPluginInterface has been updated with setCommandEnvironment and getCommandEnvironment 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 and prior relationships. At compile time, you have access to these through page.relationships.next and page.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 to ItemIterface.
  • [New] MirrorConverter class has been replaced by MapConverter. See feature #73. Fixed ticket: #28 "Support .twig extention".
  • [New] Added ItemCollection class to Core support classes.
  • [New] Added getCollections method in CollectionManager class.
  • [New] Added clearConverter and countConverter methods in ConverterManager class.
  • [Improved] Improved permalinks customizations. See PR #64.
  • [Improved] Eliminated unnecessary calls to setItem method of SiteAttribute class in ContentManager class.
  • [Improved] The methods for managing the collection of plugins in PluginManager class have been moved to a Collection class.
  • [Improved] The methods for managing the collection of collection-item in CollectionManager class have been moved to a Collection 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 to src/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 in ItemIterface.

v2.0.2

16 Jan 20:43
Compare
Choose a tag to compare

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

09 Jan 16:47
Compare
Choose a tag to compare

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 at PaginationGenerator class.

v2.0.0

02 Jan 17:45
Compare
Choose a tag to compare

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 to spress/spress-installer.
  • [Fixed] Fixed a race condition with the url attribute of items before dispatch spress.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 of askHiddenResponseAndValidate and askAndHideAnswer methods in IOInterface.