Skip to content

Release Notes: 1.1.1

Sithu edited this page Jan 5, 2015 · 1 revision

What's New in Release 1.1.1

  • Added timeFormat option for date and time validation rules
  • Bug fix for time validation check.

What's New in Release 1.1.0-rc

  • Installable by composer composer require lucidframe/phplucidframe:~1.1.0-rc or php composer.phar require lucidframe/phplucidframe:~1.1.0-rc
  • Added /inc/site.config.default.php which should be copied and renamed to /inc/site.config.php by the developer.
  • Added /inc/config.default.php which should be copied and renamed to /inc/config.php by the developer.
  • Renamed /inc/security.salt to /inc/.secret.
  • Added a utility function _redirect301() for 301 redirect.
  • Added a utility function _isBot() that detects the current page visited by a search bot or crawler.
  • Added a new utility function _image() which displays the entire image tag according to the (optional) dimension.
  • Added jquery ui css include by default in /inc/tpl/head.php
  • Added a directory path constant IMAGE to images/.
  • File::img() is changed accepting the desired dimension argument in the format of "widthxheight".
  • Added DIRECTORY_SEPARATOR available as _DS_.
  • Used faster string search function for performance reason.

Since Release 1.1.0 beta

  • Minimal PHP version requirement updated. The requirement is now changed to 5.2.0.
  • Handy session configuration of array in config.php.
  • Configuration of environment alongside debug level option. Added $lc_env and $lc_debugLevel in config.php.
  • Added date and time validation rules.
  • Added cookie helpers for set/get/delete cookies - cookie_set(), cookie_get() and cookie_delete().
  • Autoloading resources - funtionality for loading and unloading library files or vendor files from inc/autoload.php.
  • Savant3, the Template Engine, compatibility. The integration usage is available in the document and the LucidFrame wiki.
  • Added a helper Form::value() to set the value of an input or textarea and that allows you to safely use HTML and characters within form elements.
  • Added Form::checked() and Form::selected() to check/select check boxes, radio buttons and drop-down lists.
  • Utility of unlimited dot notation access to associated array for _g() and _cfg().
  • Session helpers are improved with better dot notation access in performance.
  • Added a convenience method _dump() in utility_helper.php for var_dump().
  • Added a javascript helper function LC.Page.detectCSSFeature(featureName) to check if any CSS feature support is available in the browser.
  • On-the-fly HTML compressor with the configuration $lc_minifyHTML in config.php, but it is always disabled while $lc_env = 'development'.
  • The template files are organized into a sub-directory /inc/tpl.
  • Added .editorconfig for unifying the coding style for different editors and IDEs.
  • Added contribution guidelines and coding standards.
  • Bootstrapped the directory /tests.
  • Removed the dependency of i18n helper from auth helper, db helper and security helper.
  • Removed the dependency of i18n helper from validation helper.
  • Removed the deprecated functions from session helper - setSession(), getSession(), setFlash(), setFlash() which are replaced by session_set(), session_get(), flash_set(), flash_get().
  • Make NULL returned if key is empty for _cfg() and _g().
  • Added responsive meta tag.
  • Moved the following configuration variables which are not important for the core into site.config.php:
    • $lc_titleSeparator
    • $lc_breadcrumbSeparator
    • $lc_dateFormat
    • $lc_dateTimeFormat
    • $lc_pageNumLimit
    • $lc_itemsPerPage
    • $lc_reqSign
    • $lc_nullFill

Minor Changes & Bug Fixes

  • Default meta description is not rendered if it is not defined explicitly.
  • Fixed FilesMatch for protected files and directories in .htaccess
  • Validate HTTP_REFERER without "www" in form submission.
  • Removed eval() from the validation helper for performance reason.
  • Force to show security warning when mcrypt extension is enabled in the server and the default salt is used.
  • Remove the sub site root configuration $lc_sites = array('admin' => 'admin') from config.php.
  • Make sure the existance of the Auth options if it is configured.
  • Moved some configuration variables which are not important for the core into site.config.php.
  • Removed the auth module configuration $lc_auth from site.config for the sample admin panel.
  • Bootstrap functions and system internal variables are better organized.
  • Encourage to use _cfg() so that some configuration variables can be accessible in the functional templates.
  • The mod_rewrite notice on bootstrap if it is disabled.
Clone this wiki locally