File rubygem-mongoid.changes of Package rubygem-mongoid

-------------------------------------------------------------------
Mon Nov  4 17:05:02 UTC 2024 - Dan Čermák <dan.cermak@posteo.net>

- 9.0.2:

Version 9.0.2 of the [Mongoid ODM for MongoDB](https://rubygems.org/gems/mongoid) is now available.

**Release Highlights**

This patch release adds support for Rails 7.2. It also adds support for custom polymorphic types, and includes bug fixes.

**Documentation**

Documentation is available at [MongoDB.com](https://www.mongodb.com/docs/mongoid/current/).

**Installation**

You may install this version via RubyGems, with:

gem install --version 9.0.2 mongoid

## What's Changed
* MONGOID-5734 Custom polymorphic types by @jamis in https://github.com/mongodb/mongoid/pull/5845
* MONGOID-5797 Fix accessing parent when projected by @comandeo-mongo in https://github.com/mongodb/mongoid/pull/5847
* MONGOID-5806 Rails 7.2 Support by @AlexKovynev in https://github.com/mongodb/mongoid/pull/5852
* MONGOID-5808 Fix collection_options in store_in by @comandeo-mongo in https://github.com/mongodb/mongoid/pull/5859

## New Contributors
* @AlexKovynev made their first contribution in https://github.com/mongodb/mongoid/pull/5852

**Full Changelog**: https://github.com/mongodb/mongoid/compare/v9.0.1...v9.0.2

9.0.1:

Version 9.0.1 of the [Mongoid ODM for MongoDB](https://rubygems.org/gems/mongoid) is now available.

**Release Highlights**

-  [MONGOID-5786](https://jira.mongodb.org/browse/MONGOID-5786): In accordance with Ruby's enumerable API, the #sum method now accepts an optional block. Thank you to Cristián Pérez for your contributions!
- [MONGOID-5688](https://jira.mongodb.org/browse/MONGOID-5688): Problematic recursive callstacks in cascading callbacks have been linearized using Ruby Fibers to prevent SystemStackErrors with greater numbers of embedded documents. Thank you to Adviti Mishra for your contributions!
- [MONGOID-5769](https://jira.mongodb.org/browse/MONGOID-5769): $pop and $pull are now mongoized the same way as #addToSet or $push to ensure update_all functions as intended. Thank you to John Maguir and Michael Deryugin for your contributions!
- [MONGOID-5789](https://jira.mongodb.org/browse/MONGOID-5789): querying an attribute with a nil name now returns an empty string, rather than raising an exception. Thank you to Dan Healy for your contribution!
- [MONGOID-5785](https://jira.mongodb.org/browse/MONGOID-5785): if you set Mongoid.allow_scopes_to_unset_default_scope = true, you can invoke (e.g.) unscoped in a named scope to reset the current scope. This is useful for overriding default scopes inside of a named scope. This option will default to true in Mongoid 10.
- [MONGOID-5791](https://jira.mongodb.org/browse/MONGOID-5791): If the parent document class is not loaded at the time of loading the embedded document class, a NameError used to be raised. This has been fixed.
- [MONGOID-5796](https://jira.mongodb.org/browse/MONGOID-5796): The docs previously present in the Mongoid repository have been moved to the [docs-mongoid repository](https://github.com/mongodb/docs-mongoid).

**Documentation**

Documentation is available at [MongoDB.com](https://www.mongodb.com/docs/mongoid/current/).

**Installation**

You may install this version via RubyGems, with:

```
gem install --version 9.0.1 mongoid
```

## What's Changed
* Mongoize is not called on update_all, when $set operator is used by @dem in https://github.com/mongodb/mongoid/pull/5814
* Fix mongoize update all array operators master by @JohnMaguir in https://github.com/mongodb/mongoid/pull/5823
* DOCSP-38361 - Add text to empty pages by @mongoKart in https://github.com/mongodb/mongoid/pull/5826
* MONGOID-5508 touch on custom field by @adviti-mishra in https://github.com/mongodb/mongoid/pull/5829
* RUBY-3489: Add empty SBOM lite file by @alcaeus in https://github.com/mongodb/mongoid/pull/5830
* MONGOID-5786: Fix some compatibility issues with Enumerable API by @cperezabo in https://github.com/mongodb/mongoid/pull/5831
* MONGOID-5785 allow named scopes to remove a default scope by @jamis in https://github.com/mongodb/mongoid/pull/5832
* MONGOID-5743 SSDLC Requirements by @jamis in https://github.com/mongodb/mongoid/pull/5834
* MONGOID-5789 database_field_name given nil or empty string should raise UnknownAttribute exception by @danhealy in https://github.com/mongodb/mongoid/pull/5836
* DOP-4809: Remove docs/ since it has been migrated to mongodb/docs-mongoid by @i80and in https://github.com/mongodb/mongoid/pull/5840
* MONGOID-5790 MONGOID-5791 Fix error caused by loading a referenced class prematurely by @jamis in https://github.com/mongodb/mongoid/pull/5839
* Modified the comment to rightly indicate the error being raised is In… by @adviti-mishra in https://github.com/mongodb/mongoid/pull/5841
* 5688: Run callbacks for children within fibers by @adviti-mishra in https://github.com/mongodb/mongoid/pull/5837
* Added a pointer to docs-mongoid in the README.md by @adviti-mishra in https://github.com/mongodb/mongoid/pull/5843

## New Contributors
* @mongoKart made their first contribution in https://github.com/mongodb/mongoid/pull/5826
* @adviti-mishra made their first contribution in https://github.com/mongodb/mongoid/pull/5829
* @cperezabo made their first contribution in https://github.com/mongodb/mongoid/pull/5831
* @danhealy made their first contribution in https://github.com/mongodb/mongoid/pull/5836
* @i80and made their first contribution in https://github.com/mongodb/mongoid/pull/5840

**Full Changelog**: https://github.com/mongodb/mongoid/compare/v9.0.0...v9.0.1



-------------------------------------------------------------------
Fri Jun 21 10:16:05 UTC 2024 - Dan Čermák <dan.cermak@posteo.net>

- 9.0.0:

Mongoid 9.0 is a new major update to the Mongoid ODM. It includes many bug fixes, updates, improvements, and new features.

Significant new features include the following:

* You can now create and manage Atlas search indexes directly from Mongoid, by specifying your search index definitions directly on the relevant models. (MONGOID-5601)
* You can now declare a transaction with a block, using syntax that should be familiar to Rails programmers. (You must still be using a MongoDB topology that supports transactions, like a replica-set or sharded topology.) Along with this new syntax, support has also been added for `after_commit` and `after_rollback` callbacks. (MONGOID-5530, MONGOID-5531 and MONGOID-5708)
* Around callbacks on embedded documents are now disabled by default, for performance reasons. If a parent document has a large number (hundreds) of embedded documents, it is possible for the stack to be exhausted while processing "around" callbacks for those embedded documents. If you need around callbacks for your embedded documents, and you are confident that you will not have large numbers of embedded documents in a single parent, you can enable around callbacks with the `Mongoid.around_embedded_document_callbacks` configuration option. (MONGOID-5658)
* A new serializer has been added to allow `BSON::ObjectId` instances to be serialized and deserialized by ActiveJob. (MONGOID-5611)
* If you specify custom storage options when loading a model (e.g. overriding its collection name, database name, or the named client), you will not need to explicitly specify those same options when saving the model. The model will remember the storage options that were active when it was loaded. (MONGOID-5472)
* Support for "sandbox mode" in the Rails console has been added. As long as you are using a supported topology (replica-set or sharded, for example), when you specify `--sandbox` when starting the Rails console, your console session will be wrapped in a transaction. (MONGOID-4901)
* You can now enjoy [Client-Side Field Level Encryption](https://www.mongodb.com/docs/manual/core/csfle/) (CSFLE) in Mongoid with supported database server versions. Declare your CSFLE schemas in your documents, configure your encryption in `mongoid.yml` or `config.rb`, and generate new data keys via `rake`. (MONGOID-5585, MONGOID-5587, MONGOID-5589, MONGOID-5592, MONGOID-5613, MONGOID-5615.)

Many other changes are included as well, including the following:

* Support for Rails 2.6 and Rails 5 have been dropped. (MONGOID-5574)
* Support has been added for JRuby 9.4, and BSON 5. (MONGOID-5575, MONGOID-5739, RUBY-2846)
* Added `Mongoid.reconnect_clients` in conjunction with improving documentation about working with forking webservers. (MONGOID-5758)
* Saving a model in a session other than the one that loaded it will now result in a warning message (as this is generally considered a bug.) (MONGOID-5552)
* Eager loading now works with embedded associations. These associations cannot actually be eager loaded, but this allows you to chain eager loading through embedded associations, for example with has-and-belongs-to-many associations. (MONGOID-5052)
* For embedded associations, the default is now `touch: true`. This means that when you update an embedded document, its parent is automatically touched (or saved, with the timestamps updated) as well. (MONGOID-5016)
* You can now prevent Mongoid from type-casting a given value in a query by wrapping it with `Mongoid::RawValue`. This makes it easier to deal with legacy data that does not conform to an expected type. (MONGOID-5408)
* The Rails generator for Mongoid (`rails g mongoid:config`) now additionally generates a default `config/initializers/mongoid.rb`. (MONGOID-5439)
* When calling `#touch` on a model, Mongoid now clears the 'changed' state of the model. Previously, `#touch` left the model in a 'changed' state, even though it had been persisted by the touch operation. (MONGOID-5504)
* Mongoid's `db:mongoid:create_indexes` rake task was not always loading all models before creating the indexes, resulting in some missing indexes. This is now fixed. (MONGOID-5547)
* Added support for `$min`, `$max`, and `$mul` operators (via `set_min`, `set_max`, and `mul`), as well as `$setOnInsert` when doing an upsert (via a new `:set_on_insert` option to `#upsert`). (MONGOID-5442)
* A timezone configured in your app (via `Time.zone=`) will now be used when typecasting dates for time-valued fields. (MONGOID-5488)
* Typecasting strings for numeric fields now correctly converts the strings into `BigDecimal` values. (MONGOID-5484)
* Field aliases are now honored in index specifications. (MONGOID-5314)
* Fixed an issue where an empty list in a HABTM association needed special handling (instead of blindly using an empty list with `$in`). (MONGOID-5164)
* Attempting to call `estimated_count` when a default scope is active on a collection now raises a dedicated exception (`Mongoid::Errors::InvalidEstimatedCountScoping`) (MONGOID-4960)
* Mongoid now raises `Mongoid::Errors:AttributeNotLoaded` when a program attempts to access a field that is defined on the model, but which was excluded by the query's projection. Previously, `ActiveModel::MissingAttributeError` was raised in this situation. (MONGOID-5467)
* When assigning an array of Hashes to a field, the hashes are always converted to a `BSON::Document`. This makes the behavior consistent with how those fields are loaded from the database. (MONGOID-5410)

Additionally, a number of methods that were monkey-patched onto core modules have been deprecated, including the following:
* `Array#multi_arged?` (MONGOID-5669)
* `BigDecimal#__to_inc__` (MONGOID-5662)
* `Hash#__consolidate__` (MONGOID-5654)
* `Hash#__mongoid_unsatisfiable_criteria?` (MONGOID-5671)
* `Hash#__nested__` (MONGOID-5653)
* `Hash#delete_id` (MONGOID-5670)
* `Hash#extract_id` (MONGOID-5670)
* `Hash#to_criteria` (MONGOID-5677)
* `Integer#unconvertable_to_bson?`
* `Object#__find_args__` (MONGOID-5665)
* `Object#__mongoize_fk__` (MONGOID-5675)
* `Object#__setter__` (MONGOID-5664)
* `Object#__sortable__` (MONGOID-5663)
* `Object#__to_inc__` (MONGOID-5662)
* `Object#blank_criteria?` (MONGOID-5671)
* `Object#do_or_do_not` (MONGOID-5673)
* `Object#regexp?` (MONGOID-5674)
* `Object#you_must` (MONGOID-5673)
* `String#mongoid_id?` (MONGOID-5668)
* `String#unconvertable_to_bson?` (MONGOID-5667)
* `Symbol#mongoid_id?` (MONGOID-5668)
* `Time#configured` (MONGOID-5676)

Also, `Criteria#for_js` has been deprecated (MONGOID-5651), and `Mongoid::QueryCache` (which was previously deprecated) has been removed (MONGOID-5625).


8.1.5:

This patch release includes the following fixes:

MONGOID-5704: By default, associations (like `belongs_to`) are validated when a document is saved. However, Mongoid was aggressively loading persisted associations and validating them, which led to a significant performance regression in Mongoid 8+ (versus Mongoid 7.x). This patch fixes this regression by only validating associations that are (1) currently in-memory, and (2) either unpersisted or modified.

MONGOID-5709: has_and_belongs_to_many associations on embedded docments were broken, and attempting to use them would result in an "InvalidPath" exception. This patch release fixes that bug.




-------------------------------------------------------------------
Tue Nov 28 08:12:47 UTC 2023 - Dan Čermák <dan.cermak@posteo.net>

- 8.1.4:

This is a patch release in 8.1.x series fixes the following issue:

* [MONGOID-5700 Remove non-functional callbacks](https://jira.mongodb.org/browse/MONGOID-5700)

**We strongly recommend to upgrade to this version if you use 8.1.3.**

This release also adds the following improvement:
* [MONGOID-5608 allow using `#exists?` with args on relations](https://jira.mongodb.org/browse/MONGOID-5608)



-------------------------------------------------------------------
Fri Nov  3 07:43:10 UTC 2023 - Dan Čermák <dan.cermak@posteo.net>

- 8.1.3:

This is a patch release in 8.1.x series that adds support for Rails 7.1.

The following issues were fixed:

* [MONGOID-5658 Fix callbacks for embedded](https://jira.mongodb.org/browse/MONGOID-5658)
* [MONGOID-5686 Fix array operations in update_all](https://jira.mongodb.org/browse/MONGOID-5686)
* [MONGOID-5647 Allow #count to be used with #for_js](https://jira.mongodb.org/browse/MONGOID-5647)


8.0.7:

This is a patch release in 8.0.x series that adds support for Rails 7.1.

The following issues were fixed:

* [MONGOID-5658 Fix callbacks for embedded](https://jira.mongodb.org/browse/MONGOID-5658)
* [MONGOID-5686 Fix array operations in update_all](https://jira.mongodb.org/browse/MONGOID-5686)
* [MONGOID-5647 Allow #count to be used with #for_js](https://jira.mongodb.org/browse/MONGOID-5647)


8.1.2:

Mongoid 8.1.2 is a patch release in the 8.1 series, addressing the following issues:

* [MONGOID-5631 Resolve Mongoid compatibility issues with bson-ruby deserializing decimal128 to BigDecimal](https://jira.mongodb.org/browse/MONGOID-5631)
* [MONGOID-5642 Queryable::Selector#merge! does not properly handle :$in/:$nin keys](https://jira.mongodb.org/browse/MONGOID-5642)
* [MONGOID-5632 update_all does not map :as option of the field properly](https://jira.mongodb.org/browse/MONGOID-5632)
* [MONGOID-5624 Error when using store_as after upgrade to Ruby 3.2.2 & Rails 7.0](https://jira.mongodb.org/browse/MONGOID-5624)
* [MONGOID-5643 Storable#add_field_expression add values with same operator keys using $and when value is a hash with symbol operator key](https://jira.mongodb.org/browse/MONGOID-5643)

The following issue was also done, affecting only a clean-up of old documentation:

* [MONGOID-5648 Remove release notes for archived versions](https://jira.mongodb.org/browse/MONGOID-5648)


8.0.6:

Mongoid 8.0.6 is a patch release in the 8.0 series, addressing the following issues:

* [MONGOID-5631 Resolve Mongoid compatibility issues with bson-ruby deserializing decimal128 to BigDecimal](https://jira.mongodb.org/browse/MONGOID-5631)
* [MONGOID-5642 Queryable::Selector#merge! does not properly handle :$in/:$nin keys](https://jira.mongodb.org/browse/MONGOID-5642)
* [MONGOID-5632 update_all does not map :as option of the field properly](https://jira.mongodb.org/browse/MONGOID-5632)
* [MONGOID-5624 Error when using store_as after upgrade to Ruby 3.2.2 & Rails 7.0](https://jira.mongodb.org/browse/MONGOID-5624)
* [MONGOID-5643 Storable#add_field_expression add values with same operator keys using $and when value is a hash with symbol operator key](https://jira.mongodb.org/browse/MONGOID-5643)

The following issue was also done, affecting only a clean-up of old documentation:

* [MONGOID-5648 Remove release notes for archived versions](https://jira.mongodb.org/browse/MONGOID-5648)


8.1.1:

Mongoid 8.1.1 is a patch release in the 8.x series. It fixes the following issue:

- [MONGOID-5622 #reload after mutating embeds_many field does not reset internal state](https://jira.mongodb.org/browse/MONGOID-5622)

It also corrects the following documentation error:

- [MONGOID-5629 Docs: 8.1 Release notes have an error under "Add :replace option to #upsert"](https://jira.mongodb.org/browse/MONGOID-5629)

8.0.5:

Mongoid 8.0.5 is a patch release in the 8.0 series with one bug fix:

- [MONGOID-5622 #reload after mutating embeds_many field does not reset internal state](https://jira.mongodb.org/browse/MONGOID-5622)



8.1.0:

Mongoid 8.1.0 is a feature release in 8.x series with the following significant new functionality:

* [MONGOID-5370  API for creating time series collections](https://jira.mongodb.com/browse/MONGOID-5370)
* [MONGOID-4528  Support for 'saved_change_to_attribute', 'attribute_before_last_save' and 'will_save_change_to_attribute'](https://jira.mongodb.com/browse/MONGOID-4528)
* [MONGOID-5293  Add Rails-style defaults & `config.load_defaults.`](https://jira.mongodb.com/browse/MONGOID-5293)
* [MONGOID-5445  Concurrent query execution](https://jira.mongodb.com/browse/MONGOID-5445)
* [MONGOID-5596 Deprecate Mongoid::QueryCache in favor of Mongo::QueryCache](https://jira.mongodb.org/browse/MONGOID-5596)

The following issues were fixed:

* [MONGOID-5542  Prevention of double calls in callbacks](https://jira.mongodb.com/browse/MONGOID-5542)
* [MONGOID-5600  Mongoid 8 breaks "build"](https://jira.mongodb.com/browse/MONGOID-5600)
* [MONGOID-5520  Criteria ordering fails for non-numeric values (ex: { '$meta' => 'textScore' })](https://jira.mongodb.com/browse/MONGOID-5520)
* [MONGOID-5582  Support shard keys based on subdocument fields](https://jira.mongodb.com/browse/MONGOID-5582)
* [MONGOID-5474  Raise Mongoid::Errors::ReadonlyDocument when saving readonly documents](https://jira.mongodb.com/browse/MONGOID-5474)
* [MONGOID-5417  Memory leak when using with()](https://jira.mongodb.com/browse/MONGOID-5417)
* [MONGOID-5539  Find requires Pipeline aggregation to be coerced into an array](https://jira.mongodb.com/browse/MONGOID-5539)
* [MONGOID-5547  rake db:mongoid:create_indexes fails for models that are stored outside of /app/models.](https://jira.mongodb.com/browse/MONGOID-5547)
* [MONGOID-3834  unable to access parent when setting child attribute](https://jira.mongodb.com/browse/MONGOID-3834)
* [MONGOID-5441  Thread.current[:session] is not prefixed](https://jira.mongodb.com/browse/MONGOID-5441)
* [MONGOID-5436  legacy_triple_equals used incorrectly](https://jira.mongodb.com/browse/MONGOID-5436)

The following additional improvements were made:

* [MONGOID-5465  Single-value .in should convert to .where (resolve deprecated .in scalar value behavior)](https://jira.mongodb.com/browse/MONGOID-5465)
* [MONGOID-5620  delete_one on embeds_many is callable and is not consistent with delete](https://jira.mongodb.com/browse/MONGOID-5620)
* [MONGOID-5617  Improve performance of _matches?()](https://jira.mongodb.com/browse/MONGOID-5617)
* [MONGOID-5595  Forward explain options to driver](https://jira.mongodb.com/browse/MONGOID-5595)
* [MONGOID-5590  Shard keys do not support fields with "." in their name](https://jira.mongodb.com/browse/MONGOID-5590)
* [MONGOID-5509  Deprecate feature flags which were introduced in Mongoid 7.x](https://jira.mongodb.com/browse/MONGOID-5509)
* [MONGOID-5226  Allow setting "store_in collection" on document subclass](https://jira.mongodb.com/browse/MONGOID-5226)
* [MONGOID-4698  Warn about attempts to define text_search scope (and others?)](https://jira.mongodb.com/browse/MONGOID-4698)
* [MONGOID-5458  Document fallbacks option on localized fields](https://jira.mongodb.com/browse/MONGOID-5458)
* [MONGOID-4403  Support Dirty Tracking changed from /to](https://jira.mongodb.com/browse/MONGOID-4403)
* [MONGOID-5438  Implement local override for i18n parameters](https://jira.mongodb.com/browse/MONGOID-5438)
* [MONGOID-5437  Extract fallback enabling logic into macro](https://jira.mongodb.com/browse/MONGOID-5437)
* [MONGOID-5334  Review mongoization/demongoization/evolution behavior for localized fields](https://jira.mongodb.com/browse/MONGOID-5334)
* [MONGOID-5490  Deprecate and remove use_activesupport_time_zone (should always be true)](https://jira.mongodb.com/browse/MONGOID-5490)
* [MONGOID-5228  Allow _ids to be modified in embedded documents](https://jira.mongodb.com/browse/MONGOID-5228)
* [MONGOID-5453  Add .none_of query method](https://jira.mongodb.com/browse/MONGOID-5453)
* [MONGOID-5363  Change #upsert to perform updating upsert rather than replacing upsert](https://jira.mongodb.com/browse/MONGOID-5363)
* [MONGOID-5281  Respect aliases in embedded documents when querying](https://jira.mongodb.com/browse/MONGOID-5281)
* [MONGOID-5100  ActiveRecord parity: allow selector arguments for .exists?](https://jira.mongodb.com/browse/MONGOID-5100)
* [MONGOID-5264  Add some way to strip out blank localized values before saving model](https://jira.mongodb.com/browse/MONGOID-5264)
* [MONGOID-5422  Mongoid.configure should allow arg-less block](https://jira.mongodb.com/browse/MONGOID-5422)
* [MONGOID-4979  Add :touch option to model save method](https://jira.mongodb.com/browse/MONGOID-4979)
* [MONGOID-5418  AR Feature Parity first!/last!/second etc.](https://jira.mongodb.com/browse/MONGOID-5418)

8.0.4:

Mongoid 8.0.4 is a patch release in 8.0 series with a few bug fixes:

- [MONGOID-5520 Criteria ordering fails for non-numeric values (ex: { '$meta' => 'textScore' })](https://jira.mongodb.com/browse/MONGOID-5520)
- [MONGOID-5539 Find requires Pipeline aggregation to be coerced into an array](https://jira.mongodb.com/browse/MONGOID-5539)
- [MONGOID-5582 Support shard keys based on subdocument fields](https://jira.mongodb.com/browse/MONGOID-5582)
- [MONGOID-5600 Mongoid 8 breaks "build"](https://jira.mongodb.com/browse/MONGOID-5600)

The following additional improvements were made:

- [MONGOID-5465 Single-value .in should convert to .where (resolve deprecated .in scalar value behavior)](https://jira.mongodb.com/browse/MONGOID-5465)
- [MONGOID-5590 Shard keys do not support fields with "." in their name](https://jira.mongodb.com/browse/MONGOID-5590)
- [MONGOID-5560 delete_one on embeds_many is callable and is not consistent with delete](https://jira.mongodb.com/browse/MONGOID-5560) 
- [MONGOID-5617 Improve performance of _matches?()](https://jira.mongodb.com/browse/MONGOID-5617)


8.0.3:

This patch release in the 8.0 series fixes the following issues:

- [MONGOID-5417 Memory leak when using with()](https://jira.mongodb.org/browse/MONGOID-5417)
- [MONGOID-5456 New "uncastable" behavior does't work with ActiveSupport::Duration](https://jira.mongodb.org/browse/MONGOID-5456)
- [MONGOID-5441 Thread.current[:session] is not prefixed](https://jira.mongodb.org/browse/MONGOID-5441)

The the following minor improvement were added:

- [MONGOID-4698 Warn about attempts to define text_search scope (and others?)](https://jira.mongodb.org/browse/MONGOID-4698)
- [MONGOID-5334 Review mongoization/demongoization/evolution behavior for localized fields](https://jira.mongodb.org/browse/MONGOID-5334)
- [MONGOID-5433 Rails 7 deprecates Time#to_s(format) and replaces it with Time#to_fs(format)](https://jira.mongodb.org/browse/MONGOID-5433)
- [MONGOID-5437 Extract fallback enabling logic into macro](https://jira.mongodb.org/browse/MONGOID-5437)




-------------------------------------------------------------------
Thu Aug  4 13:18:57 UTC 2022 - Stephan Kulow <coolo@suse.com>

updated to version 8.0.2
 see installed CHANGELOG.md


-------------------------------------------------------------------
Thu Apr 28 05:37:11 UTC 2022 - Stephan Kulow <coolo@suse.com>

updated to version 7.4.0
 see installed CHANGELOG.md


-------------------------------------------------------------------
Thu Mar  3 08:23:32 UTC 2022 - Stephan Kulow <coolo@suse.com>

updated to version 7.3.4
 see installed CHANGELOG.md


-------------------------------------------------------------------
Tue Jan 25 07:13:21 UTC 2022 - Stephan Kulow <coolo@suse.com>

updated to version 7.3.3
 see installed CHANGELOG.md


-------------------------------------------------------------------
Mon Jul 26 06:02:09 UTC 2021 - Stephan Kulow <coolo@suse.com>

updated to version 7.3.1
 see installed CHANGELOG.md


-------------------------------------------------------------------
Thu Jun 24 17:38:48 UTC 2021 - Stephan Kulow <coolo@suse.com>

updated to version 7.3.0
 see installed CHANGELOG.md


-------------------------------------------------------------------
Wed Jan 20 12:57:48 UTC 2021 - Stephan Kulow <coolo@suse.com>

updated to version 7.2.0
 see installed CHANGELOG.md


-------------------------------------------------------------------
Fri Sep 25 14:20:19 UTC 2020 - Stephan Kulow <coolo@suse.com>

updated to version 7.1.2
 see installed CHANGELOG.md


-------------------------------------------------------------------
Thu May  7 21:04:53 UTC 2020 - Stephan Kulow <coolo@suse.com>

- updated to version 7.1.1
 see installed CHANGELOG.md

-------------------------------------------------------------------
Mon Feb 10 15:11:32 UTC 2020 - Stephan Kulow <coolo@suse.com>

- updated to version 7.0.5
 see installed CHANGELOG.md

-------------------------------------------------------------------
Fri Jul 19 09:23:33 UTC 2019 - Stephan Kulow <coolo@suse.com>

- updated to version 7.0.4
 see installed CHANGELOG.md

-------------------------------------------------------------------
Thu Nov 22 05:22:15 UTC 2018 - Stephan Kulow <coolo@suse.com>

- updated to version 7.0.2
 see installed CHANGELOG.md

-------------------------------------------------------------------
Fri May  4 16:16:48 UTC 2018 - factory-auto@kulow.org

- updated to version 7.0.1
 see installed CHANGELOG.md

-------------------------------------------------------------------
Tue Mar 20 10:11:53 UTC 2018 - factory-auto@kulow.org

- updated to version 7.0.0
 see installed CHANGELOG.md

-------------------------------------------------------------------
Thu Feb  8 06:13:27 UTC 2018 - coolo@suse.com

- updated to version 6.3.0
 see installed CHANGELOG.md

-------------------------------------------------------------------
Mon Aug 28 05:28:37 UTC 2017 - coolo@suse.com

- updated to version 6.2.1
 see installed CHANGELOG.md

-------------------------------------------------------------------
Tue Jun 13 20:51:01 UTC 2017 - coolo@suse.com

- updated to version 6.2.0
 see installed CHANGELOG.md

-------------------------------------------------------------------
Fri Jan 27 05:39:00 UTC 2017 - coolo@suse.com

- updated to version 6.1.0
 see installed CHANGELOG.md

-------------------------------------------------------------------
Sat Dec  3 05:40:57 UTC 2016 - coolo@suse.com

- updated to version 6.0.3
 see installed CHANGELOG.md

-------------------------------------------------------------------
Sat Oct 29 04:40:16 UTC 2016 - coolo@suse.com

- updated to version 6.0.2
 see installed CHANGELOG.md

-------------------------------------------------------------------
Thu Oct 20 04:45:01 UTC 2016 - coolo@suse.com

- updated to version 6.0.1
 see installed CHANGELOG.md

-------------------------------------------------------------------
Thu Sep 22 04:42:34 UTC 2016 - coolo@suse.com

- updated to version 6.0.0
 see installed CHANGELOG.md

-------------------------------------------------------------------
Sat Aug 13 04:33:55 UTC 2016 - coolo@suse.com

- updated to version 5.1.4
 see installed CHANGELOG.md

-------------------------------------------------------------------
Fri Apr 22 04:32:45 UTC 2016 - coolo@suse.com

- updated to version 5.1.3
 see installed CHANGELOG.md

-------------------------------------------------------------------
Wed Apr  6 06:25:42 UTC 2016 - coolo@suse.com

- updated to version 5.1.2
 see installed CHANGELOG.md

-------------------------------------------------------------------
Fri Feb 19 05:33:40 UTC 2016 - coolo@suse.com

- updated to version 5.1.1
 see installed CHANGELOG.md

-------------------------------------------------------------------
Wed Jan 27 05:30:48 UTC 2016 - coolo@suse.com

- updated to version 5.1.0
 see installed CHANGELOG.md

-------------------------------------------------------------------
Thu Jan 21 05:40:11 UTC 2016 - coolo@suse.com

- updated to version 5.0.2
 see installed CHANGELOG.md

  ### As of version 5.0.2, please refer to the github releases for change logs.

-------------------------------------------------------------------
Wed Nov  4 05:33:30 UTC 2015 - coolo@suse.com

- updated to version 5.0.1
 see installed CHANGELOG.md

-------------------------------------------------------------------
Sat Sep 12 04:31:43 UTC 2015 - coolo@suse.com

- updated to version 5.0.0
 see installed CHANGELOG.md

-------------------------------------------------------------------
Fri Feb 20 05:30:20 UTC 2015 - coolo@suse.com

- updated to version 4.0.2

-------------------------------------------------------------------
Tue Feb 10 18:06:20 UTC 2015 - coolo@suse.com

- updated to version 4.0.1

-------------------------------------------------------------------
Mon Oct 13 14:25:03 UTC 2014 - coolo@suse.com

- adapt to new rubygem packaging

-------------------------------------------------------------------
Mon Jul 28 05:28:17 UTC 2014 - coolo@suse.com

- updated to version 4.0.0
 ### Major Changes (Backwards Incompatible)
 
 * \#3320 Remove Rails dependencies on database rake tasks. (Arthur Neves)
 
     All db:* rake tasks should work as before when using Rails.
     When not in a Rails, just load the database tasks using:
 
         load 'mongoid/tasks/database.rake'
 
 * Mongoid 4 now only supports MongoDB 2.4.0 and higher.
 
 * `Document#metadata` has been renamed to `Document#relation_metadata` to
   avoid common conflicts. Relation proxies also have this renamed to the
   same as well.
 
 * Scopes and default scopes must now all be defined within lambdas or procs.
 
 * `skip_version_check` config option was removed.
 
 * IdentityMap removed. (Arthur Neves)
 
 * Eager load rework. Eager load now doesnt need the identity map to load
   related documents. A set of preloaders can eager load the associations
   passed to .includes method. (Arthur Neves)

- see Changes file for more

-------------------------------------------------------------------
Tue Dec  3 09:42:47 UTC 2013 - coolo@suse.com

- updated to version 3.1.6
 ### Resolved Issues
 
 * \#3337 Ensure localized fields map is cloned with inheritance.
 * \#3262 Fixed atomic array operations on HABTM foreign key fields from turning
   single elements into arrays.
 * \#3282 Fixed .timeless option to use a thread local instead of a class attribute.
   Also remove the timeless methods from all docs, and only add to timestamps docs.
   (Arthur Neves)

-------------------------------------------------------------------
Mon Sep 23 14:53:03 UTC 2013 - coolo@suse.com

- updated to version 3.1.5
 ### Resolved Issues
 * \#3231 Allow evolution of proxy documents to work in criteria.
 * \#3247 Bump dependency on tzinfo to 0.3.29.
 * \#3203 Fixed `index: true` specification for polymorphic relations.
 * \#3192 Fixed aliased fields + localized fields combinations with
   validation. (Johnny Shields)
 * \#3173 Fixed issues around many to many relations with custom primary keys.
   (Bowen Sun)
 * \#3159 Upserting now properly flags documents as persisted.
 * \#3137 Allow multiple `belongs_to` sets in a row with ids.
 * \#3079 Embbed docs with paranoia parents, were losing the _id when
   reloading from db, as they didnt have the right persisted? value. (Arthur Neves)
 * \#3081 Criteria's `method_missing` now checks if an array responds to the provided
   method before calling entries in order to not hit the database if a `NoMethodError`
   was to get raised.
 * \#3068 Fixed spec runs on non standard MongoDB ports if `MONGOID_SPEC_PORT` is
   set.
 * \#3047 Ensure `blank?` and `empty?` don't fall through method missing on criteria.
 * Include updated_at on cache_key even when is a short timestamp (Arthur Neves)

-------------------------------------------------------------------
Sat May 25 20:58:50 UTC 2013 - coolo@suse.com

- updated to version 3.1.4, see CHANGELOG.md

-------------------------------------------------------------------
Wed Jan  2 08:14:29 UTC 2013 - coolo@suse.com

- updated to version 3.0.16
 ### Resolved Issues
 
 * \#2661 Implement instance level `model_name` for documents.
 
 * \#2651 Ensure `Criteria#type` works properly with both symbol and string
   keys in the selector.
 
 * \#2647 Ensure `deleted?` and `destroyed?` on paranoid documents return the
   same value.
 
 * \#2646 Set unloaded doc in memory on enumerable targets before yielding to
   the block.
 
 * \#2645 Take caching into consideration when asking for counts.
   (Arthur Nogueira Neves)
 
 * \#2642 Don't batch push empty arrays on embedded documents. (Laszlo Bacsi)
 
 * \#2639 Avoid extra unnecesary queries on new records when building relations
   off of them.
 
 * \#2638 When a criteria is eager loading, calling `first` or `last` then
   iterating the entire results properly eager loads the full request.
 
 * \#2618 Validating uniqueness now always uses string consistency by default.
 
 * \#2564 Fixed infinite recursion for cases where a relation getter was
   overridden and called the setter from that method.
 
 * \#2554 Ensure `unscoped` on an `embeds_many` does not include documents
   flagged for destruction.

-------------------------------------------------------------------
Wed Dec 19 06:32:17 UTC 2012 - coolo@suse.com

- updated to version 3.0.15
 ### Resolved Issues
 
 * \#2630 Fix cascading when the metadata exists but no cascade defined.
 
 * \#2625 Fix `Marshal.dump` and `Marshal.load` of proxies and criteria
   objects.
 
 * \#2619 Fixed the classes returned by `observed_classes` on an observer
   when it is observing custom models.
 
 * \#2612 `DocumentNotFound` errors now expose the class in the error
   instance.
 
 * \#2610 Ensure calling `first` after a `last` that had sorting options resets
   the sort.
 
 * \#2604 Check pulls and pushes for conflicting updates. (Lucas Souza)
 
 * \#2600 Instantiate the proper class type for attributes when using
   multi parameter attributes. (xxswingxx)
 
 * \#2598 Fixed sorting on localized fields with embedded docs.
 
 * \#2588 Block defining methods for dynamic attributes that would be invalid
   ruby methods. (Matt Sanford)
 
 * \#2587 Fix method clash with `belongs_to` proxies when resetting relation
   unloaded criteria.
 
 * \#2585 Ensure session configuration options get passed to Moped as symbols.
 
 * \#2584 Allow map/reduce to operate on secondaries if output is set to `inline`.
 
 * \#2582 Ensure `nil` session override can never cause to access a session with
   name `nil`.
 
 * \#2581 Use strong consistency when reloading documents. (Mark Kremer)


-------------------------------------------------------------------
Tue Nov 27 19:00:09 UTC 2012 - coolo@suse.com

- updated to version 3.0.14
 * \#2575 Prevent end of month times from rounding up since floats are not
   precise enough to handle usec. (Steve Valaitis)
 
 * \#2573 Don't use i18n for inspection messages.
 
 * \#2571 Remove blank error message from locales. (Jordan Elver)
 
 * \#2568 Fix uniqueness validation for lacalized fields when a scope is also
   provided.
 
 * \#2552 Ensure `InvalidPath` errors are raised when embedded documents try to
   get paths from a root selector.

-------------------------------------------------------------------
Thu Nov 15 11:55:31 UTC 2012 - coolo@suse.com

- updated to version 3.0.13
 ### Resolved Issues
 
 * \#2548 Fix error when generating config file with a fresh app with Unicorn in
   the gemset.
 
 * \#2542 Allow embedded documents using `store_as` to properly alias in
   criteria.
 
 * \#2541 Ensure that the type change is correct when upcasting/downcasting a
   document via `Document#becomes` (Łukasz Bandzarewicz)
 
 * \#2529 Fields on subclasses that override fields in the parent where both have
   defaults with procs now properly override the default in the subclass.
 
 * \#2528 Aliased fields need to be duped when subclassing.
 
 * \#2527 Ensure removal of docs in a `has_many` does a multi update when setting
   to an empty array.


-------------------------------------------------------------------
Mon Nov  5 05:39:31 UTC 2012 - coolo@suse.com

- updated to version 3.0.11
 * \#2522 Fixed `Criteria#with` to return the criteria and not the class.
 
 * \#2518 Fix unit of work call for the identity map when using Passenger.
 
 * \#2512 Ensure nested attributes destroy works with the delayed destroys
   introduced in 3.0.10 when multiple levels deep.
 
 * \#2509 Don't hit identity map an extra time when the returned value is an
   empty hash. (Douwe Maan)

-------------------------------------------------------------------
Sat Nov  3 10:10:03 UTC 2012 - coolo@suse.com

- updated to version 3.0.10, see CHANGELOG.md

-------------------------------------------------------------------
Tue Oct  9 11:29:02 UTC 2012 - coolo@suse.com

- updated to version 3.0.6, plenty of bugs fixed

-------------------------------------------------------------------
Mon Aug 27 20:03:52 UTC 2012 - coolo@suse.com

- updated to version 3.0.5

-------------------------------------------------------------------
Wed Aug  1 05:05:34 UTC 2012 - coolo@suse.com

- updated to version 3.0.3

-------------------------------------------------------------------
Fri Nov  4 11:38:15 UTC 2011 - fcastelli@suse.com

- Require rubygem-mongo-1_0 instead of rubygem-mongo-1

-------------------------------------------------------------------
Tue Nov  1 11:26:26 UTC 2011 - jmassaguerpla@suse.de

- fixed the requires clause 

-------------------------------------------------------------------
Mon Oct 31 19:13:38 UTC 2011 - jmassaguerpla@suse.de

- initial commit 

openSUSE Build Service is sponsored by