Skip to content

Conversation

@GromNaN
Copy link
Member

@GromNaN GromNaN commented Nov 4, 2025

Q A
Type improvement
BC Break yes
Fixed issues -

Summary

@GromNaN GromNaN added this to the 3.0.0 milestone Nov 4, 2025
@GromNaN GromNaN force-pushed the 3-CollectionInfoIterator branch from 599bcce to cf0b923 Compare November 4, 2025 16:21
@GromNaN
Copy link
Member Author

GromNaN commented Nov 10, 2025

Given the low amount of change, I wonder if it's worth removing support now. Upgrading PHP extension version is more complex that a library.
Note that we don't have a release date for ODM 3.0, so it might be in 6 month or more.

@alcaeus
Copy link
Member

alcaeus commented Nov 11, 2025

I wonder if it's worth removing support now

"Now" as in "merge this to 3.0.x now", or "now" as in "drop support in 2.x"? As much as I'd love to drop the old extension version, I think it's safer to do this in 3.0, even if that means we're dragging it along for a few more months.

@GromNaN
Copy link
Member Author

GromNaN commented Nov 11, 2025

I was thinking of the opposite: not removing support for ext-mongodb 1.x in 3.0, but waiting until there was a more significant shift in usage. Composer allows us to modify the constraint in a minor 3.x version.

But looking at pecl stats, there is already a big shift
image

@GromNaN GromNaN merged commit 79f1369 into doctrine:3.0.x Nov 11, 2025
23 checks passed
@GromNaN GromNaN deleted the 3-CollectionInfoIterator branch November 11, 2025 21:27
@alcaeus
Copy link
Member

alcaeus commented Nov 12, 2025

But looking at pecl stats, there is already a big shift

Yes. Since pecl install mongodb will install the latest published version, publishing the 2.x releases after 1.x patch releases ensures that people get the new version by default unless they specify the exact version they want to install.

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.

3 participants