Skip to content

Bump phalcon/phalcon from 6.0.0alpha5 to 6.0.0beta4 - #128

Merged
niden merged 1 commit into
masterfrom
dependabot/composer/phalcon/phalcon-6.0.0beta4
Jul 29, 2026
Merged

Bump phalcon/phalcon from 6.0.0alpha5 to 6.0.0beta4#128
niden merged 1 commit into
masterfrom
dependabot/composer/phalcon/phalcon-6.0.0beta4

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 29, 2026

Copy link
Copy Markdown
Contributor

Bumps phalcon/phalcon from 6.0.0alpha5 to 6.0.0beta4.

Release notes

Sourced from phalcon/phalcon's releases.

v6.0.0beta4

Changed

  • Changed Phalcon\ADR\Router\Router to derive exactly one Action class per path: the class name is the verb followed by every static segment concatenated. #17410 [doc]

Added

  • Added classFor() to the Phalcon\Contracts\ADR\Router\Router contract and to Phalcon\ADR\Router\Router. It names the Action class the convention would use for a static path. #17410 [doc]

Fixed

  • Fixed Phalcon\Mvc\Model::find() and Phalcon\Mvc\Model::findFirst() raising an error Call to undefined method static::getpreparedquery(). Using self vs. 'static` for the internal calls. #17409 [doc]

Removed

v6.0.0beta3

Changed

  • Changed Phalcon\ADR\Router\Router from a candidate chain to a namespace descent: a path segment becomes a namespace segment only if the matching directory exists, after which at most two Action classes are probed instead of five. An Action can no longer be silently shadowed by an earlier candidate. Requires setActionDirectory(). #17405 [doc]

Added

  • Added pathFor(), setActionDirectory() and setWordSeparator() to the Phalcon\Contracts\ADR\Router\Router contract and to Phalcon\ADR\Router\Router; the two setters are also on Phalcon\ADR\Application. pathFor() is the inverse of the routing convention, returning the canonical path an Action answers or null. Added Phalcon\ADR\Exceptions\ActionDirectoryNotSet. #17405 [doc]
  • Added Phalcon\Container\Container::getServiceNames(), returning the names of every registered service definition. Names that only exist as an alias, a pre-set instance or a parameter are not included. #17406 [doc]
  • Added Phalcon\Events\Manager::getEventTypes(), returning the event types that currently have at least one listener attached, including those contributed by subscribers. Listeners attached with attach() were previously not enumerable at all, since getListeners() requires a known event type. #17406 [doc]

Fixed

  • Fixed Phalcon\ADR\Router\Router treating - and _ as the same delimiter, so /forgot-password and /forgot_password resolved to the same Action and the path-to-class map had no inverse. A single separator now applies in both directions, default - and settable with setWordSeparator(); _ is literal. #17405 [doc]

Removed

v6.0.0beta2

Changed

  • Changed Phalcon\Mvc\Model::getRelated() and Phalcon\Mvc\Model::isRelationshipLoaded() to test the relation cache with array_key_exists() instead of isset(), so a to-one relation that resolves to no record is no longer re-queried on every access #17331 [doc]
  • Changed Phalcon\Mvc\Model\Manager::mergeFindParameters() from final protected to final public static #17331

Added

  • Added Phalcon\ADR\Responder\ViewResponder, which renders a .phtml template and returns it as an HTML response. The action picks the template with withTemplate(), and the view receives result, messages and status. Any renderer implementing the new Phalcon\Contracts\View\Renderer can be used - Phalcon\Mvc\View\Simple now does. #17379 [doc]
  • Added opt-in route-parameter pre-filtering to the ADR convention router via the new Phalcon\ADR\Router\AttributeFilter. An Action that declares a static params() method has its positional route segments validated against a regex, cast to a scalar type (int, float, string) and optionally passed through a converter closure, then written to the request as named attributes - all before the Action runs. A regex miss is treated as a route miss (404). #17393 [doc]
  • Added eager loading of model relations: Phalcon\Mvc\Model::find() accepts an eager parameter - an array of dot-delimited relation paths, optionally path => options - which pre-loads the named relations with one query per relation instead of one per record. Phalcon\Mvc\Model\Criteria::eager() exposes the same on the criteria surface. #17331 [doc]
  • Added candidatesFor() to the Phalcon\Contracts\ADR\Router\Router contract and to Phalcon\ADR\Router\Router. It returns every Action class the convention router would try for a given HTTP method and path, in the order it tries them and unfiltered by existence. #17403 [doc]

Fixed

  • Fixed Phalcon\Http\Response\Cookies::delete() not deleting a cookie that was not set in the same request; it now falls back to the $_COOKIE superglobal. Phalcon\Http\Cookie::delete() expires the cookie with its stored path and domain instead of the defaults. #17395 [doc]

Removed

... (truncated)

Changelog

Sourced from phalcon/phalcon's changelog.

6.0.0 beta 4 (2026-07-28)

Changed

  • Changed Phalcon\ADR\Router\Router to derive exactly one Action class per path: the class name is the verb followed by every static segment concatenated. #17410 [doc]

