<commit_before>Changelog
=========

Release 16.3.0 (UNRELEASED)
---------------------------

Features
^^^^^^^^

- Full-text indexes can be used with new ``filter.TEXT()``
- Client authentication by X509 certificates. Use your client certificate when connecting
  to MongoDB and then call ``Database.authenticate`` with certificate subject as username,
  empty password and ``mechanism="MONGODB-<PASSWORD>"``.
- ``get_version()`` to approximate the behaviour of get_version in PyMongo. One noteable exception		
  is the omission of searching by random (unindexed) meta-data which should be considered a bad idea		
  as it may create *very* variable conditions in terms of loading and timing. An additional index is		
  also added to facilitate bi-directional movement between versions. Additional Unit test for GFS also added.
- New ``ConnectionPool.drop_database()`` method for easy and convenient destruction of all your precious data.
- ``count()`` to return the number of versions of any given file in GridFS.

API Changes
^^^^^^^^^^^

- ``find()``, ``find_one()``, ``find_with_cursor()``, ``count()`` and ``distinct()`` signatures
  changed to more closely match PyMongo's counterparts. New signatures are:
  
  - ``find(filter=None, projection=None, skip=0, limit=0, sort=None, **kwargs)``
  - ``find_with_cursor(filter=None, projection=None, skip=0, limit=0, sort=None, **kwargs)``
  - ``find_one(filter=None, projection=None, **kwargs)``
  - ``count(filter=None, **kwargs)``
  - ``distinct(key, filter=None, **kwargs)``
  
  Old signatures are now deprecated and will be supported in this and one subsequent releases. 
  After that only new signatures will be valid.
- ``cursor`` argument to ``find()`` is deprecated. Please use ``find_with_cursor()`` directly
  if you need to iterate over results by batches. ``cursor`` will be supported in this and<commit_msg>Removed notice about additional GridFS<commit_after>Changelog
=========

Release 16.3.0 (UNRELEASED)
---------------------------

Features
^^^^^^^^

- Full-text indexes can be used with new ``filter.TEXT()``
- Client authentication by X509 certificates. Use your client certificate when connecting
  to MongoDB and then call ``Database.authenticate`` with certificate subject as username,
  empty password and ``mechanism="MONGODB-X509"``.
- ``get_version()`` to approximate the behaviour of get_version in PyMongo. One noteable exception		
  is the omission of searching by random (unindexed) meta-data which should be considered a bad idea		
  as it may create *very* variable conditions in terms of loading and timing.
- New ``ConnectionPool.drop_database()`` method for easy and convenient destruction of all your precious data.
- ``count()`` to return the number of versions of any given file in GridFS.

API Changes
^^^^^^^^^^^

- ``find()``, ``find_one()``, ``find_with_cursor()``, ``count()`` and ``distinct()`` signatures
  changed to more closely match PyMongo's counterparts. New signatures are:
  
  - ``find(filter=None, projection=None, skip=0, limit=0, sort=None, **kwargs)``
  - ``find_with_cursor(filter=None, projection=None, skip=0, limit=0, sort=None, **kwargs)``
  - ``find_one(filter=None, projection=None, **kwargs)``
  - ``count(filter=None, **kwargs)``
  - ``distinct(key, filter=None, **kwargs)``
  
  Old signatures are now deprecated and will be supported in this and one subsequent releases. 
  After that only new signatures will be valid.
- ``cursor`` argument to ``find()`` is deprecated. Please use ``find_with_cursor()`` directly
  if you need to iterate over results by batches. ``cursor`` will be supported in this and
{'fraction_non_alphanumeric': 0.14210816777041943, 'fraction_numerical': 0.006898454746136865, 'mean_word_length': 4.585516178736517, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7279117', 'n_tokens_mistral': 1036, 'n_tokens_neox': 989, 'n_words': 410}