Skip to content

Bump phalcon/talon from 0.7.0 to 0.8.0#11

Merged
niden merged 1 commit into
masterfrom
dependabot/composer/phalcon/talon-0.8.0
Jul 18, 2026
Merged

Bump phalcon/talon from 0.7.0 to 0.8.0#11
niden merged 1 commit into
masterfrom
dependabot/composer/phalcon/talon-0.8.0

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps phalcon/talon from 0.7.0 to 0.8.0.

Release notes

Sourced from phalcon/talon's releases.

v0.8.0

Changed

Added

  • Added a REST/JSON test surface: Phalcon\Talon\Traits\RestTrait (the full verb set, file uploads, request headers that persist across requests, amBearerAuthenticated()/amHttpAuthenticated(), redirect control, and response grabbers), Phalcon\Talon\Traits\RestAssertionsTrait (status, range, body, header, and JSON assertions), and Phalcon\Talon\PHPUnit\AbstractRestTestCase which composes both. A raw string body is sent as application/json unless a content type is set, and $files takes either a plain path or the $_FILES shape. #19
  • Added Phalcon\Talon\Http\HttpCode - HTTP status constants plus getDescription(), which returns the 404 (Not Found) form. It is deliberately an independent implementation of the standard reason phrases rather than a lookup into the application under test, so that asserting an application's emitted status string against it actually asserts something. #19
  • Added Phalcon\Talon\Http\JsonType - validates a decoded JSON document against a map of type expectations (string, integer, float, boolean, array, null, the :date filter, | unions, and nested maps). Keys absent from the map are ignored, so a map can describe just the part of an envelope a test cares about. float accepts a whole number too - JSON has a single number type, so {"price": 10} decodes to an int and a strict float would fail on every round value. integer stays strict. #19
  • Added Phalcon\Talon\Http\JsonSubset - recursive subset matching, so a fragment can be asserted against a full document. Keys and list elements present in the response but absent from the expectation are ignored, and list elements match in any order. An empty expected list is the exception: ['data' => []] asserts that data is empty rather than matching any data at all. #19
  • Added TALON_REST_URL to Settings::fromEnv(), readable via Settings::get('rest_url') and defaulting to http://127.0.0.1:8080. It is resolved through Talon's shared Settings and so is the same for every test in a run; RestTrait::useRestBaseUrl() points an individual test somewhere else. #19
Changelog

Sourced from phalcon/talon's changelog.

0.8.0 (2026-07-15)

Changed

Added

  • Added a REST/JSON test surface: Phalcon\Talon\Traits\RestTrait (the full verb set, file uploads, request headers that persist across requests, amBearerAuthenticated()/amHttpAuthenticated(), redirect control, and response grabbers), Phalcon\Talon\Traits\RestAssertionsTrait (status, range, body, header, and JSON assertions), and Phalcon\Talon\PHPUnit\AbstractRestTestCase which composes both. A raw string body is sent as application/json unless a content type is set, and $files takes either a plain path or the $_FILES shape. #19
  • Added Phalcon\Talon\Http\HttpCode - HTTP status constants plus getDescription(), which returns the 404 (Not Found) form. It is deliberately an independent implementation of the standard reason phrases rather than a lookup into the application under test, so that asserting an application's emitted status string against it actually asserts something. #19
  • Added Phalcon\Talon\Http\JsonType - validates a decoded JSON document against a map of type expectations (string, integer, float, boolean, array, null, the :date filter, | unions, and nested maps). Keys absent from the map are ignored, so a map can describe just the part of an envelope a test cares about. float accepts a whole number too - JSON has a single number type, so {"price": 10} decodes to an int and a strict float would fail on every round value. integer stays strict. #19
  • Added Phalcon\Talon\Http\JsonSubset - recursive subset matching, so a fragment can be asserted against a full document. Keys and list elements present in the response but absent from the expectation are ignored, and list elements match in any order. An empty expected list is the exception: ['data' => []] asserts that data is empty rather than matching any data at all. #19
  • Added TALON_REST_URL to Settings::fromEnv(), readable via Settings::get('rest_url') and defaulting to http://127.0.0.1:8080. It is resolved through Talon's shared Settings and so is the same for every test in a run; RestTrait::useRestBaseUrl() points an individual test somewhere else. #19

Fixed

Removed

Commits
  • b8557e7 Merge pull request #20 from phalcon/T-19-add-rest-test-case
  • b53de38 phpcs
  • 0bba074 phpcs
  • 536724b #19 - closing the mutation gaps in the REST tests
  • 688375d #19 - splitting JsonType::match to cut its cognitive complexity
  • a1b70c5 #19 - updating changelog for the review fixes
  • 08ee9f0 #19 - fixing the JSON matching findings from review
  • 2802af1 #19 - fixing the RestTrait findings from review
  • faa47a3 #19 - adjusting changelog
  • 013402b #19 - removing infection from composer until the PHP floor moves
  • 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/talon](https://github.com/phalcon/talon) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/phalcon/talon/releases)
- [Changelog](https://github.com/phalcon/talon/blob/master/CHANGELOG.md)
- [Commits](phalcon/talon@v0.7.0...v0.8.0)

---
updated-dependencies:
- dependency-name: phalcon/talon
  dependency-version: 0.8.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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 18, 2026
@github-actions

Copy link
Copy Markdown

Code Metrics Report

master (ec62a7f) #11 (71b1ecb) +/-
Coverage 100.0% 100.0% 0.0%
Test Execution Time 1s 1s 0s
Details
  |                     | master (ec62a7f) | #11 (71b1ecb) | +/-  |
  |---------------------|------------------|---------------|------|
  | Coverage            |           100.0% |        100.0% | 0.0% |
  |   Files             |               58 |            58 |    0 |
  |   Lines             |             1293 |          1293 |    0 |
  |   Covered           |             1293 |          1293 |    0 |
  | Test Execution Time |               1s |            1s |   0s |

Reported by octocov

@niden
niden merged commit fc2cb46 into master Jul 18, 2026
23 of 24 checks passed
@niden
niden deleted the dependabot/composer/phalcon/talon-0.8.0 branch July 18, 2026 19:48
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