Skip to content

Commit

Permalink
Merge pull request #15840 from phalcon/5.0.x
Browse files Browse the repository at this point in the history
5.0.0beta1 Release
  • Loading branch information
niden committed Dec 25, 2021
2 parents 041a4e0 + c1e5b74 commit b6e8688
Show file tree
Hide file tree
Showing 1,502 changed files with 132,767 additions and 149,980 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ on:

env:
# All versions should be declared here
PHALCON_VERSION: 5.0.0alpha7
PHALCON_VERSION: 5.0.0beta1
ZEPHIR_PARSER_VERSION: 1.4.1
ZEPHIR_VERSION: 0.15.0
PSR_VERSION: 1.1.0
Expand Down
26 changes: 21 additions & 5 deletions BACKERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ You can join them in supporting Phalcon and Zephir development by visiting our p
</td>
<td align="center" valign="bottom">
<a href="https://crowdin.com/">
<img width="222px" height="40px" src="https://assets.phalcon.io/phalcon/images/backers/crowdin.png" style="max-width:100%;" alt="Crowdin">
<img width="222px" height="auto" src="https://assets.phalcon.io/phalcon/images/backers/crowdin.png" style="max-width:100%;" alt="Crowdin">
</a>
</td>
<td align="center" valign="bottom">
Expand All @@ -52,9 +52,19 @@ You can join them in supporting Phalcon and Zephir development by visiting our p
</tr>
<tr>
<td align="center" valign="bottom">
<a href="https://www.uptrends.com">
<a href="https://www.digitalocean.com/">
<img width="170px" height="40px" src="https://assets.phalcon.io/phalcon/images/backers/digitalocean.svg" style="max-width:100%;" alt="DigitalOcean open source">
</a>
</td>
<td align="center" valign="bottom">
<a href="https://packagecloud.io/">
<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">
</a>
</td>
<td align="center" valign="bottom">
<a href="https://www.postype.com/">
<img width="170px" height="40px" src="https://assets.phalcon.io/phalcon/images/backers/postype.svg" style="max-width:100%;" alt="https://www.postype.com/">
</a>
</td>
<td align="center" valign="center">
<a href="https://phalcon.io/fund">
Expand Down Expand Up @@ -99,8 +109,6 @@ Thanks for the support
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
Expand All @@ -114,7 +122,15 @@ Thanks for the support
<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>
<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>
<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>
<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>
<a href="https://github.com/barnettruth"><img src="https://avatars.githubusercontent.com/u/95089067?v=4" title="barnettruth" width="60" height="60"></a>
<a href="https://github.com/mccauleycassa"><img src="https://avatars.githubusercontent.com/u/95136425?v=4" title="mccauleycassa" width="60" height="60"></a>
<a href="https://github.com/hillbrianna"><img src="https://avatars.githubusercontent.com/u/95143459?v=4" title="hillbrianna" width="60" height="60"></a>
<a href="https://github.com/whitneyza"><img src="https://avatars.githubusercontent.com/u/95216218?v=4" title="whitneyza" width="60" height="60"></a>
<a href="https://github.com/volkmanaub"><img src="https://avatars.githubusercontent.com/u/95301170?v=4" title="volkmanaub" width="60" height="60"></a>
<a href="https://github.com/lueilwit"><img src="https://avatars.githubusercontent.com/u/95302137?v=4" title="lueilwit" width="60" height="60"></a>
<a href="https://github.com/nicolec3urv7"><img src="https://avatars.githubusercontent.com/u/95520516?v=4" title="nicolec3urv7" width="60" height="60"></a>
<a href="https://github.com/lazospark1"><img src="https://avatars.githubusercontent.com/u/95704274?v=4" title="lazospark1" width="60" height="60"></a>
<a href="https://github.com/leonardarac"><img src="https://avatars.githubusercontent.com/u/95871191?v=4" title="leonardarac" width="60" height="60"></a>

