Skip to content

Commit b6e8688

Browse files
authored
Merge pull request #15840 from phalcon/5.0.x
5.0.0beta1 Release
2 parents 041a4e0 + c1e5b74 commit b6e8688

File tree

1,502 files changed

+132767
-149980
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,502 files changed

+132767
-149980
lines changed

.github/workflows/main.yml

+1-1
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.0alpha7
22+
PHALCON_VERSION: 5.0.0beta1
2323
ZEPHIR_PARSER_VERSION: 1.4.1
2424
ZEPHIR_VERSION: 0.15.0
2525
PSR_VERSION: 1.1.0

BACKERS.md

+21-5
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ You can join them in supporting Phalcon and Zephir development by visiting our p
4141
</td>
4242
<td align="center" valign="bottom">
4343
<a href="https://crowdin.com/">
44-
<img width="222px" height="40px" src="https://assets.phalcon.io/phalcon/images/backers/crowdin.png" style="max-width:100%;" alt="Crowdin">
44+
<img width="222px" height="auto" src="https://assets.phalcon.io/phalcon/images/backers/crowdin.png" style="max-width:100%;" alt="Crowdin">
4545
</a>
4646
</td>
4747
<td align="center" valign="bottom">
@@ -52,9 +52,19 @@ You can join them in supporting Phalcon and Zephir development by visiting our p
5252
</tr>
5353
<tr>
5454
<td align="center" valign="bottom">
55-
<a href="https://www.uptrends.com">
55+
<a href="https://www.digitalocean.com/">
5656
<img width="170px" height="40px" src="https://assets.phalcon.io/phalcon/images/backers/digitalocean.svg" style="max-width:100%;" alt="DigitalOcean open source">
5757
</a>
58+
</td>
59+
<td align="center" valign="bottom">
60+
<a href="https://packagecloud.io/">
61+
<img width="170px" height="auto" src="https://assets.phalcon.io/phalcon/images/backers/packagecloud.png" style="max-width:100%;" alt="Private NPM registry and Maven, RPM, DEB, PyPi and RubyGem Repository · packagecloud">
62+
</a>
63+
</td>
64+
<td align="center" valign="bottom">
65+
<a href="https://www.postype.com/">
66+
<img width="170px" height="40px" src="https://assets.phalcon.io/phalcon/images/backers/postype.svg" style="max-width:100%;" alt="https://www.postype.com/">
67+
</a>
5868
</td>
5969
<td align="center" valign="center">
6070
<a href="https://phalcon.io/fund">
@@ -99,8 +109,6 @@ Thanks for the support
99109
<a href="https://github.com/gwijnja"><img src="https://avatars1.githubusercontent.com/u/2666867?s=460&u=7f358f88d53208909d808db17b382ae44d9eb48a&v=4" title="Gerben Wijnja" width="60" height="60"></a>
100110
<a href="https://github.com/terolblade"><img src="https://avatars3.githubusercontent.com/u/3078649?s=460&v=4" title="Stanislav Sviridenko" width="60" height="60"></a>
101111
<a href="https://github.com/Ruzgfpegk"><img src="https://avatars1.githubusercontent.com/u/3818364?s=460&v=4" title="Ruzgfpegk" width="60" height="60"></a>
102-
<a href="https://github.com/zsilbi"><img src="https://avatars2.githubusercontent.com/u/3886658?s=460&v=4" title="Balázs Németh" width="60" height="60"></a>
103-
<a href="https://github.com/RayHughes"><img src="https://avatars3.githubusercontent.com/u/4381883?s=460&u=16dbf2e3fbfae0892a858d6d4cc8869bfde6dd74&v=4" title="Ray Hughes" width="60" height="60"></a>
104112
<a href="https://github.com/borisdelev"><img src="https://avatars.githubusercontent.com/u/4441663?s=460&u=be604c39153e26326f2123c6e1bfe880d5ec0947&v=4" title="Boris Delev" width="60" height="60"></a>
105113
<a href="https://github.com/educury"><img src="https://avatars2.githubusercontent.com/u/5339278?s=460&v=4" title="educury" width="60" height="60"></a>
106114
<a href="https://github.com/emagus"><img src="https://avatars.githubusercontent.com/u/5857789?v=4" title="maGus Informática" width="60" height="60"></a>
@@ -114,7 +122,15 @@ Thanks for the support
114122
<a href="https://github.com/dredasss"><img src="https://avatars1.githubusercontent.com/u/38747389?s=460&u=ee99a8bb28ee6bedbbea6325d49d4eb99080d421&v=4" title="Nerijus Alex" width="60" height="60"></a>
115123
<a href="https://github.com/postype"><img src="https://avatars.githubusercontent.com/u/54393235?s=200&v=4" title="https://www.postype.com/" width="60" height="60"></a>
116124
<a href="https://github.com/iogates"><img src="https://avatars.githubusercontent.com/u/86652317?s=200&v=4" title="iogates" width="60" height="60"></a>
117-
<a href="https://github.com/bian2222"><img src="https://avatars.githubusercontent.com/u/93346543?s=60&v=4" title="bian" width="60" height="60"></a>
125+
<a href="https://github.com/barnettruth"><img src="https://avatars.githubusercontent.com/u/95089067?v=4" title="barnettruth" width="60" height="60"></a>
126+
<a href="https://github.com/mccauleycassa"><img src="https://avatars.githubusercontent.com/u/95136425?v=4" title="mccauleycassa" width="60" height="60"></a>
127+
<a href="https://github.com/hillbrianna"><img src="https://avatars.githubusercontent.com/u/95143459?v=4" title="hillbrianna" width="60" height="60"></a>
128+
<a href="https://github.com/whitneyza"><img src="https://avatars.githubusercontent.com/u/95216218?v=4" title="whitneyza" width="60" height="60"></a>
129+
<a href="https://github.com/volkmanaub"><img src="https://avatars.githubusercontent.com/u/95301170?v=4" title="volkmanaub" width="60" height="60"></a>
130+
<a href="https://github.com/lueilwit"><img src="https://avatars.githubusercontent.com/u/95302137?v=4" title="lueilwit" width="60" height="60"></a>
131+
<a href="https://github.com/nicolec3urv7"><img src="https://avatars.githubusercontent.com/u/95520516?v=4" title="nicolec3urv7" width="60" height="60"></a>
132+
<a href="https://github.com/lazospark1"><img src="https://avatars.githubusercontent.com/u/95704274?v=4" title="lazospark1" width="60" height="60"></a>
133+
<a href="https://github.com/leonardarac"><img src="https://avatars.githubusercontent.com/u/95871191?v=4" title="leonardarac" width="60" height="60"></a>
118134

