Quick links: Content - sections - sub sections
EN FR

Trace:

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
en:changelog:1.4 [2012/06/09 07:48] laurenten:changelog:1.4 [2012/07/20 07:50] laurent
Line 6: Line 6:
  
 Release date: **still in development** Release date: **still in development**
 +
 +Jelix 1.4 beta is available!
  
 ===== Main improvements ===== ===== Main improvements =====
Line 11: Line 13:
    * new jApp::config() method, to retrieve the configuration and new jApp::loadConfig() to load the configuration. $gJConfig is deprecated.    * new jApp::config() method, to retrieve the configuration and new jApp::loadConfig() to load the configuration. $gJConfig is deprecated.
    * new jApp::coord() method, to retrieve the coordinator and new jApp::setCoord() to set the coordinator into the Jelix environment. $gJCoord is deprecated.     * new jApp::coord() method, to retrieve the coordinator and new jApp::setCoord() to set the coordinator into the Jelix environment. $gJCoord is deprecated. 
-   * new autoload system. Classes to autoload can be indicated into module.xml file of your modules. the autoload system support the [[https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md|PSR0 specification ]]+   * new autoload system. Classes to autoload can be indicated into module.xml file of your modules. The autoload system support the [[https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md|PSR0 specification]]
    * virtual templates    * virtual templates
    * new API to support HTTP cache    * new API to support HTTP cache
Line 18: Line 20:
    * modules can provide their own response object and indicate them directly into the configuration    * modules can provide their own response object and indicate them directly into the configuration
    * modules can provide their own CSS and JS file without copying them into the @@F@www@@ directory    * modules can provide their own CSS and JS file without copying them into the @@F@www@@ directory
 +   * The plugins directories of modules are now automatically registered, no need to indicate them into @@pluginsPath@@.
    * Jelix-scripts now searches a .jelix-scripts.ini in the current directory and its parent directories, before searching in the home directory    * Jelix-scripts now searches a .jelix-scripts.ini in the current directory and its parent directories, before searching in the home directory
    * New jDb driver using the mysqli API (FlorianLB)    * New jDb driver using the mysqli API (FlorianLB)
 +   * jDb: experimental driver for sqlite3 
 +   * Support of automatic language parameter in URLS. 
 +   * Improved support of locale/lang: supports now only official lang code, and use real country code when it is not given. 
 +   * en_US becomes the default locale of Jelix. en_EN is now deprecated, since it is not a valid language code
  
  
Line 28: Line 34:
   * **READ THE [[http://docs.jelix.org/en/manual-1.4/installation/migrate|MIGRATION TUTORIAL]]**.   * **READ THE [[http://docs.jelix.org/en/manual-1.4/installation/migrate|MIGRATION TUTORIAL]]**.
  
-  * your entrypoints should be changed: 
-    * the coordinator should be set into the jApp object. 
-    * the configuration file should be indicated with jApp::loadConfig() instead of the coordinator. 
-    * See a template in lib/jelix-scripts/templates/www/index.php.tpl 
-  * you are encouraged to replace all your $gJConfig/$gJCoord use by jApp::config() and jApp::coord(). 
  
-===== Details of changes in 1.4b1 =====+ 
 +===== Details of changes from 1.4b1 to 1.4 ===== 
 + 
 +==== Enhancements ==== 
 + 
 +  * Ticket #953 - Support of automatic language parameter in URLS. static and param elements in urls.xml can now have a type attribute with 'lang' or 'locale' value. For param elements of these types, there is no need to give them when calling jUrl::get.> At startup, the language in jApp::config()->locale is set automatically with the value of the param or static element that have a type 'lang' or 'locale'
 +  * Improved support of locale/lang. It don't add same value as lang for country when country doesn't exist, since it has no sens for most of offical locales. new methods getCorrespondingLocale, getPreferedLocaleFromRequest and langToLocale on jLocale. 
 +  * The configuration parameter availableLanguageCode of the autolocale plugin has been moved to the main configuration and renamed to availableLocales. 
 +  * jDb: experimental driver for sqlite3 
 +  * jDb: removed Intuition plugin. not maintened anymore. 
 +  * The plugins directories of modules are now automatically registered 
 + 
 +==== Bugs fixed ==== 
 + 
 +  * fixed for resources in external modules (Steven jehannet) 
 +  * Removed some forgotten gJConfig and gJCoord call.. 
 +  * admin-module jpref ui : added selectedMenuItem (Steven Jehannet) 
 +  * Fixed SQL script of Testapp, to specify table type, else some tests could fails with some mysql server (Brice Tencé) 
 +  * Fixed issues with the new mysqli plugin (Brice Tencé) 
 +  * Remove a dependancy of testapp to php's gd module (Brice Tencé) 
 +  * Fixed bug in jforms: instance with non numerical ids were not correctly destroy after several ::get or ::create. 
 +  * informations about modules should not be loaded when there are deactivated 
 + 
 + 
 + 
 +===== Details of changes from 1.3 to 1.4b1 =====
  
 ==== Enhancements ==== ==== Enhancements ====
Line 42: Line 68:
     * the global variable $gJCoord is now deprecated. You should use jApp::coord() instead, to retrieve the coordinator. Entry points should store the coordinator into jApp, not into $gJCoord.     * the global variable $gJCoord is now deprecated. You should use jApp::coord() instead, to retrieve the coordinator. Entry points should store the coordinator into jApp, not into $gJCoord.
     * New HTTP cache API on response object: cleanCacheHeaders(), setExpires(), setLifetime(), isValidCache(). @FlorianLB     * New HTTP cache API on response object: cleanCacheHeaders(), setExpires(), setLifetime(), isValidCache(). @FlorianLB
-    * jXmlResponse allow now to specify your own mime type. @Thomas PT +    * jXmlResponse allows now to specify your own mime type. @Thomas PT 
     * in the configuration, we can indicate a response class which is in a module. Syntax: @@{responsetype}=module:{modulename}~{classname}@@. And the response class should be store into a @@F@{modulename}/responses/{classname}.class.php@@.     * in the configuration, we can indicate a response class which is in a module. Syntax: @@{responsetype}=module:{modulename}~{classname}@@. And the response class should be store into a @@F@{modulename}/responses/{classname}.class.php@@.
     * Methods isModuleEnabled and getModulePath have been moved from jCoordinator to jApp. These methods are still availabled on jCoordinator but deprecated     * Methods isModuleEnabled and getModulePath have been moved from jCoordinator to jApp. These methods are still availabled on jCoordinator but deprecated
Line 49: Line 75:
     * rework the errors/exceptions handlers     * rework the errors/exceptions handlers
     * Short error message is now displayed on the error page at startup     * Short error message is now displayed on the error page at startup
-    * New coordintor plugin to trace execution (FlorianLB)+    * New coordinator plugin to trace execution (FlorianLB)
     * actions in controllers can be implemented with @@__call@@ (flav)     * actions in controllers can be implemented with @@__call@@ (flav)
   * jUrl   * jUrl
Line 77: Line 103:
  
  
-===== Details of changes in 1.4pre ===== 
- 
-==== Enhancements ==== 
- 
-==== Bugs fixed ==== 
- 
-  * none 
  
  

en/changelog/1.4.txt · Last modified: 2012/08/30 11:21 by laurent

Recent changes RSS feed Creative Commons License