Changed
- Marked as deprecated:
Phalcon\Mvc\Model::existsBelongsTo()
Phalcon\Mvc\Model::existsHasMany()
Phalcon\Mvc\Model::existsHasOne()
Phalcon\Mvc\Model::existsHasOneThrough()
Phalcon\Mvc\Model::existsHasManyToMany()
Phalcon\Translate\Adapter\Csv::exists()
Phalcon\Translate\Adapter\Gettext::exists()
Phalcon\Translate\Adapter\NativeArray::exists()
#15785
- Moved
Phalcon\Container
toPhalcon\Container\Container
#15796 - Changed the
Phalcon\Support\Collection::get()
to return the default value if the key does not exist or the value isnull
to mirror the behavior of v3. #15370 - Moved
Phalcon\Registry
toPhalcon\Support\Registry
#15802 - Moved
Phalcon\Url
toPhalcon\Mvc\Url
#15798 - Moved
Phalcon\Loader
toPhalcon\Autoload\Loader
#15797 - Changes to
Phalcon\Autoload\Loader
:- Renamed
registerClasses()
tosetClasses()
- Renamed
registerDirectories()
tosetDirectories()
- Renamed
registertExtensions()
tosetExtensions()
- Renamed
registertFiles()
tosetFiles()
- Renamed
registertNamespaces()
tosetNamespaces()
#15797
- Renamed
- Moved
Phalcon\Di
toPhalcon\Di\Di
#15799 - Removed references to
Phalcon\Tag
from the framework in favor ofPhalcon\Html\TagFactory
#15801 Phalcon\Forms\Form
requires aPhalcon\Html\TagFactory
to be set before it can render elements #15801Phalcon\Di\FactoryDefault
will now return aPhalcon\Html\TagFactory
for thetag
service #15801
Fixed
Phalcon\Logger\LoggerFactory::load()
to correctly use the key of the adapters array as the name of the adapter #15831
Added
- Added:
Phalcon\Mvc\Model::hasBelongsTo()
Phalcon\Mvc\Model::hasHasMany()
Phalcon\Mvc\Model::hasHasOne()
Phalcon\Mvc\Model::hasHasOneThrough()
Phalcon\Mvc\Model::hasHasManyToMany()
Phalcon\Translate\Adapter\Csv::has()
Phalcon\Translate\Adapter\Gettext::has()
Phalcon\Translate\Adapter\NativeArray::has()
#15785
- Added
filter
,camelize
,dynamic
anduncamelize
inPhalcon\Support\HelperFactory
#15805 - Added
Phalcon\Autoload\Loader::getDebug()
to collect debugging information from the loader (enabled from the constructor) #15797
Fixed
- Fixed
Phalcon\Dispatcher\Dispatcher::setParams()
not updating local params duringdispatch()
loop #15603 - Fixed related records auto-save with
belongsTo()
relation #15148
Removed
- Removed
Phalcon\Exception
; replaced by\Exception
#15800