Skip to content

Latest commit

 

History

History
351 lines (148 loc) · 6.71 KB

CHANGELOG.md

File metadata and controls

351 lines (148 loc) · 6.71 KB

Changelog

0.6.1 (2019-02-19)

  • ignore templates by exact match (suggested by Sergio)
  • ignore *.tpl.php templates by default

0.6.0 (2019-02-09)

  • Allow customization of breadcrumb display field (PR #4 by @philippdaun)

0.5.9 (2018-04-24)

  • added "replacevalues" filter
  • added Padloper templates to default ignored template list
  • removed settings "disable noescape filter"
  • code optimizations

0.5.8 (2018-04-05)

  • added "ifstatus" macro
  • added "ifloggedin" macro

0.5.7 (2018-02-21)

  • added "ifpage" macro
  • added "getchildren" filter (+ alias "children")

0.5.6 (2018-01-11)

  • added Tracy Debugger's templates to the default ignored templates
  • added "original" keyword to the srcset filter
  • added experimental filter "readsvg" (do not use in production)

0.5.5 (2017-12-13)

  • new filter: optionchecked

0.5.4 (2017-12-02)

  • getembedurl filter improvements

0.5.3 (2017-08-22)

  • editlink: append attributes to defaults if it starts with "+"

0.5.2 (2017-07-31)

  • fix $gettemp() being unavailable without calling savetemp filter first (eg. from other filters)

0.5.1 (2017-07-26)

  • Latte updated to 3.0.0-dev (requires PHP 7.0)
  • savetemp filter: changed gettemp() to $gettemp() to avoid global function
  • minify macro: remove experimental features

0.5.0 (2017-07-25)

  • new "savetemp" filter: save data to reuse later using gettemp()
  • new firstkey, lastkey filters (for arrays)

0.4.9 (2017-07-20)

  • clear cache if 'clearcache' GET parameter is present (SuperUser only)
  • new 'srcset' filter
  • new 'embedyoutube' filter (https://goo.gl/a8WxXH)
  • new 'localname' filter
  • GitHub wiki: add sidebar

0.4.8 (2017-06-30)

  • new 'group' filter: allows creating groups from a PageArray based on a page field value
  • new 'getline' filter: same as 'getlines' but returns only one item
  • new 'replacetokens' helper filter for CKEditor 'Token Insertion' plugin (experimental)

0.4.7 (2017-06-14)

  • 'getlines' filter: added fallback to default language
  • 'getlines' always return array (even if there's only one matching item)

0.4.6 (2017-05-29)

  • added ignoredTemplates module setting (thanks to mke)

0.4.5 (2017-05-24)

  • add stripslashes when 'noescape' is disabled in module settings

0.4.4 (2017-04-23)

  • new 'getembedurl' to retrieve embed url from video urls (for Youtube and Vimeo)
  • new 'append' and 'prepend' filters to easily append/prepend data
  • 'embediframe' filter: added 'urlParams' parameter
  • added 'viewFile' to bodyclass filter (translates to 'v-viewfile_name')

0.4.3 (2017-04-19)

  • new module option: disable 'noescape' filter
  • '_t' global function: use $config->default_translations array as a translation fallback

0.4.2 (2017-04-12)

  • new 'list' filter

0.4.1 (2017-03-28)

  • 'imageattrs' and 'getlines' filters

0.4.0 (2017-03-25)

  • 'editlink' macro updates

0.3.9 (2017-03-24)

  • 'editlink' macro updates

0.3.8 (2017-03-22)

  • new macros: 'minify' and 'editlink'

0.3.7 (2017-02-27)

  • added 'truncatehtml' filter

0.3.6 (2017-02-24)

  • added 'embediframe' filter

0.3.5 (2017-02-23)

  • added 'protectemail' filter

0.3.4 (2017-02-20)

  • added pagination classes to 'bodyclass' filter

0.3.3 (2017-02-17)

  • added 'surround' and 'lazy' filters
  • documentation move do GitHub wiki

0.3.2 (2017-02-16)

  • multilanguage fix for 'getsetting' filter
  • documentation fix for 'n:pages'

0.3.1 (2017-02-15)

  • added 'default' filter
  • added 'bgimage' filter
  • added 'consolelog' filter
  • added 'bd, bdl, dump, d' filters (requires Tracy Debugger module)

0.3.0 (2017-02-10)

  • added 'sanitize' filter (+ alias 'sanitizer')
  • added alias 'pager' to 'renderpager' filter
  • fix $modules fuel instead $module

0.2.9 (2017-01-31)

  • change in adding custom macros and filters: $view->addMacro(), $view->addFilter()
  • added $view->invokeFilter($name, $args) method to run filters directly in PHP
  • updated filters to accept PageArrays instead selectors only
  • new filter: 'renderpager'
  • new filter: 'getsetting' (to use with TextformatterMultivalue module)
  • $view->latte returns the Latte object
  • lowercase filter names

0.2.8 (2017-01-26)

  • added "defaultTextdomain" setting to module config
  • update Latte to 2.4.3

0.2.7 (2017-01-20)

  • added "breadcrumb" and "count" filters
  • "get" filter returns the first image in case of Pageimages

0.2.6 (2017-01-17)

  • added "getParent" and "get" filters

0.2.5 (2017-01-10)

  • option to replace PHP templates with Latte files (needs manual renaming admin.php to admin.latte)
  • removed automatic views directory creation feature

0.2.4 (2016-12-06)

  • added additional filters and macros (optional, see README)
  • added 'languages', 'fields', 'templates', 'logs' to the default API variables (suggested by Pixrael)

0.2.3 (2016-11-22)

  • Latte upgraded to 2.4.2
  • do not use autoloader for loading Latte (fixes FileCompiler issues)

0.2.2 (2016-11-15)

  • multiple macros fix

0.2.1 (2016-10-07)

  • do not process HannaCode renders

0.2.0 (2016-09-27)

  • use absolute path for default layout file

0.1.9 (2016-07-25)

  • added htmlspecialchars_decode for the global _t() translation helper

0.1.8 (2016-06-30)

  • Latte updated to 2.4
  • removed FakePresenter because there's built-in way to set default layout file in v2.4

0.1.7 (2016-06-17)

  • run translated strings through html_entity_decode() (suggested by adrianmak)

0.1.6 (2016-06-08)

  • enable setting template latte file with/without extension ($view->viewFile = 'basic-page' and $view->viewFile = 'basic-page.latte')
  • $view->json_encode returns JSON encoded string/markup. Possible values are true and PHP's json_encode options (eg. JSON_PRETTY_PRINT).
  • if "viewFile" begins with "//", $config->paths->templates and viewDir is not prepended to the view path

0.1.5 (2016-05-18)

  • removed default context "General" to allow _'string' syntax

0.1.4 (2016-05-07)

  • fix hardcoded 'view' for api_var when setting fuel

0.1.3 (2016-05-04)

  • replace t() and n() helper functions with _t() and _p() to avoid possible collisions
  • add replacement, context and textdomain support for pluralization helper function

0.1.2 (2016-05-02)

  • add global t() and n() helper functions for easier string translation
  • documentation fixes

0.1.0 (2016-05-01)

  • first public release