MongoDB Connector Release Notes - Mule 4

Support Category: Select

Anypoint Connector for MongoDB supports integration using the MongoDB Java driver.

6.3.9

February 13, 2024

What’s New

  • This connector is now compatible with Java 17.

Compatibility

Software Version

Mule

4.1.1 and later

MongoDB, MongoDB Atlas

MongoDB Java driver 3.11 through 4.5.1

OpenJDK

8, 11, and 17

6.3.8

October 10, 2023

Compatibility

Software Version

Mule

4.1.1 and later

MongoDB, MongoDB Atlas

MongoDB Java driver 3.11 through 4.5.1

OpenJDK

8 and 11

Fixed Issues

Issue ID

The com.google.guava library is upgraded to version 32.0.1-jre to address reported security vulnerabilities.

W-13844855

6.3.7

May 27, 2022

Compatibility

Software Version

Mule

4.1.1 and later

MongoDB, MongoDB Atlas

MongoDB Java driver 3.11 through 4.5.1

Fixed Issues

Issue ID

The Find Document operation now validates an empty parameter in Sort By.

W-10848611

6.3.6

April 4, 2022

Compatibility

Software Version

Mule

4.1.1 and later

MongoDB, MongoDB Atlas

MongoDB Java driver 3.11 through 4.5.1

Fixed Issues

Issue ID

The Find Document operation now accepts a JSON object in Order By.

W-10889640

6.3.5

January 24, 2022

Compatibility

Software Version

Mule

4.1.1 and later

MongoDB, MongoDB Atlas

MongoDB Java driver 3.11 through 4.1.1

Fixed Issues

Issue ID

The Upsert parameter in the Update Documents operation threw an unexpected error due to incorrect response mapping.

SE-24189

6.3.4

November 12, 2021

Compatibility

Software Version

Mule

4.1.1 and later

MongoDB, MongoDB Atlas

MongoDB Java driver 3.11 through 4.1.1

Fixed Issues

Issue ID

Fixed vulnerability issues.

CONN-9255

6.3.3

June 1, 2021

Compatibility

Software Version

Mule

4.1.1 and later

MongoDB, MongoDB Atlas

MongoDB Java driver 3.11 through 4.1.1

Fixed Issues

  • A collection of DateTime elements were saved as String objects instead of DateTime objects when inserted into an array. (SE-20881)

6.3.2

April 27, 2021

Compatibility

Software Version

Mule

4.1.1 and later

MongoDB, MongoDB Atlas

MongoDB Java driver 3.11 through 4.1.1

Fixed Issues

Connection leaks sometimes occurred when using a dynamic configuration. (SE-20605)

6.3.1

February 2, 2021

Compatibility

Software Version

Mule

4.1.1 and later

MongoDB, MongoDB Atlas

MongoDB Java driver 3.11 through 4.1.1

New features

MongoDB driver 4.1.1 is now supported.

6.3.0

August 31, 2020

Compatibility

Software Version

Mule

4.1.1 and later

MongoDB, MongoDB Atlas

MongoDB Java driver 3.11 through 4.1

Changes

  • Added the Connection String connection type, which is compatible with MongoDB Atlas and MongoDB on-premises.

  • The Execute Command operation now provides output metadata.

Fixed Issues

  • The Encoding field was not shown in the connector configuration.

  • The Read Preference, Read Concern, and Write Concern options from the connector configuration were ignored.

6.2.1

August 7, 2020

Compatibility

Software Version

Mule

4.1.1 and later

MongoDB

MongoDB Java driver 3.11 through 4.0.4

Fixed Issues

  • Fixed the NoSuchMethodError error in the Insert Document operation when using MongoDB Java driver 3.x. (CONN-6536)

  • Fixed the issue that caused the WriteConcernValueProvider to parse ENUM text as INT. (SE-16819)

  • Fixed the issue that caused connection leaks when using dynamic configuration. (SE-16959)

6.2.0

June 30, 2020

Compatibility

Software Version

Mule

4.1.1 and later

MongoDB

MongoDB Java driver 3.11 through 4.0.4

Changes

Added compatibility for MongoDB Driver Legacy 4.0.4

6.1.1

May 13, 2020

Compatibility

Software Version

Mule

4.1.1 and later

MongoDB

MongoDB Java driver 3.11 and later

Fixed Issues

When you add the required MongoDB driver to the connector configuration, the Add recommended libraries option now works as expected. (CONN-5976)

