Updated the Mongo Java Driver version to avoid vulnerabilities.
MongoDB Connector Release Notes - Mule 3
Support Category: Select
Anypoint Connector for MongoDB (MongoDB Connector) integration uses the MongoDB Java Driver.
Guide: MongoDB Connector
API Reference: MongoDB Connector API Reference
4.6.2
January 17, 2022
Compatibility
Application/Service | Version |
---|---|
Mule |
3.6.0 and later |
Mongo Java Driver |
3.12.10 |
MongoDB |
Up to 4.2 |
Java |
8 |
Fixed Issues
Issue | ID |
---|---|
SE-24098 |
4.6.0
April 9, 2021
New Feature
-
Added a new flag called
iterableBehaviour
to enable switching between receiving either a FindIterable object (4.4.0 and earlier versions) or an ArrayList (4.4.1 and later versions) as the result object of the Find Documents operation. The default behavior is to receive an ArrayList; however, if you activate the flag, you will receive a FindIterable object. This option is available for all configurations of MongoDB Connector. (SE-20294)
4.4.5
4.4.4
4.4.3
4.3.0
December 28, 2017
This is a minor release that includes one new feature and two bug fixes.
New Features
SNI Support - The connector now supports SNI for TLS connections, provided that the user updates to Java version 1.8 update 131 or greater.
Fixed Issues
-
BsonInvalidOperationException on upsert operations - Under certain scenarios, the connector threw
org.bson.BsonInvalidOperationException: Value expected to be of type OBJECT_ID is of unexpected type STRING
when upserting documents, if the _id was not of type ObjectId. This now works as expected. -
InvalidLicenseException when config is in a domain - Mule apps calling the Mongo connector that had its config in a domain would randomly throw
InvalidLicenseException
. This was fixed.
4.2.0
September 9, 2016
This is a minor release which includes two new features and one bug fix.
New Features
-
New operation Insert Documents added: This supports multiple inserts and batch integration.
-
Connection String Authentication: Connector now supports standard MongoDB connection URI format used to connect to a MongoDB database server.
-
Separate authentication database support: This version supports a collection of users/passwords to authenticate against a MongoDB database different from MongoDB database storing data.
4.1.0
January 20, 2016
Release Notes for version 4.1.0 of the MongoDB connector.
This is a minor release which includes some new features.
Features
-
Upgraded MongoDB Java Driver - Now compatible Mongo Java Driver v3.2.
-
New processors - FindAndUpdateDocument which is an implementation of Mongo Find and Modify operation. The other new processor is UpdateDocumentsByFunctions, which will let you provide a set of MongoDB operators instead of just one as before.
4.0.2
December 14, 2015
Release notes for version 4.0.2 of the MongoDB connector.
This is a minor release with a few bug fixes.
Fixed Issues
-
Fixed issue where if DataWeave output was set as JSON, MongoDB Connector could not transform it into the required input for the next processor
-
Fixed an issue with DataWeave, where static metadata could not let you use file manipulation processors
-
Added support for implicit transformers when running Mule ESB 3.6.X
-
Fixed documentation issues
4.0.1
September 24, 2015
Release Notes for version 4.0.1 of the MongoDB connector.
This is a minor release with only one bug fix.
Fixed Issues
-
Fixed transformer resolution bug
-
When using DataWeave for creating a payload with an object to insert into MongoDB, an implicit transformer should take place and create the Document object that is passed on to the Insert Document processor. This creation was not picked up and it was not working.
4.0.0
August 11, 2015
Compatibility
The MongoDB connector is compatible with:
Application/Service | Version |
---|---|
Mule |
3.6.0 and later |
MongoDB |
3.0 or higher |
Java version |
1.7 and later |
Features
-
Upgraded MongoDB Java Driver - Now exposing the new APIs available in Mongo Java Driver v3.0. Older (2.x) APIs have been removed.
-
SSL support - Added SSL support to encrypt all network traffic. Now both secure and non-secure options are available.
-
Multi-port support - Added multi-port support for replica sets. Each host now can contain a particular port, rather than having one port for all hosts.
Fixed Issues
-
Exception handling in Mongo Object Store - Exceptions thrown in MongoObjectStore were not in line with the other ObjectStore implementations. It has now been updated as per ObjectStore API documentation.
-
Object Store configurable default partition name - It is now possible to configure the default partition name within Mongo Object Store.
-
Update operations results - The results of an update operation are now returned to the user.