Skip to content

Commit 6dba03b

Browse files
committed
duplicate index behavior backport
1 parent dfe9a53 commit 6dba03b

File tree

1 file changed

+9
-15
lines changed

1 file changed

+9
-15
lines changed

source/whats-new.txt

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,26 +12,11 @@ What's New
1212

1313
Learn what's new in:
1414

15-
* :ref:`Version 9.1 <mongoid-version-9.1>`
1615
* :ref:`Version 9.0 <mongoid-version-9.0>`
1716

1817
To view a list of releases and detailed release notes, see {+odm+}
1918
:github:`Releases <mongodb/mongoid/releases>` on GitHub.
2019

21-
.. _mongoid-version-9.1:
22-
23-
What's New in 9.1
24-
-----------------
25-
26-
The 9.1 release includes the following new features, improvements, and
27-
fixes:
28-
29-
- Adds the ``Mongoid.allow_duplicate_index_declarations``
30-
configuration option that enables you to send index verification to
31-
the server. If a duplicate index is declared, the server raises an
32-
error. To learn more, see the :ref:`mongoid-config-options-all`
33-
section of the Application Configuration guide.
34-
3520
.. _mongoid-version-9.0:
3621

3722
What's New in 9.0
@@ -193,6 +178,15 @@ Removal of Deprecated Functionality
193178
- The deprecated class ``{+odm+}::Errors::InvalidStorageParent`` has
194179
been removed.
195180

181+
Index Verification Configuration
182+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
183+
184+
You can use the ``Mongoid.allow_duplicate_index_declarations``
185+
configuration option to send index verification to
186+
the server. If a duplicate index is declared, the server raises an
187+
error. To learn more, see the :ref:`mongoid-config-options-all`
188+
section of the Application Configuration guide.
189+
196190
``touch`` Method Clears Changed State
197191
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
198192

0 commit comments

Comments
 (0)