6.1.0

March 27, 2020

Compatibility

Software Version

Mule

4.1.1 and later

MongoDB

MongoDB Java driver 3.11 and later

Fixed Issues

Using the Insert documents operation with the Write ordered field set to true resulted in an incorrect response. (SE-15222)

New Features

At runtime, you can now overwrite the Write concern acknowledgement and Write concern timeout fields in the global element of the Find documents, Insert document, Insert documents, Update Documents, and Count documents operations.

6.0.0

February 20, 2020

Compatibility

Software Version

Mule

4.1.1 and later

MongoDB

MongoDB Java driver 3.11 and later

Changes

  • Removed the Connection String connection type. There is now a single, unified generic connection.

  • Removed the Metadata configuration section. The connector uses the latest document in a collection to infer the metadata.

  • Added new parameters to the connector configuration.

  • Changed operation names, metadata, fields, and values.

  • Removed some operations.

  • Changed input sources.

  • Improved the error types.

  • Added the ability to specify which MongoDB Java driver to use.

For more information, see MongoDB - Upgrade and Migrate.

5.4.2

March 17, 2020

Compatibility

Software Version

Mule

4.1.1 and later

MongoDB

MongoDB Java driver 3.11.0

Fixed Issues

  • Fixed more issues related to the Insert Documents operation. (SE-15222)

5.4.1

March 16, 2020

Compatibility

Software Version

Mule

4.1.1 and later

MongoDB

MongoDB Java driver 3.11.0

Fixed Issues

  • Using the insertDocuments operation with the flag writeOrdered=true resulted in an incorrect response. (SE-15222)

5.4.0

February 20, 2020

Compatibility

Software Version

Mule

4.1.1 and later

MongoDB

MongoDB Java driver 3.11.0

New Features

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

5.3.3

October 24, 2019

Compatibility

Software Version

Mule

4.1.1 and later

MongoDB

MongoDB Java driver 3.11.0

Fixed Issues

  • Fixed security vulnerability reported in Guava 18.0 library by upgrading to version 24.1.1-jre. (SE-3184)

  • Fixed security vulnerability reported in Jackson-Databind 2.9.2 library by replacing it with Gson 2.8.5. (SE-3183)

5.3.2

August 23, 2019

Compatibility

Software Version

Mule

4.1.1 and later

MongoDB

MongoDB Java driver 3.11.0

New Features

  • Updated MongoDB Java driver to 3.11.0.

Fixed Issues

  • Apps containing the MongoDB connector could not be redeployed in the Windows OS. (SE-12762)

5.3.1

April 15, 2019

Compatibility

Software Version

Mule

4.1.1 and later

MongoDB

MongoDB Java driver 3.8

Fixed Issues

  • MongoDB get-file-content operation expects user to pass internal type of connector. (SE-10073)

  • MongoDB triggers fails with java.lang.NullPointerException. (SE-11354)

  • Domain name did not have a recognized public suffix for the MongoDB connector. (SE-10149)

5.3.0

September 26, 2018

Compatibility

Software Version

Mule

4.0.0 and later

MongoDB

MongoDB Java driver 3.8

New Features

  • Added New Object, Modified Object, and Deleted Object triggers. These triggers allow you to execute a flow each time a MongoDB object is created, modified, or deleted.

5.2.0

September 4, 2018

Compatibility

Software Version

Mule

4.1.1 and later

MongoDB

MongoDB Java driver 3.8

New Features

  • Added the new operation Execute Generic Command to run any MongoDB command using the connector. This command is supplied as a parameter in the form of a MongoDB document.

  • MongoDB Java Driver Update - The connector has been updated with the MongoDB Java Driver v3.8.0.

5.1.1

June 28, 2018

Compatibility

Software Version

Mule

4.1.1 and later

MongoDB

MongoDB Java driver 3.6

Fixed Issues

  • Connector did not work using the 3.6 driver when a TLS global context was not present. This error appeared:

2018-06-28T18:07:06.764+0000 I NETWORK  [conn262] Error receiving request from client:
SSLHandshakeFailed: SSLHandshakeFailed. Ending connection from ...

5.1.0

June 28, 2018

Compatibility

Software Version

Mule

4.1.1 and later

MongoDB

MongoDB Java driver 3.6

New Features

  • MongoDB Java Driver Update - The connector has been updated with the MongoDB Java Driver v3.6.0.