Relesed Version 3.0-RC4
Pre-releaseAdded
- #475 [Statie] added support for generators
parameters:
generators:
# key name, it's nice to have for more informative error reports
posts:
# name of variable inside single such item
variable: post
# name of variable that contains all items
varbiale_global: posts
# directory, where to look for them
path: '_posts'
# which layout to use
layout: '_layouts/@post.latte'
# and url prefix, e.g. /blog/some-post.md
route_prefix: 'blog'
# an object that will wrap it's logic, you can add helper methods into it and use it in templates
object: 'Symplify\Statie\Renderable\File\PostFile'
-
9b154d9 [Statie] added
-vvv
CLI option for debug output -
#473 bump to Symfony 4
-
#466 [CodingStandard] added
Symplify\CodingStandard\Sniffs\DeadCode\UnusedPublicMethodSniff
-
#471 [EasyCodingStandard] various performance improvements
-
#473 [EasyCodingStandard] added
LineLimitSebastianBergmannDiffer
for nicer and compact diff outputs -
#437 [TokenRunner] improved
AbstractSimpleFixerTestCase
with clearly named methods
Changed
-
#475 [Statie] renamed
related_posts
filter torelated_items
with general usage (not only posts, but any other own generator element)Before
{var $relatedPosts = ($post|relatedPosts)}
After
{var $relatedPosts = ($post|relatedItems)}
-
#473 [CodingStandard] use ReflectionDocBlock for docblock analysis and modification
-
#474 [EasyCodingStandard] prefer diff report for changes over table report
-
#472 [EasyCodingStandard] improve
FileProcessorInterface
, improve performance viaCachedFileLoader
Removed
-
#475 [Statie] removed
postRoute
, onlyprefix
is now available per item in generator -
#476 [CodingStandard] dropped
NoInterfaceOnAbstractClassFixer
, not useful in practise
Full diff: v3.0.0-RC3...v3.0.0-RC4