Added

  • Added classFor() to the Phalcon\Contracts\ADR\Router\Router contract and to Phalcon\ADR\Router\Router. It names the Action class the convention would use for a static path. #17410 [doc]

Fixed

  • Fixed Phalcon\Mvc\Model::find() and Phalcon\Mvc\Model::findFirst() raising an error Call to undefined method static::getpreparedquery(). Using self vs. 'static` for the internal calls. #17409 [doc]

Removed

6.0.0 beta 3 (2026-07-27)

Changed

  • Changed Phalcon\ADR\Router\Router from a candidate chain to a namespace descent: a path segment becomes a namespace segment only if the matching directory exists, after which at most two Action classes are probed instead of five. An Action can no longer be silently shadowed by an earlier candidate. Requires setActionDirectory(). #17405 [doc]

Added

  • Added pathFor(), setActionDirectory() and setWordSeparator() to the Phalcon\Contracts\ADR\Router\Router contract and to Phalcon\ADR\Router\Router; the two setters are also on Phalcon\ADR\Application. pathFor() is the inverse of the routing convention, returning the canonical path an Action answers or null. Added Phalcon\ADR\Exceptions\ActionDirectoryNotSet. #17405 [doc]
  • Added Phalcon\Container\Container::getServiceNames(), returning the names of every registered service definition. Names that only exist as an alias, a pre-set instance or a parameter are not included. #17406 [doc]
  • Added Phalcon\Events\Manager::getEventTypes(), returning the event types that currently have at least one listener attached, including those contributed by subscribers. Listeners attached with attach() were previously not enumerable at all, since getListeners() requires a known event type. #17406 [doc]

Fixed

  • Fixed Phalcon\ADR\Router\Router treating - and _ as the same delimiter, so /forgot-password and /forgot_password resolved to the same Action and the path-to-class map had no inverse. A single separator now applies in both directions, default - and settable with setWordSeparator(); _ is literal. #17405 [doc]

Removed

6.0.0 beta 2 (2026-07-26)

Changed

  • Changed Phalcon\Mvc\Model::getRelated() and Phalcon\Mvc\Model::isRelationshipLoaded() to test the relation cache with array_key_exists() instead of isset(), so a to-one relation that resolves to no record is no longer re-queried on every access #17331 [doc]
  • Changed Phalcon\Mvc\Model\Manager::mergeFindParameters() from final protected to final public static #17331

Added

  • Added Phalcon\ADR\Responder\ViewResponder, which renders a .phtml template and returns it as an HTML response. The action picks the template with withTemplate(), and the view receives result, messages and status. Any renderer implementing the new Phalcon\Contracts\View\Renderer can be used - Phalcon\Mvc\View\Simple now does. #17379 [doc]
  • Added opt-in route-parameter pre-filtering to the ADR convention router via the new Phalcon\ADR\Router\AttributeFilter. An Action that declares a static params() method has its positional route segments validated against a regex, cast to a scalar type (int, float, string) and optionally passed through a converter closure, then written to the request as named attributes - all before the Action runs. A regex miss is treated as a route miss (404). #17393 [doc]
  • Added eager loading of model relations: Phalcon\Mvc\Model::find() accepts an eager parameter - an array of dot-delimited relation paths, optionally path => options - which pre-loads the named relations with one query per relation instead of one per record. Phalcon\Mvc\Model\Criteria::eager() exposes the same on the criteria surface. #17331 [doc]
  • Added candidatesFor() to the Phalcon\Contracts\ADR\Router\Router contract and to Phalcon\ADR\Router\Router. It returns every Action class the convention router would try for a given HTTP method and path, in the order it tries them. #17403 [doc]

Fixed

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [phalcon/phalcon](https://github.com/phalcon/phalcon) from 6.0.0alpha5 to 6.0.0beta4.
- [Release notes](https://github.com/phalcon/phalcon/releases)
- [Changelog](https://github.com/phalcon/phalcon/blob/v6.0.x/CHANGELOG.md)
- [Commits](phalcon/phalcon@v6.0.0alpha5...v6.0.0beta4)

---
updated-dependencies:
- dependency-name: phalcon/phalcon
  dependency-version: 6.0.0beta4
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file php Pull requests that update php code labels Jul 29, 2026
@github-actions

Copy link
Copy Markdown

Code Metrics Report

master (5bc446b) #128 (20f99c5) +/-
Coverage 97.0% 97.0% 0.0%
Test Execution Time 8s 8s 0s
Details
  |                     | master (5bc446b) | #128 (20f99c5) | +/-  |
  |---------------------|------------------|----------------|------|
  | Coverage            |            97.0% |          97.0% | 0.0% |
  |   Files             |               38 |             38 |    0 |
  |   Lines             |              752 |            752 |    0 |
  |   Covered           |              730 |            730 |    0 |
  | Test Execution Time |               8s |             8s |   0s |

Reported by octocov

@niden
niden merged commit 25ee5fc into master Jul 29, 2026
19 of 20 checks passed
@niden
niden deleted the dependabot/composer/phalcon/phalcon-6.0.0beta4 branch July 29, 2026 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file php Pull requests that update php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant