Iris
c77c15e369
PYTHON-5421 continued - update changelog, update docstring, and add testing ( #2420 )
2025-07-07 14:00:11 -07:00
Iris
947fbe33ee
PYTHON-5421 Make parse_uri() return "options" as a dict rather than _CaseInsensitiveDictionary ( #2413 )
2025-07-02 09:51:50 -07:00
Iris
65089ead4c
PYTHON-5386 Better test assertions for isinstance ( #2347 )
2025-05-22 16:15:44 -07:00
Jeffrey A. Clark
1c813dc648
PYTHON-4575 Allow valid SRV hostnames with less than 3 parts ( #2234 )
2025-04-04 13:09:04 -04:00
Iris
eea8a37257
PYTHON-3636 AsyncMongoClient should perform SRV resolution lazily ( #2191 )
...
Co-authored-by: Noah Stapp <noah@noahstapp.com>
Co-authored-by: Shane Harvey <shane.harvey@mongodb.com>
2025-03-25 13:45:06 -07:00
Steven Silvester
ad3292e39b
PYTHON-4922 Remove Support for MONGODB-CR Authentication ( #1978 )
2024-10-30 12:57:31 -05:00
Shane Harvey
bf12e975e3
PYTHON-4588 Don't include invalid port in URI parsing error message ( #1753 )
2024-07-31 09:41:43 -07:00
Noah Stapp
ffa6555485
PYTHON-4476 Separate data and IO classes more effectively ( #1678 )
2024-06-26 10:12:39 -07:00
Noah Stapp
d6bf0e1e78
PYTHON-4264 Async PyMongo Beta ( #1629 )
2024-06-06 09:01:24 -07:00
Steven Silvester
e9c86f4c00
PYTHON-4463 Disallow comma character in authMechanismProperties connection string value ( #1646 )
2024-06-05 14:39:00 -05:00
Steven Silvester
6584dd2389
PYTHON-4256 Clean up handling of TOKEN_RESOURCE ( #1620 )
2024-04-29 15:45:24 -05:00
Noah Stapp
266b3dd8e9
PYTHON-3835 Log informational message client-side based on detected environment ( #1537 )
2024-03-07 14:53:09 -08:00
Casey Clements
d4dfd4a044
PYTHON-3036 Improve error message for unknown MongoClient options ( #1440 )
2023-11-30 11:21:10 -08:00
Steven Silvester
7936708d97
PYTHON-4014 Apply QA Suggestions from Scientific Python Library Development Guide ( #1414 )
2023-11-01 19:37:22 -05:00
Steven Silvester
992d1507e7
PYTHON-4005 Replace flake8 and isort with ruff ( #1399 )
2023-10-19 11:56:22 -05:00
Shane Harvey
0092b0af79
PYTHON-2504 Run pyupgrade 3.4.0 and ruff 0.0.265 ( #1196 )
...
pyupgrade --py37-plus bson/*.py pymongo/*.py gridfs/*.py test/*.py tools/*.py test/*/*.py
ruff --fix-only --select ALL --fixable ALL --target-version py37 --line-length=100 --unfixable COM812,D400,D415,ERA001,RUF100,SIM108,D211,D212,SIM105,SIM,PT,ANN204,EM bson/*.py pymongo/*.py gridfs/*.py test/*.py test/*/*.py
2023-05-11 15:27:17 -07:00
Shane Harvey
9a829acf2e
PYTHON-3251 Make extra whitespace visible in invalid port exception ( #937 )
2022-05-04 11:12:58 -07:00
Steven Silvester
a0fe7c03af
PYTHON-3120 Set up flake8 linting ( #868 )
2022-02-17 06:44:08 -06:00
Steven Silvester
5578999a90
PYTHON-1834 Use a code formatter ( #852 )
2022-02-09 06:44:28 -06:00
Steven Silvester
f4cef37328
PYTHON-3064 Add typings to test package ( #844 )
2022-02-07 19:33:41 -06:00
Julius Park
42324c69cf
PYTHON-2973 Revert back to using quote_plus/unquote_plus ( #767 )
2021-10-29 16:30:55 -07:00
Julius Park
11e6f9860a
PYTHON-1579 Update URI parser to adhere to new connection string spec ( #755 )
2021-10-20 13:39:32 -07:00
Shane Harvey
2eb0df812c
PYTHON-2879 Fix get_ssl_context for CSFLE and ocsptest.py ( #713 )
2021-08-24 13:36:37 -04:00
Prashant Mital
9055bb09e6
PYTHON-2702 Remove deprecated URI options ( #710 )
2021-08-20 10:17:06 -07:00
Prashant Mital
b3118e034e
PYTHON-2162 Remove support for ssl* URI options ( #706 )
2021-08-19 14:58:31 -07:00
Prashant Mital
3c8b78348d
PYTHON-2866 Setting tlsDisableOCSPEndpointCheck=false must enable OCSP endpoint check
...
(cherry picked from commit fe1d19dea4 )
2021-08-16 12:18:12 -07:00
Shane Harvey
e3a61b9ff7
PYTHON-1840 Remove waitQueueMultiple and ExceededMaxWaiters ( #699 )
2021-08-09 10:53:28 -07:00
Bernie Hackett
a72e8b8823
PYTHON-2133 Remove py2 support from test
...
Also delete bson/py3compat.py
2021-01-20 09:40:36 -08:00
Prashant Mital
47a6718352
PYTHON-2161 add support for tlsDisableOcspEndpointCheck URI option
2020-03-11 18:35:11 -07:00
Shane Harvey
e26dc96e31
PYTHON-2034 Support MONGODB-AWS authentication mechanism
...
Use botocore to perform the manual Signature Version 4 Signing Process.
Test MONGODB-AWS in Evergreen.
Properly unquote URI option values in authMechanismProperties and
readPreferenceTags.
2020-03-03 09:43:48 -08:00
Bernie Hackett
5df94d08f0
PYTHON-2040 PyOpenSSL support
2020-02-06 18:03:21 -08:00
Prashant Mital
4800512c36
PYTHON-1839 Deprecate waitQueueMultiple option
2019-08-09 17:07:30 -07:00
Prashant Mital
f85a9f9450
PYTHON-1675 SRV polling for mongos discovery
2019-06-10 12:51:49 -07:00
Prashant Mital
8dbf41a5ff
PYTHON-1827 Follow-on work for unifying URI options
2019-05-28 11:04:47 -07:00
Prashant Mital
927a97e39b
PYTHON-1670: Implement Unified URI Options ( #386 )
2019-02-27 15:56:48 -08:00
Thomas Hisch
19827c41ec
PYTHON-1467 Remove outdated code for old python versions ( #395 )
2019-02-06 13:23:43 -08:00
Prashant Mital
b1fc024143
PYTHON-1683 Remove _partition and _rpartition from uri_parser module ( #383 )
2018-11-14 10:52:31 -08:00
Bernie Hackett
507f954ed4
Update copyright dates
2017-12-01 17:23:39 -08:00
Michael Elovskikh
9f07ff35a1
PYTHON-1334 Don't change readpreference value at uri parsing ( #325 )
2017-07-25 17:43:51 -07:00
A. Jesse Jiryu Davis
c72ee15b52
PYTHON-1282 Username/password must be URI-escaped
...
Not just "%", "@", and ":" must be escaped, all delimiters from RFC 3986
must be percent-encoded. Therefore, since "/" must be escaped in
username and password, we can split the URI at the first "/" instead of
the last.
2017-06-16 18:33:32 -04:00
Sergey Ninua
1d81aea087
allow connect option to be passed as string
2016-03-02 15:43:07 -05:00
aherlihy
193915e636
PYTHON-959 - Connection string spec compliance.
2015-08-06 13:14:31 -04:00
Len Buckens
64009228f8
PYTHON-934 - allow ssl_match_hostname option to be passed as string
2015-06-15 13:16:30 -07:00
Bernie Hackett
aec685b374
Fix up copyright dates.
2015-03-25 11:55:02 -07:00
Bernie Hackett
4fd6f8a0b1
PYTHON-854 max_pool_size -> maxPoolSize
...
With this change the max_pool_size named parameter to
MongoClient is removed. It is replaced by the maxPoolSize
MongoDB URI option, which can be passed in a URI, or as a
keyword argument to MongoClient.
2015-03-09 10:08:13 -07:00
Bernie Hackett
8f0bd0a6d4
PYTHON-850 - Change some uses of ConfigurationError to Type/ValueError.
2015-02-26 16:02:25 -08:00
A. Jesse Jiryu Davis
ee11436675
PYTHON-764 SCRAM-SHA-1 automatic upgrade / downgrade.
2014-10-23 16:30:55 -04:00
Luke Lovett
141200083e
PYTHON-680 Stop using nose in favor of pure unittest/unittest2
2014-04-25 22:57:33 +00:00
Luke Lovett
4d6d1e067b
PYTHON-676 python 2/3 single-source for the test module
2014-04-23 18:37:02 +00:00
behackett
e0b52baf8e
PYTHON-672 - Make read preference a class
...
This commit introduces the following changes:
- Each read preference is now a class.
- Read preferences other than Primary accept a tag_sets parameter.
- The tag_sets attribute of MongoClient, Database, and Collection has
been removed. Use the tag_sets parameter of the new classes instead.
- The read_preferences.ReadPreference constant still exists and should
continue to work as expected for most users.
2014-04-14 16:28:07 -07:00