You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Changelog
- Updated the documentation.
- Updated the package dependencies.
- Breaking change: raised the required PHP version.
- Breaking change: using PHP 7.4 features, like arrow functions and typed properties.
- Breaking change: the
YII_DEBUG
and Yii environment constants are not exposed anymore.
- Added the
ViewRenderer->view
property.
- Added a user guide based on MkDocs.
- Added an example code.
- Fixed the issue #8: partials don't support path aliases.
- Fixed the issue #9: the
Loader
class does not take into account the view context.
- Replaced the usage of
yii\base\InvalidParamException
class by yii\base\InvalidArgumentException
.
- Replaced the Phing build system by Robo.
- Updated the package dependencies.
- Breaking change: classes extending from
yii\base\Object
now extend from BaseObject
.
- Breaking change: raised the required PHP version.
- Breaking change: using PHP 7.1 features, like nullable types and void functions.
- Breaking change: removed the
CACHE_KEY_PREFIX
constants.
- Breaking change: removed the
ViewRenderer->cacheId
property.
- Added new unit tests.
- Added the
ViewRenderer->cache
property.
- Added the
ViewRenderer->enableCaching
property.
- Changed licensing for the MIT License.
- Breaking change: renamed the
yii\mustache\helpers\HTML
class to Html
.
- Breaking change: renamed the
yii\mustache\helpers\URL
class to Url
.
- Updated the package dependencies.
- Enabled the strict typing.
- Replaced phpDocumentor documentation generator by ApiGen.
- Updated the package dependencies.
- Breaking change: added
init()
methods for validating the required properties.
- Breaking change: the
Cache
class now extends from Object
class, and implements the Mustache_Cache
interface.
- Breaking change: the
Logger
class now extends from Object
class, and implements the PSR-3 logger interface.
- Breaking change: replaced most of getters and setters by properties.
- Ported the unit test assertions from TDD to BDD.
- Updated the package dependencies.
- Breaking change: changed the signature of the constructors of the
Cache
and Logger
classes.
- Breaking change: removed the
jsonSerialize()
and __toString()
methods.
- Updated the package dependencies.
- Replaced the Codacy code coverage service by the Coveralls one.
- Updated the package dependencies.
- Breaking change: removed the
toJSON()
methods.
- Removed the
final
modifier from the jsonSerialize()
methods.
- Breaking change: modified the signature of some class constructors.
- Added public getters/setters to some private properties.
- Added a fluent interface to the setters.
- Added the
jsonSerialize()
and toJSON()
methods.
- Updated the package dependencies.
- Breaking change: moved the
Helper
class to the yii\mustache
namespace.
- Optimized the unit tests.
- Removed dependency on framework messages.
- Updated the package dependencies.
- Code optimization.
- Updated the package dependencies.
- Breaking change: using PHP 7 features, like scalar and return type declarations.
- Added support for a default message category in I18N helper.
- Added code coverage.
- Added new unit tests.
- Added support for Travis CI continuous integration.
- Changed licensing for the Apache License Version 2.0.
- Updated the package dependencies.
- Added support for SonarQube code analyzer.
- Replaced the custom build scripts by Phing.
- Dropped the development dependencies based on Node.js.
- Replaced the build system by custom scripts.
- Replaced the documentation system by Doxygen.
- Breaking change: ported the library API to Yii version 2.
- Updated Mustache dependency to version 2.8.0.
- Breaking change: ported the library API to namespaces.
- Added
CMustacheI18nHelper
helper for internationalization.
- Breaking change: moved
CMustacheHtmlHelper->getTranslate()
method to CMustacheI18nHelper
class.
- Fixed the issue #1.
- Lowered the required PHP version.
- Updated Mustache dependency to version 2.7.0.
Version 0.1.0