Commit Graph

227 Commits

Author SHA1 Message Date
Julius Park
f5eec45250
PYTHON-3111 Rename "Versioned API" to "Stable API" in documentation (#867) 2022-02-17 16:23:23 -08:00
Steven Silvester
b7057ecf9f
PYTHON-1834 (cont) Add pre-commit config (#853) 2022-02-09 14:24:23 -06:00
Shane Harvey
b342990934
PYTHON-2164 Add MongoClient.options, remove redundant properties (#772) 2021-11-03 11:21:33 -07:00
Shane Harvey
8b2eb24c35
PYTHON-2164 Remove client max_bson_size/max_message_size/max_write_batch_size (#766)
Use the hello command instead:
doc = client.admin.command('hello')
max_bson_size = doc['maxBsonObjectSize']
max_message_size = doc['maxMessageSizeBytes']
max_write_batch_size = doc['maxWriteBatchSize']

Also add documentation for TopologyDescription.apply_selector.
2021-11-01 14:26:47 -07:00
Julius Park
eabd2235ba
PYTHON-2859 Add BSON Binary subtype 7 (#763) 2021-10-26 14:24:27 -07:00
Shane Harvey
65aa7c86d5
PYTHON-2850 Remove map_reduce/inline_map_reduce (#703) 2021-08-12 09:44:52 -07:00
Shane Harvey
e1b068d37a
PYTHON-2525 Remove Collection.count and Cursor.count (#700) 2021-08-10 13:52:29 -07:00
Shane Harvey
be47e4ca14
PYTHON-2532 Remove modifiers option for find methods (#696) 2021-08-09 10:02:36 -07:00
Shane Harvey
5fd175c0d8
PYTHON-2529 Remove UUIDLegacy (#698) 2021-08-06 16:52:41 -07:00
Shane Harvey
369d175993
PYTHON-2430 Remove all helpers in the message module (#695) 2021-08-06 13:33:21 -07:00
Shane Harvey
9bc27c9c0b PYTHON-2797 Update docs for 5.0 support
Add changelog entries for 3.11.2, 3.11.3, and 3.12.0.
2021-08-06 13:29:11 -07:00
Shane Harvey
93a042f2e8
PYTHON-2235 Remove pymongo.GEOHAYSTACK (#694) 2021-08-06 13:13:23 -07:00
Shane Harvey
edda903b5b
PYTHON-2711 Remove profile command helpers (#693) 2021-08-06 12:54:52 -07:00
Shane Harvey
3e02957998 PYTHON-2288 Finish removing IsMaster from docs 2021-08-06 12:33:26 -07:00
Shane Harvey
69dee51b90
PYTHON-1318 Remove initialize_unordered_bulk_op and initialize_ordered_bulk_op (#692)
PYTHON-2436 Unskip test_large_inserts_ordered on MongoDB 5.0.
2021-08-05 17:58:15 -07:00
Bernie Hackett
88480299b7 PYTHON-2766 Warn users away from cursor slices 2021-06-29 18:10:48 -07:00
William Zhou
0752280ada
PYTHON-2480: Add MongoClient helper to access the current TopologyDescription (#583) 2021-03-25 10:14:16 -07:00
Shane Harvey
ac4bacb66c
PYTHON-1323 Removed Collection.group (#559) 2021-01-25 17:07:48 -08:00
Shane Harvey
7c1060cfec
PYTHON-1307 Remove SONManipulator APIs (#557) 2021-01-25 16:22:00 -08:00
Shane Harvey
e01d9a37e7
PYTHON-1320 Remove legacy CRUD methods (#556)
Remove save, insert, update, remove, and find_and_modify.
Remove tools/benchmark.py
2021-01-22 17:11:15 -08:00
Shane Harvey
c65b89d8a1
PYTHON-1319 Remove Collection.ensure_index and reindex (#555) 2021-01-21 11:25:19 -08:00
Shane Harvey
0e250bef75
PYTHON-1301/PYTHON-1302/PYTHON-1588 Remove deprecated cursor manager APIs (#550)
Remove MongoClient.set_cursor_manager and pymongo.cursor_manager.
Remove MongoClient.kill_cursors and MongoClient.close_cursor.

Co-authored-by: kAldown <kaldownb@gmail.com>
2021-01-15 17:52:54 -08:00
Shane Harvey
56925fd97f
PYTHON-1321 Remove MongoReplicaSetClient (#552) 2021-01-15 17:11:15 -08:00
Shane Harvey
6e8c3708b8
PYTHON-1587 Remove MongoClient.database_names and Database.collection_names (#551) 2021-01-15 16:53:42 -08:00
Shane Harvey
3c899aeb89
PYTHON-1592 Remove Collection.parallel_scan (#547) 2021-01-15 14:01:45 -08:00
Shane Harvey
387bfa0bfa
PYTHON-2310 Remove MongoClient.fsync, unlock, and is_locked (#546) 2021-01-15 11:29:23 -08:00
Shane Harvey
b3c26a7f99
PYTHON-1316 Remove eval, system_js, and SystemJS (#542) 2021-01-11 18:41:36 -08:00
Shane Harvey
ac2f506ba2
PYTHON-2453 Add MongoDB Versioned API (#536)
Add pymongo.server_api.ServerApi and the MongoClient server_api option.
Support Unified Test Format version 1.1 (serverParameters in
runOnRequirements)
Skip dropRole tests due to SERVER-53499.
2021-01-11 18:16:00 -08:00
Julius Park
f80c82453b
PYTHON-2076: Add example event loggers (#449)
Added example event loggers and documentation for them to make it easier for users to start using listeners in their code.
JIRA ticket: https://jira.mongodb.org/browse/PYTHON-2076
2020-07-09 21:32:25 -04:00
Shane Harvey
e3f40c30ad
PYTHON-2165 Deprecate MongoClient is_locked, fsync, and unlock helpers (#459) 2020-07-08 17:18:02 -07:00
Prashant Mital
4760d07815
PYTHON-2152 Expand native UUID handling support; Implement UUID specification 2020-06-01 17:45:08 -07:00
Prashant Mital
e485c07109
PYTHON-2036 Update documentation and changelog to reflect expanded support for index hinting 2020-03-03 13:32:58 -08:00
Shane Harvey
d0423d2d53 PYTHON-1993 Add client-side field level encryption documentation examples
Specify pymongocrypt<2.0.0 in setup.py for compatibility.
2019-11-20 15:42:32 -08:00
Bernie Hackett
1a7502c08a Fix up changelog and docs for 3.9.0 release 2019-08-13 14:19:29 -07:00
Shane Harvey
59e3bcb66a PYTHON-1883 Implement ClientEncryption class 2019-08-08 20:52:28 -07:00
Shane Harvey
6d8c1ced70 PYTHON-1882 Add AutoEncryptionOpts 2019-07-29 16:05:20 -07:00
Shane Harvey
f588412b67 PYTHON-1842 Implement Connection Monitoring and Pooling spec 2019-06-13 15:50:49 -07:00
Shane Harvey
92ddc09b7e PYTHON-1662 Add ChangeStream.try_next API 2019-03-26 11:14:21 -07:00
Bernie Hackett
c55a66235d PYTHON-1685 - Renovate get_default_database 2019-03-22 16:49:37 -07:00
Prashant Mital
96291c88b0
PYTHON-1565 Add helpers and options for Change Streams Follow-on Work (#355)
PYTHON-1565 Add helpers and options for Change Streams Follow-on Work (#355)

Add MongoClient.watch() and Database.watch().
Add start_at_operation_time to all watch() helpers.
2018-06-21 12:22:59 -07:00
Bernie Hackett
91c3793703 PYTHON-1580 - Implement new count API 2018-06-08 14:27:04 -07:00
A. Jesse Jiryu Davis
c63c068611 PYTHON-1564 Add DriverInfo to handshake metadata
Allow drivers that wrap PyMongo to add their info to the handshake
metadata, using a "driver" option like:

  MongoClient(driver=DriverInfo("MyDriver", "1.2.3"))

The DriverInfo is appended to PyMongo's own metadata.
2018-06-03 10:04:45 -04:00
Bernie Hackett
86791d8e9b Update docs and changelog 2017-11-14 16:39:12 -08:00
Bernie Hackett
6507d263b9 PYTHON-1398 - Raw batch methods do not support sessions 2017-11-10 10:02:29 -08:00
Bernie Hackett
5d05ad2748 PYTHON-1379 - Implement Database Enumeration spec 2017-10-24 13:24:56 -07:00
Shane Harvey
74605b73f6 PYTHON-1338 Support change stream API. 2017-09-07 17:12:45 -07:00
A. Jesse Jiryu Davis
ac052ae86c PYTHON-1332 - Begin the Session API 2017-09-01 14:02:10 -04:00
Anthony Sottile
ff81fbb938 Ensure files end in a newline 2017-08-31 22:26:39 -07:00
A. Jesse Jiryu Davis
cfb30e91c0 PYTHON-1362 - Add find/aggregate_raw_batches()
Rename find_raw to find_raw_batches, and add aggregate_raw_batches.
Rename RawBSONCursor and RawBSONCommandCursor to RawBatchCursor and
RawBatchCommandCursor.
2017-08-25 15:26:16 -04:00
A. Jesse Jiryu Davis
0534596dc5 PYTHON-1362 - Add raw_batches option to find() 2017-08-25 15:24:16 -04:00