[//]: github-sponsors

Expand Down
51 changes: 51 additions & 0 deletions CHANGELOG-5.0.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,54 @@
# [5.0.0beta1](https://github.com/phalcon/cphalcon/releases/tag/v5.0.0beta1) (2021-12-24)

## Changed
- Marked as deprecated:
- `Phalcon\Mvc\Model::existsBelongsTo()`
- `Phalcon\Mvc\Model::existsHasMany()`
- `Phalcon\Mvc\Model::existsHasOne()`
- `Phalcon\Mvc\Model::existsHasOneThrough()`
- `Phalcon\Mvc\Model::existsHasManyToMany()`
- `Phalcon\Translate\Adapter\Csv::exists()`
- `Phalcon\Translate\Adapter\Gettext::exists()`
- `Phalcon\Translate\Adapter\NativeArray::exists()` [#15785](https://github.com/phalcon/cphalcon/issues/15785)
- Moved `Phalcon\Container` to `Phalcon\Container\Container` [#15796](https://github.com/phalcon/cphalcon/issues/15796)
- 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)
- Moved `Phalcon\Registry` to `Phalcon\Support\Registry` [#15802](https://github.com/phalcon/cphalcon/issues/15802)
- Moved `Phalcon\Url` to `Phalcon\Mvc\Url` [#15798](https://github.com/phalcon/cphalcon/issues/15798)
- Moved `Phalcon\Loader` to `Phalcon\Autoload\Loader` [#15797](https://github.com/phalcon/cphalcon/issues/15797)
- Changes to `Phalcon\Autoload\Loader`:
- Renamed `registerClasses()` to `setClasses()`
- Renamed `registerDirectories()` to `setDirectories()`
- Renamed `registertExtensions()` to `setExtensions()`
- Renamed `registertFiles()` to `setFiles()`
- Renamed `registertNamespaces()` to `setNamespaces()` [#15797](https://github.com/phalcon/cphalcon/issues/15797)
- Moved `Phalcon\Di` to `Phalcon\Di\Di` [#15799](https://github.com/phalcon/cphalcon/issues/15799)
- Removed references to `Phalcon\Tag` from the framework in favor of `Phalcon\Html\TagFactory` [#15801](https://github.com/phalcon/cphalcon/issues/15801)
- `Phalcon\Forms\Form` requires a `Phalcon\Html\TagFactory` to be set before it can render elements [#15801](https://github.com/phalcon/cphalcon/issues/15801)
- `Phalcon\Di\FactoryDefault` will now return a `Phalcon\Html\TagFactory` for the `tag` service [#15801](https://github.com/phalcon/cphalcon/issues/15801)

## Fixed
- `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)

## Added
- Added:
- `Phalcon\Mvc\Model::hasBelongsTo()`
- `Phalcon\Mvc\Model::hasHasMany()`
- `Phalcon\Mvc\Model::hasHasOne()`
- `Phalcon\Mvc\Model::hasHasOneThrough()`
- `Phalcon\Mvc\Model::hasHasManyToMany()`
- `Phalcon\Translate\Adapter\Csv::has()`
- `Phalcon\Translate\Adapter\Gettext::has()`
- `Phalcon\Translate\Adapter\NativeArray::has()` [#15785](https://github.com/phalcon/cphalcon/issues/15785)
- Added `filter`, `camelize`, `dynamic` and `uncamelize` in `Phalcon\Support\HelperFactory` [#15805](https://github.com/phalcon/cphalcon/issues/15805)
- Added `Phalcon\Autoload\Loader::getDebug()` to collect debugging information from the loader (enabled from the constructor) [#15797](https://github.com/phalcon/cphalcon/issues/15797)

## Fixed
- Fixed `Phalcon\Dispatcher\Dispatcher::setParams()` not updating local params during `dispatch()` loop [#15603](https://github.com/phalcon/cphalcon/issues/15603)
- Fixed related records auto-save with `belongsTo()` relation [#15148](https://github.com/phalcon/cphalcon/issues/15148)

## Removed
- Removed `Phalcon\Exception`; replaced by `\Exception` [#15800](https://github.com/phalcon/cphalcon/issues/15800)

# [5.0.0alpha7](https://github.com/phalcon/cphalcon/releases/tag/v5.0.0alpha7) (2021-11-16)

## Changed
Expand Down
2 changes: 1 addition & 1 deletion build/config/phalcon_c_priority_files.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
'phalcon/mvc/view/engine/volt/parser.php.inc.h',
'phalcon/annotations/parser.php.h',
'phalcon/annotations/parser.php.inc.h',
'phalcon/url/utils.h',
'phalcon/mvc/url/utils.h',
'kernel/main.h',
'kernel/memory.h',
'kernel/exception.h',
Expand Down
2 changes: 1 addition & 1 deletion build/config/phalcon_c_skip_files.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

'phalcon/annotations/scanner.h',
'phalcon/annotations/annot.h',
'phalcon/url/utils.h',
'phalcon/mvc/url/utils.h',
'phalcon/mvc/model/orm.h',
'phalcon/mvc/model/query/scanner.h',
'phalcon/mvc/model/query/phql.h',
Expand Down
Loading

0 comments on commit b6e8688

Please sign in to comment.