Commit Graph

2547 Commits

Author SHA1 Message Date
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
Steven Silvester
afd7e1c2cd
PYTHON-3460 Implement OIDC SASL mechanism (#1138) 2023-05-11 14:35:30 -05:00
Steven Silvester
ae83a0b8be
PYTHON-3570 Deprecate currentOp/collStats commands by 7.0 (#1205) 2023-05-08 11:49:05 -05:00
Shane Harvey
3d3e4dc238
PYTHON-3464 Add FaaS platform to handshake metadata (#1204)
Truncate metadata env, os, and platform fields if needed.
2023-05-04 18:24:14 -07:00
Jean-Christophe Fillion-Robin
d340710e3d
PYTHON-3703 Fix typos and add codespell pre-commit hook (#1203)
Update pre-commit config adding "codespell" hook
2023-05-03 14:47:24 -07:00
Shane Harvey
14e8b011c2
PYTHON-3700 Clean up docs for create_index/drop_indexes (#1201) 2023-05-02 13:45:55 -07:00
Shane Harvey
deb0566c3e
PYTHON-3614 Support Queryable Encryption protocol v2 on 7.0+ (#1197)
Resync FLE spec tests and update docs for new QE protocol on 7.0.
Add client side error for createEncryptedCollection on MongoDB < 7.0.
KMS timeout errors should always have exc.timeout==True.
PYTHON-3583 Drivers should not create the ECC collection in v2 of queryable encryption.
2023-05-01 09:16:28 -07:00
Steven Silvester
dfd82d2375
PYTHON-3677 Update docs on Range Index (#1195) 2023-04-25 17:28:10 -05:00
Steven Silvester
b38a416836
PYTHON-3162 Deprecate ServerDescription.election_tuple (#1189) 2023-04-12 11:10:28 -05:00
Steven Silvester
f7225fda55
PYTHON-3652 Bump maxWireVersion for MongoDB 7.0 (#1188) 2023-04-12 10:40:44 -05:00
Michael Pacheco
3077bbf1f9
PYTHON-3657 Allow index name explicitly set to None (#1182)
Co-authored-by: Michael Pacheco <michael.dias@luizalabs.com>
2023-04-07 11:09:50 -07:00
lilinjie
30ebc1d090
fix typo (#1179) 2023-04-04 06:46:14 -05:00
Julius Park
9bc7093355
PYTHON-3634 Windows crypt shared rewrap many data key timing out sometimes (#1173) 2023-04-03 13:45:54 -07:00
Julius Park
880f3dd8ea
PYTHON-3615 Add docs example for how to rotate CMKs using rewrap_many_data_key (#1171) 2023-03-21 16:59:35 -07:00
Julius Park
04c9f87d70
PYTHON-2468 Add pymongoexplain example to pymongo docs (#1172) 2023-03-20 15:54:42 -07:00
Steven Silvester
e9a6482c4d
PYTHON-3610 Add blacken-docs to pre-commit hook (#1170) 2023-03-14 15:37:45 -05:00
Julius Park
10a55001c8
PYTHON-3626 Document srvMaxHosts in MongoClient options (#1167) 2023-03-02 14:14:47 -08:00
Shane Harvey
32faa261b6
PYTHON-3616 Use minimum RTT for CSOT maxTimeMS calculation (#1163)
Require at least 2 RTT samples, otherwise use 0 as RTT. Only keep last 10 samples.
2023-02-23 11:09:11 -08:00
Steven Silvester
b63dfbe1e4
PYTHON-3533 Permit tlsDisableOCSPEndpointCheck in KMS TLS options (#1155) 2023-02-15 11:36:42 -06:00
Shane Harvey
5635ef9ff0
PYTHON-3599 Fix create_data_key/key_alt_names docs example (#1151) 2023-02-09 11:39:04 -08:00
Julius Park
2e6e9a8507
PYTHON-3592 createEncryptedCollection should raise a specialized exception to report the intermediate encryptedFields (#1148) 2023-02-07 10:23:59 -08:00
Julius Park
79ccf4e287
PYTHON-3589 createEncryptedCollection should not accept keyAltNames (#1147) 2023-02-03 21:10:30 -08:00
Julius Park
b492263826
PYTHON-3357 Automatically create Queryable Encryption keys (#1145) 2023-01-31 14:58:37 -08:00
Shane Harvey
06dd536669 BUMP 4.4.0.dev1 2023-01-27 12:32:18 -08:00
Julius Park
e353d5791b BUMP 4.5.0.dev1 2023-01-25 15:29:54 -08:00
Julius Park
4af7a07618 BUMP 4.5.0.dev0 2023-01-25 14:13:17 -08:00
Julius Park
0b843b76f6
BUMP 4.4.0b0 (#1144) 2023-01-25 14:09:15 -08:00
Steven Silvester
a3720d9cea
PYTHON-3568 Intellisense highlights multiple PyMongo methods because of CodecOptions (#1139) 2023-01-25 09:41:23 -06:00
Julius Park
d3117ce75d
PYTHON-3280 Support for Range Indexes (#1140) 2023-01-24 15:33:56 -08:00
Steven Silvester
124dee66c3
PYTHON-3565 The docs page appears to be missing a component reference (#1137) 2023-01-18 13:39:38 -06:00
Steven Silvester
47686c8f68
PYTHON-3543 Broken Links for ICU Project (#1129) 2022-12-20 16:29:43 -06:00
Julius Park
26efc0f43d
PYTHON-3388 Propagate Original Error for Write Errors Labeled NoWritesPerformed (#1117) 2022-12-01 17:54:15 -08:00
Steven Silvester
ee2badff75
PYTHON-3524 Support passing list of strings to create_index (#1121) 2022-11-29 05:27:45 -06:00
Steven Silvester
f92dd40c86 BUMP 4.4.0.dev0 2022-11-17 15:00:04 -06:00
Steven Silvester
3d032768a0 BUMP 4.3.3 2022-11-17 14:59:25 -06:00
Julius Park
92e6150d84
PYTHON-3493 Bulk Write InsertOne Should Be Parameter Of Collection Type (#1106) 2022-11-10 14:19:55 -08:00
Shane Harvey
0d301f13c5 PYTHON-3295 Improve description of nested timeout() calls 2022-11-08 12:46:52 -08:00
Shane Harvey
c106c08c1d
PYTHON-3295 Add CSOT docs page (#1111) 2022-11-08 11:13:34 -08:00
Shane Harvey
1abcd3fc0c
PYTHON-3513 Correctly pin to mypy==0.990 (#1110) 2022-11-07 13:01:56 -08:00
Julius Park
9083821300
PYTHON-3454 Specifying a generic type for a collection does not correctly enforce type safety when inserting data (#1081) 2022-11-01 14:33:21 -07:00
Shane Harvey
1d117c1f39 Fix pre-commit for _version.py 2022-10-19 12:09:58 -07:00
Steven Silvester
520b26fba3 BUMP 4.4.0.dev0 2022-10-18 09:50:46 -05:00
Steven Silvester
bed75044e8 BUMP 4.3.2 2022-10-18 09:09:45 -05:00
Steven Silvester
942e28170a
PYTHON-1889 Single-source the version tuple/string (#1079) 2022-10-17 14:49:02 -05:00
Steven Silvester
1c9193f226 BUMP 4.3.1 2022-10-17 09:46:25 -05:00
Steven Silvester
3eb316ed30 BUMP 4.3.0 2022-10-13 17:06:55 -05:00
Steven Silvester
df77653ccc
PYTHON-3347 Test against Python 3.11 prerelease (#1069) 2022-10-13 06:09:23 -05:00
Julius Park
4e11bdaa3e
PYTHON-3445 Fix documentation for with_options (#1075) 2022-10-12 15:30:37 -07:00
Julius Park
438539eaa2
PYTHON-3445 Improve documentation for with_options (#1074) 2022-10-12 13:59:51 -07:00
Steven Silvester
4a5e0f6655
PYTHON-3313 Cache AWS Credentials Where Possible (#982) 2022-10-12 10:21:06 -05:00