ExportXMLWordPrintableJSON

    • None
    • Python Drivers
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • None
    • None
    • None
    • None
    • None
    • None

      Remove the deprecated Algorithm.RANGEPREVIEW and QueryType.RANGEPREVIEW members in PyMongo 5.0.

      Why these are safe to remove

      • Deprecated since 4.9.
      • No supported server accepts rangePreview — the server dropped it in 8.0.
      • Zero references anywhere under test/. The spec dropped rangePreview long ago, so the resynced spec test corpus contains nothing for it, and no PyMongo test exercises it.
      • RANGEPREVIEW appears in exactly two files, both driver source: pymongo/asynchronous/encryption.py (lines 526 and 562) and its generated counterpart pymongo/synchronous/encryption.py.

      The members survive only so that existing user code does not fail on import.

       

            Assignee:
            Steve Silvester
            Reporter:
            Alex Clark
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: