This release has moved the minimum pymongo requirement to 3.8+. To support this change we've replaced a number of pymongo deprecated method calls, including `update` with `update_one` and `count` with `count_documents` or `estimated_document_count`. This does not change the` update` and `count` methods / API for MongoFrames.
In addition I fixed an issue where using `$slice` in a reference projection wasn't correctly, for example in the expression:
python
projection={
'name': True,
'show_date_str': True,
'leads': {
'$ref': User,
'$slice': 1,
'first_name': True,
'last_name': True
}
}
This now correctly selects the first Id in the leads field to use as a reference when selecting the assoicated users