Skip to content
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

MONGOID-5579 Mongoid 8.1: Ruby, JRuby, Rails and MongoDB Server version support adjustments #5568

Conversation

johnnyshields
Copy link
Contributor

@johnnyshields johnnyshields commented Mar 5, 2023

This PR adds the following to Mongoid 8.1:

  • Add support for Ruby 3.2 and JRuby 9.4, include notice in release notes and CI tests for Ruby 3.2 and JRuby 9.4 (Evergreen and Github).
  • Add additional coverage of MongoDB server 6.0 to CI which is missing in some places.
  • Deprecation notice of MongoDB Server 3.6 and 4.0, Ruby 2.6, JRuby 9.3, Rails 5.2.
  • Deprecation of GeoNear class, index :background option, and Criteria#max_scan methods, all of which don't work on MongoDB Server 4.2+
  • Update to compatibility table in documentation.
  • Includes PR MONGOID-5509 Fix deprecation logic broken on Ruby <= 2.7 on 8.1-stable branch #5572 fix for deprecation logic in order to get specs to pass.

Refer to #5567 for the removal of some of these deprecations in Mongoid 9.0

Notice that JRuby 9.4 is added and JRuby 9.3 is deprecated. I think it is reasonable for Mongoid 9 to support only JRuby 9.4 given the extra burden JRuby places on MongoDB drivers team.

@johnnyshields johnnyshields changed the title Mongoid 8.1 Ruby, JRuby, Rails and MongoDB Server version support adjustments MONGOID-5579: Mongoid 8.1 Ruby, JRuby, Rails and MongoDB Server version support adjustments Mar 5, 2023
@johnnyshields johnnyshields changed the title MONGOID-5579: Mongoid 8.1 Ruby, JRuby, Rails and MongoDB Server version support adjustments [READY FOR REVIEW] MONGOID-5579: Mongoid 8.1 Ruby, JRuby, Rails and MongoDB Server version support adjustments Mar 5, 2023
@johnnyshields johnnyshields force-pushed the mongoid-8.1-compatibility-support branch 2 times, most recently from 14a669a to 2bf770c Compare March 5, 2023 03:05
@johnnyshields johnnyshields changed the title [READY FOR REVIEW] MONGOID-5579: Mongoid 8.1 Ruby, JRuby, Rails and MongoDB Server version support adjustments [READY FOR REVIEW] MONGOID-5579: Mongoid 8.1: Ruby, JRuby, Rails and MongoDB Server version support adjustments Mar 5, 2023
@johnnyshields johnnyshields marked this pull request as draft March 5, 2023 07:20
@johnnyshields johnnyshields changed the title [READY FOR REVIEW] MONGOID-5579: Mongoid 8.1: Ruby, JRuby, Rails and MongoDB Server version support adjustments MONGOID-5579: Mongoid 8.1: Ruby, JRuby, Rails and MongoDB Server version support adjustments Mar 5, 2023
- Notice of support for Ruby 3.2 and JRuby 9.4
- CI tests for Ruby 3.2 and JRuby 9.4 (Evergreen and Github)
- Deprecation notice of MongoDB Server 3.6 and 4.0, Ruby 2.6, JRuby 9.3, Rails 5.2
- Deprecation of GeoNear class, index :background option, and Criteria#max_scan methods, all of which don't work on MongoDB Server 4.2+
- Backport mongodb#5470 which removes spec files re: Bignum and Fixnum
- Workaround spec runner issue with JRuby related to "Logger::#{level}".constantize
@johnnyshields johnnyshields force-pushed the mongoid-8.1-compatibility-support branch from 2bf770c to a1a669a Compare March 5, 2023 07:48
@johnnyshields johnnyshields force-pushed the mongoid-8.1-compatibility-support branch from 568074a to d8292aa Compare March 6, 2023 09:20
@johnnyshields johnnyshields changed the title MONGOID-5579: Mongoid 8.1: Ruby, JRuby, Rails and MongoDB Server version support adjustments [READY FOR REVIEW] MONGOID-5579: Mongoid 8.1: Ruby, JRuby, Rails and MongoDB Server version support adjustments Mar 6, 2023
@johnnyshields johnnyshields marked this pull request as ready for review March 6, 2023 10:04
@johnnyshields
Copy link
Contributor Author

@jamis this PR would be good to merge next, assuming the team agrees with the version changes here.

@riseshia
Copy link

ping, any progress on this?

@jamis jamis changed the title [READY FOR REVIEW] MONGOID-5579: Mongoid 8.1: Ruby, JRuby, Rails and MongoDB Server version support adjustments MONGOID-5579 Mongoid 8.1: Ruby, JRuby, Rails and MongoDB Server version support adjustments May 15, 2023
@johnnyshields
Copy link
Contributor Author

TODO: This needs to be restacked as 8.2, since 8.1 was released without it.

@johnnyshields
Copy link
Contributor Author

Closing as this is stale

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