diff --git a/source/release-notes/5.1.txt b/source/release-notes/5.1.txt index 8429e685961..23032ecf578 100644 --- a/source/release-notes/5.1.txt +++ b/source/release-notes/5.1.txt @@ -15,12 +15,6 @@ General .. include:: /includes/in-dev.rst -Issues fixed: - -- `SERVER-59765 `__ - Detect an overflow for certain 'amount' values in - :expression:`$dateSubtract` and :expression:`$dateAdd`. - Aggregation ----------- @@ -44,6 +38,17 @@ MongoDB 5.1 introduces the following aggregation operators: * - :expression:`$tsIncrement` - .. include:: /includes/tsIncrement-introduction.rst + +General Aggregation Improvements +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +:expression:`$dateSubtract` and :expression:`$dateAdd`: Improved Input Validation +````````````````````````````````````````````````````````````````````````````````` + +Starting in MongoDB 5.1, :expression:`$dateSubtract` and +:expression:`$dateAdd` report an error when an overflow is detected for +``amount`` values. + .. _5.1-rel-notes-change-streams: Change Streams