-
Notifications
You must be signed in to change notification settings - Fork 63
Open
Labels
status:changes-requestedPR has review feedback to addressPR has review feedback to address
Description
Summary
Issue #663 (now done) produced a research document at docs/research/mongoid-upgrade-path.md detailing the Mongoid 7.4 → 8.x upgrade path. This issue implements the actual changes.
Key changes expected (from research):
- Widen gemspec:
mongoid ~> 7.4→mongoid '>= 7.4', '< 10'(or similar) - Fix any deprecated Mongoid 7.x patterns flagged in the research doc
- Handle the
Mongoid::Errorsnamespace changes - Update any
store_in/ collection configuration patterns - Test with both Mongoid 7.4 (Rails 6.1) and Mongoid 8.x (Rails 7)
Objective
Make Workarea compatible with Mongoid 8.x while maintaining Mongoid 7.4 backward compatibility.
Client impact
High — Mongoid 8 has breaking changes. Clients will need to test their decorators and custom models. Provide detailed migration notes.
Acceptance Criteria
- App boots with Mongoid 8.x
- Core test suite passes with Mongoid 8.x
- Backward compatible with Mongoid 7.4
- Migration notes document all breaking changes
Verification Plan
- Run full test suite with Mongoid 7.4 (regression)
- Run full test suite with Mongoid 8.x
- Document any test failures unique to Mongoid 8.x
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
status:changes-requestedPR has review feedback to addressPR has review feedback to address