Skip to content

chore: release 1.7.3 - #22

Merged
mambax7 merged 1 commit into
XOOPS:masterfrom
mambax7:release/1.7.3
Nov 22, 2026
Merged

mambax7 merged 1 commit into
XOOPS:masterfrom
mambax7:release/1.7.3

Conversation

@mambax7

@mambax7 mambax7 commented Nov 22, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Version 1.7.3: Bootstrap::VERSION, changelog, compatibility policy, API surface file. It ships the fixes merged since 1.7.2:

Validation

  • composer qa (style, PHPStan, Rector dry run, lint, API checks, matrix, layers, globals, PHPUnit)
  • PHPUnit on PHP 8.2, 8.3, 8.4, 8.5 and 8.6 (188 tests)

Notes

  • No public signature changes; API stays 1.2.0.
  • Tag v1.7.3 on 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:

  • Update the compatibility policy and changelog for the 1.7.3 release.

Tests:

  • Update version assertions for the 1.7.3 release.

Chores:

  • Release ModuleTools 1.7.3 while retaining API compatibility at version 1.2.0.

Summary by CodeRabbit

  • Chores
    • Updated the application version to 1.7.3.

Copilot AI balanced review requested due to automatic review settings November 22, 2026 00:28
@sourcery-ai

sourcery-ai Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

Reviewer's Guide

API

Bump the public module version to 1.7.3 and update the API-surface record for the release.

  • resources/gate/api-surface.json L1196
  • src/Bootstrap.php L18

Documentation

Record the 1.7.3 release and update the compatibility policy to describe the released module version.

  • CHANGELOG.md L9-10
  • docs/compatibility-policy.md L51

Tests

Update the bootstrap test to expect the new module version.

  • tests/BootstrapTest.php L52

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@coderabbitai

coderabbitai Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The pull request updates Bootstrap::VERSION from 1.7.2 to 1.7.3.

Changes

Version Update

Layer / File(s) Summary
Update version constant
src/Bootstrap.php
Bootstrap::VERSION changes from 1.7.2 to 1.7.3.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Suggested reviewers: sourcery-ai

Merge Risk: Minimal · up to 55b64

This release change only bumps the library version to 1.7.3 and has no behavior impact. It is ready to merge.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "chore: release 1.7.3" matches the main change. The only tracked code change bumps Bootstrap::VERSION from 1.7.2 to 1.7.3, and the PR objectives describe a release preparing version 1.7.3. T…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "chore: release 1.7.3" matches the main change. The only tracked code change bumps Bootstrap::VERSION from 1.7.2 to 1.7.3, and the PR objectives describe a release preparing version 1.7.3. The conventional "chore:" prefix and version number make the purpose clear to a reader scanning history.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Warning

Some tools did not complete. Review the errors below.

PHPStan (2.3.5)

PHPStan was skipped because the config uses disallowed bootstrapFiles or bootstrapFile directives.

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 6fcaeb4 and 55b64f2.

Files ignored due to path filters: 4

  • CHANGELOG.md is excluded by !**/*.md
  • docs/compatibility-policy.md is excluded by !docs/**, !**/*.md
  • resources/gate/api-surface.json is excluded by !resources/**
  • tests/BootstrapTest.php is excluded by !tests/**
Files selected for processing: 1

  • src/Bootstrap.php

Included review availability: This review used your included allowance. 0 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 1 review per hour.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@sonarqubecloud

Copy link
Copy Markdown

@gitar-bot

gitar-bot Bot commented Nov 22, 2026

Copy link
Copy Markdown

Important

You are using the Gitar free plan. Upgrade to unlock code review, CI analysis, auto-apply, custom automations, and more.

Gitar

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

Comment thread CHANGELOG.md

## [Unreleased]

## [1.7.3] — 2026-11-21

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 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.

@mambax7
mambax7 merged commit 818feeb into XOOPS:master Nov 22, 2026
9 checks passed
@mambax7
mambax7 deleted the release/1.7.3 branch November 22, 2026 01:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants