Skip to content

Commit ba7c09b

Browse files
authored
Merge pull request #16718 from niden-code/5.0.x
5.9.0 prep
2 parents 5a98db1 + 937b476 commit ba7c09b

File tree

7 files changed

+104
-49
lines changed

7 files changed

+104
-49
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ on:
1919

2020
env:
2121
# All versions should be declared here
22-
PHALCON_VERSION: 5.8.1
22+
PHALCON_VERSION: 5.9.0
2323
ZEPHIR_PARSER_VERSION: 1.6.1
2424

2525
# For tests

CHANGELOG-5.0.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changelog
22

3-
## [5.8.x](https://github.com/phalcon/cphalcon/releases/tag/v5.8.x) (xxxx-xx-xx)
3+
## [5.9.0](https://github.com/phalcon/cphalcon/releases/tag/v5.9.0) (2025-03-08)
44

55
### Changed
66

composer.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,14 @@
4848
"codeception/module-phalcon5": "^2.0",
4949
"codeception/module-redis": "^3.0",
5050
"friendsofphp/php-cs-fixer": "~3.0",
51-
"mustache/mustache": "^2.14.1",
51+
"mustache/mustache": "^2.14",
5252
"phalcon/ide-stubs": "^5.4",
5353
"phalcon/zephir": "dev-development",
54+
"phpstan/phpstan": "^2.1",
5455
"predis/predis": "^2.3",
5556
"squizlabs/php_codesniffer": "^3.4",
56-
"twig/twig": "~1.36",
57-
"vimeo/psalm": "^5.18|^6.8",
57+
"twig/twig": "^3.20",
58+
"vimeo/psalm": "5.26.1",
5859
"vlucas/phpdotenv": "^v5.4"
5960
},
6061
"config": {

composer.lock

Lines changed: 84 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"name": "phalcon",
44
"description": "Phalcon is a full stack PHP framework, delivered as a PHP extension, offering lower resource consumption and high performance.",
55
"author": "Phalcon Team and contributors",
6-
"version": "5.8.1",
6+
"version": "5.9.0",
77
"verbose": false,
88
"stubs": {
99
"path": "ide\/%version%\/%namespace%\/",

package.xml

Lines changed: 12 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@
2222
<email>[email protected]</email>
2323
<active>yes</active>
2424
</lead>
25-
<date>2024-12-25</date>
25+
<date>2025-03-08</date>
2626
<time>17:00:00</time>
2727
<version>
28-
<release>5.8.1</release>
29-
<api>5.8.1</api>
28+
<release>5.9.0</release>
29+
<api>5.9.0</api>
3030
</version>
3131
<stability>
3232
<release>stable</release>
@@ -39,32 +39,27 @@
3939
### Changed
4040

4141
- Changed `Phalcon\Filter\Validation\Validator\Email` to allow UTF8 in local part. [#16637](https://github.com/phalcon/cphalcon/issues/16637)
42+
- Changed `Phalcon\Cache\Cache::getMultiple()` to use `mget()` when the `Phalcon\Cache\Adapter\Redis` is used. [#16689](https://github.com/phalcon/cphalcon/issues/16689)
43+
- Changed `Storage\Adapter\Redis` to accept `ssl` in the options for secure connections. [#16711](https://github.com/phalcon/cphalcon/issues/16711)
4244

4345
### Added
44-
45-
- Added events and `Phalcon\Events\Manager` for `Phalcon\Storage\Adapter\Apcu`,
46-
`Phalcon\Storage\Adapter\Redis`,
47-
`Phalcon\Storage\Adapter\Memory`,
48-
`Phalcon\Storage\Adapter\Libmemcached`,
49-
`Phalcon\Storage\Adapter\Stream`,
50-
`Phalcon\Storage\Adapter\Weak`,
51-
`Phalcon\Cache\Adapter\Apcu`,
52-
`Phalcon\Cache\Adapter\Redis`,
53-
`Phalcon\Cache\Adapter\Memory`,
54-
`Phalcon\Cache\Adapter\Libmemcached`,
55-
`Phalcon\Cache\Adapter\Stream`,
56-
`Phalcon\Cache\Adapter\Weak`
57-
`Phalcon\Cache\AbstractCache`. [#16606](https://github.com/phalcon/cphalcon/issues/16606)
46+
- Added `dispatch:beforeCallAction` and `dispatch:afterCallAction` to last-minute modifications to handler and method (mostly for debugging).
5847

5948
### Fixed
6049

50+
- Fixed `Phalcon\Forms\Form` and `Phalcon\Filter\Validation` to correctly handle the `validate()` response when using validation class `beforeValidate()` [#16702](https://github.com/phalcon/cphalcon/issues/16702)
51+
- Fixed `Phalcon\Support\Debug` to use correct passed arguments in `set_error_handler` callback. PHP v7.2.0 deprecated `errcontext` and has been removed since php v8.0.0 [#16649](https://github.com/phalcon/cphalcon/issues/16686)
6152
- Fixed `Phalcon\Http\Response\Cookies`, `Phalcon\Http\Response\CookiesInterface` and `Phalcon\Http\Cookie` to use correct cookie default arguments, avoid deprecated null assign warning when trying to assign the same cookie twice [#16649](https://github.com/phalcon/cphalcon/issues/16649)
6253
- Fixed `Phalcon\Encryption\Crypt` to use `strlen` instead of `mb_strlen` for padding calculations [#16642](https://github.com/phalcon/cphalcon/issues/16642)
6354
- Fixed `Phalcon\Filter\Validation\Validator\File\MimeType::validate` to close the handle when using `finfo` [#16647](https://github.com/phalcon/cphalcon/issues/16647)
6455
- Fixed `Phalcon\Mvc\Model\Manager::getRelationRecords` to explicitly set the `referencedModel` in the conditions along with the `referencedFields` [#16655](https://github.com/phalcon/cphalcon/pull/16655)
6556
- Fixed `Phalcon\Image\Adapters\AbstractAdapter::watermark` to correctly calculate the Y offset [#16658](https://github.com/phalcon/cphalcon/issues/16658)
57+
- Fixed `Phalcon\Dispatcher\AbstractDispatcher` when calling action methods that do not define parameters to prevent `Unknown named parameter` error.
6658
- Fixed `Phalcon\Di\Injectable` to reference the correct instance of `Phalcon\Di\Di` in the docblock property [#16634](https://github.com/phalcon/cphalcon/issues/16634)
6759
- Fixed `Phalcon\Filter\Filter` to have the correct docblock for IDE completion
60+
- Fixed `Phalcon\Mvc\Model\Query` to use the lifetime in the "cache" service if none has been supplied by the options [#16696](https://github.com/phalcon/cphalcon/issues/16696)
61+
- Fixed `Phalcon\Session\Adapter\Stream::gc()` to throw an exception if something is wrong with `glob()` [#16713](https://github.com/phalcon/cphalcon/issues/16713)
62+
- Fixed `Phalcon\Http\Request::getBasicAuth()` to return a `null` password if not defined on the server [#16668](https://github.com/phalcon/cphalcon/issues/16668)
6863

6964
</notes>
7065
<contents>

phalcon/Support/Version.zep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ class Version
7777
*/
7878
protected function getVersion() -> array
7979
{
80-
return [5, 8, 0, 4, 0];
80+
return [5, 9, 0, 4, 0];
8181
}
8282

8383
/**

0 commit comments

Comments
 (0)