Skip to content

Releases: mongodb/mongoid

6.1.0

26 Jan 15:55
Compare
Choose a tag to compare

This minor release supports version 3.4 of the MongoDB server. It has all the changes listed for version 6.1.0.rc0 as well as the following:

5.2.0

26 Jan 15:42
Compare
Choose a tag to compare

This minor release supports version 3.4 of the MongoDB server. It has all the changes listed for version 5.2.0.rc0 as well as the following:

6.1.0.rc0

22 Dec 15:33
Compare
Choose a tag to compare

This release candidate includes support for the new features of server version 3.4, among other smaller changes:

5.2.0.rc0

22 Dec 15:38
Compare
Choose a tag to compare

This release candidate includes support for the new features of server version 3.4, among other smaller changes:

6.0.3

02 Dec 10:49
Compare
Choose a tag to compare

This patch release has the following fixes:

  • MONGOID-3490 Fix Fields::Localized#lookup to work with boolean.
  • MONGOID-4360 Fix text search used in Aggregation pipeline.
  • MONGOID-4365 Allow partial iteration when eager loading.
  • Allow map_reduce to use read preference of client (@cesar-tonnoir)
  • Prefix Readonly#_loaded? method to avoid namespace pollution (@romanlehnert)
  • Bypass the query cache when reloading a document (@eugeneius)

5.1.6

01 Dec 14:16
Compare
Choose a tag to compare

This patch release has the following fixes:

  • MONGOID-3490 Fix Fields::Localized#lookup to work with boolean.
  • MONGOID-4360 Fix text search used in Aggregation pipeline.
  • MONGOID-4365 Allow partial iteration when eager loading.
  • Allow map_reduce to use read preference of client (@cesar-tonnoir)
  • Include sort option in cache key (@jefmathiot)
  • Bypass the query cache when reloading a document (@eugeneius)

6.0.2

20 Oct 09:15
Compare
Choose a tag to compare

This release only has one change but was necessary because of a bug introduced into 6.0.1 by the fix to ticket MONGOID-4310

The bug reports can be found here:

6.0.1

19 Oct 12:46
Compare
Choose a tag to compare

This patch level release has the following bug fixes:

  • MONGOID-4315 Eager load objects when criteria docs are enumerated multiple times
  • MONGOID-4350 Fix counter_cache update when foreign_key isn't default (@TheSmartnik)
  • MONGOID-4313, MONGOID-4317 Fix Includes throwing NoMethodError when document is nil
  • MONGOID-3407 Fix setting a hash field with atomic operator
  • MONGOID-4310 Chained $in clauses should be an intersection.
  • Add docs for create/remove indexes called on models (@miguelgraz)
  • Don't fail when doing a localized attribute lookup which has a nil value after object initialization (@nicolasblanco)
  • Add support for clone documents that have nil legacy attributes. (@okoriko)

5.1.5

19 Oct 10:49
Compare
Choose a tag to compare

This patch level release has the following bug fixes:

6.0.0

21 Sep 09:35
Compare
Choose a tag to compare

This is the general release of Mongoid 6.0, which supports Rails 5.
Please see the release notes for version 6.0.0.beta and 6.0.0.rc0 for more details on changes since the 5.x series.

Please note that JRuby 9.0 preforms much slower and uses more memory than we've seen with previous JRuby and Mongoid versions. You may want to put off upgrading to JRuby 9.0 + Mongoid 6.0 until the JRuby team has resolved some performance issues. Here is the relevant github issue with the JRuby project.

This release contains the following changes in addition to those list in the beta and rc0 versions of Mongoid 6.0.0.

  • Require Ruby driver >= 2.3 so that keys can be validated upon insert.
  • MONGOID-3843 Ensure that the output db is queried in mapReduce operations.
  • MONGOID-4173 Fix nested eager loading.
  • MONGOID-4280 Allow both Strings and Symbols to be used when accessing values in the as_document object.
  • MONGOID-4313 Fix nil errors in Eager loading.
  • Avoid NoMethodError when using #nested (@quinn)
  • Update list of tested Ruby versions in Readme (@tricknotes)
  • Documentation updates for 6.0