Repository navigation
chore: release 1.7.3 - #22
Conversation
Reviewer's GuideAPIBump the public module version to 1.7.3 and update the API-surface record for the release.
DocumentationRecord the 1.7.3 release and update the compatibility policy to describe the released module version.
TestsUpdate the bootstrap test to expect the new module version.
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
No actionable comments were generated in the recent review. WalkthroughThe pull request updates ChangesVersion Update
Estimated code review effort: 1 (Trivial) | ~2 minutes Suggested reviewers: Merge Risk:
|
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
|
There was a problem hiding this comment.
Hey - I've found 1 issue
Prompt for AI Agents
Please address the comments from this code review:
## Individual Comments
### Comment 1
<location path="CHANGELOG.md" line_range="9" />
<code_context>
## [Unreleased]
+## [1.7.3] — 2026-11-21
+
### Fixed
</code_context>
<issue_to_address>
**SELECT failures remain uncatchable**
When the SELECT in `cloneRecord()` fails, `Db::cloneRecord()` calls `trigger_error()` and returns `false` when its SELECT fails, instead of throwing the promised `RuntimeException`; callers cannot catch the failure as documented.
Throw a `RuntimeException` when the SELECT fails, and add a test for that failure path.
</issue_to_address>Sourcery assessment
Approval pending. 1 finding to address first.
Blocking findings: CHANGELOG.md:9
|
|
||
| ## [Unreleased] | ||
|
|
||
| ## [1.7.3] — 2026-11-21 |
There was a problem hiding this comment.
🟡 Medium · SELECT failures remain uncatchable
When the SELECT in cloneRecord() fails, Db::cloneRecord() calls trigger_error() and returns false when its SELECT fails, instead of throwing the promised RuntimeException; callers cannot catch the failure as documented.
Throw a RuntimeException when the SELECT fails, and add a test for that failure path.
Prompt for AI agents
In `CHANGELOG.md` at line 9:
**SELECT failures remain uncatchable**
When the SELECT in `cloneRecord()` fails, `Db::cloneRecord()` calls `trigger_error()` and returns `false` when its SELECT fails, instead of throwing the promised `RuntimeException`; callers cannot catch the failure as documented.
Throw a `RuntimeException` when the SELECT fails, and add a test for that failure path.


Summary
Version 1.7.3:
Bootstrap::VERSION, changelog, compatibility policy, API surface file. It ships the fixes merged since 1.7.2:Common\Paginator::processQuery()returns no query for a query string with a raw NUL byte (fix(common): guard the query string, throw on failed queries, tighten name checks #20).Common\BlocksadminandCommon\Db::cloneRecord()/enumerate()throw a\RuntimeExceptionwhen a query fails instead of raisingtrigger_error(E_USER_ERROR), which PHP 8.4 deprecated (fix(common): guard the query string, throw on failed queries, tighten name checks #20).Common\Db::fieldExists(),cloneRecord()andenumerate()refuse a table or column name that ends in a line feed (fix(common): guard the query string, throw on failed queries, tighten name checks #20).Module\Installer::copyTestFolders()andCommon\TestdataSample::loadData()skip a configured sample folder that the module does not ship (fix(installer): skip a configured test data folder the module does not ship #21).Validation
composer qa(style, PHPStan, Rector dry run, lint, API checks, matrix, layers, globals, PHPUnit)Notes
v1.7.3on the merge commit, after the merge.Summary by Sourcery
Release ModuleTools 1.7.3 with the documented fixes since 1.7.2 and updated release metadata.
Documentation:
Tests:
Chores:
Summary by CodeRabbit