Skip to content

Commit

Permalink
Merge pull request phalcon#11122 from phalcon/2.0.x
Browse files Browse the repository at this point in the history
2.0.x
  • Loading branch information
andresgutierrez committed Nov 24, 2015
2 parents cb6a2fb + c8fdec8 commit 7cd81ef
Show file tree
Hide file tree
Showing 69 changed files with 705 additions and 266 deletions.
23 changes: 18 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
# [2.0.9](https://github.com/phalcon/cphalcon/releases/tag/phalcon-v2.0.9) (2015-??-??)
- 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

# [2.0.8](https://github.com/phalcon/cphalcon/releases/tag/phalcon-v2.0.8) (2015-09-19)
- 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
Expand All @@ -10,7 +23,7 @@
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
- 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
Expand Down Expand Up @@ -74,20 +87,20 @@ belongs to the uniqueId or the whole session data
- Fixed generation and validation of default parameters in Volt's macros
- Added `Phalcon\Assets\Manager::getCollections()` to return all collections registered [#2488](https://github.com/phalcon/cphalcon/pull/2488)
- Now `Phalcon\Mvc\Url::getStatic()` generates URLs from routes
- Introduced `Phalcon\Mvc\EntityInterface` to allow parameters receive both Phalcon\Mvc\Model and `Phalcon\Mvc\Collection` instances
- Introduced `Phalcon\Mvc\EntityInterface` to allow parameters receive both `Phalcon\Mvc\Model` and `Phalcon\Mvc\Collection` instances
- Added `Phalcon\Session\Adapter::setName()` to change the session name
- Added BIGINT support in Phalcon\Db
- Added BIGINT support in `Phalcon\Db`
- Added new types `Phalcon\Db\Column::BLOB` and `Phalcon\Db\Column::DOUBLE` [#10506](https://github.com/phalcon/cphalcon/pull/10506)
- Automatic binding of Large Object data (LOB) in the ORM
- Support for BIT types in MySQL with binding as booleans
- Added `Phalcon\Flash\Direct::output()` allowing to place flash messages in a specific place of the view [#629](https://github.com/phalcon/cphalcon/pull/629)
- Added 'autoescape' option that allows to globally enable autoescape in any Volt template
- Added readAttribute/writeAttribute to `Phalcon\Mvc\Collection\Document`
- Added `readAttribute`/`writeAttribute` to `Phalcon\Mvc\Collection\Document`
- Added toArray to `Phalcon\Mvc\Collection\Document`
- Global setting `db.force_casting` now forces casting bound parameters to specified bind types
- Introduced new placeholders in PHQL enclosed in brackets that allow to set the type: {name:str} or {names:array}
- Now you can bind arrays in bound parameters in PHQL
- Global setting orm.cast_on_hydrate allow to cast hydrated attributes to the original types in the mapped tables instead of using strings
- Global setting `orm.cast_on_hydrate` allow to cast hydrated attributes to the original types in the mapped tables instead of using strings
- Values in LIMIT/OFFSET clause are now passed using bound parameters in PHQL
- Allowing late state binding in both Simple/Complex results to allow override `Mvc\Model::cloneResultMap`
- Added method `distinct()` in `Phalcon\Mvc\Model\Criteria` [#10536](https://github.com/phalcon/cphalcon/issues/10536)
Expand Down
27 changes: 14 additions & 13 deletions build/32bits/phalcon.zep.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions build/32bits/phalcon.zep.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/32bits/php_phalcon.h
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ typedef zend_function zephir_fcall_cache_entry;


#define PHP_PHALCON_NAME "phalcon"
#define PHP_PHALCON_VERSION "2.0.8"
#define PHP_PHALCON_VERSION "2.0.9"
#define PHP_PHALCON_EXTNAME "phalcon"
#define PHP_PHALCON_AUTHOR "Phalcon Team and contributors"
#define PHP_PHALCON_ZEPVERSION "0.8.0a"
Expand Down
27 changes: 14 additions & 13 deletions build/64bits/phalcon.zep.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions build/64bits/phalcon.zep.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/64bits/php_phalcon.h
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ typedef zend_function zephir_fcall_cache_entry;


#define PHP_PHALCON_NAME "phalcon"
#define PHP_PHALCON_VERSION "2.0.8"
#define PHP_PHALCON_VERSION "2.0.9"
#define PHP_PHALCON_EXTNAME "phalcon"
#define PHP_PHALCON_AUTHOR "Phalcon Team and contributors"
#define PHP_PHALCON_ZEPVERSION "0.8.0a"
Expand Down
27 changes: 14 additions & 13 deletions build/safe/phalcon.zep.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions build/safe/phalcon.zep.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/safe/php_phalcon.h
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ typedef zend_function zephir_fcall_cache_entry;


#define PHP_PHALCON_NAME "phalcon"
#define PHP_PHALCON_VERSION "2.0.8"
#define PHP_PHALCON_VERSION "2.0.9"
#define PHP_PHALCON_EXTNAME "phalcon"
#define PHP_PHALCON_AUTHOR "Phalcon Team and contributors"
#define PHP_PHALCON_ZEPVERSION "0.8.0a"
Expand Down
2 changes: 1 addition & 1 deletion config.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"name": "phalcon",
"description": "Web framework delivered as a C-extension for PHP",
"author": "Phalcon Team and contributors",
"version": "2.0.8",
"version": "2.0.9",
"verbose": true,
"optimizer-dirs": [
"optimizers"
Expand Down
3 changes: 0 additions & 3 deletions ext/phalcon/acl/adapter.zep.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions ext/phalcon/db/profiler/item.zep.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions ext/phalcon/db/rawvalue.zep.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 7cd81ef

Please sign in to comment.