Mongo-connector

Latest version: v3.1.1

Safety actively analyzes 681844 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 4

2.5.1

- Only use listDatabases when necessary.
- Do not use the listShards command.
- Fix PyMongo 3.0 compatibility.
- Fixes support for MongoDB 2.4's invalid $unsets operations.
- Set array element to null when $unset, do not remove the element completely.
- Command line SSL options should override the config file.
- Properly send "ssl.sslCertificatePolicy" to MongoClients.
- Properly output log messages while configuration is parsed.
- All source clients should inherit MongoDB URI options from the main address.
- Do not retry operations that result in authorization failure.

2.5.0

-------------

Version 2.5.0 adds some new features, bug fixes, and minor breaking changes.

New Features
~~~~~~~~~~~~

- Support for MongoDB 3.4.
- Support including or excluding fields per namespace.
- Support wildcards (*) in namespaces.
- Support for including and excluding different namespaces at the same time.
- Adds a new config file format for the `namespaces` option.
- Logs environment information on startup.
- The doc managers can now be installed through extras_require with pip.
- mongo-connector now tests against MongoDB versions 2.4, 2.6, 3.0, 3.2, and 3.4.


Bug Fixes
~~~~~~~~~

- mongo-connector now gracefully exits on SIGTERM.
- Improved handling of rollbacks.
- Now handles mongos connection failure while looking for shards.
- mongo-connector can now be cancelled during the initial collection dump.
- Improved handling of connection failure while tailing the oplog.
- Command line doc manager specific options now override the config file.
- Improved filtering of nested fields.

Breaking Changes
~~~~~~~~~~~~~~~~

- The solr-doc-manager has been extracted into a separate package and is not
included by default. See https://pypi.python.org/pypi/solr-doc-manager.
- Asterisks (*) in namespaces configuration are now interpreted as wildcards.

2.4.1

-------------

- Collection dump does not require namespace-set collection entries to be in the oplog.
- Fix an issue where a rollback was misinterpreted as falling off the oplog.
- Fix issue when re-raising exceptions containing unicode.

2.4

-----------

- Add --exclude-fields option.
- Better handling of exceptions in doc managers.
- Allow doc managers to be imported from anywhere, given the full path.
- Do not call count() on oplog cursors.
- Change the oplog format to be resilient to replica set failover.

.. warning:: The change to the oplog timestamp file format means that downgrading
from this version is not possible!

2.3

-----------

- Make self._fields in OplogThread a set.
- Move elastic doc managers into their own projects.

2.2

-----------
- Support for using a single meta collection to track replication to MongoDB cluster
- The log format is now configurable
- Bug fix for using '—no-dump' when nothing is in the oplog
- Now requires PyMongo 2.9+

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.