Skip to content

Commit 5b3df77

Browse files
committed
[#.0.x] - upgrading to v5.0.0 stable
1 parent bd6bc1d commit 5b3df77

File tree

5 files changed

+27
-29
lines changed

5 files changed

+27
-29
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.0.0RC4
22+
PHALCON_VERSION: 5.0.0
2323
ZEPHIR_PARSER_VERSION: 1.5.1
2424
ZEPHIR_VERSION: 0.16.3
2525

CHANGELOG-5.0.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# [5.0.0](https://github.com/phalcon/cphalcon/releases/tag/v5.0.0) (xxxx-xx-xx)
1+
# [5.0.0](https://github.com/phalcon/cphalcon/releases/tag/v5.0.0) (2022-09-22)
22

33
## Changed
44
- Changed `Phalcon\Logger\Adapter\Stream::process` to open the log file, check for locks, write contents and close the stream [#16072](https://github.com/phalcon/cphalcon/issues/16072)

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.0.0RC4",
6+
"version": "5.0.0",
77
"verbose": false,
88
"stubs": {
99
"path": "ide\/%version%\/%namespace%\/",

package.xml

Lines changed: 23 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -22,41 +22,39 @@
2222
<email>[email protected]</email>
2323
<active>yes</active>
2424
</lead>
25-
<date>2022-08-08</date>
25+
<date>2022-09-22</date>
2626
<time>17:00:00</time>
2727
<version>
28-
<release>5.0.0RC4</release>
29-
<api>5.0.0RC4</api>
28+
<release>5.0.0</release>
29+
<api>5.0.0</api>
3030
</version>
3131
<stability>
32-
<release>beta</release>
33-
<api>beta</api>
32+
<release>stable</release>
33+
<api>stable</api>
3434
</stability>
3535
<license uri="https://license.phalcon.io">BSD 3-Clause License</license>
3636
<notes>
3737
Full changelog can be found at: https://github.com/phalcon/cphalcon/blob/master/CHANGELOG-5.0.md
3838

39+
## Changed
40+
- Changed `Phalcon\Logger\Adapter\Stream::process` to open the log file, check for locks, write contents and close the stream [#16072](https://github.com/phalcon/cphalcon/issues/16072)
41+
- Changed getters and setters from shorthand format to full methods [#16102](https://github.com/phalcon/cphalcon/issues/16102)
42+
- Changed return types to `array` in `Phalcon\Annotations\Reflection` class methods [#16106](https://github.com/phalcon/cphalcon/issues/16106)
43+
- Changed `Phalcon\Html\Escaper::attributes()` to also accept an array of attributes [#16108](https://github.com/phalcon/cphalcon/issues/16108)
44+
3945
## Fixed
40-
- Reverted to single quotes when volt code generates PHP code.
41-
- Any `tag` helpers only accept parameters with double quotes
42-
- Renamed `Phalcon\Tag::form()` to `Phalcon\Tag::formLegacy` (helper `form_legacy`) [#16019](https://github.com/phalcon/cphalcon/issues/16019)
43-
- Fixed
44-
- `Phalcon\Cli\Router::getMatchedRoute()`
45-
- `Phalcon\Cli\RouterInterface::getMatchedRoute()`
46-
- `Phalcon\Mvc\Router::getMatchedRoute()`
47-
- `Phalcon\Mvc\RouterInterface::getMatchedRoute()` to return `RouterInterface` or `null` [#16030](https://github.com/phalcon/cphalcon/issues/16030)
48-
- Fixed
49-
- `Phalcon/Storage/Serializer/Base64::unserialize()`
50-
- `Phalcon/Storage/Serializer/Igbinary::unserialize()`
51-
- `Phalcon/Storage/Serializer/Igbinary::serialize()`
52-
- `Phalcon/Storage/Serializer/Php::unserialize()` to reset isSuccess value [#16040](https://github.com/phalcon/cphalcon/issues/16040)
53-
- Fixed `Phalcon\Paginator\Adapter\Model::paginate()` fix group parameter breaking total items [#16042](https://github.com/phalcon/cphalcon/issues/16042)
54-
- Fixed `Phalcon\Mvc\Model::doLowUpdate()` prevent RawValue getting overwritten [#16037](https://github.com/phalcon/cphalcon/issues/16037)
55-
- Refactored `Phalcon\Image\*`
56-
- Reorganized code in the image adapters
57-
- Simplified various areas, speeding up processing
58-
- Removed `getInternalImImage()` (same as `getImage()`) for `Phalcon\Image\Adapter\Imagick`
59-
- Added better support for webm images [#15977](https://github.com/phalcon/cphalcon/issues/15977)
46+
- Fixed and improved return type of `object` and `?object` [#16023](https://github.com/phalcon/cphalcon/issues/16023)
47+
- Fixed `Phalcon\Filter\Validation\Validator\Digit` to use only strings for `ctype_*` calls [#16064](https://github.com/phalcon/cphalcon/issues/16064)
48+
- Fixed `Phalcon\Flash\AbstractFlash::outputMessage` to return the message (implicitFlush) [#16063](https://github.com/phalcon/cphalcon/issues/16063)
49+
- Fixed `Phalcon\Filter\Validation\Validator\Numericality` to correctly detect illegal characters within string numbers [#16070](https://github.com/phalcon/cphalcon/issues/16070)
50+
- Fixed segmentation fault on Reflection of `Phalcon\Mvc\Model` class [#16080](https://github.com/phalcon/cphalcon/issues/16080)
51+
- Fixed segmentation fault on Reflection [#16096](https://github.com/phalcon/cphalcon/issues/16096)
52+
53+
## Added
54+
- Added `Phalcon\Encryption\Security\JWT\Token::validate()` to validate a token's claims [#16094](https://github.com/phalcon/cphalcon/issues/16094)
55+
- Added `Phalcon\Encryption\Security\JWT\Token::verify()` to verify a token's signature [#16094](https://github.com/phalcon/cphalcon/issues/16094)
56+
- Added `Phalcon\Encryption\Security\JWT\Validator::getErrors()` to return any errors with the validation as an array [#16094](https://github.com/phalcon/cphalcon/issues/16094)
57+
6058

6159
</notes>
6260
<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, 0, 0, 3, 4];
80+
return [5, 0, 0, 4, 0];
8181
}
8282

8383
/**

0 commit comments

Comments
 (0)