Looking at the compatibility page, MongoDB 8.2 isn't listed as compatible. In practice, I suspect this page is updated less often than it should be, so I wonder if Mongoid is actually fully compatible with MongoDB 8.2.
The only mention of MongoDB 8.2 in Jira as far as I can tell is this feature request for adding vector search support.
Obviously I could just try it and see if things are obviously broken, but I worry about deploying to production when the database version isn't marked as supported in the compatibility page.