Skip to content

Feat: prepare v4.7.3 - #377

Merged
fabianwgl merged 1 commit into
masterfrom
CybotAS/v4.7.3
Sep 14, 2026
Merged

fabianwgl merged 1 commit into
masterfrom
CybotAS/v4.7.3

Conversation

@fabianwgl

@fabianwgl fabianwgl commented Sep 14, 2026

Copy link
Copy Markdown
Collaborator

User description

Summary

Prepares release v4.7.3.

Bumps the plugin version in cookiebot.php, src/lib/Cookiebot_WP.php, and readme.txt, and adds the 4.7.3 changelog entry for CMS-2804 (PHP 8.4 implicit nullable parameter deprecation, fixed in #376).

Test plan

  • Confirm version strings read 4.7.3 in cookiebot.php, readme.txt, src/lib/Cookiebot_WP.php
  • CI passes

CodeAnt-AI Description

Release Cookiebot 4.7.3 with PHP 8.4 deprecation warning resolved

What Changed

  • Removes the PHP 8.4 deprecation notice caused by an implicitly nullable parameter
  • Publishes version 4.7.3 across the plugin and WordPress listing

Impact

✅ Fewer PHP 8.4 deprecation warnings
✅ Clearer compatibility for PHP 8.4 sites
✅ Consistent 4.7.3 version reporting

💡 Usage Guide

Checking Your Pull Request

Every time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later.

Talking to CodeAnt AI

Got a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask:

@codeant-ai ask: Your question here

This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code.

Example

@codeant-ai ask: Can you suggest a safer alternative to storing this secret?

Preserve Org Learnings with CodeAnt

You can record team preferences so CodeAnt AI applies them in future reviews. Reply directly to the specific CodeAnt AI suggestion (in the same thread) and replace "Your feedback here" with your input:

@codeant-ai: Your feedback here

This helps CodeAnt AI learn and adapt to your team's coding style and standards.

Example

@codeant-ai: Do not flag unused imports.

Retrigger review

Ask CodeAnt AI to review the PR again, by typing:

@codeant-ai: review

Check Your Repository Health

To analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health.

@codeant-ai

codeant-ai Bot commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

🤖 CodeAnt AI — Review Status

Status Commit Started (UTC) Finished (UTC)
✅ Reviewed your PR 89d7f8f Sep 14, 2026 · 10:20 10:22

@codeant-ai

codeant-ai Bot commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

Thanks for using CodeAnt! 🎉

We're free for open-source projects. if you're enjoying it, help us grow by sharing.

Share on X ·
Reddit ·
LinkedIn

@codeant-ai codeant-ai Bot added the size:S This PR changes 10-29 lines, ignoring generated files label Sep 14, 2026
@sonarqubecloud

Copy link
Copy Markdown

@qodo-code-review

Copy link
Copy Markdown

PR Summary by Qodo

Prepare Cookiebot 4.7.3 release

⚙️ Configuration changes 📝 Documentation 🕐 Less than 5 minutes

Grey Divider

AI Description

• Advances plugin runtime and distribution metadata to version 4.7.3.
• Documents the PHP 8.4 nullable-parameter deprecation fix in the release changelog.
Diagram

graph TD
  R["Release 4.7.3"] --> H["Plugin Header"] --> W["WordPress Loader"]
  R --> C["Runtime Constant"] --> U["Runtime Consumers"]
  R --> M["Readme Metadata"] --> D["Plugin Directory"]
Loading
High-Level Assessment

The following are alternative approaches to this PR:

1. Single-source release automation
  • ➕ Prevents version drift across PHP and readme metadata
  • ➕ Reduces repetitive manual release edits
  • ➕ Can validate changelog and stable-tag consistency in CI
  • ➖ Requires additional release tooling and maintenance
  • ➖ WordPress distribution metadata must still be emitted into committed files

Recommendation: The manual synchronization is appropriate for this small patch release and keeps the published artifacts explicit. A future release script or CI consistency check would reduce drift risk without changing runtime architecture.

Files changed (3) +12 / -3

Documentation (1) +10 / -1
readme.txtPublish 4.7.3 stable tag and changelog +10/-1

Publish 4.7.3 stable tag and changelog

• Updates the WordPress.org stable tag to 4.7.3. Adds the September 14, 2026 release notes documenting the PHP 8.4 implicit-nullability deprecation fix.

readme.txt

Other (2) +2 / -2
cookiebot.phpBump WordPress plugin header to 4.7.3 +1/-1

Bump WordPress plugin header to 4.7.3

• Changes the plugin header version from 4.7.2 to 4.7.3 so WordPress recognizes the new release.

cookiebot.php

Cookiebot_WP.phpBump runtime plugin version constant +1/-1

Bump runtime plugin version constant

• Updates 'COOKIEBOT_PLUGIN_VERSION' to 4.7.3 for runtime version reporting, asset versioning, and integrations.

src/lib/Cookiebot_WP.php

@qodo-code-review

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)

Grey Divider

Great, no issues found!

Qodo reviewed your code and found no material issues that require review

Grey Divider

Tip of the day
💡 Did you know, you can ask Qodo to dismiss a finding you disagree with, with your reason on record

More tips ↗ | Customize Qodo ↗ | Qodo docs ↗

Grey Divider

Qodo Logo

Comment thread src/lib/Cookiebot_WP.php
@apinto-uc
apinto-uc requested review from apinto-uc and lucantoniouc and removed request for UCjatamayo and antonnovastar September 14, 2026 10:43
@fabianwgl
fabianwgl merged commit 1667464 into master Sep 14, 2026
11 checks passed
@fabianwgl
fabianwgl deleted the CybotAS/v4.7.3 branch September 14, 2026 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S This PR changes 10-29 lines, ignoring generated files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants