Skip to content

Commit 5efd177

Browse files
authored
MONGOID-5515 Add release notes for smaller bug fixes/improvements for 9.0 features until now (#5496)
* MONGOID-5515 Add release notes for smaller bug fixes/improvements for 9.0 features until now * reordering
1 parent c2d67b4 commit 5efd177

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

source/release-notes/mongoid-9.0.txt

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,23 @@ Bug Fixes and Improvements
127127

128128
This section will be for smaller bug fixes and improvements:
129129

130+
- The ``.unscoped`` method now also clears scopes declared using ``.with_scope``
131+
`MONGOID-5214 <https://jira.mongodb.org/browse/MONGOID-5214>`_.
132+
- When evolving a ``String`` to a ``BigDecimal`` (i.e. when querying a
133+
``BigDecimal`` field with a ``String`` object), if the
134+
``map_big_decimal_to_decimal128`` flag set to true, the conversion will
135+
return a ``BSON::Decimal128`` and not a ``String``
136+
`MONGOID-5484 <https://jira.mongodb.org/browse/MONGOID-5484>`_.
137+
- Created new error ``Mongoid::Errors::InvalidEstimatedCountCriteria`` for
138+
when calling ``estimated_document_count`` on a document class with a
139+
default scope
140+
`MONGOID-4960 <https://jira.mongodb.org/browse/MONGOID-4960>`_.
141+
- Mongoid now uses primary reads for validations in all cases
142+
`MONGOID-5150 <https://jira.mongodb.org/browse/MONGOID-5150>`_.
143+
- Added support for symbol keys in localized field translation hashes
144+
`MONGOID-5334 <https://jira.mongodb.org/browse/MONGOID-5334>`_.
145+
- Added index wildcard option
146+
`MONGOID-5388 <https://jira.mongodb.org/browse/MONGOID-5388>`_.
130147
- With the ``map_big_decimal_to_decimal128`` flag set to false, ``demongoizing``
131148
a non-numeric, non-string value that implements ``:to_d`` will return a string
132149
rather than a ``BigDecimal``

0 commit comments

Comments
 (0)