2db798ce04
Fix ArrayHelper::index function documentation
2025-03-20 18:42:28 +08:00
1c191eac90
Update MetaStorm plugin config ( #20324 )
2025-02-18 09:28:18 +03:00
4859c8fcae
Fix #20309 : Add custom attributes support to style tags
2025-02-14 09:59:48 +03:00
40b1ec3799
release version 2.0.52
2025-02-13 23:02:28 +03:00
fd866da415
Basic setup for MetaStorm ( #20307 )
2025-01-13 00:44:34 +03:00
f94017ce4c
Fix #20306 : Add new yii\helpers\ArrayHelper::flatten() method
2025-01-06 17:53:58 +03:00
e4d5d73490
Fix #20268 : Minor optimisation in \yii\helpers\BaseArrayHelper::map
2024-10-27 13:37:09 +03:00
76150c5403
Revert "Fix #20198 : Boolean values of the value HTML attribute are now converted to integer values"
...
This reverts commit 0e50cee88fe7817cd23c764f16a2b1f8feb0694f.
2024-06-19 21:04:17 +03:00
0e50cee88f
Fix #20198 : Boolean values of the value HTML attribute are now converted to integer values
2024-06-17 18:57:37 +03:00
52e4a3e645
release version 2.0.50
2024-05-30 20:23:31 +03:00
bf3ada13fc
Fix #20087 : Add custom attributes to script tags
2024-04-03 16:18:16 +03:00
e2a167028b
Upgrade to PSR12 coding standard ( #20121 )
2024-03-19 17:21:27 +03:00
018fcb5d96
Fix error summary always visible with CSP header ( #19691 )
...
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
2024-01-18 18:14:51 +01:00
c9c5c61f76
Fix error summary always visible with CSP header ( #19691 )
2024-01-18 16:30:22 +01:00
b46e2676d3
Fix #17181 : Improved BaseUrl::isRelative($url) performance
2024-01-06 22:07:05 +03:00
fc582a2cfd
17191: fixed isRelative method
2023-12-03 15:07:25 +01:00
5ce3b4ea01
Optimize findBetween method to remove calling function mb_substr()
2023-11-01 15:04:32 +03:30
26032ad686
refactor findBetween method and add other tests
2023-10-30 13:50:08 +03:30
caa2029ec7
implement findBetween method to StringHelper
2023-10-28 22:20:37 +03:30
e2773e4524
Fix #20032 : Added mask method for string masking with multibyte support
2023-10-25 19:47:03 +03:00
febbe0f20e
Use self to access private method in BaseFormatConverter
2023-10-19 21:33:43 +02:00
e0299884fe
Introduce createFormatter Static Method for Formatter Logic ( #20014 )
2023-10-19 20:27:52 +03:00
4f1735995a
release version 2.0.49.2
2023-10-12 17:46:26 +02:00
9f51fe3b4b
Revert changes in mimeTypes.php from 4a1f2c6b9bc90427e91da73f5e8c8fa33d3c53c1
...
restores https://github.com/yiisoft/yii2/pull/19936
2023-10-06 10:02:32 +02:00
4a1f2c6b9b
release version 2.0.49.1
2023-10-05 18:12:27 +02:00
e8c4a7e56e
added PHP version check, fixed #19925 ( #19936 )
...
* added PHP version check, fixed #19925
* added CHANGELOG line
* fixed typo
* fixed typo
---------
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
Co-authored-by: Bizley <pawel@positive.codes>
2023-09-04 10:09:49 +02:00
0f7248c7a2
release version 2.0.49
2023-08-29 15:36:17 +02:00
e916e9d564
Fix #19914 : Fixed ArrayHelper::keyExists() and ::remove() functions when the key is a float and the value is null
2023-08-18 15:31:09 +04:00
3cebbdad2e
Fix #19853 : Added support for default value for \yii\helpers\Console::select()
2023-06-09 19:36:21 +03:00
8228d81b25
release version 2.0.48
2023-05-22 10:32:53 +04:00
0fcd434c97
Fix #19838 : Added yii\helpers\BaseFileHelper::getExtensionByMimeType() to get the most common extension for a given MIME type
2023-05-19 22:56:47 +03:00
0a811cbd0d
Fix #19837 : Fixed processing of numeric file extensions in yii\build\controllers\MimeTypeController::generateMimeTypesFile()
...
Fixed processing of nummeric file extensions in `\yii\build\controllers\MimeTypeController::generateMimeTypesFile()` and added common image file types (https://developer.mozilla.org/en-US/docs/Web/Media/Formats/Image_types#common_image_file_types )
2023-05-19 00:28:48 +03:00
821f72dd9a
Fix #19736 : Fix StringHelper::truncate(null, 10) causes error Deprecated: mb_strlen(): Passing null to parameter #1 ($string) of type string is deprecated
2023-05-12 19:55:36 +03:00
5406e5dad3
Fix #19766 : Add support for PHP generators to JSON helper
2023-02-27 14:48:22 +03:00
95b0e6010e
Fix #19683 : Updated framework\mimeType.php to the actual value. Fix typo in build/controllers/MimeTypeController.php
2023-02-11 19:21:51 +03:00
7ed855ccae
Add FileHelper test for a negative except, clarify docs ( #19723 )
2022-12-30 00:37:32 +04:00
1f0f701bc3
Fix #19689 : Remove empty elements from the class array in yii\helpers\BaseHtml::renderTagAttributes() to prevent unwanted spaces
2022-11-28 23:57:25 +03:00
64adbd73c6
Fix #19534 : Fix yii\helpers\BaseHtml::renderSelectOptions() to properly render boolean selection
2022-11-17 15:49:09 +03:00
b2fcedaeea
Fix comments in BaseFormatConverter ( #19618 )
2022-10-12 01:26:20 +04:00
b61b9ac253
Fix #19589 : Fix Error reporting in to the BaseArrayHelper::getValue()
2022-09-25 23:48:05 +04:00
6da1f21999
Add second parameter to preg_quote() in Inflector::slug() ( #19588 )
2022-09-19 19:35:30 +03:00
473ead8e46
Optimize: simplified regexp ( #19541 )
2022-09-06 09:42:58 +03:00
161526cd41
HTTPS everywhere ( #19503 )
2022-08-03 12:32:18 +03:00
9c4c36ee72
Fix #19467 : Revert changes in Inflector::camel2words() ( #19495 )
...
* Fix #19467 : Revert changes in `Inflector::camel2words()` introduced in #19204
* Add UPGRADE note
2022-07-30 14:32:29 +02:00
0ad2651914
Fix #19471 : Enable console commands on hostings with disabled exec() function
2022-07-27 14:24:39 +03:00
1f59b72a9d
Truncate help add method and suffix ( #19425 )
...
https://github.com/yiisoft/yii2/pull/19424
2022-06-02 11:46:06 +02:00
e21cbb544b
Make docs more clear about the length of the result ( #19424 )
2022-06-02 11:26:40 +02:00
c409264484
Fix BaseArrayHelper::htmlDecode() ( #19386 )
...
* Fix BaseArrayHelper::htmlDecode()
Add missed second argument on recursive calling.
* Fix BaseArrayHelper::htmlDecode()
`htmlspecialchars_decode()` flags must be same to `htmlspecialchars()` in `BaseArrayHelper::htmlEncode()`
* Update ArrayHelperTest.php
* Update ArrayHelperTest.php
* Update ArrayHelperTest.php
* Update CHANGELOG.md
* test workflow fix
2022-05-22 10:20:04 +02:00
bf058f4d23
Simple optimization and PHPDoc type fixes in yii\helpers\BaseArrayHelper ( #19387 )
2022-05-16 23:14:43 +04:00
a173488711
Optimize BaseArrayHelper::isIndexed() ( #19363 )
2022-04-24 10:46:36 +02:00