Quick links: Content - sections - sub sections
EN FR

Trace: 1.4.x 1.6.x 1.0.7 1.7 1.1 1.2rc1 accueil creation-application 1.3

This is an old revision of the document!


Jelix 1.3

Still in development. This page is listing updates and enhancements added since 1.2.x version, and that will be available for the future 1.3 version.

Changelog updated as of: 037b82735df4

See [the documentation of new features here|en:manual-1.3-changes]

Main improvements

  • jLog and jResponseHtml have now plugins
  • new error managements. jLog is used to store errors, and errors are not displayed any more in responses.
  • a new nice debug bar, extensible, showing many informations (errors, sql queries…)
  • JELIX_APP_* constants are now replaced by a new jApp class

Migrating from Jelix 1.2.x

  • replace the lib/ directory
  • run php myapp/install/installer.php. jelix modules will update all needed things.
  • delete the content of temp directories
  • change your application.init.php to use jApp::initPaths() instead of defining JELIX_APP_* constants. see testapp as example
  • If you have activated minification of js and css files in your html responses, it won't work anymore because the configuration has changed. (manual soon)

Details of changes

Enhancements

  • JELIX_APP_* constants are now replaced by new properties in a new jApp class. application.init.php must be changed into existing applications, to set paths with jApp instead of creating JELIX_APP_* constants. However, to be compatible with existing modules, these constants are created automatically by jCoordinator
  • jLog has been moved to the core, and has now plugins
  • new basic html response (on which you can provide a template containing a full html page)
  • jResponseHtml has now plugins.
  • Minify is now a plugin of jResponseHtml, and is not integrated any more in the class. The class jMinifier does not exists any more, because of performance issues and licence issues. To minify css files and js files, the developer should now add a minify.php entry point which uses directly Minify.
  • new true debug bar (as a plugin of jResponseHtml). It displays errors gracefully, and has its own plugins:
    • plugin to show SQL queries
  • Ticket #1126: new way how errors are managed. Responses are not responsible anymore to displays errors. Errors are handled by loggers. Loggers can inject errors in responses if they want. A new template is responsible to display a generic error message. Details of the errors are stored by loggers. Moved or renamed some configuration parameters
  • Made changes in responses to use the new error management. For most of responses, error content is output as a text response or as a html response.
  • jBuildTools, new processing instruction: includeinto, includerawinto. new options for all 'include' processing instruction
  • added a new method jRequest::isAjax
  • support of PHP 5.0 and PHP 5.1 has been removed definitively.
  • Removed jUrl::parseFromRequest()
  • jMailer: added the possibility to copy all mails in files
  • jRequest::getIp() - better handling of HTTP_X_FORWARDED_FOR
  • implementation of jDbConnection::getAttribute() to retrieve db version (ticket #913)
  • new method jApp::loadPlugin to load a plugin for any component

Bugs fixed

Other versions

en/changelog/1.3.1300469492.txt.gz · Last modified: 2011/03/18 17:31 by laurent

Recent changes RSS feed Creative Commons License