CleverStyle Framework v1.54.0 Release Notes

  • ๐Ÿ†• New components:

    • New Http server module allows to run Http server written in PHP, thus everything lives much longer and works much faster!

    ๐Ÿ†• New features:

    • Static pages: Live editing of Static pages
    • ๐Ÿ—„ DB::queries() and ::time() methods added (look at deprecations)
    • ๐Ÿ‘Œ Support for not only application/json, but also other application/something+json request content types
    • ๐Ÿ†• New function _header() introduced to be used instead of header(), arguments are the same
    • ๐Ÿ†• New \ExitException instead of just exit or die when there is no real need to stop whole process

    โšก๏ธ Updates:

    • โšก๏ธ UIkit updated to latest upstream version
    • ๐Ÿ†• New upstream version of Polymer and WebComponents.js
    • ๐Ÿ†• New upstream version of jQuery (still from master branch)
    • ๐Ÿ†• New upstream version of UPF

    ๐Ÿ›  Fixes and small improvements:

    • Shop: Fix for characteristics (not shown because of some bug with fotorama and untranslated string)
    • WebSockets: Tiny fix for simulating internal WebSockets event register_actions from client side
    • Removing global used during installation process
    • cs\Singleton is now based on cs\Singleton\Base in order to ease hackability and reduce code duplication
    • ๐Ÿšš Basic loader part that can be used for custom loaders during tests and in http server moved into separate file
    • ๐Ÿ›  Fix for favicon path when there is icon in theme directory
    • ๐ŸŽ Singleton performance fix
    • โœ‚ Remove unnecessary _once suffix for files including
    • ๐Ÿ›  Fix potential repeated execution of the whole system (resolve duplicated functions declaration)
    • ๐Ÿ›  Fix for session deletion with WebSockets enabled (missing session id during event firing)
    • ๐Ÿšš Functions that work with global state moved into separate file and are not included by base loader
    • ๐Ÿ›  Fix for setting cookie to empty string didn't remove it from $_COOKIE superglobal
    • Be ready for $_GET, $_POST and $_REQUEST being array-like objects instead of arrays
    • WebSockets: Rename prepare_cli.php in WebSockets module to more logical name start_cli.php
    • Event class simplification
    • ๐Ÿ‘Œ Improvement of server type detection
    • __invoke() added to \cs\False_class
    • ๐Ÿ‘‰ Show information about module even if it is not installed

    ๐Ÿ—„ Deprecations:

    • DB::instance()->queries and ->time properties

    Possible partial compatibility breaking (very unlikely, but still possible):

    • โšก๏ธ Update support for Blogs module from very old versions removed (not likely to be an issue)

    ๐Ÿ— Latest builds on downloads page or download source code and build it yourself