Skip to content

Upgrade idurar Mongoose to latest 8.x#710

Draft
augmentcode[bot] wants to merge 1 commit into
mainfrom
hammads-turing/upgrade-mongoose-8x-20260526
Draft

Upgrade idurar Mongoose to latest 8.x#710
augmentcode[bot] wants to merge 1 commit into
mainfrom
hammads-turing/upgrade-mongoose-8x-20260526

Conversation

@augmentcode
Copy link
Copy Markdown

@augmentcode augmentcode Bot commented May 26, 2026

Summary

  • Upgrade idurar-erp-crm backend Mongoose from ^8.1.1 to ^8.24.0 and refresh the npm lockfile.
  • Centralize MongoDB connection setup in a helper.
  • Explicitly set strictQuery to false and use supported Mongoose 8 connection options.

Validation

  • npm ls mongoose
  • node --check src/utils/connectToDatabase.js && node --check src/server.js && node --check src/setup/setup.js && node --check src/setup/reset.js
  • node -e "require('./src/utils/connectToDatabase'); const mongoose = require('mongoose'); if (mongoose.get('strictQuery') !== false) process.exit(1); console.log('strictQuery=false')"

Notes

  • This manual session should use the human GitHub OAuth tool, but only the GitHub App tool is available in this environment, so PR creation/comment attribution may appear under the bot identity.

Pull Request opened by Augment Code | View session

@augmentcode
Copy link
Copy Markdown
Author

augmentcode Bot commented May 26, 2026

PR Author Agent

👋 I've got this PR — here's what I'll handle for you:

  • Review feedback — implement suggestions, answer questions, fix what comes up
  • CI failures — I get pinged when checks fail and try to fix them
  • Merge conflicts — bring the PR back up to date when it falls behind
  • Merge gates — watch CI, reviews, and verification
  • Ping you the moment it's ready to merge

Marking it ready and picking reviewers are your call — I'll leave both alone.

Drop a comment anytime!

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.

1 participant