Releases: yougov/mongo-connector
Mongo Connector v2.5.1
We're pleased to announce the release of mongo-connector version 2.5.1!
To install the latest version please look at the installation instructions.
Version 2.5.1 improves testing, documentation, and fixes the following bugs:
- 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.
Thanks to everyone who contributed to this release:
@ShaneHarvey
@llovett
@behackett
@makhdumi
@mikael-lindstrom
Mongo Connector v2.5.0
We're pleased to announce the release of mongo-connector version 2.5.0!
To install the latest version please look at the new installation instructions.
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. See the new installation instructions.
- 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 canceled 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 is has been extracted into a separate package. See the new installation instructions, https://github.com/mongodb-labs/solr-doc-manager, and https://pypi.python.org/pypi/solr-doc-manager.
- Asterisks (*) in namespaces configuration are now interpreted as wildcards.
Thanks to everyone who contributed to this release:
@ShaneHarvey
@llovett
@behackett
@sha1sum
@robertaistleitner
@weixili
Mongo Connector v2.4
We're pleased to announce the release of mongo-connector version 2.4! Version 2.4 of the connector introduces the --exclude-fields
option and fixes a few major bugs, including:
- Do not call count() on oplog cursors
- Change the oplog timestamp file format to be resilient to PyMongo version and replica set failover. Warning: the format change means that a downgrade from this version is not possible! However, upgrading to the new format is as easy as upgrading mongo-connector and restarting it.
To see all the changes that went into mongo-connector 2.4, please see the file "CHANGELOG.rst" at the root of the project.
To upgrade to the new version, you can use pip like this:
pip install --upgrade mongo-connector
To install for the first time, run:
pip install mongo-connector
Please find comprehensive documentation for the tool in the Wiki at the project's Github page here: https://github.com/mongodb-labs/mongo-connector/wiki
If you think you've found a bug, or if you'd like to request a new feature/improvement, please file a new issue on mongo-connector's Github page here: https://github.com/mongodb-labs/mongo-connector
Happy connecting!
The Python + Connectors Team
2.3.0
This release includes better error handling, test suite fixes, and support for the Elastic 2.x doc manager.
In order to support Elastic 1.x and 2.x, the Elastic document manager has been pulled out of mongo-connector and is now located in a separate project. For more information on how to install and run the elastic doc managers, please see the Elastic doc manager documentation for the version of Elastic you prefer. These doc managers will only work with mongo-connector 2.3.0+.
- Elastic 1.x doc manager: https://github.com/mongodb-labs/elastic-doc-manager
- Elastic 2.x doc manager: https://github.com/mongodb-labs/elastic2-doc-manager
The Solr doc manager and the MongoDB doc manager are still packaged with the mongo-connector project.