Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-3650

Document in upgrade guide that boolean API options are strictly checked to be booleans

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 4.2.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • 1
    • Not Needed

      What problem are you facing?

      Users says there is a regression here with no longer interpreting 1 as true for boolean options

      https://www.mongodb.com/community/forums/t/4-0s-upsert-doesnt-work-with-1-only-with-true/126523

      Not sure if that's something we want to continue doing; if we don't want to, we shouldn't silently ignore it

      What driver and relevant dependency versions are you using?

      driver 4.0.x

      Steps to reproduce?

            Assignee:
            kaitlin.mahar@mongodb.com Kaitlin Mahar
            Reporter:
            kaitlin.mahar@mongodb.com Kaitlin Mahar
            Daria Pardue
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: