Spress v2.0.0-alpha Release Notes
Release Date: 2015-08-12 // over 8 years ago-
- [New] Data-sources: (issue #46) data sources can load site data from certain locations like filesystem or database.
- [New] Site structure (issue #41).
- [New] Data-writer (issue #44): The DataWriter's responsibility is to persist the content of the items.
- [New] Collections (issue #43): collections allow you to define a new type of document like page or post.
- [New] Generators (issue #45): Generators are used for generating new items of content.
- [New] These events
spress.before_convert
,spress.after_convert
receive a ContentEvent as an argument. - [New] Renderizer (issue #48): Renderizer are responsible for formatting content.
- [New] List of new events:
spress.before_render_blocks
,spress.after_render_blocks
,spress.before_render_page
,spress.after_render_page
. See #49. - 👀 [New] Established PHP 5.5 as minimum version (see #42).
- [New] List of new configuration attributes:
text_extensions
,attribute_syntax
,preserve_path_title
,collections
,data_sources
. - ⚡️ [Improved] Updated Symfony componentes to 2.7.
- ⚡️ [Improved] Updated Markdown parser (michelf/php-markdown) from Michel Fortin.
- ⚡️ [Improved] Updated built-in theme Spresso to 2.0.
- 👍 [Deleted] Methods
initialize
andgetSupportExtension
of ConverterInterface have been deleted. - 🔌 [Deleted] TemplateManager class of plugin API.
- [Deleted] EnviromentEvent class.
- [Deleted] List of deleted events:
spress.after_convert_posts
,spress.before_render_pagination
,spress.after_render_pagination
,spress.before_render
,spress.after_render
. See #49. - [Deleted] List of configuration attributes (config.yml) deleted because they have been marked as deprecated:
baseurl
,paginate
,paginate_path
,limit_posts
,processable_ext
,destination
,posts
,includes
,layouts
,plugins
.