PYTHON-3001 Bump minimum pymongocrypt version to 1.2.0 (#793)

This commit is contained in:
Shane Harvey 2021-11-16 16:35:31 -08:00 committed by GitHub
parent 8fc6dc3c4f
commit e655b0bb99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 14 additions and 1 deletions

View File

@ -179,6 +179,8 @@ Breaking Changes in 4.0
parsing MongoDB URIs.
- Removed the `disable_md5` parameter for :class:`~gridfs.GridFSBucket` and
:class:`~gridfs.GridFS`. See :ref:`removed-gridfs-checksum` for details.
- PyMongoCrypt 1.2.0 or later is now required for client side field level
encryption support.
Notable improvements
....................
@ -194,6 +196,9 @@ Notable improvements
choose a `srvMaxHosts` sized subset of hosts.
- Added :attr:`pymongo.mongo_client.MongoClient.options` for read-only access
to a client's configuration options.
- Support for the "kmip" KMS provider for client side field level encryption.
See the docstring for :class:`~pymongo.encryption_options.AutoEncryptionOpts`
and :mod:`~pymongo.encryption`.
Issues Resolved
...............

View File

@ -426,6 +426,10 @@ class ClientEncryption(object):
kms_tls_options={'kmip': {'tlsCAFile': certifi.where()}}
Or to supply a client certificate::
kms_tls_options={'kmip': {'tlsCertificateKeyFile': 'client.pem'}}
.. versionchanged:: 4.0
Added the `kms_tls_options` parameter and the "kmip" KMS provider.

View File

@ -129,6 +129,10 @@ class AutoEncryptionOpts(object):
kms_tls_options={'kmip': {'tlsCAFile': certifi.where()}}
Or to supply a client certificate::
kms_tls_options={'kmip': {'tlsCertificateKeyFile': 'client.pem'}}
.. versionchanged:: 4.0
Added the `kms_tls_options` parameter and the "kmip" KMS provider.

View File

@ -277,7 +277,7 @@ if sys.platform in ('win32', 'darwin'):
pyopenssl_reqs.append('certifi')
extras_require = {
'encryption': ['pymongocrypt>=1.1.0,<2.0.0'],
'encryption': ['pymongocrypt>=1.2.0,<2.0.0'],
'ocsp': pyopenssl_reqs,
'snappy': ['python-snappy'],
'zstd': ['zstandard'],