* Fri Dec 27 2019 Arjen de Korte <suse+build@de-korte.org>
- Update to 4.0.0
* Provided PHP 7.4 support
* Added the ability to Phalcon\Model::findFirstBy* and Phalcon\Model::findBy* to process passed
parameters (for order etc.)
* Added Phalcon\Helper\Str::decrement to remove a number from a string or decrements that number
if it already is defined
* Added Exception storing and getting in the Phalcon\Domain\Payload\*
* Added options array in Phalcon\Http\Cookie in the constructor as well as getOptions and
setOptions
* Added options array in Phalcon\Http\Response\Cookies in the set()
* Changed Phalcon\Mvc\Router\Annotations to use converters instead of conversors
* Changed Phalcon\Di::setRaw to Phalcon\Di::setService to align more with the use of the method
* Changed Phalcon\Http\CookieInterface to Phalcon\Http\Cookie\CookieInterface to avoid confusion
* Changed Phalcon\Storage\Adapter\*::getKeys to accept an optional $prefix so as to filter the
keys returned
* Changed dates reported by the logger to use the "c" date mask for better sorting
* Changed the Phalcon\Storage\Adapter\* constructors to require the
Phalcon\Storage\SerializerFactory object
* Fixed PhalconMvc\Model to ignore internal setters if properties have the same name as the
setter
* Fixed Phalcon\Logger\Formatter\Line to not add PHP_EOL at the end of the message and added it
to the Phalcon\Logger\Adapter\Stream
* Fixed Phalcon\Mvc\Model\MetaData\Apcu and Phalcon\Mvc\Model\MetaData\Redis to allow setting the
prefix and lifetime using the options or use the default.
* Fixed Phalcon\Storage\Adapter\AbstractAdapter, Phalcon\Storage\Adapter\AbstractInterface
getters to contain a default value
* Fixed Phalcon\Storage\Adapter\Memory initializing the array store correctly
* Fixed Phalcon\Storage\Adapter\Stream to capture notice if the stream is not opened properly
* Fixed Phalcon\Security::getRandomBytes to return int
* Fixed Phalcon\Security to use 10 as the default work factor
* Fixed Phalcon\Helper\Arr::validateAny and Phalcon\Helper\Arr::validateAllto use null as default
for the callback method
* Fixed Phalcon\Escaper::escapeHtml and Phalcon\Escaper::escapeHtmlAttr to allow null values
* Fixed Phalcon\Mvc\Model::cloneResultMap to correctly recognize aliased fields and include them
in the resultset
* Fixed Phalcon\Http\Request::getQuery,Phalcon\Http\Request::getPut,Phalcon\Http\Request::getPost
to treat 0 as non empty for allowNoEmpty
* Fixed Phalcon\Router::handle() to use the / route on empty string
* Fixed Phalcon\Storage\Adapter\Libmemcached::getKeys and Phalcon\Storage\Adapter\Redis::getKeys
to return the keys that are prefixed only for that adapter
* Fixed factories to return a new instance when calling newInstance and not a cached one from the
internal mapper
+ Phalcon/Annotations/AnnotationsFactory
+ Phalcon/Cache/AdapterFactory
+ Phalcon/Config/ConfigFactory
+ Phalcon/Db/Adapter/PdoFactory
+ Phalcon/Image/ImageFactory
+ Phalcon/Logger/AdapterFactory
+ Phalcon/Paginator/PaginatorFactory
+ Phalcon/Storage/AdapterFactory
+ Phalcon/Storage/SerializerFactory
+ Phalcon/Translate/InterpolatorFactory
+ Phalcon/Translate/TranslateFactory
+ Phalcon/Validation/ValidatorFactory
* Fixed Phalcon\Mvc\Model::cloneResultMap to cast integers when fields are TYPE_BIGINTEGER,
TYPE_INTEGER, TYPE_MEDIUMINTEGER, TYPE_SMALLINTEGER, TYPE_TINYINTEGER
* Fixed Phalcon\Http\Response::setCookies to use the correct interface
* Fixed Phalcon\Test\Unit\Image\Adapter\Gd::processBackground to correctly calculate the alpha
value.
* Fixed Phalcon\Logger\Adapter\AdapterInterface adding missing inTransaction()
* Fixed Phalcon\Mvc\Model::cloneResultsetMap to remove fatal error when looking up the columnMap.
* Fixed Phalcon\Http\Request\FileInterface by adding getError that was missing.
- Update to 3.4.5
* Fixed segfault in Phalcon\Mvc\Micro\LazyLoader::__call() when the handler has a syntax error.
* Fixed RuntimeException in Phalcon\Db\Adapter\Pdo Trying to call method upper on a non-object.
* Fixed Phalcon\Storage\Adapter\Redis::delete() deprecated warning from php-redis
- Update to 3.4.4
* Generated Dialect Class referring to a PHP class can't be found
* Changed default gcc's CFLAGS so that, the extension should be properly generated for most hosts,
including Docker
* Phalcon\Forms\Form::clear() now correctly clears single fields.
* Used latest stable Zephir from 0.10.x branch to prevent segfaults with PHP 7.3.6
Version: 3.4.3-bp151.1.1
* Sun Mar 03 2019 Mariusz Fik <fisiu@opensuse.org>
- Update to 3.4.3:
* Provided PHP 7.3 support
* Wed Jan 02 2019 fisiu@opensuse.org
- Update to 3.4.2:
* Added missing Volt tags to array helper in
Phalcon\Mvc\View\Engine\Volt\Compiler::functionCall
* Added the ability to explicitly define nullable columns (especially timestamp ones)
* Refactored Phalcon\Db\Adapter\Pdo::query to use PDO's prepare and execute
and Phalcon\Db\Adapter::fetchAll to use PDO's fetchAll
* Fixed Phalcon\Validation\Validator\Numericality to accept float numbers
on locales with comma decimal point
* Fixed Phalcon\Tag so it unsets parameters before passing options array to
self::renderAttributes
* Fixed Phalcon\Http\Response::setFileToSend filename; when file downloaded
it had an extra _
* Fixed Phalcon\Mvc\Model\Query::execute to properly bind parameters to sub queries
* Fixed Phalcon\Http\Request::getJsonRawBody #13501. It will now return
false when the body content is empty, as well as when it encounters an
error whilst decoding the JSON content
* Fixed Phalcon\Validation::preChecking to allow use Phalcon\Db\RawValue as
an empty container for isAllowEmpty option
* Fixed object binding and placeholder creation in Phalcon\Db\Adapter::insert
and Phalcon\Db\Adapter::update
* Fixed Phalcon\Config\Adapter\Ini not building config objects properly for
numerical keys
* Fixed incorrect scope of view variables
* Fixed Phalcon\Config::_merge not merging config with numeric properties properly
* Wed Sep 26 2018 fisiu@opensuse.org
- Update to 3.4.1:
* Changed Phalcon\Cache\Backend\Redis to support connection timeout parameter
* Fixed Phalcon\Validaiton\Validator\Uniqueness::isUniquenessModel to properly
get value of primary key when it has different name in column map
* Fixed bad performance for repeated Phalcon\Mvc\Router::getRouteByName and
Phalcon\Mvc\Router::getRouteById calls for applications with many routes
* Fixed incorrect tinyblob bind type in Phalcon\Db\Adapter\Pdo\Mysql::describeColumns
* Fixed Phalcon\Http\Request::getPut to provide json content-type support
* Sat Jul 21 2018 fisiu@opensuse.org
- Update to 3.4.0:
* Added Phalcon\Mvc\Router::attach to add Route object directly into Router
* Added the ability to listen request:beforeAuthorizationResolve and
request:afterAuthorizationResolve events
* Added call event afterFetch in Phalcon\Mvc\Model:refresh
* Added Phalcon\Http\Response::getReasonPhrase to retrieve the reason phrase from the Status header
* Added Phalcon\Loader::setFileCheckingCallback to set internal file existence resolver
* Added ability to pass aggregation options for Phalcon\Mvc\Collection::aggregate
* Added Phalcon\Crypt::setHashAlgo, Phalcon\Crypt::getHashAlgo, Phalcon\Crypt::useSigning
and Phalcon\Crypt::getAvailableHashAlgos
* Added Phalcon\Crypt::__construct so now the cipher can be set at object
construction and the calculating message digest can be enabled without the
need to call setCipher or useSigning explicitly
* Added Phalcon\Crypt\Mismatch. Exceptions thrown in Phalcon\Crypt will use this class
* Added Phalcon\Http\Cookie::setSignKey to set sign key used to generate a message
authentication code (eg. message digest)
* Added Phalcon\Http\Response\Cookies::setSignKey to set sign key used to
generate a message authentication code (eg. message digest)
* Changed Phalcon\Crypt::setCipher so that IV length will be reconfigured
during setting the cipher algorithm
* Changed Phalcon\Crypt::setCipher so that method will throw Phalcon\Crypt\Exception if a cipher is unavailable
* Fixed regression for Phalcon\Debug\Dump::output to correctly work with detailed mode
* Fixed Phalcon\Mvc\Model\Query\Builder::having and Phalcon\Mvc\Model\Query\Builder::where
to correctly merge the bind types
* Fixed Phalcon\Mvc\Model::setSnapshotData to properly sets the old snapshot
* Do not throw Exception when superglobal does not exist
Version: 3.3.2-bp150.2.4
* Fri Mar 30 2018 fisiu@opensuse.org
- Update to 3.3.2:
* Fixed Phalcon\Db\Dialect\Mysql::modifyColumn to produce valid SQL for
renaming the column
* Fixed Phalcon\Forms\Form::getMessages to return back previous behaviour
* Fixed Phalcon\Mvc\Model\Behavior\SoftDelete::notify to solve
the exception that soft deletion renamed model
* Fixed E_DEPRECATED error for each() in Phalcon\Debug\Dump
* Tue Jan 16 2018 fisiu@opensuse.org
- Update to 3.3.1:
* Added support of PHP 7.2 and initial support of PHP 7.3
* Added support for switch/case syntax to the Volt Engine
* Added Phalcon\Logger\Adapter\Blackhole
* Added Phalcon\Http\Request::hasHeader to check if certain header exists
* Added support of 103 (Early Hint) HTTP status code
* Added router:beforeMount event to Router::mount
* Added ability to use PDO option aliases on database connect
* Added Phalcon\Mvc\Model\MetaData\Apcu
* Added ability to use string(file path) as a argument in Phalcon\Config\Factory::load()
* Changed Phalcon\Mvc\Model to allow to pass a transaction within the query context
* Many other fixes and improvements.
* Mon Oct 23 2017 fisiu@opensuse.org
- Update to 3.2.4:
* Fix regression by removing injection of dispatcher's parameters.
* Fri Oct 20 2017 fisiu@opensuse.org
- Update to 3.2.3:
* Minor fixes arround Mvc\Model, View and Query.
* Wed Oct 11 2017 fisiu@opensuse.org
- Don't generate c from zephir. Use c code provided by upstream.
- Drop zephir-0.9.11.tar.gz.
* Fri Aug 18 2017 fisiu@opensuse.org
- Update Phalcon to 3.2.2 and use zephir 0.9.11:
* Bug fix release.
* Wed Aug 02 2017 tchvatal@suse.com
- Drop the php5 part to keep only php7 due to the php5 removal
* Wed Jul 12 2017 fisiu@opensuse.org
- Update version to 3.2.1:
* Added Phalcon\Db\Dialect\Mysql::getForeignKeyChecks to generate a SQL to
check the foreign key settings
* Many bugfixes.
* Fri Jun 23 2017 fisiu@opensuse.org
- Update version to 3.2.0 and build with zephir 0.9.9.
* Mon Apr 10 2017 fisiu@opensuse.org
- Update Phalcon to 3.1.2 and use zephir 0.9.7.
* Tue Dec 20 2016 fisiu@opensuse.org
- Update Phalcon to 3.0.2 and use zephir 0.9.5.
* Wed Aug 24 2016 fisiu@opensuse.org
- Update Phalcon to 3.0.1.
* Wed Aug 17 2016 fisiu@opensuse.org
- Compile phalcon-3.0.0 with zephir 0.9.4.
* Sat Jul 30 2016 fisiu@opensuse.org
- Update Phalcon to 3.0.0. Package built with zephir-0.9.3.
* Thu Mar 24 2016 fisiu@opensuse.org
- Phalcon 2.1.0 RC1.
* Thu Mar 10 2016 fisiu@opensuse.org
- Phalcon 2.1.0 beta 2.
* Sun Nov 29 2015 mruz@poczta.onet.pl
- Phalcon 2.0.9
+ Improved overall support of SQL for migrations
+ Fixed bug that double serializes data using Redis adapter
+ Added console:boot event to allow the developer to perform initialization actions
+ Added implementation options allowEmpty for Phalcon\Mvc\Model\Validator\Ip
+ Fixed SQLite bug[#10997] related to setting of index type
+ Added Phalcon\Db\Dialect\Sqlite::listIndexesSql - to generate the SQL to get query list of indexes
+ Fixed MySQL bug[#11036] related to setting of index type
+ Added missed RouteInterface::setHostname, RouteInterface::getHostname
+ Added strict option for ExclusionIn validator
+ Added Phalcon\Text::underscore - to make a phrase underscored instead of spaced
+ Added Phalcon\Text::humanize - to make an underscored or dashed phrase human-readable
+ Added ability to change document class to be returned in ODM through class option
* Sat Sep 26 2015 mruz@poczta.onet.pl
- Phalcon 2.0.8
+ Added Phalcon\Security\Random::base58 - to generate a random base58 string
+ Added Phalcon\Logger\Adapter::isTransaction() to check whether the logger is currently in transaction mode or not (Phalcon 1.3 behavior)
+ Phalcon\Session\Adapter now closes the session when the adapter is destroyed (Phalcon 1.3 behavior)
+ Fixed fetching of data in modes FETCH_CLASS, FETCH_INTO and FETCH_FUNC in Phalcon\Db
+ Added missing code property in Phalcon\Validation\Message available in Phalcon 1.3.x
+ Added Phalcon\Db\Column::TYPE_TIMESTAMP to allow migrations on these kind of columns
+ Added Phalcon\Db\ColumnInterface::hasDefault to check if a column has a default value declared in its database column definition
+ Fixed determining of default value for column in Phalcon\Db\Dialect\MySQL, Phalcon\Db\Dialect\Sqlite and Phalcon\Db\Dialect\Postgresql classes
+ Now Phalcon\Mvc\Model::__call invokes finders as in __callStatic
+ Fixed Phalcon\Db\Dialect\Postgresql::getColumnDefinition for BIGINT and BOOLEAN data types
+ Fixed BOOLEAN default value in Phalcon\Db\Dialect\Postgresql
+ Added Phalcon\Validation\Validator\CreditCard - validation credit card number using luhn algorithm
* Tue Aug 18 2015 mruz@poczta.onet.pl
- Phalcon 2.0.7
+ Image\Adapter\Gd::save() no longer fails if the method or the instance is created with a filename without an extension
+ Fixed segfault and implementation of Image\Adapter\Imagick::text()
+ Exceptions thrown in Volt compiler are now Phalcon\Mvc\View\Engine\Exception
+ Now you can import macros from other files using {% include "file.volt" %}
+ Undefined function calls fall back to macro calls in Volt templates
+ Automatic bound parameters in Mvc\Model\Criteria now uses a different prefix
+ than Mvc\Model\Query\Builder to avoid collisions
+ Added Cache\Multiple::flush() to flush the cache backends added to the multiple system
+ Fixed Session\Bag::remove()
+ Session\Bag::destroy() eliminates any temporary data in the variables bag
+ afterCreate/afterUpdate are only called if saving related records was successful
+ Added an optional parameter removeData to Session\Adapter::remove() to remove any data in $_SESSION that belongs to the uniqueId or the whole session data
+ Now session variables making use of unique prefixes use # as internal separator
+ Added parameter that changes the default operator for conditions in method Mvc\Model\Criteria::fromImput() #10749
+ Added \Phalcon\Queue\Beanstalk::listTubes() to get list of a tubes
+ Added a fix to avoid that a table present in many sub-queries causes invalid SQL generation
+ Add CookieInterface, update Cookie and Cookies to use this interface - Decoupling Cookies and Cookie - Check Session state before using it in Cookie. #10789
+ Fixed merge of two Phalcon\Config instances that contains object values different than Phalcon\Config compatible instances
+ When creating tables in Postgres, inline PRIMARY keys are now escaped properly#10797
+ Fixed incorrect generation of SELECT COUNT(*) causing unexpected exceptions when phqlLiterals is disabled
+ Added Phalcon\Security\Random - secure random number generator class. Provides secure random number generator which is suitable for generating session key in HTTP cookies, etc
* Wed Jul 22 2015 mruz@poczta.onet.pl
- Phalcon 2.0.6
+ Builds in TravisCI now uses Docker to perform faster builds
+ Added Http\Response::setCache() to easily set cache headers.
+ When a beanstalkd connection is closed the adapter does not produce a notice anymore
+ Default separator in Text::increment is now _ (underscore)
+ Using tel_field in Volt now generates correct PHP code
+ SQL generated by PostgreSQL dialect in dropTable and dropView is now correct
+ Errors generated in Cache\Backend\Memcached now shows the result code to easily debug problems
+ Fixed LIMIT/OFFSET SQL generation in Mvc\Model\Query\Builder
+ Fixed Logger\Formatter\Line to match 1.3.x behavior
+ Fixed warning when castOnHydrate' is true #10648
+ Added name before int/float/numeric/string/bool/null/other variables in Debug\Dump::output
+ Now Validation\Validator\Identical allows both 'accepted' and 'value' as value to keep backwards compatibility
+ Added \Phalcon\Mvc\Model\MetaData\Redis adapter.
+ Added Redis Session adapter
+ Fixed bug in Mvc\Model\Criteria::fromInput unallowing it to use renamed columns
+ Fixed bug in Http\Request getRawBody()/getPut() clears input buffer #10694
- Phalcon 2.0.5
+ Fixed a bug that makes that attaching an events manager to an Mvc\Application causes view->render() not being called
+ Fixed bug that makes generated SQL statements using FOR UPDATE not being parsed correctly
+ The email filter now no longer removes the ' character #10603
+ When an array is bound the cached representation in PHQL makes the SQL being incorrectly generated the second time.
+ Added \Phalcon\Mvc\Model\MetaData\Memcache and \Phalcon\Mvc\Model\MetaData\Libmemcached adapters
+ Fixed a bug that makes macro can't be called recursively in Volt