Skip to content

Add 4.3.3 section to changelog - #193

Merged
samdark merged 1 commit into
masterfrom
changelog-4.3.3
Nov 25, 2026
Merged

samdark merged 1 commit into
masterfrom
changelog-4.3.3

Conversation

@roxblnfk

@roxblnfk roxblnfk commented Nov 25, 2026 •

Copy link
Copy Markdown
Member
Q A
Is bugfix? ❌
New feature? ❌
Breaks BC? ❌
Fixed issues —

Summary by Sourcery

Add a 4.3.3 changelog section and move its backported changes out of the 5.0.0 section.

Enhancements:

  • Organize the changelog to distinguish changes included in the upcoming 4.3.3 release from those remaining in the unreleased 5.0.0 section.

Documentation:

  • Add an upcoming 4.3.3 changelog section dated November 25, 2026, documenting the fixes and dependency cleanup backported to the 4.x branch.

@sourcery-ai

sourcery-ai Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Reviewer's Guide

Documentation

Add the 4.3.3 changelog section and move the backported #170 and #171 entries out of the 5.0.0 section so each change is listed under its first release.

  • CHANGELOG.md L8-12, L16 (removed lines)

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

@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 2 issues

Prompt for AI Agents
Please address the comments from this code review:

## Individual Comments

### Comment 1
<location path="CHANGELOG.md" line_range="16" />
<code_context>
 - Bug #176: Remove unused `ext-dom` dependency (@samdark)
-- Chg #170: Make all parameters of `ErrorException` constructor required (@vjik)
-- New #171: Add `$traceFileMap` parameter to `HtmlRenderer` for mapping file paths in trace links (@WarLikeLaux)
+- Bug #192: Escape cURL command in HTML debug output (@roxblnfk)
+- Enh #192: Add PHP 8.6 support (@roxblnfk)

</code_context>
<issue_to_address>
**cURL output still permits XSS**

When an attacker can control request data included in the generated cURL command and cause a debug page to be viewed, `HtmlRenderer::renderCurl()` returns the generated command, and the development template inserts it unescaped into a `<textarea>` and a `data-clipboard` attribute, so crafted request data executes script in the debug page despite this entry claiming the output is escaped.

HTML-encode the cURL output for both the textarea content and the `data-clipboard` attribute, and ensure the backport includes that template change before documenting the fix.
</issue_to_address>

### Comment 2
<location path="CHANGELOG.md" line_range="16" />
<code_context>
 - Bug #176: Remove unused `ext-dom` dependency (@samdark)
-- Chg #170: Make all parameters of `ErrorException` constructor required (@vjik)
-- New #171: Add `$traceFileMap` parameter to `HtmlRenderer` for mapping file paths in trace links (@WarLikeLaux)
+- Bug #192: Escape cURL command in HTML debug output (@roxblnfk)
+- Enh #192: Add PHP 8.6 support (@roxblnfk)

</code_context>
<issue_to_address>
**Changes appear twice in changelog**

When #192's 5.0.0 entries are present on the branch being merged, `merge=union` retains both #192 entries in the 5.0.0 and 4.3.3 sections, so readers see each change twice and cannot tell its first release.

Keep each #192 entry only in the release section where it first ships, removing the duplicate from the other section.

Also at `CHANGELOG.md:17`.
</issue_to_address>

Sourcery assessment

Approval pending. 1 finding to address first.

Blocking findings: CHANGELOG.md:16


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

Comment thread CHANGELOG.md Outdated
- Bug #176: Remove unused `ext-dom` dependency (@samdark)
- Chg #170: Make all parameters of `ErrorException` constructor required (@vjik)
- New #171: Add `$traceFileMap` parameter to `HtmlRenderer` for mapping file paths in trace links (@WarLikeLaux)
- Bug #192: Escape cURL command in HTML debug output (@roxblnfk)

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 · cURL output still permits XSS

When an attacker can control request data included in the generated cURL command and cause a debug page to be viewed, HtmlRenderer::renderCurl() returns the generated command, and the development template inserts it unescaped into a <textarea> and a data-clipboard attribute, so crafted request data executes script in the debug page despite this entry claiming the output is escaped.

HTML-encode the cURL output for both the textarea content and the data-clipboard attribute, and ensure the backport includes that template change before documenting the fix.

Prompt for AI agents
In `CHANGELOG.md` at line 16:

**cURL output still permits XSS**

When an attacker can control request data included in the generated cURL command and cause a debug page to be viewed, `HtmlRenderer::renderCurl()` returns the generated command, and the development template inserts it unescaped into a `<textarea>` and a `data-clipboard` attribute, so crafted request data executes script in the debug page despite this entry claiming the output is escaped.

HTML-encode the cURL output for both the textarea content and the `data-clipboard` attribute, and ensure the backport includes that template change before documenting the fix.

Comment thread CHANGELOG.md Resolved
sourcery-ai[bot]
sourcery-ai Bot previously approved these changes Nov 25, 2026

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

Sourcery assessment

Approved.

@roxblnfk
roxblnfk requested a review from a team November 25, 2026 18:56
Bug fixes backported to the 4.x branch move out of the 5.0.0 section, so each change is listed under the first release that ships it.

Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
@sourcery-ai
sourcery-ai Bot dismissed their stale review November 25, 2026 19:09

Sourcery withdrew this approval because the latest commits introduced blocking findings.

@samdark
samdark merged commit a4eaaf5 into master Nov 25, 2026
4 checks passed
@samdark
samdark deleted the changelog-4.3.3 branch November 25, 2026 19:56
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