CHANGELOG.md 2.01 KB
Newer Older
1 2 3
Yii Framework 2 smarty extension Change Log
===========================================

4 5 6
2.0.3 under development
-----------------------

7
- Bug #6845: Fixed incorrect implementation of `{registerCssFile` and `{registerJsFile` (TomassunGitHub, samdark)
8
- Bug #6991: Fixed exception when using `{use class='yii\bootstrap\Nav' type='function'}` (ivanlemeshev)
9 10


Qiang Xue committed
11 12
2.0.2 January 11, 2015
----------------------
Qiang Xue committed
13 14 15 16

- no changes in this release.


Qiang Xue committed
17
2.0.1 December 07, 2014
Qiang Xue committed
18 19
-----------------------

20
- Bug #5748: `{path` was generating absolute URLs instead of relative ones (samdark, motzel)
Qiang Xue committed
21 22


Qiang Xue committed
23 24
2.0.0 October 12, 2014
----------------------
Qiang Xue committed
25 26 27 28

- no changes in this release.


29 30
2.0.0-rc September 27, 2014
---------------------------
Qiang Xue committed
31

32 33 34
- Enh #4619 (samdark, hwmaier)
    - New functions:
        - `url` generates absolute URL.
munawer committed
35
        - `set` allows setting commonly used view parameters: `title`, `theme` and `layout`.
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
        - `meta` registers meta tag.
        - `registerJsFile` registers JavaScript file.
        - `registerCssFile` registers CSS file.
        - `use` allows importing classes to the template and optionally provides these as functions and blocks.
    - New blocks:
        - `title`.
        - `description`.
        - `registerJs`.
        - `registerCss`.
    - New modifier `void` that allows calling functions and ignoring result.
    - Moved most of Yii custom syntax into `\yii\smarty\Extension` class that could be extended via `extensionClass` property.
    - Added ability to set Smarty options via config using `options`.
    - Added `imports` property that accepts an array of classes imported into template namespace.
    - Added `widgets` property that can be used to import widgets as Smarty tags.
    - `Yii::$app->params['paramKey']` values are now accessible as Smarty config variables `{#paramKey#}`.
    - Added ability to use Yii aliases in `extends` and `require`.
Qiang Xue committed
52

53 54
2.0.0-beta April 13, 2014
-------------------------
55 56 57

- no changes in this release.

Carsten Brandt committed
58
2.0.0-alpha, December 1, 2013
59 60 61
-----------------------------

- Initial release.