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 otherapplication/something+json
request content types - ๐ New function
_header()
introduced to be used instead ofheader()
, arguments are the same - ๐ New
\ExitException
instead of justexit
ordie
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 oncs\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 namestart_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