Spress v2.1.0 Release Notes

Release Date: 2016-03-26 // about 8 years ago
  • 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.