Changelogs: Decoda v6.0.0
A new version of Decoda has been released, version 6.0.0. Please download the new tag or view the documentation. If you have any questions, be sure to send me an email or comment on this post. If you run into any problems, be sure to report an issue on the Github repository.
Version: 6.0.0
Tested On: PHP 5.3.13, Composer
Requires: PHP 5.3, Composer
Commit Hash: 70a679488d2be76c8f997f7bdcc0555871e7bfe2
Changes:
- Added a Component class which all Filters, Hooks, Engines and Loaders extend
- Added a Loader class to handle resource file loading for configuration and messages
- Added Hook::startup() to initialize data before callbacks are called
- Added Decoda::addMessages() to add messages using a Loader
- Added Decoda::getBlacklist() and getWhitelist()
- Added a 2nd argument $key for Decoda::addFilter() and addHook()
- Added a default attribute to ImageFilter (img="200x200")
- Added a default attribute to ListFilter (list="upper-roman")
- Added a new TableFilter
- Added custom exceptions
- Renamed all config methods to getConfig() and setConfig()
- Renamed Filter::tag() to getTag()
- Renamed Filter::tags() to getTags()
- Renamed Engine::setPath() to addPath()
- Renamed Engine::getPath() to getPaths()
- Updated CensorHook to support blacklisting words using a Loader
- Updated EmoticonHook to support adding emoticons using a Loader
- Updated Decoda::setLocale() so that it no longer throws exceptions (can now support setting the default locale)
- Updated Engines to support multiple template lookup paths
- Updated with Travis CI and phpunit.xml integration
No Comments
No discussion has generated around this article yet? Why not provide some opinionated dialogue!