-
Notifications
You must be signed in to change notification settings - Fork 1.4k
MONGOID-5865 - Revert 9.0 Hash behavior #5982
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
MONGOID-5865 - Revert 9.0 Hash behavior #5982
Conversation
@jamis may we get a comment on this? This is a blocker for Mongoid 9.0 upgrade for us. |
@jamis any comment here? |
@johnnyshields -- This is under consideration for a larger initiative that we're doing to address incompatibilities between Mongoid 7.5 and 9.0. We definitely understand that the road from 7.5 to 9.0 is rocky and fraught, and we're not happy with how that stands today. This particular PR changes behavior, and the revert can't safely happen until Mongoid 10. As it happens, though, Mongoid 10 is also where we're hoping to target a lot of the issues that block people from upgrading to 9.0. All that to say that we are aware of this PR, and we appreciate it, and we'll be looking more closely at this issue in the coming weeks (and months). It probably won't happen as soon as you would prefer, but I hope you'll bear with us as we work through this and many (many) other issues. |
@jamis thank you, I really appreciate that giving users from 7.5 an upgrade path should be a top priority for the Mongoid team. We at TableCheck are still on 7.5. On this topic, I would really like to see the I have long offered to volunteer TableCheck's entire app code and its 30,000+ tests as a proving ground for Mongoid releases. MongoDB has never taken me up on it. If you would like to try upgrading to Mongoid 10.0 yourself on my current 7.5 app and see the breakage yourself, I am happy to share access. |
@johnnyshields I love this idea, and apologize if I haven't followed up on it previously. I want to setup some time with you to explore this, as our goals for Mongoid 10 are to Reduce upgrade friction, identify and address backwards incompatibility issues and prevent feature regressions - which your platforms' test suite(s) could likely help us validate we're achieving prior to release. Given the challenges we've seen with Mongoid 8 and 9, partnering with TableCheck to showcase a successful migration from 7.5 to 10 would be a win-win. I'm going to work on a plan for this and reach out directly once I've got more details to share. |
Cool, we are game, drop me an email. |
In Mongoid 9.0, an unannounced breaking change was introduced that causes
field type: Hash
to becomeBSON::Document
.This change is not desirable and should be reverted.