Skip to content

Conversation

@premtsd-code
Copy link
Contributor

@premtsd-code premtsd-code commented Feb 12, 2026

Summary

  • Upgrades utopia-php/mongo from 0.11.* to 1.0.*
  • Picks up the toArray() recursive fix (Fix toArray() recursive nested stdClass conversion mongo#32) which resolves nested stdClass not being converted to arrays
  • Required for the full fix of DAT-1041 (Cannot use object of type stdClass as array in Document.php)

Summary by CodeRabbit

  • Chores
    • Upgraded MongoDB adapter dependency to the latest major version, improving database compatibility and stability.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 12, 2026

📝 Walkthrough

Walkthrough

The utopia-php/mongo package dependency in composer.json was upgraded from version constraint 0.11.* to 1.0.*, representing a major version update to the MongoDB adapter library.

Changes

Cohort / File(s) Summary
Dependency Updates
composer.json
Upgraded utopia-php/mongo package constraint from 0.11.* to 1.0.*, indicating adoption of a major version release.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

  • Update client #745 — Updates the same utopia-php/mongo dependency version in composer.json, suggesting coordinated dependency management across related repositories.

Suggested reviewers

  • abnegate
  • ArnabChatterjee20k

Poem

🐰 A hop, a skip, and a version bump too,
From 0.11 to 1.0, our MongoDB's brand new!
The Mongo adapter leaps forward with grace,
Major updates bring a smile to my face. ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The pull request title 'Upgrade utopia-php/mongo to 1.0.' clearly and accurately describes the main change in the changeset—upgrading a single dependency from version 0.11. to 1.0.*.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch chore/upgrade-mongo-1.0

Tip

Issue Planner is now in beta. Read the docs and try it out! Share your feedback on Discord.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Fix all issues with AI agents
In `@composer.json`:
- Line 43: The composer.json dependency "utopia-php/mongo" has an invalid
constraint "1.0.*"; update that package entry to a valid Packagist version
(e.g., "0.11.0" or a compatible constraint like "^0.11") so composer install
succeeds—modify the "utopia-php/mongo" version string in composer.json to one of
the published releases and run composer validate / composer update to verify.

@abnegate abnegate closed this Feb 12, 2026
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