v4.0.0-beta.1
Pre-release
Pre-release
sergeyklay
released this
14 Jul 20:14
·
5319 commits
to master
since this release
Added
- Added
Phalcon\Factory\Exception
for factory exceptions. #13672 - Added
Phalcon\Filter\FilterInterface
for custom filter implementations. #13672 - Added
Phalcon\Db\Adapter\PdoFactory
: Factory to create PDO adapters. #13672 - Added
Phalcon\Image\ImageFactory
: Factory to create image adapters. #13672 - Added
Phalcon\Logger\LoggerFactory
: Factory to create logger objects. #13672 - Added
Phalcon\Translate\InterpolatorFactory
: Factory to create interpolator objects. #13672 - Added
Phalcon\Translate\TranslateFactory
: Factory to create translate objects. #13672 - Added
Phalcon\Domain\Payload
to help in transferring messages between layers of the application. #14123 - Added
Phalcon\Domain\PayloadFactory
: Factory to create payload objects. #14123 - Added
Phalcon\Http\Message\ServerRequestFactory::load
: Method to create aServerRequest
object from globals. #14154 - Added
saslAuthData
as option toPhalcon\Storage\Adapter\Libmemcached
to authenticate using SASL #13394 - Added
Phalcon\Collection\ReadOnly
: Read only collection. #14154 - Added
whiteList()
toPhalcon\Helper\Arr
#13954 - Added
Phalcon\Config\ConfigFactory::newInstance()
: Factory to create config objects. #13201, #13768 - Added
Phalcon\Db\Enum
#14213 - Added
Phalcon\Dispatcher\Exception
#14213
Changed
- Renamed
Phalcon\Annotations\Adapter\Files
toPhalcon\Annotations\Adapter\Stream
. #13672 - Renamed
Phalcon\Annotations\Adapter
toPhalcon\Annotations\Adapter\AbstractAdapter
. #13672 - Renamed
Phalcon\Annotations\AdapterInterface
toPhalcon\Annotations\Adapter\AdapterInterface
. #13672 - Renamed
Phalcon\Annotations\Factory
toPhalcon\Annotations\AnnotationsFactory
. #13672 - Renamed
Phalcon\Config\Factory
toPhalcon\Config\ConfigFactory
. #13672 - Renamed
Phalcon\Filter\FilterLocator
toPhalcon\Filter
. #13672 - Renamed
Phalcon\Filter\FilterLocatorFactory
toPhalcon\Filter\FilterFactory
. #13672 - Renamed
Phalcon\Image\Adapter
toPhalcon\Image\Adapter\AbstractAdapter
. #13672 - Renamed
Phalcon\Image\AdapterInterface
toPhalcon\Image\Adapter\AdapterInterface
. #13672 - Renamed
Phalcon\Paginator\Adapter
toPhalcon\Paginator\Adapter\AbstractAdapter
. #13672 - Renamed
Phalcon\Paginator\AdapterInterface
toPhalcon\Paginator\Adapter\AdapterInterface
. #13672 - Renamed
Phalcon\Paginator\Factory
toPhalcon\Paginator\PaginatorFactory
. #13672 - Renamed
Phalcon\Translate\Adapter
toPhalcon\Translate\Adapter\AbstractAdapter
. #13672 - Renamed
Phalcon\Translate\AdapterInterface
toPhalcon\Translate\Adapter\AdapterInterface
. #13672 Phalcon\Plugin
is now abstract.- Moved
method
parameter inPhalcon\Mvc\Model\Manager::getRelationRecords()
to the last position. #14115 - Moved
method
parameter inPhalcon\Mvc\Model\Manager::getBelongsToRecords()
to the last position. #14115 - Moved
method
parameter inPhalcon\Mvc\Model\Manager::getHasOneRecords()
to the last position. #14115 - Moved
method
parameter inPhalcon\Mvc\Model\Manager::getHasManyRecords()
to the last position. #14115 - Validator messages were moved into each validator. #13208
Phalcon\Paginator\Repository::getProperty()
now usesPhalcon\Helper\Arr::get()
.- Refactored
Phalcon\Collection
to allow conditional key case sensitivity. #14154 - Refactored
Phalcon\Registry
to align with thePhalcon\Collection
interface. #14154 Phalcon\Mvc\Micro::setModelBinder()
now uses the Factory Default DI if none is set. #14171Phalcon\Mvc\Model\ValidationFailed
now works withModelInterface
.- Refactored
Phalcon\Config
to extendPhalcon\Collection
#13201, #13768 - Renamed
Phalcon\Config
to extendPhalcon\Config\Config
#13201, #13768 - Renamed
Phalcon\Acl
toPhalcon\Acl\Enum
#14213 - Renamed
Phalcon\Acl\Adapter
toPhalcon\Acl\Adapter\AbstractAdapter
#14213 - Renamed
Phalcon\Acl\AdapterInterface
toPhalcon\Acl\Adapter\AdapterInterface
#14213 - Renamed
Phalcon\Application
toPhalcon\Application\AbstractApplication
#14213 - Renamed
Phalcon\CryptInterface
toPhalcon\Crypt\CryptInterface
#14213 - Renamed
Phalcon\Db\Adapter
toPhalcon\Db\Adapter\AbstractAdapter
#14213 - Renamed
Phalcon\Db\AdapterInterface
toPhalcon\Db\Adapter\AdapterInterface
#14213 - Renamed
Phalcon\Db
toPhalcon\Db\AdapterDb
#14213 - Renamed
Phalcon\Db\Adapter\Pdo
toPhalcon\Db\Adapter\Pdo\AbstractPdo
#14213 - Renamed
Phalcon\Dispatcher
toPhalcon\Dispatcher\AbstractDispatcher
#14213 - Renamed
Phalcon\DispatcherInterface
toPhalcon\Dispatcher\DispatcherInterface
#14213 - Renamed
Phalcon\EscaperInterface
toPhalcon\Escaper\EscaperInterface
#14213 - Renamed
Phalcon\Firewall\Adapter
toPhalcon\Firewall\Adapter\AbstractAdapter
#14213 - Renamed
Phalcon\Firewall\AdapterInterface
toPhalcon\Firewall\Adapter\AdapterInterface
#14213 - Renamed
Phalcon\Flash
toPhalcon\Flash\AbstractFlash
#14213 - Renamed
Phalcon\FlashInterface
toPhalcon\Flash\FlashInterface
#14213 - Renamed
Phalcon\Forms\Element
toPhalcon\Forms\Element\AbstractElement
#14213 - Renamed
Phalcon\Forms\ElementInterface
toPhalcon\Forms\Element\ElementInterface
#14213 - Renamed
Phalcon\Image
toPhalcon\Image\Enum
#14213 - Renamed
Phalcon\Mvc\View\Engine
toPhalcon\Mvc\View\Engine\AbstractEngine
#14213 - Renamed
Phalcon\Mvc\View\EngineInterface
toPhalcon\Mvc\View\Engine\EngineInterface
#14213 - Renamed
Phalcon\UrlInterface
toPhalcon\Url\UrlInterface
- Renamed
Phalcon\Validator
toPhalcon\Validator\Validator
#14213 - Renamed
Phalcon\Validator\Validator
toPhalcon\Validator\AbstractValidator
#14213 - Renamed
Phalcon\Validator\ValidatorComposite
toPhalcon\Validator\AbstractValidatorComposite
#14213 - Renamed
Phalcon\Validator\CombinedFieldsValidator
toPhalcon\Validator\AbstractCombinedFields
#14213 - Renamed
Phalcon\Validator\Validator\File\FileAbstract
toPhalcon\Validator\Validator\File\AbstractFile
#14213
Fixed
- Fixed
Phalcon\Mvc\View::getRender()
to callview->finish()
instead ofob_end_clean()
. #14095 - Fixed
Phalcon\Cache\Adapter\Libmemcached
failing to set values whenPhalcon\Mvc\Model\MetaData\Libmemcached
was in use. #14100 - Fixed
Phalcon\Db\Column
to recognizetinyint
,smallint
,mediumint
,integer
as valid autoIncrement columns. #14102 - Fixed
method
parameter inPhalcon\Mvc\Model\Manager::getRelationRecords()
, it's not always a string, null by default. #14115 - Fixed
method
parameter inPhalcon\Mvc\Model\Manager::getBelongsToRecords()
, it's not always a string, null by default. #14115 - Fixed
method
parameter inPhalcon\Mvc\Model\Manager::getHasOneRecords()
, it's not always a string, null by default. #14115 - Fixed
method
parameter inPhalcon\Mvc\Model\Manager::getHasManyRecords()
, it's not always a string, null by default. #14115 - Fixed
handlers
property inPhalcon\Mvc\Micro\Collection
to now always an array. - Fixed crash in
Phalcon\Mvc\Model::save()
when saving a circular model relation. #13354 - Fixed
Phalcon\Db\Dialect\Postgresql::truncateTable()
to now escape table names. #14125 - Fixed
Phalcon\Mvc\Model\MetaData::write()
to throw an exception iform.exception_on_failed_metadata_save
is set to true. #13433 - Fixed
Phalcon\Image\Adapter\Gd
to throw an error withimagecolorat
. #14139 Phalcon\Mvc\Model\Criteria::limit()
now corrects negative offsets.Phalcon\Di\FactoryDefault\Cli
can now use the new Filter system.- Fixed
Phalcon\Mvc\Router
now parses and uses path. #14087 - Fixed various areas in
Phalcon\Acl\Adapter
andPhalcon\Acl\Adapter\Memory
including comments, logic,denyComponentAccess
andAdapterInterface
. Added tests. #13870 - Fixed
Phalcon\Config::merge()
not merging numeric values properly #13201, #13768 - Fixed
Phalcon\Validation\Validator\File\AbstractFile
missing the resolution of thevalue
property #14198 - Fixed
Phalcon\Storage\Adapter\Stream
#14190 Phalcon\Form\Form::clear()
now correctly clears single fields. #14217- Fixed
Phalcon\Form\Form::getValue()
not to callgetAttributes()
when an element is named "attributes" #14226 - Fixed
Phalcon\Model::delete()
array to string conversion #14080 - Fixed segfault in
Phalcon\Mvc\Micro\LazyLoader::callMethod()
when handler contains syntax error.
Removed
- Removed
Phalcon\Session\Factory
. #13672 - Removed
Phalcon\Factory
andPhalcon\FactoryInterface
. #13672 - Removed
Phalcon\Translate
. #13672 - Removed
Phalcon\Db\Column::getSchemaName()
as its not relevant or settable. - Removed
Phalcon\Config::__set_state()
as it does not serve any purpose and skipped the constructor. #13201, #13768 - Removed
Phalcon\Annotations\Reflection::__set_state()
,Phalcon\Db\ColumnInterface::__set_state()
,Phalcon\Db\Column::__set_state()
,Phalcon\Db\IndexInterface::__set_state()
,Phalcon\Db\Index::__set_state()
,Phalcon\Db\ReferenceInterface::__set_state()
,Phalcon\Db\Reference::__set_state()
,Phalcon\Di\ServiceInterface::__set_state()
,Phalcon\Di\Service::__set_state()
,Phalcon\Http\Response\HeadersInterface::__set_state()
,Phalcon\Http\Response\Headers::__set_state()
,Phalcon\Http\Request::__set_state()
,Phalcon\Messages\Message::__set_state()
#14212