Noah Stapp
7742b7f24f
PYTHON-4797 - Convert test.test_raw_bson to async ( #1882 )
2024-09-30 14:14:12 -04:00
Noah Stapp
9d32a09e30
PYTHON-4084 Fix BSON inflation for DBRef ( #1458 )
2023-12-12 13:00:14 -08:00
Noah Stapp
568a3b1294
PYTHON-4084 Fix BSON inflation for RawBSONDocument ( #1456 )
2023-12-08 10:08:41 -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
0a6e7bc387
PYTHON-3174 Don't reinit client_context.client ( #899 )
2022-03-16 09:36:31 -07: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
a80169d1fa
PYTHON-2463 Do not allow a MongoClient to be reused after it is closed ( #737 )
2021-09-24 15:37:24 -07:00
Shane Harvey
fb20975a1f
PYTHON-2245 Change default uuidRepresentation to UNSPECIFIED (ie disable UUID encoding by default) ( #724 )
...
This change also stops decoding both 3 and 4 subtypes as UUIDs.
With standard, only subtype 4 is decoded to UUID and subtype 3 is decoded to Binary.
With legacy representations, only subtype 3 is decoded to UUID and subtype 4 is decoded to Binary.
2021-09-14 16:48:52 -07:00
Bernie Hackett
521f7b9af4
PYTHON-2133 Fix up docs
...
And finish deleting python 2 specific code.
2021-01-21 15:49:23 -08:00
Bernie Hackett
c70071df1d
PYTHON-2133 Remove Py2 compatibility from bson
2021-01-14 14:57:20 -08:00
Prashant Mital
ef3df1663c
PYTHON-1918 Stop using BSON.encode and BSON.decode functions
2019-09-09 18:06:46 -07:00
Bernie Hackett
57c7f8ccbb
PYTHON-1785 Pure Python decoders support the buffer protocol
2019-07-30 11:51:24 -07:00
Shane Harvey
201c3d2208
PYTHON-1916 Don't decode RawBSONDocument during insert operations
...
This change improves the performance of inserting RawBSONDocuments with
insert_one, insert_many, and bulk_write.
2019-07-29 17:55:53 -07:00
Prashant Mital
3b29458015
PYTHON-1821 Preserve field ordering when iterating over RawBSONDocument
...
instances
2019-04-19 12:36:14 -07:00
Shane Harvey
fbb56a2311
PYTHON-1820 Validate bson size in RawBSONDocument init
...
Also fixes a bug where an empty bson document could not be represented
by RawBSONDocument.
2019-04-18 15:15:10 -07:00
Bernie Hackett
507f954ed4
Update copyright dates
2017-12-01 17:23:39 -08:00
A. Jesse Jiryu Davis
217f90bab6
PYTHON-1284 Don't copy CodecOptions in RawBSONDocument
2017-07-01 09:07:58 -04:00
Shane Harvey
5905a86785
PYTHON-1075 Support running the entire test suite with SSL/TLS
...
SSL connections are configurable via the environment variables
"CLIENT_PEM", "CA_PEM", and "CERT_REQS".
2016-09-28 16:34:14 -07:00
Luke Lovett
ecab1c9432
PYTHON-1090, PYTHON-1098 - Use sane codec options when reading write responses.
...
When reading a write response from the server, we now use the 'replace'
unicode_decode_error_handler and 'dict' as the document_class.
2016-06-01 13:34:18 -07:00
Luke Lovett
cbf4b770e4
PYTHON-472 - Fix raw BSON tests when run with authentication.
2015-11-18 16:16:31 -08:00
Luke Lovett
e4d3392f90
PYTHON-472 - Add a RawBSONDocument class that decodes its comprising bytes only on-demand.
...
This provides an API for inserting and returning raw BSON.
2015-11-18 15:00:09 -08:00