119135
[//]: github-sponsors
120136

CHANGELOG-5.0.md

+51
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,54 @@
1+
# [5.0.0beta1](https://github.com/phalcon/cphalcon/releases/tag/v5.0.0beta1) (2021-12-24)
2+
3+
## Changed
4+
- Marked as deprecated:
5+
- `Phalcon\Mvc\Model::existsBelongsTo()`
6+
- `Phalcon\Mvc\Model::existsHasMany()`
7+
- `Phalcon\Mvc\Model::existsHasOne()`
8+
- `Phalcon\Mvc\Model::existsHasOneThrough()`
9+
- `Phalcon\Mvc\Model::existsHasManyToMany()`
10+
- `Phalcon\Translate\Adapter\Csv::exists()`
11+
- `Phalcon\Translate\Adapter\Gettext::exists()`
12+
- `Phalcon\Translate\Adapter\NativeArray::exists()` [#15785](https://github.com/phalcon/cphalcon/issues/15785)
13+
- Moved `Phalcon\Container` to `Phalcon\Container\Container` [#15796](https://github.com/phalcon/cphalcon/issues/15796)
14+
- Changed the `Phalcon\Support\Collection::get()` to return the default value if the key does not exist or the value is `null` to mirror the behavior of v3. [#15370](https://github.com/phalcon/cphalcon/issues/15370)
15+
- Moved `Phalcon\Registry` to `Phalcon\Support\Registry` [#15802](https://github.com/phalcon/cphalcon/issues/15802)
16+
- Moved `Phalcon\Url` to `Phalcon\Mvc\Url` [#15798](https://github.com/phalcon/cphalcon/issues/15798)
17+
- Moved `Phalcon\Loader` to `Phalcon\Autoload\Loader` [#15797](https://github.com/phalcon/cphalcon/issues/15797)
18+
- Changes to `Phalcon\Autoload\Loader`:
19+
- Renamed `registerClasses()` to `setClasses()`
20+
- Renamed `registerDirectories()` to `setDirectories()`
21+
- Renamed `registertExtensions()` to `setExtensions()`
22+
- Renamed `registertFiles()` to `setFiles()`
23+
- Renamed `registertNamespaces()` to `setNamespaces()` [#15797](https://github.com/phalcon/cphalcon/issues/15797)
24+
- Moved `Phalcon\Di` to `Phalcon\Di\Di` [#15799](https://github.com/phalcon/cphalcon/issues/15799)
25+
- Removed references to `Phalcon\Tag` from the framework in favor of `Phalcon\Html\TagFactory` [#15801](https://github.com/phalcon/cphalcon/issues/15801)
26+
- `Phalcon\Forms\Form` requires a `Phalcon\Html\TagFactory` to be set before it can render elements [#15801](https://github.com/phalcon/cphalcon/issues/15801)
27+
- `Phalcon\Di\FactoryDefault` will now return a `Phalcon\Html\TagFactory` for the `tag` service [#15801](https://github.com/phalcon/cphalcon/issues/15801)
28+
29+
## Fixed
30+
- `Phalcon\Logger\LoggerFactory::load()` to correctly use the key of the adapters array as the name of the adapter [#15831](https://github.com/phalcon/cphalcon/issues/15831)
31+
32+
## Added
33+
- Added:
34+
- `Phalcon\Mvc\Model::hasBelongsTo()`
35+
- `Phalcon\Mvc\Model::hasHasMany()`
36+
- `Phalcon\Mvc\Model::hasHasOne()`
37+
- `Phalcon\Mvc\Model::hasHasOneThrough()`
38+
- `Phalcon\Mvc\Model::hasHasManyToMany()`
39+
- `Phalcon\Translate\Adapter\Csv::has()`
40+
- `Phalcon\Translate\Adapter\Gettext::has()`
41+
- `Phalcon\Translate\Adapter\NativeArray::has()` [#15785](https://github.com/phalcon/cphalcon/issues/15785)
42+
- Added `filter`, `camelize`, `dynamic` and `uncamelize` in `Phalcon\Support\HelperFactory` [#15805](https://github.com/phalcon/cphalcon/issues/15805)
43+
- Added `Phalcon\Autoload\Loader::getDebug()` to collect debugging information from the loader (enabled from the constructor) [#15797](https://github.com/phalcon/cphalcon/issues/15797)
44+
45+
## Fixed
46+
- Fixed `Phalcon\Dispatcher\Dispatcher::setParams()` not updating local params during `dispatch()` loop [#15603](https://github.com/phalcon/cphalcon/issues/15603)
47+
- Fixed related records auto-save with `belongsTo()` relation [#15148](https://github.com/phalcon/cphalcon/issues/15148)
48+
49+
## Removed
50+
- Removed `Phalcon\Exception`; replaced by `\Exception` [#15800](https://github.com/phalcon/cphalcon/issues/15800)
51+
152
# [5.0.0alpha7](https://github.com/phalcon/cphalcon/releases/tag/v5.0.0alpha7) (2021-11-16)
253

354
## Changed

build/config/phalcon_c_priority_files.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
'phalcon/mvc/view/engine/volt/parser.php.inc.h',
1616
'phalcon/annotations/parser.php.h',
1717
'phalcon/annotations/parser.php.inc.h',
18-
'phalcon/url/utils.h',
18+
'phalcon/mvc/url/utils.h',
1919
'kernel/main.h',
2020
'kernel/memory.h',
2121
'kernel/exception.h',

build/config/phalcon_c_skip_files.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
'phalcon/annotations/scanner.h',
1515
'phalcon/annotations/annot.h',
16-
'phalcon/url/utils.h',
16+
'phalcon/mvc/url/utils.h',
1717
'phalcon/mvc/model/orm.h',
1818
'phalcon/mvc/model/query/scanner.h',
1919
'phalcon/mvc/model/query/phql.h',

0 commit comments

Comments
 (0)