MongoDB Connector Release Notes - Mule 3

Support Category: Select

Anypoint Connector for MongoDB (MongoDB Connector) integration uses the MongoDB Java Driver.

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

Updated the Mongo Java Driver version to avoid vulnerabilities.

SE-24098

4.6.1

July 5, 2021

Compatibility

App/Service Version

Mule

3.6.0 and later

MongoDB

Up to 4.2

Java

8

Fixed Issues

  • Updated the Guava dependency version to avoid conflicts with external libraries. (SE-21387)

4.6.0

April 9, 2021

Compatibility

App/Service Version

Mule

3.6.0 and later

MongoDB

Up to 4.2

Java

8

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.5.0

February 21, 2020

Compatibility

App/Service Version

Mule

3.6.0 and later

MongoDB

Up to 4.2

Java

8

New Features

MongoDB Connector now supports the retryWrites option. Use the Retry writes field when configuring a connection to enable this option.

4.4.5

January 16, 2020

Compatibility

App/Service Version

Mule

3.6.0 and later

MongoDB

Up to 4.2

Java

8

New Features

The connector was upgraded to use MongoDB Java Driver version 3.12.0, which is compatible with newer versions of the database (up to 4.2). (SE-13656)

Fixed Issues

The Execute command operation now declares the parameter command name as optional, improving usability when executing a generic command, feature that was added in v4.4.3. (SE-13656/SE-13679)

4.4.4

December 16, 2019

Compatibility

App/Service Version

Mule

3.6.0 and later

Connector DevKit

3.9.7

MongoDB

3.11.0

Java

1.8 update 131 or later

Fixed Issues

MongoDB connector doesn’t test access to the database. The functionality for testing connectivity was improved to verify access permissions to the database. Now the database must exist and the user must have permission to access the database. (SE-13841)

4.4.3

November 15, 2019

Compatibility

App/Service Version

Mule

3.6.0 and later

Connector DevKit

3.9.7

MongoDB

3.11.0

Java

1.8 update 131 or later

Fixed Issues

  • MongoDB connector driver updated to version 3.11.0

  • MongoDB connector was unable to execute a generic command to parse a command value. The Execute command operation has been improved to enable parsing a generic command. (SE-13679)

4.4.2

July 26, 2019

Fixed Issues

MongoDB connector did not dispose of connections when an application was restarted or undeployed. This was fixed by upgrading the DevKit version to 3.9.7. (SE-11984)

4.4.1

March 9, 2019

Fixed Issues

Find-documents operation returned an invalid response, now correct results are retrieved.

4.4.0

June 20, 2017

This is a minor release that includes one new feature.

New Features

MongoDB Java Driver Update - The connector is updated with MongoDB Java Driver v3.6.0.

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.

Known Issues

When connecting to a MongoDB instance that requires SNI, the Test Connectivity functionality in Studio may not work. The connector will still work despite this.

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.

Fixed Issues

Fixed an issue where non-fully-qualified DNS names in Hosts field did not let you connect to MongoDB.

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.