Releases: UnionOfRAD/lithium
v2.0.0
Change Log
v2.0.0
Changed
-
Dropped support for PHP 7.x
-
The
Mongo
data source adapter has been updated to work with themongodb
extension
instead of the oldmongo
extension. This brings back full li₃ support for MongoDB
on PHP 7.x. Due to how the new extension works, we do not support GridFS through the
adapter anymore. You can still access GridFS using the underlying connection object.
(Simon Jaillet, Dirk Brünsicke) -
Removed deprecated functionality: magic download header in action response, unit testing's
expectException method. (David Persson) -
ConfigExceptions (thrown when accessing non existent configurations) are now allowed to
bubble up inCache
. -
The following previously deprecated things have been removed:
- The
XCache
Cache
adapter - Glob brace support in
Libraries
- Per adapter filters
- The
String
class - Long options like
--foo-bar
are now only made available asfooBar
and
notfoo-bar
after parsing in the console router. - The test
Mocker
class - Support for
mcrypt
in the sesionEncrypt
strategy - Support for old-style rendering instructions i.e.
['template' => '/path/to/template']
- The
FirePhp
logging adapter - Support for old-style AOP filters
- Support for gernally retrieving class parents via
_parents()
, it is still possible to call
this method in subclasses ofController
andModel
. - Support for generally halting executing via
_stop()
, it is still possible to call
this method in subclasses ofController
and `Command. - Support for generally using
__set_state()
. - Support for generally using
respondsTo()
. - Support for generally using
invokeMethod()
. - Support for generally using
_instance()
.
- The
-
The
Apc
adapter has been migrated from the traditional, now-unsupported APC extension, to APCu. No code changes are required—simply upgrade to the new extension.