Skip to content

Fix wrong PHP version constraint for pie#1874

Merged
alcaeus merged 1 commit intomongodb:v1.21from
alcaeus:fix-wrong-version-constraint
Sep 25, 2025
Merged

Fix wrong PHP version constraint for pie#1874
alcaeus merged 1 commit intomongodb:v1.21from
alcaeus:fix-wrong-version-constraint

Conversation

@alcaeus
Copy link
Copy Markdown
Member

@alcaeus alcaeus commented Sep 24, 2025

When we bumped the minimum PHP version to 8.1 in #1631, we forgot to update the constraint in composer.json. This can lead to pie picking the wrong version of the extension, followed by a failure to build it. This PR fixes the wrong constraint so future versions don't have the same problem.

@alcaeus alcaeus requested a review from jmikola September 24, 2025 14:44
@alcaeus alcaeus requested a review from a team as a code owner September 24, 2025 14:44
Copilot AI review requested due to automatic review settings September 24, 2025 14:44
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes an outdated PHP version constraint in composer.json that was not updated when the minimum PHP version was raised to 8.1 in a previous PR. This ensures the extension's composer configuration accurately reflects its PHP requirements.

  • Updated PHP version constraint from ">=7.4,<9" to ">=8.1,<9"

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@alcaeus alcaeus merged commit 17f644a into mongodb:v1.21 Sep 25, 2025
61 checks passed
This was referenced Sep 25, 2025
netbsd-srcmastr pushed a commit to NetBSD/pkgsrc that referenced this pull request Feb 11, 2026
1.21.1 (2025-06-13)

What's Changed

* PHPC-2558: Update to libmongoc 1.30.3 by @alcaeus in mongodb/mongo-php-driver#1806

* Add CODEOWNERS for 1.21+ by @alcaeus in
  mongodb/mongo-php-driver#1810

* PHPC-2537 Update to newer Ubuntu version in GitHub Actions workflows by
  @GromNaN in mongodb/mongo-php-driver#1814

* PHPLIB-1678: Use assume_role command before accessing secrets by @alcaeus
  in mongodb/mongo-php-driver#1832

* Ignore branches that are no longer maintained when merging up by @alcaeus
  in mongodb/mongo-php-driver#1838

* PHPC-2593: Update libmongoc to 1.30.5 by @alcaeus in
  mongodb/mongo-php-driver#1841


1.21.2 (2025-10-07)

 What's Changed

* Fix wrong PHP version constraint for pie by @alcaeus in
  mongodb/mongo-php-driver#1874

* PHPC-2635: Remove serverless URIs from Atlas connectivity tests by
  @jmikola in mongodb/mongo-php-driver#1879

* PHPC-2637: Update to libmongoc 1.30.6 by @alcaeus in
  mongodb/mongo-php-driver#1882


1.21.3 (seems not be released)


1.21.4 (2026-01-28)

What's Changed

* PHPC-2661: Use php-windows-builder for Windows extension builds by
  @alcaeus in mongodb/mongo-php-driver#1907

* Refactor release process to support php-windows-builder by @alcaeus in
  mongodb/mongo-php-driver#1916

* Fix broken release workflow by @alcaeus in
  mongodb/mongo-php-driver#1919

1.21.5 (2026-02-04)

What's Changed

* Fix artifact signing by @alcaeus in
  mongodb/mongo-php-driver#1923

* PHPC-2670: Upgrade libmongoc to 1.30.7 by @alcaeus in
  mongodb/mongo-php-driver#1930

* PHPC-2636: Respect libbson nesting limit when parsing PHP objects by
  @alcaeus in mongodb/mongo-php-driver#1934
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.

4 participants