Skip to content

Commit 3c0217d

Browse files
mungitoperritojeff-allen-mongo
authored andcommitted
DOCS-14831 shift dateAdd dateSubtract release note
1 parent a17b0bc commit 3c0217d

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

source/release-notes/5.1.txt

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,6 @@ General
1515

1616
.. include:: /includes/in-dev.rst
1717

18-
Issues fixed:
19-
20-
- `SERVER-59765 <https://jira.mongodb.org/browse/SERVER-59765>`__
21-
Detect an overflow for certain 'amount' values in
22-
:expression:`$dateSubtract` and :expression:`$dateAdd`.
23-
2418
Aggregation
2519
-----------
2620

@@ -49,6 +43,17 @@ MongoDB 5.1 introduces the following aggregation operators:
4943
* - :expression:`$tsIncrement`
5044
- .. include:: /includes/tsIncrement-introduction.rst
5145

46+
47+
General Aggregation Improvements
48+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
49+
50+
:expression:`$dateSubtract` and :expression:`$dateAdd`: Improved Input Validation
51+
`````````````````````````````````````````````````````````````````````````````````
52+
53+
Starting in MongoDB 5.1, :expression:`$dateSubtract` and
54+
:expression:`$dateAdd` report an error when an overflow is detected for
55+
``amount`` values.
56+
5257
.. _5.1-rel-notes-change-streams:
5358

5459
Change Streams

0 commit comments

Comments
 (0)