CleverStyle Framework v2.4.2 Release Notes
-
๐ This release is not so huge as previous, but extremely important, because it drops backward compatibility, even, partially, with last release, read on.
Bad things first:
- ๐ if you're running any old version - you need to update system to
1.110.0+build-985
first, then update all components (otherwise they will not be able to uninstall completely) and ensure you've read all release notes about releases newer that you currently use, modified your code accordingly and there are no errors and deprecated messages in log file - โก๏ธ also right after upgrade to
2.4.2+build-1005
update all components
Now exciting good news:
- no redundant elements for backward compatibility!
- ๐ better performance!
- more static code analysis with SensioLabsInsights and Scrutinizer!
- ๐ PHP 5.5 is the minimum supported version now and we can use new features inside system core!
๐ New components:
- None
๐ New features:
cs\CRUD_helpers
trait added to reduce code duplicating for trivial additional operations when usingcs\CRUD
trait (currently includessearch
method)- Scrutinizer badge added
- Block templates now have access to
$block
variable, so they can render block as they like
โก๏ธ Updates:
- ๐ New upstream version of UPF, dropped PHP 5.4 support
๐ Fixes and small improvements:
- OAuth2: Fix for refresh_token in OAuth2 module
- Deferred tasks: Split
\cs\modules\Deferred_tasks::run
method into two, because they both do not share any common code anyway - ๐ OAuth2: Unnecessary return statement removed, fixed potential error in Http server mode because of function redeclaration
- ๐จ Some refactoring of DB-related classes and usages
- ๐ Fix for removing empty gallery
- Simplification in
\cs\Page
class - ๐ Tiny fixes in
\cs\Config\Module_Properties
- ๐จ Refactoring and fixes in
\cs\Session
, do not updatesign_in
time unless really sign in - Reformatting and simplification of
\cs\Permissions
- ๐จ Refactoring and simplification of
\cs\User\Permission
trait - โฌ๏ธ Dropped deprecated internal method in
\cs\Core
class - โก๏ธ Huge PhpDoc update that will allow more precise static analysis:
bool
in multiple return types of PhpDoc sections in many cases replaced byfalse
as more specific type- some PhpDoc types corrected
- ๐จ Refactoring and simplification of
\cs\Index
class - ๐ Fixes for warnings on admin pages
- ๐ Generally big amount of PhpDoc improvements and small fixes
๐ Deprecations:
- Well, this is backward incompatible version:)
โฌ๏ธ Dropped backward compatibility:
- ๐ All deprecated functionality was dropped
- All components now require System of version >= 2.0, but < 3.0 since API will be backward-compatible for whole 2.x series
- ๐ Dropped update support from System versions older than previous release, the same for all components
- โฌ๏ธ Dropped support for PHP 5.4
- Meta information unification (sorry, no transitional version this time):
meta/db.json
contents of components now available asdb
field inmeta.json
meta/storage.json
contents of components now available asstorage
field inmeta.json
versions.json
contents of components now available asupdate_versions
field inmeta.json
๐ Latest builds on SourceForge downloads page (details about installation process) or download source code and build it yourself
- ๐ if you're running any old version - you need to update system to