CleverStyle Framework v1.110.0 Release Notes
-
๐ Major change in this release happening to session management.
\cs\Session
class introduced and now covers all session management functionality instead of having everything in still large\cs\User
class. Though, complete backward compatibility is present and will be kept until 2.0.๐ Also this release brings new module Blockchain payment, this is actually first payment module, it integrates nicely with Shop module and any other if needed, and allows to accept payments in Bitcoin!
๐ This is not all yet, now all builds are automatic! This means that all stable builds will be kept as long, as you need them, also bleeding edge nightly builds are prepared after each commit just for you!
๐ One more thing here - if you are using PHP 5.4 - it is encouraged to upgrade to 5.5 or even better 5.6, because 5.4 support will be dropped in 2.0 release together with all deprecated functionality.
๐ Look at SourceForge downloads page.
๐ This is the last release before 2.0, be sure to keep your components up to date for easy and smooth upgrade to next major release! ๐ Update to 2.0 will be available only from 1.110.0+, update older releases to 1.110 before moving forward!
๐ New components:
- New Blockchain payment module, pay for anything in Bitcoin
๐ New features:
- Shop: Notion of currency added to Shop module
- ๐ New events:
- System/Config/init/before
- System/Config/init/after
- System/Session/init/before
- System/Session/init/after
- System/Session/del/before
- System/Session/del/after
- System/Session/del_all
- Now it is possible to use
.cs-table-*
classes in addition to custom elements with the same name - ๐ Since now after each commit new builds will be published on SourceForge
โก๏ธ Updates:
- ๐ New upstream version of BananaHTML
- ๐ New upstream version of WebComponents.js, thankfully, no patches needed this time
- ๐ New upstream version of UIkit
- ๐ New upstream version of UPF:
- Do not allow custom elements (with dash in name or regular elements with
is
property)
- Do not allow custom elements (with dash in name or regular elements with
๐ Fixes and small improvements:
- โก๏ธ Throwing deprecated error on PHP 5.4 with recommendation to update to 5.5+
- ๐ Run Travis CI tests on PHP 7, nightly builds currently, to be ready when it will be released officially as stable
- ๐ Shop: Some events now passes
currency
together with other arguments in order to provide better context - ๐ Fix for
cs.config
when passing array there - Shop: Do not show "Pay now" for cash payment method
- Shop: Additional parameter in payment confirmation event - callback, to avoid redirects when it is not desirable
- Shop: Repeated payment confirmation will have no effect, so can be freely executed as many times as needed
- Shop: Fix for "Pay later" button didn't work
- Shop: Fix for bug when after successful payment order status didn't change (paid property worked fine)
- Shop: Fix for wrong recalculation of available units
- ๐ Big changes again:
\cs\Session
class introduced, all session-related work moved from\cs\User
to new class - ๐ User-specific settings processing moved to event handler instead of doing it in session object
- System core and components switched to using
\cs\Session
for session-related things and it's events - โก๏ธ Http server: Http server updated according to new structure of System core
- ๐
release-notes.md
added in oder to avoid relying purely on GitHub releases - Http server: Disable memory cache for
\cs\User
class under http server - ๐จ Hugely refactored, simplified and improved dependencies check
- ๐ฆ Now dependency check will account conflicts in both sides, not only from side of package that is going to be installed
- โก๏ธ
package
item in some modules updated to reflect real name of package directory - ๐ Fix for inclusion multiple inline Web Components
- ๐ง Inline scripts inclusion placed near file includes (placement depends on configuration)
- ๐ Support of new
meta.json
option for hiding module in main menu - ๐ฆ Do not use
/dir
file in module/plugin/theme distributive package, usepackage
frommeta.json
file instead, but still keep file until 2.0 for backward compatibility - ๐ท Force Travis CI to use container-based infrastructure
- ๐ Build scripts moved info single class
- DarkEnergy theme doesn't have hardcoded copyright anymore,
<!--bottom_blocks-->
might be used to specify it instead, also<!--top_blocks-->
might be used to customize header - ๐ฆ Do not use
/version
file in system core package anymore, keep for backward compatibility till 2.0 - ๐ฆ
meta.json
added to system core package root - ๐ Significantly faster build creation
- ๐ Allowed building multiple modules, plugins and themes at once in corresponding mode
- ๐ Fix for admin page not opening because of missing
\cs\Route
class import - ๐ Fixed forms for permissions addition and editing
- ๐ Http server: Move some code in Http_server module into namespace
- Actually no need for
exit
in Core class - Get rid of
exit
, we can actually replace them withecho
+return
statements - โก๏ธ Files permissions updated
- SensioLabInsight badge added, existing renamed and switched to SVG
- ๐ Fix for incorrect detection of other components that provides the same functionality
- Some tweaks suggested by SensioLabsInsight
- ๐
\cs\Language
instance caching removed from__()
function - ๐ User-specific directories removed from .gitignore
- ๐ Multiple unused variables removed
- ๐ Multiple unused
use
statements removed - Photo gallery: Fix for potential bug with images deletion in Photo gallery module
- ๐จ
\cs\Mail
class refactoring - Avoid using
goto
in\cs\Session
- ๐จ Refactoring of
\cs\DB\MySQLi
- ๐ LOTS of smaller fixes all over the place
๐ Deprecations:
- ๐ Deprecated events (use newer instead):
- System/Config/before_init
- System/Config/after_init
- System/User/del_session/before
- System/User/del_session/after
- System/User/del_all_sessions
Possible partial compatibility breaking (very unlikely, but still possible):
- ๐ Set of functions removed from global namespace because were used in one or two places only, and there was no need to add them into global namespace.
Removed functions:
- check_mcrypt
- curl
- apc
- memcached
๐ Latest builds on SourceForge downloads page (details about installation process) or download source code and build it yourself