Commit Graph

222 Commits

Author SHA1 Message Date
Bizley
cfe782b3f5 Fix #18544: Fix yii\validators\NumberValidator to disallow values with whitespaces 2021-03-11 00:40:34 +03:00
Alexander Makarov
3883d73cea Fix #9718: Fix user staying authorized despite authKey change 2021-03-03 13:18:06 +03:00
Bizley
eae4b7daa0 Fix #18461: Add missing UPGRADE info, fix wrong bug ID 2021-01-11 14:36:28 +03:00
rhertogh
7e4026cd62 Fixed UPGRADE.md for "Respect ini session use strict mode" (#18362) 2020-11-01 17:37:41 +03:00
rhertogh
ce088e05df Fix #18247: Added support for the 'session.use_strict_mode' ini directive in yii\web\Session 2020-10-31 11:58:34 +03:00
Evgeniy Tkachenko
f8337a15c2 Fix #18263: Fix writing \yii\caching\FileCache files to the same directory when keyPrefix is set 2020-10-24 13:13:19 +03:00
Sam
9c838207ce Bug #18245: Make resolving DI references inside of arrays in dependencies optional
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
Co-authored-by: Andrii Vasyliev <sol@hiqdev.com>
2020-09-14 16:15:31 +03:00
Alexander Makarov
e81b0f00a7 Fix #18235: Document inline validator change regarding static closures 2020-09-07 14:51:12 +03:00
Alexander Makarov
523e4b324b Fix #18175: Add upgrade note for 2.0.36 about inline validator defined as closure 2020-08-07 11:38:10 +03:00
Alexander Makarov
7cc538c0a9 Fix #18203: PDO exception code was not properly passed to yii\db\Exception 2020-08-05 17:06:16 +03:00
Bizley
c47aed2a7c ExistValidator info (#18197) 2020-07-22 16:49:49 +03:00
Bizley
d62590807d Fix #18051: Fix using EachValidator with custom validation function 2020-07-06 16:18:03 +03:00
Brandon Kelly
a41879a321 Upgrade note for #18083 (#18119) 2020-06-19 11:09:24 +03:00
Alexander Makarov
bc0770cf67 Add upgrade note about HeadersAlreadySentException 2020-03-04 16:23:40 +03:00
Robert Korulczyk
ec089fea5a Fix #16721: Use Instance::ensure() to initialize UrlManager::$cache 2020-02-23 16:02:27 +03:00
Alexander Makarov
1f8ca7b7b1 Better changelog and upgrade note for #17875 [skip ci] 2020-02-21 01:34:50 +03:00
Alexander Makarov
2bc1a6e3b7 Fix #17868: Add upgrade note for 2.0.29 boolean HTML attributes rendering change [skip ci] 2020-02-19 20:00:36 +03:00
rhertogh
b794d76056 Fix #17829: yii\helpers\ArrayHelper::filter now correctly filters data when passing a filter with more than 2 levels 2020-01-29 01:03:31 +03:00
Alexander Makarov
f226c3cb38 Fix #12539: yii\filters\ContentNegotiator now generates 406 'Not Acceptable' instead of 415 'Unsupported Media Type' on content-type negotiation fail
Co-authored-by: PowerGamer1 <PowerGamer1@users.noreply.github.com>
2020-01-09 23:43:24 +03:00
Evgeny
62acca9f3d Fix #17740: yii\helpers\BaseInflector::slug() doesn't replace multiple replacement string occurrences to single one 2019-12-17 15:19:15 +03:00
Alexander Makarov
f9a42c6703 Fix #17397: Improve UPGRADE note about Query::select() 2019-07-02 17:30:24 +03:00
Alexander Makarov
cb384f542d Add upgrade note for #17344 2019-06-12 00:09:31 +03:00
rhertogh
caf9a28657 Added upgrade step for Yii 2.0.17 about yii\web\DbSession (#17228) [skip ci]
https://github.com/yiisoft/yii2/pull/17188 might brake existing projects when the yii\web\DbSession class is extended.
2019-03-26 20:34:23 +03:00
Pavel Dovlatov
bdb7c64910 Update to https protocol for php.net links (#17168) [skip ci]
* Updated php.net link for some MemCache properties [skip ci]

* Changed protocol to https for links to php.net in comments

* Changed protocol to https for links to php.net in code

* Changed www.php.net (http) to secure.php.net (https) in comments

* Changed www.php.net (http) to secure.php.net (https) in code

* Changed protocol to https for links to php.net in UPGRADE.md

* Changed protocol to https for links to pecl.php.net in comments

* Changed us.php.net to secure.php.net (https) in comments

* Changed protocol to https for links to php.net in docs

* Changed www.php.net (http) to secure.php.net (https) in docs

* Changed protocol to https for links to pecl.php.net in docs

* Changed ru/jp.php.net to secure.php.net (https) in docs

Don't sure about russian guide: is this links meant to be for guide on russian, or not?
2019-02-28 13:09:27 +03:00
Alexander Makarov
63faf5f593 Fixes #16703: Updated upgrade notes mentioning important change made in 2.0.14 2019-01-15 02:37:35 +03:00
Ondřej Vašíček
bd3193a52a Fixed typo (#16947) [skip ci] 2018-12-07 18:39:12 +03:00
Bizley
59e99a67c7 Fixes #14950: Fixed yii\i18n\Formatter methods asInteger, asDecimal, asPercent, and asCurrency outputs for very big numbers 2018-11-29 18:16:19 +03:00
Robert Korulczyk
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
Alexander Makarov
ba9f038586 Added extra upgrade note about CSRF cookies [skip ci] 2018-03-27 16:30:49 +03:00
David Baker
be73606eee Fixed a small spelling mistake 2018-03-20 18:22:49 -06:00
Carsten Brandt
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
Carsten Brandt
a38302fdfd improved filtering condition on yii\db\ActiveRecord 2018-03-20 11:42:28 +01:00
Alexander Makarov
5f75916cde Wording adjustments and doc enhancements [skip ci] 2018-03-20 11:20:56 +01:00
SilverFire - Dmitry Naumenko
b37f361ad7 Fixed possible SQL injection through ActiveRecord::findOne() 2018-03-20 11:20:56 +01:00
Carsten Brandt
a7ccf65855 Update UPGRADE.md
fixes #15899
2018-03-15 13:18:59 +01:00
Alexander Makarov
ca4e1a5c9c #15776: Removed unnecessary UPGRADE note, added @berosoboy to changelog [skip ci] 2018-03-08 01:40:02 +03:00
Carsten Brandt
319c6dc228 Update UPGRADE.md 2018-03-05 10:52:08 +01:00
SilverFire - Dmitry Naumenko
bd5f17e792 Updated UPGRADE.md [skip ci]
Closes #15828
2018-03-04 20:36:27 +02:00
SilverFire - Dmitry Naumenko
ab8e1bc9bd Added UPGRADE.md regarding schema caching
Closes #15776
2018-03-03 20:50:26 +02:00
SilverFire - Dmitry Naumenko
25d176aa70 Added flags to ColumnSchema to disable JSON and Arrays support 2018-02-24 17:18:40 +02:00
SilverFire - Dmitry Naumenko
a150477f27 minor [skip ci] 2018-02-19 18:22:55 +02:00
SilverFire - Dmitry Naumenko
a45d28c23a Updated UPGRADE.md to mention JSON and Arrays support in AR 2018-02-19 18:21:33 +02:00
Robert Korulczyk
c1a4b2f4ca Fix typo in UPGRADE.md (#15654) [skip ci] 2018-02-16 16:34:54 +03:00
Brandon Kelly
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
SilverFire - Dmitry Naumenko
6144ca8167 Added CHANGELOG and UPGRADE notes 2018-02-16 00:26:47 +02:00
Alexander Makarov
5a6c48db3d Fixed typo [skip ci] 2018-02-05 01:31:28 +03:00
Dmitry Naumenko
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
Bizley
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
Alexander Makarov
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
Dmitry Naumenko
d604d80823 Fixes #14043: Added yii\helpers\IpHelper 2017-12-10 01:15:39 +03:00