195 Commits

Author SHA1 Message Date
1fe3d61a3b Fixes #16838: yii\mutex\Mutex::acquire() no longer returns true if lock is already acquired by the same component in the same process 2018-11-05 00:23:23 +03:00
ba9f038586 Added extra upgrade note about CSRF cookies [skip ci] 2018-03-27 16:30:49 +03:00
be73606eee Fixed a small spelling mistake 2018-03-20 18:22:49 -06:00
52ffaa1b25 Merge branch '2.0.15-dev'
* 2.0.15-dev:
  prepare for next release
  release version 2.0.15
  remove ColumnSchema import from mysql Schema because it conflicts with existing class
  Added russian docs
  Fixed grammar
  improved filtering condition on yii\db\ActiveRecord
  Wording adjustments and doc enhancements [skip ci]
  Fixed possible SQL injection through `ActiveRecord::findOne()`
  Fixes #15878: Fixed migration with a comment containing an apostrophe

Conflicts:
	framework/UPGRADE.md
2018-03-20 13:45:22 +01:00
a38302fdfd improved filtering condition on yii\db\ActiveRecord 2018-03-20 11:42:28 +01:00
5f75916cde Wording adjustments and doc enhancements [skip ci] 2018-03-20 11:20:56 +01:00
b37f361ad7 Fixed possible SQL injection through ActiveRecord::findOne() 2018-03-20 11:20:56 +01:00
a7ccf65855 Update UPGRADE.md
fixes #15899
2018-03-15 13:18:59 +01:00
ca4e1a5c9c #15776: Removed unnecessary UPGRADE note, added @berosoboy to changelog [skip ci] 2018-03-08 01:40:02 +03:00
319c6dc228 Update UPGRADE.md 2018-03-05 10:52:08 +01:00
bd5f17e792 Updated UPGRADE.md [skip ci]
Closes #15828
2018-03-04 20:36:27 +02:00
ab8e1bc9bd Added UPGRADE.md regarding schema caching
Closes #15776
2018-03-03 20:50:26 +02:00
25d176aa70 Added flags to ColumnSchema to disable JSON and Arrays support 2018-02-24 17:18:40 +02:00
a150477f27 minor [skip ci] 2018-02-19 18:22:55 +02:00
a45d28c23a Updated UPGRADE.md to mention JSON and Arrays support in AR 2018-02-19 18:21:33 +02:00
c1a4b2f4ca Fix typo in UPGRADE.md (#15654) [skip ci] 2018-02-16 16:34:54 +03:00
018ac16025 2.0.14 upgrade guide improvements (#15652) [skip ci]
* Use the right exception name

* include note about 2.1 "early access" changes in 2.0.14 upgrade guide

* fix indentation
2018-02-16 15:01:50 +03:00
6144ca8167 Added CHANGELOG and UPGRADE notes 2018-02-16 00:26:47 +02:00
5a6c48db3d Fixed typo [skip ci] 2018-02-05 01:31:28 +03:00
d16586334d Fixes #7640: Implemented custom data types support. Added JSON support for MySQL and PostgreSQL, array support for PostgreSQL 2018-02-05 04:59:14 +07:00
8b74e29663 Fixes #14296: Fixed log targets to throw exception in case log can not be properly exported 2018-02-04 01:20:09 +07:00
d7be512fa0 Fixes #10186: Use native hash_equals in yii\base\Security::compareString() if available, throw exception if non-strings are compared 2018-01-18 01:58:32 +03:00
d604d80823 Fixes #14043: Added yii\helpers\IpHelper 2017-12-10 01:15:39 +03:00
185209957e Fixes #15270: Resolved potential race conditions when writing generated php-files 2017-12-02 18:24:56 +03:00
abe47ca0a3 #15121: Added UPGRADE note about asset command configuration [skip ci] 2017-11-14 00:58:17 +03:00
d0bf3cfeb4 update UPGRADE notes to be more clear
fixes #15103
2017-11-06 11:12:45 +01:00
15a46441e1 Updated asset-plugin version in docs [skip ci] 2017-10-02 21:03:13 +02:00
Sam
04281cba8c Fixes #14793: Module ->get() and ->has() methods now check parent modules and fall back to application if nothing found 2017-09-13 01:32:57 +03:00
85458514bb Added note to UPGRADE.md regarding #14499
Fixes #14782
2017-09-09 13:22:10 +03:00
8861aab2ac more details in upgrade notes 2017-09-08 17:10:16 +02:00
5ccbe85ffa improve upgrade instruction for AR::instance()
issue #14767
2017-09-08 16:36:42 +02:00
d68789a195 Fixes #13779, fixes #5786
- #13779: Fixed `yii\db\ActiveRecord::joinWith()` unable to use relation defined via attached behavior.
- #5786: Allowed to use custom constructors in ActiveRecord-based classes.
2017-08-29 15:13:28 +03:00
1278b018fa Add IIS specific header to secure headers (#14715)
See https://github.com/yiisoft/yii2/issues/14400#issuecomment-324233065
for more details.
2017-08-25 13:31:27 +03:00
Sam
0017d9c660 Fixes #13780: Added support for trusted proxies in yii\web\Request 2017-08-17 13:14:51 +03:00
393fc2744a Added yii\base\Object for backwards compatibility
fixes #7936
close #14478
2017-07-19 10:53:33 +02:00
d4e584f7a7 UPGRADE notes for Object -> BaseObject for PHP 7.2 compatibility
issue #7936
2017-07-19 10:51:46 +02:00
858e801573 Fixes #14286: Used primary inputmask package name instead of an alias 2017-06-17 14:49:38 +03:00
daa8b67c7b Fixes #13350, #14094, #11288
- Bug #13350: Fixed bug with incorrect caching of `yii\web\UrlRule::createUrl()` results in `yii\web\UrlManager`.
- Bug #14094: Fixed bug when single `yii\web\UrlManager::createUrl()` call my result multiple calls of `yii\web\UrlRule::createUrl()` for the same rule.
- Enh #11288: Added support for caching of `yii\web\UrlRule::createUrl()` results in `yii\web\UrlManager` for rules with defaults.
2017-05-10 12:30:43 +03:00
f8b3d68817 Fixes #4793: yii\filters\AccessControl now can be used without user component 2017-05-03 00:18:16 +02:00
c35ddec09a Update composer fxp plugin version in docs and travis scripts 2017-04-19 02:55:31 +03:00
454f0a9301 Fixes #13807: Fixed yii\db\QueryBuilder to inherit subquery params when building a INSERT INTO ... SELECT query 2017-04-17 03:31:43 +03:00
dbfe36521e added upgrade note about yii\cache\Cache::getOrSet() 2017-04-13 19:02:06 +02:00
d9f592712b remove upgrade note for #13822 / #13829 2017-04-04 10:50:15 +02:00
f906452f8e Added UPGRADE note for #13829 2017-03-23 00:51:34 +03:00
c5296242b1 Fixes #13698: yii\grid\DataColumn filter is automatically generated as dropdown list in case of format set to boolean 2017-03-09 00:33:13 +03:00
54278fc842 asTime fixed for time-only values
close #13348
fixes #13343
2017-02-16 16:07:52 +01:00
73f61b4f6b Update UPGRADE.md 2017-01-23 18:56:32 +01:00
bd552113b2 Fixes #11906: Updated yii\widgets\MaskedInput inputmask dependency to ~3.3.3 2016-12-18 01:25:55 +03:00
22787571b4 Update UPGRADE.md 2016-12-16 00:58:17 +01:00
475d18ca58 Merge branch 'master' into fix-pjax-automatic-id 2016-12-09 23:52:06 +01:00