Shane Harvey
9a829acf2e
PYTHON-3251 Make extra whitespace visible in invalid port exception ( #937 )
2022-05-04 11:12:58 -07:00
Shane Harvey
821b5620f7
PYTHON-3198 Fix NameError: name sys is not defined ( #920 )
2022-04-05 13:07:06 -07:00
Steven Silvester
a0fe7c03af
PYTHON-3120 Set up flake8 linting ( #868 )
2022-02-17 06:44:08 -06:00
Shane Harvey
09f8aa9928
PYTHON-3072 Use _Address in more places ( #871 )
2022-02-15 15:49:39 -08:00
Steven Silvester
5578999a90
PYTHON-1834 Use a code formatter ( #852 )
2022-02-09 06:44:28 -06:00
Steven Silvester
dd6c140d43
PYTHON-3060 Add typings to pymongo package ( #831 )
2022-02-02 21:12:36 -06:00
Shane Harvey
370e1652ad
PYTHON-3003 Add kms_tls_options to configure options for KMS provider connections ( #784 )
2021-11-10 16:49:31 -08: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
bfa5aafb34
PYTHON-2832 Provide options to limit number of mongos servers used in connecting to sharded clusters ( #754 )
2021-10-26 14:47:51 -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
Julius Park
6bb8a1f411
PYTHON-2823 Allow custom service names with srvServiceName URI option ( #749 )
2021-10-08 11:23:21 -07:00
Bernie Hackett
ad4315134c
PYTHON-2803 Get rid of most uses of 'master'
...
This change also resolves PYTHON-2848 for MongoDB 4.0.
2021-09-13 12:50:49 -07:00
Prashant Mital
b3118e034e
PYTHON-2162 Remove support for ssl* URI options ( #706 )
2021-08-19 14:58:31 -07:00
Shane Harvey
69c69a6bfb
PYTHON-2862 Remove versionchanged info for PyMongo <3.0 ( #709 )
2021-08-19 10:39:26 -07:00
Shane Harvey
2c41c6fe95
PYTHON-2671 Support loadBalanced URI option ( #614 )
...
Add workaround in test_dns until PYTHON-2679 is completed.
2021-05-05 12:51:05 -07:00
Khanh Nguyen
5388fde214
PYTHON-2605: Improve mongodb+srv:// error message when dnspython is not installed ( #602 )
2021-04-26 08:18:51 -07:00
Bernie Hackett
6c2d629006
PYTHON-2133 Remove Py2 compatibility from pymongo
2021-01-19 21:15:20 -08:00
Prashant Mital
0743c0b222
PYTHON-2121 add directConnection URI option
2020-06-08 15:11:55 -07: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
Shane Harvey
a43e73dd20
PYTHON-2113 An empty authSource URI option is not valid
...
Update spec test runner for PYTHON-1846.
2020-02-27 12:18:28 -08:00
Prashant Mital
4800512c36
PYTHON-1839 Deprecate waitQueueMultiple option
2019-08-09 17:07:30 -07:00
Prashant Mital
62400e548d
PYTHON-1902 DNS resolution should honor connectTimeoutMS
2019-08-09 17:04:02 -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
Prashant Mital
b1fc024143
PYTHON-1683 Remove _partition and _rpartition from uri_parser module ( #383 )
2018-11-14 10:52:31 -08:00
Bernie Hackett
7d278b2feb
PYTHON-1534 - Catch NXDOMAIN for TXT lookups
2018-06-04 13:57:36 -07:00
kalvdans
d08c2587f5
Use formatting operator to format error message ( #348 )
2018-02-12 08:23:22 -08:00
Bernie Hackett
507f954ed4
Update copyright dates
2017-12-01 17:23:39 -08:00
Bernie Hackett
e42897e79e
PYTHON-1418 - More spec updates
2017-11-29 10:52:05 -08:00
Bernie Hackett
a689aa63ca
PYTHON-1418 - Update initial DNS seedlist implementation for spec changes
2017-11-17 15:35:21 -08:00
Bernie Hackett
ffdcfd5809
PYTHON-1378 - Various fixes
...
- Don't use _escapify
- Always return str in python 3
- Further exception handling improvements
2017-10-24 13:21:42 -07:00
Bernie Hackett
5705b10d57
PYTHON-1378 - Fix DNS seedlist discovery with Eventlet
...
This change also adds Python 3 support for dnspython versions
back to 1.13.0, the first version to support Python 3.
2017-10-20 14:59:19 -07:00
Bernie Hackett
732b0f15df
PYTHON-1378 - Implement DNS seedlist discovery
2017-10-19 13:53:02 -07:00
Shane Harvey
b7893b7ec4
3.5 changelog and documentation fixes.
2017-08-08 09:32:09 -07:00
A. Jesse Jiryu Davis
7c41ef566c
PYTHON-1282 Update docs and errors for new URI Spec
2017-06-16 22:48:22 -04: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
Bernie Hackett
241a898813
PYTHON-1059 - Make kwarg only options unknown to the URI parser
2016-03-09 12:14:18 -08:00
aherlihy
193915e636
PYTHON-959 - Connection string spec compliance.
2015-08-06 13:14:31 -04:00
Bernie Hackett
aec685b374
Fix up copyright dates.
2015-03-25 11:55:02 -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
1447ad1257
Remove pymongo.errors.UnsupportedOption.
2014-10-31 16:42:11 -04:00
A. Jesse Jiryu Davis
8b8123932f
Use lower() to canonicalize hostnames.
...
Normalize hostname to lowercase, since DNS is case-insensitive:
http://tools.ietf.org/html/rfc4343
This prevents useless rediscovery if "foo.com" is in the seed list but
"FOO.com" is in the ismaster response.
2014-09-22 16:36:20 -04:00
Bernie Hackett
d408d1101d
PYTHON-730 - Add a validate option to uri_parser
2014-07-11 15:23:25 -07:00
Luke Lovett
d494105aa4
PYTHON-674 python 2/3 single-source for the pymongo module
2014-04-23 18:26:18 +00:00
A. Jesse Jiryu Davis
2fa1750b07
Update copyright notices and company name.
2014-01-31 09:36:46 -05:00
hawka
74546ec88d
Adding Support for readPreferenceTags and uuidRepresentation in URI parsing. PYTHON-473
2013-08-30 15:38:34 -04:00
A. Jesse Jiryu Davis
78bcc97846
Handle unicode connection URIs in Python 2.4
...
Unicode MongoDB connection URIs, if they have options like "/?fsync=true", raised a TypeError in old Pythons.
2013-05-01 15:27:45 -04:00
behackett
18d20ed181
Support GSSAPI (Kerberos) authentication PYTHON-465
...
This only works with the subscriber addition of MongoDB
>= 2.4 and requires the python "kerberos" module, sometimes
referred to as pykerberos.
http://pypi.python.org/pypi/kerberos
This change also adds support for the authMechanism
and authSource URI options.
2013-02-08 16:04:53 -08:00