Noah Stapp
e1751ff253
PYTHON-5668 - Merge backpressure branch into mainline ( #2729 )
...
Co-authored-by: Steven Silvester <steve.silvester@mongodb.com>
Co-authored-by: Shane Harvey <shnhrv@gmail.com>
Co-authored-by: Steven Silvester <steven.silvester@ieee.org>
Co-authored-by: Iris <58442094+sleepyStick@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kevin Albertson <kevin.albertson@mongodb.com>
Co-authored-by: Casey Clements <caseyclements@users.noreply.github.com>
Co-authored-by: Sergey Zelenov <mail@zelenov.su>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-04-14 12:25:29 -04:00
Jeffrey 'Alex' Clark
13085ff679
PYTHON-5758 Remove unused validation functions ( #2733 )
2026-03-18 13:19:18 -04:00
Steven Silvester
6fe85436ae
PYTHON-3414 Improve error message when using incompatible dependencies ( #2549 )
2025-09-22 17:15:02 -05:00
Noah Stapp
bbb6f88fae
PYTHON-5257 - Turn on mypy disallow_any_generics ( #2456 )
2025-08-06 14:21:53 -04:00
Noah Stapp
e2bfa9a590
PYTHON-5248 - Drop support for MongoDB 4.0 ( #2353 )
2025-06-20 14:25:19 -04:00
Jeffrey A. Clark
166821f22c
PYTHON-5205 Replace http with https in doc links ( #2204 )
2025-03-14 21:37:11 -04:00
The Light
44d1d40d65
PYTHON-5115 Type validation errors should include the invalid type name ( #2085 )
...
Co-authored-by: Iris Ho <iris.ho@mongodb.com>
2025-01-31 12:01:58 -08:00
Shane Harvey
a3208df5c9
PYTHON-5059 Update default maxMessageSizeBytes and maxWriteBatchSize ( #2078 )
2025-01-24 14:30:07 -08:00
Steven Silvester
6a8a805217
PYTHON-4845 Ensure ALLOWED_HOSTS is optional for Workload Usage ( #1998 )
2024-11-11 09:33:29 -06:00
Steven Silvester
92d6a732c5
PYTHON-3906 & PYTHON-2867 Implement GSSAPI ServiceHost support and expand canonicalization options ( #1983 )
2024-10-30 14:06:54 -05:00
Shane Harvey
ac198af557
PYTHON-4729 Drop support for MongoDB 3.6 ( #1905 )
2024-10-09 09:58:20 -07:00
Jeffrey A. Clark
083359f95f
PYTHON-1714 Add c extension use to client metadata ( #1874 )
2024-09-30 18:09:57 -05:00
Steven Silvester
3ef565fa43
PYTHON-4796 Update type checkers and handle with_options typing ( #1880 )
2024-09-30 18:01:53 -05:00
Shane Harvey
26f7a9d2ca
PYTHON-4524 Bump maxWireVersion for MongoDB 8.0 ( #1720 )
2024-06-27 13:46:30 -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
49987e6a8a
PYTHON-4441 Use deferred imports instead of lazy module loading ( #1648 )
2024-05-30 16:40:23 -05:00
Steven Silvester
6584dd2389
PYTHON-4256 Clean up handling of TOKEN_RESOURCE ( #1620 )
2024-04-29 15:45:24 -05:00
Steven Silvester
efe8cc38a6
PYTHON-4256 OIDC Spec Cleanup ( #1556 )
2024-04-10 11:29:42 -05:00
Steven Silvester
3699f513fa
PYTHON-4265 Rename OIDC property PROVIDER_NAME and config values ( #1545 )
...
Co-authored-by: Jib <Jibzade@gmail.com>
2024-03-27 12:29:45 -05:00
Steven Silvester
4bc2a482d9
PYTHON-3467 OIDC: Automatic token acquisition for Azure Identity Provider ( #1443 )
...
Co-authored-by: Jib <Jibzade@gmail.com>
2024-02-02 09:53:48 -06:00
Casey Clements
d4dfd4a044
PYTHON-3036 Improve error message for unknown MongoClient options ( #1440 )
2023-11-30 11:21:10 -08:00
Steven Silvester
6537415da7
PYTHON-3605 Move type annotations to parameter list in rendered docs ( #1441 )
2023-11-27 09:24:00 -06:00
Noah Stapp
06653c9e21
PYTHON-3926 Add more information to connection errors and timeouts ( #1375 )
2023-10-30 14:20:18 -07:00
Steven Silvester
992d1507e7
PYTHON-4005 Replace flake8 and isort with ruff ( #1399 )
2023-10-19 11:56:22 -05:00
Shane Harvey
4c00227c1d
PYTHON-3668 Use polling SDAM mode on FaaS and add sdamMode=auto/stream/poll ( #1360 )
...
Disable streaming SDAM by default on AWS Lambda and similar FaaS platforms.
Introduce the serverMonitoringMode=stream/poll/auto URI option.
Add Unified Test Format version 1.17 to add support for server heartbeat events.
2023-10-12 13:19:16 -07:00
Steven Silvester
0590ce49ca
PYTHON-3716 OIDC-SASL Follow-Up ( #1365 )
2023-09-28 12:48:36 -05:00
Steven Silvester
6f4e617e6d
PYTHON-3905 Use from __future__ import annotations in all files ( #1370 )
...
* PYTHON-3905 Use from __future__ import annotations in all files
* cleanup
* cleanup
* cleanup
2023-09-11 10:49:24 -05:00
Iris
966a5adc4a
PYTHON-3778 add types to common.py ( #1287 )
2023-07-05 08:57:42 -07:00
Iris
f7874fb110
PYTHON-2287 Improve error message for invalid boolean option ( #1236 )
2023-06-15 11:54:20 -07: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
Steven Silvester
afd7e1c2cd
PYTHON-3460 Implement OIDC SASL mechanism ( #1138 )
2023-05-11 14:35:30 -05: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
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
f7225fda55
PYTHON-3652 Bump maxWireVersion for MongoDB 7.0 ( #1188 )
2023-04-12 10:40:44 -05:00
Ben Warner
46673c3705
PYTHON-3379 Refactored DatetimeConversionOpts to DatetimeConversion ( #1031 )
2022-08-04 12:53:57 -07:00
Ben Warner
14002a5a0d
PYTHON-1824 Allow encoding/decoding out-of-range datetimes via DatetimeMS and datetime_conversion ( #981 )
...
https://jira.mongodb.org/browse/PYTHON-1824
Co-authored-by: Ben Warner <ben.warner@mongodb.com>
2022-07-27 16:53:52 -07:00
Shane Harvey
5c38676d53
PYTHON-3359 Remove Database and Collection timeout override ( #1009 )
...
Remove MongoClient.timeout in favor of client.options.timeout.
2022-07-18 19:54:45 -05:00
Shane Harvey
890cd26e1a
PYTHON-3288 Implement client side operation timeout ( #954 )
...
Add timeoutMS URI option and MongoClient keyword argument.
Add provisional/beta pymongo.timeout() api to set a deadline for a block of operations.
2022-06-06 15:36:52 -04:00
Julius Park
6b088ffa4e
PYTHON-3241 Add Queryable Encryption API to AutoEncryptionOpts ( #957 )
2022-06-06 12:33:31 -04:00
Steven Silvester
e02eb287e8
PYTHON-3254 Bump maxWireVersion for MongoDB 6.0 ( #948 )
2022-05-12 15:42:06 -05:00
Steven Silvester
1d30802f8c
PYTHON-3074 Add documentation for type hints ( #906 )
2022-03-29 18:03:42 -05:00
Steven Silvester
72d8900c36
PYTHON-3058 Bump maxWireVersion for MongoDB 5.2 ( #908 )
2022-03-28 13:48:58 -05:00
Steven Silvester
b3604a81d3
PYTHON-3171 Add usage of NoReturn annotation ( #901 )
2022-03-16 15:26:10 -05: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
dd6c140d43
PYTHON-3060 Add typings to pymongo package ( #831 )
2022-02-02 21:12:36 -06:00
Shane Harvey
e154642968
Removed references to outdated server versions ( #812 )
2021-12-07 15:47:28 -08:00
Shane Harvey
278a50d4b0
PYTHON-3005 Make maxConnecting configurable ( #789 )
2021-11-16 12:51:36 -08:00