Breaking change to `updateOne` introduced in patch release 2.2.12

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 2.2.16
    • Affects Version/s: 2.2.12
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The commit here introduces a potentially-breaking change, straying from the docs on how the _id of an upserted document is returned.

      result.upsertedId was previously an object containing _id, whereas it is now the value of _id.

      Is this considered a breaking change? It definitely broke a lot of our parsing and only on a patch incrementation.

            Assignee:
            Christian Amor Kvalheim
            Reporter:
            Jack Williams
            None
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: