Skip to content

Bump phalcon/phalcon from 6.0.0beta6 to 6.0.0beta7 - #37

Merged
niden merged 1 commit into
masterfrom
dependabot/composer/phalcon/phalcon-6.0.0beta7
Aug 23, 2026
Merged

Bump phalcon/phalcon from 6.0.0beta6 to 6.0.0beta7#37
niden merged 1 commit into
masterfrom
dependabot/composer/phalcon/phalcon-6.0.0beta7

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps phalcon/phalcon from 6.0.0beta6 to 6.0.0beta7.

Release notes

Sourced from phalcon/phalcon's releases.

v6.0.0beta7

Changed

  • Changed Phalcon\Filter\Validation\Validator\Callback to stop binding the callback closure to the validator; to set the message from inside the callback (#17255), declare a second parameter and call $validator->setTemplate() instead of $this->setTemplate() #17499 [doc]
  • Changed Phalcon\Filter\Validation\Validator\StringLength, Phalcon\Filter\Validation\Validator\StringLength\Min and Phalcon\Filter\Validation\Validator\StringLength\Max to treat min and max as inclusive when the included option is not set, matching the class documentation and the behavior before 5.7.0; set included to false for exclusive boundaries #17503 [doc]

Added

  • Added includedMinimum and includedMaximum as aliases of the included option in Phalcon\Filter\Validation\Validator\StringLength\Min and Phalcon\Filter\Validation\Validator\StringLength\Max, so the option names of the StringLength container also work on the two validators directly. included has precedence if you set both #17503 [doc]
  • Added lifecycle events to the DataMapper connections, fired through Phalcon\Events\Manager and named on the new Phalcon\DataMapper\Pdo\Events class: dm:beforeConnect/dm:afterConnect, dm:beforeDisconnect/dm:afterDisconnect, dm:beforePerform/dm:afterPerform, dm:beforeExec/dm:afterExec, dm:beforeQuery/dm:afterQuery, dm:beforeBeginTransaction/dm:afterBeginTransaction, dm:beforeCommit/dm:afterCommit, dm:beforeRollBack/dm:afterRollBack and dm:connectionLost. prepare() has no events of its own because perform() calls it, which would report one operation twice. The connect, disconnect and connectionLost events report a change of the connection state and fire whichever method causes it, so an automatic reconnect reports the lost connection and the new one. Phalcon\DataMapper\Pdo\Connection\Decorated does not fire the connect and disconnect events because it never connects and cannot disconnect. #17501 [doc]
  • Added getEventsManager() and setEventsManager() to Phalcon\DataMapper\Pdo\Connection\AbstractConnection, and therefore to Phalcon\DataMapper\Pdo\Connection and Phalcon\DataMapper\Pdo\Connection\Decorated, and to Phalcon\DataMapper\Pdo\ConnectionLocator, which gives its events manager to every connection it returns, including the ones it builds on demand. The two classes now carry the Phalcon\Contracts\Events\EventsAware contract. Phalcon\DataMapper\Pdo\Connection\ConnectionInterface is unchanged, so classes that implement it directly keep working #17501 [doc]
  • Added Phalcon\DataMapper\Pdo\Exception\OperationCancelled, thrown when a listener cancels one of the before* events. The operation does not run. To cancel, a listener must call $event->stop() and also return false: stop() alone returns the value of the listener, which the connection cannot tell apart from "no listeners", and false alone is replaced by any later listener that returns a value while the events manager is not in stopOnFalse mode. The after* events are not cancellable #17501 [doc]

Fixed

  • Fixed Phalcon\Filter\Validation\Validator\Callback rebinding $this in callback closures; the validator is now passed as a second argument to closures that declare one #17499 [doc]
  • Fixed Phalcon\Filter\Validation\Validator\StringLength\Min and Phalcon\Filter\Validation\Validator\StringLength\Max rejecting a string with a length exactly equal to min or max when the included option was not set, a regression introduced in 5.7.0 #17503 [doc]
  • Fixed Phalcon\Filter\Validation\Validator\StringLength giving the includedMinimum/includedMaximum and messageMinimum/messageMaximum option of one boundary to the validator of the other boundary #17503 [doc]
  • Fixed Phalcon\Html\Helper\Input\Generic, Phalcon\Html\Helper\Input\Checkbox and Phalcon\Html\Helper\Input\Radio throwing an error when you build them directly without a Phalcon\Html\Helper\Doctype, which their constructor accepts as optional. Phalcon\Html\Helper\Input\AbstractInput::__toString() now renders HTML5 when there is no doctype, the same as Phalcon\Html\Helper\VoidTag and the same as a default Doctype. Helpers that come from Phalcon\Html\TagFactory always get a doctype, so their output does not change #17507 [doc]
  • Fixed Phalcon\Image\Adapter\Imagick::background(), reflection(), text() and watermark() discarding any opacity below 100, and sharpen() rounding its amount down, because the division by 100 was stored back in the integer parameter; watermark() left the image unchanged for every opacity except 100 #17510 [doc]
  • Fixed Phalcon\Image\Adapter\Imagick never coalescing the frames of a GIF, because the constructor compared getImageType(), an Imagick IMGTYPE_* value, against IMAGETYPE_GIF; the width and the height of an animated GIF now describe the canvas instead of whichever sub frame the cursor was on #17510 [doc]
  • Fixed Phalcon\Image\Adapter\Imagick::render() returning the current frame alone for a GIF, and save() failing with no encode delegate for this image format after an operation that rebuilds the image; both now mark every frame with the format, which setImageFormat() applies to the current frame only #17510 [doc]

Removed

Changelog

Sourced from phalcon/phalcon's changelog.

6.0.0 beta 7 (2026-08-19)

Changed

  • Changed Phalcon\Filter\Validation\Validator\Callback to stop binding the callback closure to the validator; to set the message from inside the callback (#17255), declare a second parameter and call $validator->setTemplate() instead of $this->setTemplate() #17499 [doc]
  • Changed Phalcon\Filter\Validation\Validator\StringLength, Phalcon\Filter\Validation\Validator\StringLength\Min and Phalcon\Filter\Validation\Validator\StringLength\Max to treat min and max as inclusive when the included option is not set, matching the class documentation and the behavior before 5.7.0; set included to false for exclusive boundaries #17503 [doc]

Added

  • Added includedMinimum and includedMaximum as aliases of the included option in Phalcon\Filter\Validation\Validator\StringLength\Min and Phalcon\Filter\Validation\Validator\StringLength\Max, so the option names of the StringLength container also work on the two validators directly. included has precedence if you set both #17503 [doc]
  • Added lifecycle events to the DataMapper connections, fired through Phalcon\Events\Manager and named on the new Phalcon\DataMapper\Pdo\Events class: dm:beforeConnect/dm:afterConnect, dm:beforeDisconnect/dm:afterDisconnect, dm:beforePerform/dm:afterPerform, dm:beforeExec/dm:afterExec, dm:beforeQuery/dm:afterQuery, dm:beforeBeginTransaction/dm:afterBeginTransaction, dm:beforeCommit/dm:afterCommit, dm:beforeRollBack/dm:afterRollBack and dm:connectionLost. prepare() has no events of its own because perform() calls it, which would report one operation twice. The connect, disconnect and connectionLost events report a change of the connection state and fire whichever method causes it, so an automatic reconnect reports the lost connection and the new one. Phalcon\DataMapper\Pdo\Connection\Decorated does not fire the connect and disconnect events because it never connects and cannot disconnect. #17501 [doc]
  • Added getEventsManager() and setEventsManager() to Phalcon\DataMapper\Pdo\Connection\AbstractConnection, and therefore to Phalcon\DataMapper\Pdo\Connection and Phalcon\DataMapper\Pdo\Connection\Decorated, and to Phalcon\DataMapper\Pdo\ConnectionLocator, which gives its events manager to every connection it returns, including the ones it builds on demand. The two classes now carry the Phalcon\Contracts\Events\EventsAware contract. Phalcon\DataMapper\Pdo\Connection\ConnectionInterface is unchanged, so classes that implement it directly keep working #17501 [doc]
  • Added Phalcon\DataMapper\Pdo\Exception\OperationCancelled, thrown when a listener cancels one of the before* events. The operation does not run. To cancel, a listener must call $event->stop() and also return false: stop() alone returns the value of the listener, which the connection cannot tell apart from "no listeners", and false alone is replaced by any later listener that returns a value while the events manager is not in stopOnFalse mode. The after* events are not cancellable #17501 [doc]

Fixed

  • Fixed Phalcon\Filter\Validation\Validator\Callback rebinding $this in callback closures; the validator is now passed as a second argument to closures that declare one #17499 [doc]
  • Fixed Phalcon\Filter\Validation\Validator\StringLength\Min and Phalcon\Filter\Validation\Validator\StringLength\Max rejecting a string with a length exactly equal to min or max when the included option was not set, a regression introduced in 5.7.0 #17503 [doc]
  • Fixed Phalcon\Filter\Validation\Validator\StringLength giving the includedMinimum/includedMaximum and messageMinimum/messageMaximum option of one boundary to the validator of the other boundary #17503 [doc]
  • Fixed Phalcon\Html\Helper\Input\Generic, Phalcon\Html\Helper\Input\Checkbox and Phalcon\Html\Helper\Input\Radio throwing an error when you build them directly without a Phalcon\Html\Helper\Doctype, which their constructor accepts as optional. Phalcon\Html\Helper\Input\AbstractInput::__toString() now renders HTML5 when there is no doctype, the same as Phalcon\Html\Helper\VoidTag and the same as a default Doctype. Helpers that come from Phalcon\Html\TagFactory always get a doctype, so their output does not change #17507 [doc]
  • Fixed Phalcon\Image\Adapter\Imagick::background(), reflection(), text() and watermark() discarding any opacity below 100, and sharpen() rounding its amount down, because the division by 100 was stored back in the integer parameter; watermark() left the image unchanged for every opacity except 100 #17510 [doc]
  • Fixed Phalcon\Image\Adapter\Imagick never coalescing the frames of a GIF, because the constructor compared getImageType(), an Imagick IMGTYPE_* value, against IMAGETYPE_GIF; the width and the height of an animated GIF now describe the canvas instead of whichever sub frame the cursor was on #17510 [doc]
  • Fixed Phalcon\Image\Adapter\Imagick::render() returning the current frame alone for a GIF, and save() failing with no encode delegate for this image format after an operation that rebuilds the image; both now mark every frame with the format, which setImageFormat() applies to the current frame only #17510 [doc]

Removed

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

---
updated-dependencies:
- dependency-name: phalcon/phalcon
  dependency-version: 6.0.0beta7
  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 Aug 22, 2026
@niden
niden merged commit 4334bb8 into master Aug 23, 2026
18 of 22 checks passed
@niden
niden deleted the dependabot/composer/phalcon/phalcon-6.0.0beta7 branch August 23, 2026 02:51
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