Skip to content

Release Notes: 1.0.0

cithukyaw edited this page Nov 16, 2014 · 1 revision

What's New in Release 1.0

  • Added _addvar() to make variables from PHP available to Javascript on the front end with LC.vars.
  • Added _g() - convenience method to get/set a global variable.
  • The global JS objects Form and Page are added to the global namespace object LC so that they are accessible as LC.Form and LC.Page.
  • Enhanced the pagination helper; removed the usage of Pager->set('page', $page); added customization of the default query string name "page", for example, new Pager('pg').
  • Directory structure for jquery ui theme is changed to "/css/jquery-ui-theme/" and removed "/images/jqui".
  • Ensured that virtual directory name works and forced to use Page.url() in Javascript.
  • Added _redirect('self'), alias of _redirect().
  • The absolute URL is accepted for _redirect().
  • The short form 'v4' and 'v6' of 'ipv4' and 'ipv6' is accepted for the "protocol" option of the validation rule "ip".
  • Added minified version of jquery ui and jquery license info.
  • The class jqbutton is not limited to the button element.
  • Added a configuration variable for the default database connection.
  • Minified the output of _script().

Minor Changes

  • Used Myanmar3 unicode font for the sample Myanmar language site.
  • Added the usage of "i18n\ctn".
  • DocBlocks are updated according to phpDoc standards at http://phpdoc.org/docs/latest/index.html
  • Renamed "vendors" to "vendor" according to the composer's default installation path.
  • Removed Craw-delay in robots.txt
  • Removed dependency on jQuery UI making it optional.
  • Fixed some discrepancies in the sample codes and usage.