Skip to content

Bump phalcon/phalcon from 6.0.0alpha4 to 6.0.0alpha5 - #126

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

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

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps phalcon/phalcon from 6.0.0alpha4 to 6.0.0alpha5.

Release notes

Sourced from phalcon/phalcon's releases.

v6.0.0alpha5

Added

  • Added the Action-Domain-Responder (ADR) HTTP stack under Phalcon\ADR, an alternative to MVC that splits request handling into three focused roles: an Action (one invokable class per route) drives a Domain (your business logic, which returns a Phalcon\ADR\Payload\Payload and never touches HTTP) and hands the result to a Responder that turns it into a response. Phalcon\ADR\Application::handle() routes the request with the convention-based Phalcon\ADR\Router\Router - the HTTP method, resource and optional operation resolve the Action class (e.g. GET /invoices/list maps to MyApp\Action\Invoices\GetInvoicesList), with no route table - writes the matched positional attributes onto the request, and runs the Action through Phalcon\ADR\Dispatcher, which resolves it from the container and wraps it in a middleware pipeline (Phalcon\ADR\Middleware\CorsMiddleware, MethodOverrideMiddleware, RequestIdMiddleware and TimingMiddleware ship built-in). The Action reads request data through the extendable Phalcon\ADR\Input\Input bag and returns a response built by a responder - Phalcon\ADR\Responder\JsonResponder, TextResponder, RedirectResponder, StatusResponder and the composable ChainResponder/FormatResponder - each mapping the payload's Phalcon\ADR\Payload\Status to an HTTP status via Phalcon\ADR\Responder\StatusMapper. Any escaping Throwable is turned into a response by the always-wired Phalcon\ADR\ErrorResponder, and Phalcon\ADR\Emitter\SapiEmitter sends it to the client. Phalcon\ADR\Front\HttpFront - a Phalcon\Contracts\Front\FrontController following the front-interop contract - boots the whole stack with a single run(), and Phalcon\ADR\Container\AdrProvider registers every service. Because route attributes are positional, Phalcon\Http\Request\Bag\AbstractBag now accepts integer keys alongside string keys. Contracts live under Phalcon\Contracts\ADR. #17341 [doc]
  • Added request attributes support to Phalcon\Http\Request in preparation for the future HTTP layer redesign: Phalcon\Http\Request::getAttributes() returns a Phalcon\Http\Request\Bag\AttributeBag, a mutable, string-keyed bag of arbitrary application-defined values attached to the request during its lifecycle (router, dispatcher, security components etc.). Unlike the superglobal-backed request data, the bag always starts empty; it is created on first access and the same instance is returned on every call. The bag is backed by the new Phalcon\Http\Request\Bag\AbstractBag base - get()/has()/set()/remove()/all(), the typed readers getInt()/getString()/getBool()/getFloat()/getArray() for cast-with-default access, and ArrayAccess/Countable/IteratorAggregate - which future request bags will extend. Writing with a null key (the $bag[] = ... append form) throws the new Phalcon\Http\Request\Exceptions\NullKeyException, since bag elements are always string-keyed. #17367 [doc]

Fixed

  • Fixed Phalcon\Mvc\Model ignoring attributes registered with skipAttributes(), skipAttributesOnCreate() and skipAttributesOnUpdate(), so a skipped column was emitted in the generated INSERT/UPDATE (breaking, for instance, inserts into a table with a MySQL generated column). The skip list is keyed with null values, which isset() reports as absent, so every skipped attribute read as not registered; the checks in doLowInsert(), doLowUpdate() and the not-null validation now use array_key_exists(). #17382 [doc]
  • Fixed Phalcon\Mvc\Model inserting a literal null for a column the database can supply a value for, instead of the DEFAULT keyword (or omitting the column on an adapter without DEFAULT support, such as SQLite). A nullable column carrying no explicit default is registered in the metadata default values with a null value, which the isset() check in doLowInsert() read as absent; it now uses array_key_exists(). This makes inserts work against a MySQL GENERATED ALWAYS AS (...) STORED column, which rejects an explicit null with SQLSTATE[HY000]: General error: 3105 but accepts DEFAULT. #17382 [doc]
Commits
  • db3a33c updating version:
  • 8ef8c2c adjustments to ADR
  • 94747d7 Merge pull request #779 from phalcon/dependabot/github_actions/SonarSource/so...
  • 661dec0 Merge pull request #778 from phalcon/dependabot/github_actions/actions/checko...
  • a1cbc73 Merge pull request #777 from phalcon/dependabot/composer/friendsofphp/php-cs-...
  • f22be79 Merge pull request #776 from phalcon/dependabot/composer/phalcon/talon-0.8.0
  • ee235e1 Bump SonarSource/sonarqube-scan-action from 8.2.0 to 8.2.1
  • aee2fb6 Bump actions/checkout from 7.0.0 to 7.0.1
  • 65b3fc7 Bump friendsofphp/php-cs-fixer from 3.95.13 to 3.95.15
  • 883b60c Bump phalcon/talon from 0.7.0 to 0.8.0
  • Additional commits viewable in compare view

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.0alpha4 to 6.0.0alpha5.
- [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.0alpha4...v6.0.0alpha5)

---
updated-dependencies:
- dependency-name: phalcon/phalcon
  dependency-version: 6.0.0alpha5
  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 22, 2026
@github-actions

Copy link
Copy Markdown

Code Metrics Report

master (427b03a) #126 (925ac79) +/-
Coverage 97.0% 97.0% 0.0%
Test Execution Time 9s 8s -1s
Details
  |                     | master (427b03a) | #126 (925ac79) | +/-  |
  |---------------------|------------------|----------------|------|
  | Coverage            |            97.0% |          97.0% | 0.0% |
  |   Files             |               38 |             38 |    0 |
  |   Lines             |              752 |            752 |    0 |
  |   Covered           |              730 |            730 |    0 |
+ | Test Execution Time |               9s |             8s |  -1s |

Reported by octocov

@niden
niden merged commit 5bc446b into master Jul 22, 2026
19 of 20 checks passed
@niden
niden deleted the dependabot/composer/phalcon/phalcon-6.0.0alpha5 branch July 22, 2026 21:27
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