Twig扩展2.0.5版本发布 [资讯]

作者:上班偷偷打酱油 发布于:2016-09-13 浏览:508次 收藏

发布时间:2016/09/04

我们非常荣幸的宣布Twig扩展2.0.5版本发布

扩展的简单函数和简单的过滤器支持。

添加@app/views@app/modules@app/widgets作为twig_loader_filesystem加载路径,与主题的路径相同。

当第二个参数为true的时候register_asset_bundle()返回相关实例

详情查看更新日志

值得注意的是本版本可以是最后一个2.0.x的版本并且不支持向后兼容,下一个版本将会是2.1.x的版本。如果你想保持2.0.x的版本,请确认您的composer.json配置是~2.0.0


原文:

SEP 4, 2016

We are very pleased to announce the release of the Twig extension version 2.0.5 which provides three enhancements:


Extended simple functions and simple filters support.

Added @app/views, @app/modules, @app/widgets as Twig_Loader_Filesystem loader paths, same for theme pathMap paths.

Ability for register_asset_bundle() to return AssetBundle instance when second argument is true.

See the CHANGELOG for a complete list of changes.


Note that it's likely that it is the last 2.0.x release and the next one will be 2.1.x which may break backwards compatibility. Make sure you have ~2.0.0 in your composer.json if you want to stay on 2.0.x releases.


如果文章对您有所帮助,希望继续支持我们,您的支持是我们最大的动力 ¥打赏
声明:文章内容由作者原创或整理,未经允许,不得转载!
您需要登录后才可以评论。登录 | 立即注册